Build Information
Successful build of IPAPI, reference master (739413
), with Swift 6.1 for macOS (SPM) on 25 Apr 2025 20:45:09 UTC.
Swift 6 data race errors: 1
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/arturgrigor/IPAPI.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/arturgrigor/IPAPI
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 7394135 Merge pull request #4 from arturgrigor/develop
Submodule path 'Carthage/Checkouts/OHHTTPStubs': checked out 'a5f9693dbf7a98e91cd7b72fff02bdd291ac66e0'
Submodule 'Carthage/Checkouts/OHHTTPStubs' (https://github.com/AliSoftware/OHHTTPStubs.git) registered for path 'Carthage/Checkouts/OHHTTPStubs'
Cloning into '/Users/admin/builder/spi-builder-workspace/Carthage/Checkouts/OHHTTPStubs'...
Cloned https://github.com/arturgrigor/IPAPI.git
Revision (git rev-parse @):
7394135f9162ab7127a5ebd94d48e797dc516414
SUCCESS checkout https://github.com/arturgrigor/IPAPI.git at master
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "ipapi",
"name": "IPAPI",
"url": "https://github.com/arturgrigor/IPAPI.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/IPAPI",
"dependencies": [
]
}
]
}
Fetching https://github.com/arturgrigor/IPAPI.git
[9/405] Fetching ipapi
Fetched https://github.com/arturgrigor/IPAPI.git from cache (0.75s)
Creating working copy for https://github.com/arturgrigor/IPAPI.git
Working copy of https://github.com/arturgrigor/IPAPI.git resolved at master (7394135)
warning: '.resolve-product-dependencies': dependency 'ipapi' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/arturgrigor/IPAPI.git
https://github.com/arturgrigor/IPAPI.git
{
"dependencies" : [
],
"manifest_display_name" : "IPAPI",
"name" : "IPAPI",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "8.0"
},
{
"name" : "macos",
"version" : "10.10"
},
{
"name" : "tvos",
"version" : "9.0"
},
{
"name" : "watchos",
"version" : "2.0"
}
],
"products" : [
{
"name" : "IPAPI",
"targets" : [
"IPAPI"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "IPAPI",
"module_type" : "SwiftTarget",
"name" : "IPAPI",
"path" : "Sources",
"product_memberships" : [
"IPAPI"
],
"sources" : [
"Service.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
warning: 'spi-builder-workspace': Invalid Exclude '/Users/admin/builder/spi-builder-workspace/Sources/Sources/Info.plist': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/Users/admin/builder/spi-builder-workspace/Sources/Sources/IPAPI.h': File not found.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/4] Emitting module IPAPI
/Users/admin/builder/spi-builder-workspace/Sources/Service.swift:190:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Service' may have shared mutable state; this is an error in the Swift 6 language mode
17 | /// Our system will automatically ban any IP addresses doing over 150 requests per minute. To unban your IP click [here](http://ip-api.com/docs/unban).
18 | /// You are free to use ip-api.com for non-commercial use. **We do not allow commercial use without prior approval**.
19 | open class Service {
| `- note: class 'Service' does not conform to the 'Sendable' protocol
20 |
21 | // MARK: - Types -
:
188 |
189 | /// The default instance of `Service` initialized with default values.
190 | public static let `default` = Service()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Service' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
191 |
192 | /// Initializes the `Service` instance with the given timeout interval.
[4/4] Compiling IPAPI Service.swift
/Users/admin/builder/spi-builder-workspace/Sources/Service.swift:190:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Service' may have shared mutable state; this is an error in the Swift 6 language mode
17 | /// Our system will automatically ban any IP addresses doing over 150 requests per minute. To unban your IP click [here](http://ip-api.com/docs/unban).
18 | /// You are free to use ip-api.com for non-commercial use. **We do not allow commercial use without prior approval**.
19 | open class Service {
| `- note: class 'Service' does not conform to the 'Sendable' protocol
20 |
21 | // MARK: - Types -
:
188 |
189 | /// The default instance of `Service` initialized with default values.
190 | public static let `default` = Service()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Service' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
191 |
192 | /// Initializes the `Service` instance with the given timeout interval.
/Users/admin/builder/spi-builder-workspace/Sources/Service.swift:256:17: warning: capture of 'completion' with non-sendable type '((Result<Service.Result, any Error>) -> Void)?' in a '@Sendable' closure
254 | let task = session.dataTask(with: request, completionHandler: { data, response, error in
255 | if let error = error {
256 | completion?(.failure(error))
| |- warning: capture of 'completion' with non-sendable type '((Result<Service.Result, any Error>) -> Void)?' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
257 | } else {
258 | let decoder = JSONDecoder()
/Users/admin/builder/spi-builder-workspace/Sources/Service.swift:317:17: warning: capture of 'completion' with non-sendable type '((Result<[Service.Result], any Error>) -> Void)?' in a '@Sendable' closure
315 | let task = session.dataTask(with: request, completionHandler: { data, response, error in
316 | if let error = error {
317 | completion?(.failure(error))
| |- warning: capture of 'completion' with non-sendable type '((Result<[Service.Result], any Error>) -> Void)?' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
318 | } else {
319 | let decoder = JSONDecoder()
Build complete! (4.28s)
warning: 'spi-builder-workspace': Invalid Exclude '/Users/admin/builder/spi-builder-workspace/Sources/Sources/IPAPI.h': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/Users/admin/builder/spi-builder-workspace/Sources/Sources/Info.plist': File not found.
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "IPAPI",
"name" : "IPAPI",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "8.0"
},
{
"name" : "macos",
"version" : "10.10"
},
{
"name" : "tvos",
"version" : "9.0"
},
{
"name" : "watchos",
"version" : "2.0"
}
],
"products" : [
{
"name" : "IPAPI",
"targets" : [
"IPAPI"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "IPAPI",
"module_type" : "SwiftTarget",
"name" : "IPAPI",
"path" : "Sources",
"product_memberships" : [
"IPAPI"
],
"sources" : [
"Service.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
warning: 'spi-builder-workspace': Invalid Exclude '/Users/admin/builder/spi-builder-workspace/Sources/Sources/IPAPI.h': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/Users/admin/builder/spi-builder-workspace/Sources/Sources/Info.plist': File not found.
Done.