This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build GoogleSignIn with Swift 5.8 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.25.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/darrarski/GoogleSignIn-Swift.git
Reference: v0.0.5
Cloned https://github.com/darrarski/GoogleSignIn-Swift.git
Revision (git rev-parse @):
SUCCESS checkout https://github.com/darrarski/GoogleSignIn-Swift.git at v0.0.5
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.8
Building package at path:  $PWD/checkout
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1
Client: Docker Engine - Community
 Version:    24$PWD/checkout0$PWD/checkout7
 Context:    default
 Debug Mode: false
 Plugins:
  buildx: Docker Buildx (Docker Inc$PWD/checkout)
    Version:  v0$PWD/checkout11$PWD/checkout2
    Path:     /usr/libexec/docker/cli-plugins/docker-buildx
  compose: Docker Compose (Docker Inc$PWD/checkout)
    Version:  v2$PWD/checkout21$PWD/checkout0
    Path:     /usr/libexec/docker/cli-plugins/docker-compose
Server:
 Containers: 1
  Running: 1
  Paused: 0
  Stopped: 0
 Images: 10
 Server Version: 24$PWD/checkout0$PWD/checkout2
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Using metacopy: false
  Native Overlay Diff: false
  userxattr: false
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Cgroup Version: 1
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: io$PWD/checkoutcontainerd$PWD/checkoutrunc$PWD/checkoutv2 runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 3dce8eb055cbb6872793272b4f20ed16117344f8
 runc version: v1$PWD/checkout1$PWD/checkout7-0-g860f061
 init version: de40ad0
 Security Options:
  apparmor
  seccomp
   Profile: builtin
 Kernel Version: 5$PWD/checkout4$PWD/checkout0-1109-azure
 Operating System: Ubuntu 18$PWD/checkout04$PWD/checkout6 LTS
 OSType: linux
 Architecture: x86_64
 CPUs: 8
 Total Memory: 31$PWD/checkout36GiB
 Name: lb1
 ID: UY74:UH4K:TTAZ:FGJU:C4S4:QTKO:WTQO:SFMF:XQCM:7D33:AENF:QBQA
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Labels:
  provider=azure
 Experimental: false
 Insecure Registries:
  127$PWD/checkout0$PWD/checkout0$PWD/checkout0/8
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/6] Compiling GoogleSignIn Config.swift
[2/6] Emitting module GoogleSignIn
/host/spi-builder-workspace/Sources/GoogleSignIn/URLSessionProtocol.swift:5:23: error: cannot find type 'URLRequest' in scope
        with request: URLRequest,
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleSignIn/Controller.swift:57:57: error: cannot find type 'URLRequest' in scope
    private func makeTokenRequest(with code: String) -> URLRequest {
                                                        ^~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleSignIn/URLSessionProtocol.swift:10:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession: URLSessionProtocol {}
^         ~~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleSignIn/URLSessionProtocol.swift:6:46: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        completionHandler: @escaping (Data?, URLResponse?, Swift.Error?) -> Void
                                             ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/GoogleSignIn/URLSessionProtocol.swift:7:10: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    ) -> URLSessionDataTask
         ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
[3/6] Compiling GoogleSignIn TokenResponse.swift
[4/6] Compiling GoogleSignIn Error.swift
[5/6] Compiling GoogleSignIn Controller.swift
/host/spi-builder-workspace/Sources/GoogleSignIn/URLSessionProtocol.swift:5:23: error: cannot find type 'URLRequest' in scope
        with request: URLRequest,
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleSignIn/Controller.swift:57:57: error: cannot find type 'URLRequest' in scope
    private func makeTokenRequest(with code: String) -> URLRequest {
                                                        ^~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleSignIn/Controller.swift:58:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: makeTokenURL())
                      ^~~~~~~~~~
[6/6] Compiling GoogleSignIn URLSessionProtocol.swift
/host/spi-builder-workspace/Sources/GoogleSignIn/URLSessionProtocol.swift:10:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession: URLSessionProtocol {}
^         ~~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleSignIn/URLSessionProtocol.swift:5:23: error: cannot find type 'URLRequest' in scope
        with request: URLRequest,
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleSignIn/URLSessionProtocol.swift:6:46: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        completionHandler: @escaping (Data?, URLResponse?, Swift.Error?) -> Void
                                             ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/GoogleSignIn/URLSessionProtocol.swift:7:10: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    ) -> URLSessionDataTask
         ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
BUILD FAILURE 5.8 linux
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.