Build Information
Failed to build GoogleStaticMapsKit, reference 1.2.0 (85f5da
), with Swift 6.1 for Linux on 25 Apr 2025 11:14:02 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.61.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: 6.1
Building package at path: $PWD
https://github.com/PoissonBallon/GoogleStaticMapsKit.git
https://github.com/PoissonBallon/GoogleStaticMapsKit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "GoogleStaticMapsKit",
"name" : "GoogleStaticMapsKit",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "GoogleStaticMapsKit",
"targets" : [
"GoogleStaticMapsKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "GoogleStaticMapsKitTests",
"module_type" : "SwiftTarget",
"name" : "GoogleStaticMapsKitTests",
"path" : "Tests",
"sources" : [
"GoogleStaticMapsKitTests/GoogleStaticMapsKitTests.swift",
"LinuxMain.swift"
],
"target_dependencies" : [
"GoogleStaticMapsKit"
],
"type" : "test"
},
{
"c99name" : "GoogleStaticMapsKit",
"module_type" : "SwiftTarget",
"name" : "GoogleStaticMapsKit",
"path" : "Sources",
"product_memberships" : [
"GoogleStaticMapsKit"
],
"sources" : [
"Error.swift",
"Feature.swift",
"GoogleStaticMaps.swift",
"Location.swift",
"Marker.swift",
"Parameters.swift",
"Query.swift",
"Style.swift",
"StylesImport.swift",
"URL.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/12] Compiling GoogleStaticMapsKit Style.swift
[4/12] Compiling GoogleStaticMapsKit StylesImport.swift
[5/13] Compiling GoogleStaticMapsKit Marker.swift
[6/13] Compiling GoogleStaticMapsKit Error.swift
[7/13] Compiling GoogleStaticMapsKit Feature.swift
[8/13] Emitting module GoogleStaticMapsKit
/host/spi-builder-workspace/Sources/GoogleStaticMaps.swift:39:14: warning: var 'intern_google_static_maps_api_key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
37 | }
38 |
39 | internal var intern_google_static_maps_api_key: String?
| |- warning: var 'intern_google_static_maps_api_key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'intern_google_static_maps_api_key' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'intern_google_static_maps_api_key' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | public extension GoogleStaticMaps {
/host/spi-builder-workspace/Sources/GoogleStaticMaps.swift:42:3: warning: 'public' modifier is redundant for static method declared in a public extension
40 |
41 | public extension GoogleStaticMaps {
42 | public static func setAPIKey(apiKey: String) {
| `- warning: 'public' modifier is redundant for static method declared in a public extension
43 | intern_google_static_maps_api_key = apiKey
44 | }
[9/13] Compiling GoogleStaticMapsKit Parameters.swift
[10/13] Compiling GoogleStaticMapsKit GoogleStaticMaps.swift
/host/spi-builder-workspace/Sources/GoogleStaticMaps.swift:39:14: warning: var 'intern_google_static_maps_api_key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
37 | }
38 |
39 | internal var intern_google_static_maps_api_key: String?
| |- warning: var 'intern_google_static_maps_api_key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'intern_google_static_maps_api_key' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'intern_google_static_maps_api_key' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | public extension GoogleStaticMaps {
/host/spi-builder-workspace/Sources/GoogleStaticMaps.swift:42:3: warning: 'public' modifier is redundant for static method declared in a public extension
40 |
41 | public extension GoogleStaticMaps {
42 | public static func setAPIKey(apiKey: String) {
| `- warning: 'public' modifier is redundant for static method declared in a public extension
43 | intern_google_static_maps_api_key = apiKey
44 | }
[11/13] Compiling GoogleStaticMapsKit Location.swift
/host/spi-builder-workspace/Sources/GoogleStaticMaps.swift:39:14: warning: var 'intern_google_static_maps_api_key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
37 | }
38 |
39 | internal var intern_google_static_maps_api_key: String?
| |- warning: var 'intern_google_static_maps_api_key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'intern_google_static_maps_api_key' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'intern_google_static_maps_api_key' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | public extension GoogleStaticMaps {
/host/spi-builder-workspace/Sources/GoogleStaticMaps.swift:42:3: warning: 'public' modifier is redundant for static method declared in a public extension
40 |
41 | public extension GoogleStaticMaps {
42 | public static func setAPIKey(apiKey: String) {
| `- warning: 'public' modifier is redundant for static method declared in a public extension
43 | intern_google_static_maps_api_key = apiKey
44 | }
[12/13] Compiling GoogleStaticMapsKit Query.swift
/host/spi-builder-workspace/Sources/Query.swift:55:41: error: cannot find 'CFBooleanGetTypeID' in scope
53 |
54 | extension NSNumber {
55 | fileprivate var isBool: Bool { return CFBooleanGetTypeID() == CFGetTypeID(self) }
| `- error: cannot find 'CFBooleanGetTypeID' in scope
56 | }
57 |
/host/spi-builder-workspace/Sources/Query.swift:55:65: error: cannot find 'CFGetTypeID' in scope
53 |
54 | extension NSNumber {
55 | fileprivate var isBool: Bool { return CFBooleanGetTypeID() == CFGetTypeID(self) }
| `- error: cannot find 'CFGetTypeID' in scope
56 | }
57 |
[13/13] 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
52 | let centerItem = try self.location.asDictionary()
53 | .flatMap { queryComponents(fromKey: $0.key, value: $0.value) }
54 | .flatMap { URLQueryItem(name: $0.0, value: $0.1) }
| |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
| `- note: use 'compactMap(_:)' instead
55 |
56 | let settingsItem = try self.parameters.asDictionary()
/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
56 | let settingsItem = try self.parameters.asDictionary()
57 | .flatMap { queryComponents(fromKey: $0.key, value: $0.value) }
58 | .flatMap { URLQueryItem(name: $0.0, value: $0.1) }
| |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
| `- note: use 'compactMap(_:)' instead
59 |
60 | let componentsItem = try self.feature?.asArray()
/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
61 | .flatMap { $0 }
62 | .flatMap { queryComponents(fromKey: $0.key, value: $0.value) }
63 | .flatMap { URLQueryItem(name: $0.0, value: $0.1) } ?? [URLQueryItem]()
| |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
| `- note: use 'compactMap(_:)' instead
64 |
65 | let items = [centerItem, settingsItem, componentsItem, [keyItem]].flatMap { $0 }
/host/spi-builder-workspace/Sources/URL.swift:77:21: error: missing argument for parameter 'coder' in call
75 | let data = try JSONEncoder().encode(self)
76 | guard let dictionary = try JSONSerialization.jsonObject(with: data, options: .allowFragments) as? [String: Any] else {
77 | throw NSError()
| `- error: missing argument for parameter 'coder' in call
78 | }
79 | return dictionary
Foundation.NSError.init:2:17: note: 'init(coder:)' declared here
1 | class NSError {
2 | required public init?(coder aDecoder: NSCoder)}
| `- note: 'init(coder:)' declared here
3 |
/host/spi-builder-workspace/Sources/URL.swift:77:13: error: thrown expression type 'NSError?' does not conform to 'Error'
75 | let data = try JSONEncoder().encode(self)
76 | guard let dictionary = try JSONSerialization.jsonObject(with: data, options: .allowFragments) as? [String: Any] else {
77 | throw NSError()
| `- error: thrown expression type 'NSError?' does not conform to 'Error'
78 | }
79 | return dictionary
/host/spi-builder-workspace/Sources/URL.swift:85:21: error: missing argument for parameter 'coder' in call
83 | let data = try JSONEncoder().encode(self)
84 | guard let array = try JSONSerialization.jsonObject(with: data, options: .allowFragments) as? [[String: Any]] else {
85 | throw NSError()
| `- error: missing argument for parameter 'coder' in call
86 | }
87 | return array
Foundation.NSError.init:2:17: note: 'init(coder:)' declared here
1 | class NSError {
2 | required public init?(coder aDecoder: NSCoder)}
| `- note: 'init(coder:)' declared here
3 |
/host/spi-builder-workspace/Sources/URL.swift:85:13: error: thrown expression type 'NSError?' does not conform to 'Error'
83 | let data = try JSONEncoder().encode(self)
84 | guard let array = try JSONSerialization.jsonObject(with: data, options: .allowFragments) as? [[String: Any]] else {
85 | throw NSError()
| `- error: thrown expression type 'NSError?' does not conform to 'Error'
86 | }
87 | return array
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/11] Compiling GoogleStaticMapsKit StylesImport.swift
[3/12] Compiling GoogleStaticMapsKit Parameters.swift
[4/12] 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
40 |
41 | public extension GoogleStaticMaps {
42 | public static func setAPIKey(apiKey: String) {
| `- warning: 'public' modifier is redundant for static method declared in a public extension
43 | intern_google_static_maps_api_key = apiKey
44 | }
[5/12] Compiling GoogleStaticMapsKit Error.swift
[6/12] Compiling GoogleStaticMapsKit Feature.swift
[7/12] Compiling GoogleStaticMapsKit Query.swift
/host/spi-builder-workspace/Sources/Query.swift:55:41: error: cannot find 'CFBooleanGetTypeID' in scope
53 |
54 | extension NSNumber {
55 | fileprivate var isBool: Bool { return CFBooleanGetTypeID() == CFGetTypeID(self) }
| `- error: cannot find 'CFBooleanGetTypeID' in scope
56 | }
57 |
/host/spi-builder-workspace/Sources/Query.swift:55:65: error: cannot find 'CFGetTypeID' in scope
53 |
54 | extension NSNumber {
55 | fileprivate var isBool: Bool { return CFBooleanGetTypeID() == CFGetTypeID(self) }
| `- error: cannot find 'CFGetTypeID' in scope
56 | }
57 |
[8/12] Compiling GoogleStaticMapsKit Style.swift
[9/12] Compiling GoogleStaticMapsKit Marker.swift
[10/12] 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
40 |
41 | public extension GoogleStaticMaps {
42 | public static func setAPIKey(apiKey: String) {
| `- warning: 'public' modifier is redundant for static method declared in a public extension
43 | intern_google_static_maps_api_key = apiKey
44 | }
[11/12] 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
40 |
41 | public extension GoogleStaticMaps {
42 | public static func setAPIKey(apiKey: String) {
| `- warning: 'public' modifier is redundant for static method declared in a public extension
43 | intern_google_static_maps_api_key = apiKey
44 | }
[12/12] 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
52 | let centerItem = try self.location.asDictionary()
53 | .flatMap { queryComponents(fromKey: $0.key, value: $0.value) }
54 | .flatMap { URLQueryItem(name: $0.0, value: $0.1) }
| |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
| `- note: use 'compactMap(_:)' instead
55 |
56 | let settingsItem = try self.parameters.asDictionary()
/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
56 | let settingsItem = try self.parameters.asDictionary()
57 | .flatMap { queryComponents(fromKey: $0.key, value: $0.value) }
58 | .flatMap { URLQueryItem(name: $0.0, value: $0.1) }
| |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
| `- note: use 'compactMap(_:)' instead
59 |
60 | let componentsItem = try self.feature?.asArray()
/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
61 | .flatMap { $0 }
62 | .flatMap { queryComponents(fromKey: $0.key, value: $0.value) }
63 | .flatMap { URLQueryItem(name: $0.0, value: $0.1) } ?? [URLQueryItem]()
| |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
| `- note: use 'compactMap(_:)' instead
64 |
65 | let items = [centerItem, settingsItem, componentsItem, [keyItem]].flatMap { $0 }
/host/spi-builder-workspace/Sources/URL.swift:77:21: error: missing argument for parameter 'coder' in call
75 | let data = try JSONEncoder().encode(self)
76 | guard let dictionary = try JSONSerialization.jsonObject(with: data, options: .allowFragments) as? [String: Any] else {
77 | throw NSError()
| `- error: missing argument for parameter 'coder' in call
78 | }
79 | return dictionary
Foundation.NSError.init:2:17: note: 'init(coder:)' declared here
1 | class NSError {
2 | required public init?(coder aDecoder: NSCoder)}
| `- note: 'init(coder:)' declared here
3 |
/host/spi-builder-workspace/Sources/URL.swift:77:13: error: thrown expression type 'NSError?' does not conform to 'Error'
75 | let data = try JSONEncoder().encode(self)
76 | guard let dictionary = try JSONSerialization.jsonObject(with: data, options: .allowFragments) as? [String: Any] else {
77 | throw NSError()
| `- error: thrown expression type 'NSError?' does not conform to 'Error'
78 | }
79 | return dictionary
/host/spi-builder-workspace/Sources/URL.swift:85:21: error: missing argument for parameter 'coder' in call
83 | let data = try JSONEncoder().encode(self)
84 | guard let array = try JSONSerialization.jsonObject(with: data, options: .allowFragments) as? [[String: Any]] else {
85 | throw NSError()
| `- error: missing argument for parameter 'coder' in call
86 | }
87 | return array
Foundation.NSError.init:2:17: note: 'init(coder:)' declared here
1 | class NSError {
2 | required public init?(coder aDecoder: NSCoder)}
| `- note: 'init(coder:)' declared here
3 |
/host/spi-builder-workspace/Sources/URL.swift:85:13: error: thrown expression type 'NSError?' does not conform to 'Error'
83 | let data = try JSONEncoder().encode(self)
84 | guard let array = try JSONSerialization.jsonObject(with: data, options: .allowFragments) as? [[String: Any]] else {
85 | throw NSError()
| `- error: thrown expression type 'NSError?' does not conform to 'Error'
86 | }
87 | return array
BUILD FAILURE 6.1 linux