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 MapsIndoorsMapbox, reference main (564ed8), with Swift 6.0 for Linux on 30 Oct 2024 20:00:39 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/MapsPeople/mapsindoors-mapbox-ios.git
Reference: main
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/MapsPeople/mapsindoors-mapbox-ios
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 564ed81 Release version 4.6.2
Cloned https://github.com/MapsPeople/mapsindoors-mapbox-ios.git
Revision (git rev-parse @):
564ed81abde800d69e964490a966c6c55d02a34e
SUCCESS checkout https://github.com/MapsPeople/mapsindoors-mapbox-ios.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/MapsPeople/mapsindoors-mapbox-ios.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/MapsPeople/mapsindoors-core-ios.git
Fetching https://github.com/mapbox/mapbox-maps-ios.git
[1/39] Fetching mapsindoors-core-ios
[40/528412] Fetching mapsindoors-core-ios, mapbox-maps-ios
Fetched https://github.com/MapsPeople/mapsindoors-core-ios.git from cache (45.68s)
Fetched https://github.com/mapbox/mapbox-maps-ios.git from cache (46.83s)
Computing version for https://github.com/mapbox/mapbox-maps-ios.git
Computed https://github.com/mapbox/mapbox-maps-ios.git at 11.6.0 (2.01s)
Fetching https://github.com/mapbox/mapbox-common-ios.git
Fetching https://github.com/mapbox/turf-swift.git
Fetching https://github.com/mapbox/mapbox-core-maps-ios.git
[1/3927] Fetching mapbox-common-ios
[630/5116] Fetching mapbox-common-ios, mapbox-core-maps-ios
[4725/11033] Fetching mapbox-common-ios, mapbox-core-maps-ios, turf-swift
Fetched https://github.com/mapbox/turf-swift.git from cache (0.73s)
Fetched https://github.com/mapbox/mapbox-core-maps-ios.git from cache (1.13s)
Fetched https://github.com/mapbox/mapbox-common-ios.git from cache (1.15s)
Computing version for https://github.com/MapsPeople/mapsindoors-core-ios.git
Computed https://github.com/MapsPeople/mapsindoors-core-ios.git at 4.6.2 (0.40s)
Fetching https://github.com/MapsPeople/mapsindoors-ios.git
[1/29] Fetching mapsindoors-ios
Fetched https://github.com/MapsPeople/mapsindoors-ios.git from cache (0.19s)
Computing version for https://github.com/mapbox/mapbox-common-ios.git
Computed https://github.com/mapbox/mapbox-common-ios.git at 24.6.0 (0.62s)
Computing version for https://github.com/mapbox/mapbox-core-maps-ios.git
warning: 'mapbox-core-maps-ios': /Package.swift:13:23: warning: 'v10' is deprecated: iOS 11.0 is the oldest supported version
11 | let package = Package(
12 |     name: "MapboxCoreMaps",
13 |     platforms: [.iOS(.v10), .macOS(.v10_15), .custom("visionos", versionString: "1.0")],
   |                       `- warning: 'v10' is deprecated: iOS 11.0 is the oldest supported version
14 |     products: [
15 |         .library(
/Package.swift:20:10: warning: 'package(name:url:from:)' is deprecated: use package(url:from:) instead
18 |     ],
19 |     dependencies: [
20 |         .package(name: "MapboxCommon", url: "https://github.com/mapbox/mapbox-common-ios.git", from: "24.6.0"),
   |          `- warning: 'package(name:url:from:)' is deprecated: use package(url:from:) instead
21 |     ],
22 |     targets: [
Computed https://github.com/mapbox/mapbox-core-maps-ios.git at 11.6.0 (0.65s)
Computing version for https://github.com/mapbox/turf-swift.git
Computed https://github.com/mapbox/turf-swift.git at 2.8.0 (0.95s)
Computing version for https://github.com/MapsPeople/mapsindoors-ios.git
Computed https://github.com/MapsPeople/mapsindoors-ios.git at 4.6.2 (0.71s)
Creating working copy for https://github.com/mapbox/mapbox-common-ios.git
Working copy of https://github.com/mapbox/mapbox-common-ios.git resolved at 24.6.0
Creating working copy for https://github.com/MapsPeople/mapsindoors-core-ios.git
Working copy of https://github.com/MapsPeople/mapsindoors-core-ios.git resolved at 4.6.2
Creating working copy for https://github.com/mapbox/mapbox-core-maps-ios.git
Working copy of https://github.com/mapbox/mapbox-core-maps-ios.git resolved at 11.6.0
Creating working copy for https://github.com/MapsPeople/mapsindoors-ios.git
Working copy of https://github.com/MapsPeople/mapsindoors-ios.git resolved at 4.6.2
Creating working copy for https://github.com/mapbox/turf-swift.git
Working copy of https://github.com/mapbox/turf-swift.git resolved at 2.8.0
Creating working copy for https://github.com/mapbox/mapbox-maps-ios.git
Working copy of https://github.com/mapbox/mapbox-maps-ios.git resolved at 11.6.0
warning: 'mapbox-core-maps-ios': /host/spi-builder-workspace/.build/checkouts/mapbox-core-maps-ios/Package.swift:13:23: warning: 'v10' is deprecated: iOS 11.0 is the oldest supported version
11 | let package = Package(
12 |     name: "MapboxCoreMaps",
13 |     platforms: [.iOS(.v10), .macOS(.v10_15), .custom("visionos", versionString: "1.0")],
   |                       `- warning: 'v10' is deprecated: iOS 11.0 is the oldest supported version
14 |     products: [
15 |         .library(
/host/spi-builder-workspace/.build/checkouts/mapbox-core-maps-ios/Package.swift:20:10: warning: 'package(name:url:from:)' is deprecated: use package(url:from:) instead
18 |     ],
19 |     dependencies: [
20 |         .package(name: "MapboxCommon", url: "https://github.com/mapbox/mapbox-common-ios.git", from: "24.6.0"),
   |          `- warning: 'package(name:url:from:)' is deprecated: use package(url:from:) instead
21 |     ],
22 |     targets: [
[15947/15947] Downloading https://api.mapbox.com/downloads/v2/mobile-maps-core/releases/ios/packages/11.6.0/MapboxCoreMaps.xcframework-dynamic.zip
[90586/90586] Downloading https://api.mapbox.com/downloads/v2/mobile-maps-core/releases/ios/packages/11.6.0/MapboxCoreMaps.xcframework-dynamic.zip, https://api.mapbox.com/downloads/v2/mapbox-common/releases/ios/packages/24.6.0/MapboxCommon.zip
[13162378/17420346] Downloading https://api.mapbox.com/downloads/v2/mobile-maps-core/releases/ios/packages/11.6.0/MapboxCoreMaps.xcframework-dynamic.zip, https://api.mapbox.com/downloads/v2/mapbox-common/releases/ios/packages/24.6.0/MapboxCommon.zip, https://github.com/MapsPeople/MapsIndoors-SDK-iOS/releases/download/4.6.2/MapsIndoorsCore.xcframework.zip
[51915077/55466046] Downloading https://api.mapbox.com/downloads/v2/mobile-maps-core/releases/ios/packages/11.6.0/MapboxCoreMaps.xcframework-dynamic.zip, https://api.mapbox.com/downloads/v2/mapbox-common/releases/ios/packages/24.6.0/MapboxCommon.zip, https://github.com/MapsPeople/MapsIndoors-SDK-iOS/releases/download/4.6.2/MapsIndoorsCore.xcframework.zip, https://github.com/MapsPeople/MapsIndoors-SDK-iOS/releases/download/4.6.2/MapsIndoors.xcframework.zip
Downloading binary artifact https://api.mapbox.com/downloads/v2/mapbox-common/releases/ios/packages/24.6.0/MapboxCommon.zip
Downloading binary artifact https://github.com/MapsPeople/MapsIndoors-SDK-iOS/releases/download/4.6.2/MapsIndoorsCore.xcframework.zip
Downloading binary artifact https://api.mapbox.com/downloads/v2/mobile-maps-core/releases/ios/packages/11.6.0/MapboxCoreMaps.xcframework-dynamic.zip
Downloading binary artifact https://github.com/MapsPeople/MapsIndoors-SDK-iOS/releases/download/4.6.2/MapsIndoors.xcframework.zip
Downloaded https://github.com/MapsPeople/MapsIndoors-SDK-iOS/releases/download/4.6.2/MapsIndoors.xcframework.zip (2.16s)
Downloaded https://github.com/MapsPeople/MapsIndoors-SDK-iOS/releases/download/4.6.2/MapsIndoorsCore.xcframework.zip (2.30s)
Downloaded https://api.mapbox.com/downloads/v2/mapbox-common/releases/ios/packages/24.6.0/MapboxCommon.zip (4.09s)
Downloaded https://api.mapbox.com/downloads/v2/mobile-maps-core/releases/ios/packages/11.6.0/MapboxCoreMaps.xcframework-dynamic.zip (6.39s)
warning: 'mapbox-maps-ios': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/mapbox-maps-ios/Sources/MapboxMaps/Location/Puck/IndicatorAssets.xcassets
    /host/spi-builder-workspace/.build/checkouts/mapbox-maps-ios/Sources/MapboxMaps/SwiftUI/README.md
Building for debugging...
[0/85] Write sources
[0/85] Copying CompassDirectionShort.strings
[0/85] Copying CompassDirectionLong.strings
[0/85] Write sources
[0/85] Copying CompassDirectionLong.strings
[0/85] Copying MapboxMaps.json
[0/85] Copying CompassDirectionShort.strings
[0/85] Copying CompassDirectionLong.strings
[5/85] Write sources
[7/85] Copying CompassDirectionShort.strings
[13/85] Copying CompassDirectionLong.strings
[15/85] Copying OrnamentsLocalizable.strings
[15/85] Copying CompassDirectionLong.strings
[18/85] Copying CompassDirectionShort.strings
[19/85] Copying CompassDirectionLong.strings
[20/85] Copying OrnamentsLocalizable.strings
[20/85] Copying CompassDirectionShort.strings
[20/85] Copying CompassDirectionLong.strings
[20/85] Copying OrnamentsLocalizable.strings
[20/85] Copying CompassDirectionShort.strings
[20/85] Copying CompassDirectionLong.strings
[20/85] Copying OrnamentsLocalizable.strings
[20/85] Copying CompassDirectionShort.strings
[20/85] Copying CompassDirectionLong.strings
[20/85] Copying OrnamentsLocalizable.strings
[20/85] Copying CompassDirectionShort.strings
[20/85] Copying OrnamentsLocalizable.strings
[20/85] Copying CompassDirectionShort.strings
[20/85] Copying OrnamentsLocalizable.strings
[20/85] Copying CompassDirectionLong.strings
[20/85] Copying CompassDirectionShort.strings
[20/85] Copying OrnamentsLocalizable.strings
[20/85] Copying CompassDirectionLong.strings
[20/85] Copying OrnamentsLocalizable.strings
[20/85] Copying CompassDirectionLong.strings
[20/85] Copying OrnamentsLocalizable.strings
[20/85] Copying CompassDirectionLong.strings
[20/85] Copying OrnamentsLocalizable.strings
[20/85] Copying CompassDirectionLong.strings
[20/85] Copying CompassDirectionShort.strings
[20/85] Copying OrnamentsLocalizable.strings
[20/85] Copying CompassDirectionShort.strings
[20/85] Copying CompassDirectionLong.strings
[20/85] Copying OrnamentsLocalizable.strings
[20/85] Copying CompassDirectionShort.strings
[20/85] Copying CompassDirectionLong.strings
[20/85] Copying OrnamentsLocalizable.strings
[20/85] Copying CompassDirectionLong.strings
[20/85] Copying CompassDirectionShort.strings
[20/85] Copying OrnamentsLocalizable.strings
[20/85] Copying CompassDirectionShort.strings
[20/85] Copying CompassDirectionLong.strings
[20/85] Copying OrnamentsLocalizable.strings
[20/85] Copying CompassDirectionLong.strings
[20/85] Copying OrnamentsLocalizable.strings
[20/85] Copying CompassDirectionShort.strings
[20/85] Copying CompassDirectionLong.strings
[20/85] Copying OrnamentsLocalizable.strings
[20/85] Copying CompassDirectionShort.strings
[20/85] Copying OrnamentsLocalizable.strings
[20/85] Copying CompassDirectionShort.strings
[21/85] Copying CompassDirectionLong.strings
[26/85] Copying OrnamentsLocalizable.strings
[32/85] Copying PrivacyInfo.xcprivacy
[38/85] Copying OrnamentsLocalizable.strings
[40/85] Copying Info.plist
[82/85] Copying OrnamentsLocalizable.strings
[84/85] Write swift-version-24593BA9C3E375BF.txt
[86/111] Emitting module MapboxCoreMapsWrapper
[87/111] Compiling MapboxCoreMapsWrapper Placeholder.swift
[89/112] Compiling Turf BoundingBox.swift
[90/112] Compiling Turf Codable.swift
[91/112] Compiling Turf Consumer+WKT.swift
[92/115] Compiling Turf Spline.swift
[93/115] Compiling Turf Turf.swift
[94/115] Compiling Turf WKT.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[95/115] Emitting module MapsIndoorsCoreWrapper
/host/spi-builder-workspace/.build/checkouts/mapsindoors-core-ios/Sources/MapsIndoorsCoreWrapper/MPEmpty.swift:9:8: error: no such module 'MapsIndoors'
 7 |
 8 | import Foundation
 9 | import MapsIndoors
   |        `- error: no such module 'MapsIndoors'
10 |
[96/115] Compiling MapsIndoorsCoreWrapper MPEmpty.swift
/host/spi-builder-workspace/.build/checkouts/mapsindoors-core-ios/Sources/MapsIndoorsCoreWrapper/MPEmpty.swift:9:8: error: no such module 'MapsIndoors'
 7 |
 8 | import Foundation
 9 | import MapsIndoors
   |        `- error: no such module 'MapsIndoors'
10 |
[97/115] Compiling Turf FeatureCollection.swift
[98/115] Compiling Turf FeatureIdentifier.swift
[99/115] Compiling Turf GeoJSON.swift
[100/115] Compiling Turf Consumer.swift
[101/115] Compiling Turf CoreLocation.swift
[102/115] Compiling Turf Feature.swift
[103/115] Compiling Turf RadianCoordinate2D.swift
[104/115] Compiling Turf Ring.swift
[105/115] Compiling Turf Simplifier.swift
[106/115] Compiling Turf GeometryCollection.swift
[107/115] Compiling Turf LineString.swift
[108/115] Compiling Turf MultiLineString.swift
[109/115] Emitting module Turf
[110/115] Compiling Turf Polygon.swift
[111/115] Compiling Turf Geometry.swift
[112/115] Compiling Turf JSON.swift
[113/115] Compiling Turf MultiPoint.swift
[114/115] Compiling Turf MultiPolygon.swift
[115/115] Compiling Turf Point.swift
BUILD FAILURE 6.0 linux