The Swift Package Index logo.Swift Package Index

Build Information

Failed to build GoogleStaticMapsKit, reference 1.2.0 (85f5da), with Swift 6.3 for Linux on 10 Apr 2026 13:00:22 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.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.3
Building package at path:  $PWD
https://github.com/PoissonBallon/GoogleStaticMapsKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/12] Compiling GoogleStaticMapsKit StylesImport.swift
[4/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 |
[5/13] Compiling GoogleStaticMapsKit Parameters.swift
[6/13] Compiling GoogleStaticMapsKit Style.swift
[7/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
   |        `- 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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
   |        `- 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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
   |        `- 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
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[8/13] 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 |   }
[9/13] 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 |   }
[10/13] Compiling GoogleStaticMapsKit Error.swift
[11/13] Compiling GoogleStaticMapsKit Feature.swift
[12/13] 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 |   }
[13/13] Compiling GoogleStaticMapsKit Marker.swift
BUILD FAILURE 6.3 linux