Build Information
Failed to build GoogleStaticMapsKit with Swift 5.9 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.39.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/PoissonBallon/GoogleStaticMapsKit.git
Reference: 1.2.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/PoissonBallon/GoogleStaticMapsKit
* tag 1.2.0 -> FETCH_HEAD
HEAD is now at 85f5da3 fix misspelling
Cloned https://github.com/PoissonBallon/GoogleStaticMapsKit.git
Revision (git rev-parse @):
85f5da396f7ebc404cfd6c678206483ffe385f9c
SUCCESS checkout https://github.com/PoissonBallon/GoogleStaticMapsKit.git at 1.2.0
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
Building package at path: $workDir
https://github.com/PoissonBallon/GoogleStaticMapsKit.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Building for debugging...
[1/10] Compiling GoogleStaticMapsKit Query.swift
/host/spi-builder-workspace/Sources/Query.swift:55:41: error: cannot find 'CFBooleanGetTypeID' in scope
fileprivate var isBool: Bool { return CFBooleanGetTypeID() == CFGetTypeID(self) }
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Query.swift:55:65: error: cannot find 'CFGetTypeID' in scope
fileprivate var isBool: Bool { return CFBooleanGetTypeID() == CFGetTypeID(self) }
^~~~~~~~~~~
[2/10] Compiling GoogleStaticMapsKit Style.swift
[3/11] Compiling GoogleStaticMapsKit Marker.swift
[4/11] Compiling GoogleStaticMapsKit Parameters.swift
[5/11] Compiling GoogleStaticMapsKit StylesImport.swift
[6/11] Compiling GoogleStaticMapsKit GoogleStaticMaps.swift
/host/spi-builder-workspace/Sources/GoogleStaticMaps.swift:42:3: warning: 'public' modifier is redundant for static method declared in a public extension
public static func setAPIKey(apiKey: String) {
^~~~~~~
[7/11] Compiling GoogleStaticMapsKit Location.swift
/host/spi-builder-workspace/Sources/GoogleStaticMaps.swift:42:3: warning: 'public' modifier is redundant for static method declared in a public extension
public static func setAPIKey(apiKey: String) {
^~~~~~~
[8/11] Emitting module GoogleStaticMapsKit
/host/spi-builder-workspace/Sources/GoogleStaticMaps.swift:42:3: warning: 'public' modifier is redundant for static method declared in a public extension
public static func setAPIKey(apiKey: String) {
^~~~~~~
[9/11] Compiling GoogleStaticMapsKit Error.swift
[10/11] Compiling GoogleStaticMapsKit Feature.swift
[11/11] Compiling GoogleStaticMapsKit URL.swift
/host/spi-builder-workspace/Sources/URL.swift:54:8: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
.flatMap { URLQueryItem(name: $0.0, value: $0.1) }
^
/host/spi-builder-workspace/Sources/URL.swift:54:8: note: use 'compactMap(_:)' instead
.flatMap { URLQueryItem(name: $0.0, value: $0.1) }
^~~~~~~
compactMap
/host/spi-builder-workspace/Sources/URL.swift:58:8: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
.flatMap { URLQueryItem(name: $0.0, value: $0.1) }
^
/host/spi-builder-workspace/Sources/URL.swift:58:8: note: use 'compactMap(_:)' instead
.flatMap { URLQueryItem(name: $0.0, value: $0.1) }
^~~~~~~
compactMap
/host/spi-builder-workspace/Sources/URL.swift:63:8: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
.flatMap { URLQueryItem(name: $0.0, value: $0.1) } ?? [URLQueryItem]()
^
/host/spi-builder-workspace/Sources/URL.swift:63:8: note: use 'compactMap(_:)' instead
.flatMap { URLQueryItem(name: $0.0, value: $0.1) } ?? [URLQueryItem]()
^~~~~~~
compactMap
/host/spi-builder-workspace/Sources/URL.swift:77:21: error: missing argument for parameter 'coder' in call
throw NSError()
^
coder: <#NSCoder#>
Foundation.NSError:5:21: note: 'init(coder:)' declared here
required public init?(coder aDecoder: NSCoder)
^
/host/spi-builder-workspace/Sources/URL.swift:77:13: error: thrown expression type 'NSError?' does not conform to 'Error'
throw NSError()
^~~~~~~~~
/host/spi-builder-workspace/Sources/URL.swift:85:21: error: missing argument for parameter 'coder' in call
throw NSError()
^
coder: <#NSCoder#>
Foundation.NSError:5:21: note: 'init(coder:)' declared here
required public init?(coder aDecoder: NSCoder)
^
/host/spi-builder-workspace/Sources/URL.swift:85:13: error: thrown expression type 'NSError?' does not conform to 'Error'
throw NSError()
^~~~~~~~~
error: fatalError
BUILD FAILURE 5.9 linux