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 EmbraceIO, reference main (584ee2), with Swift 6.0 for Linux on 15 Nov 2024 17:43:15 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.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.57.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/embrace-io/embrace-apple-sdk.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/embrace-io/embrace-apple-sdk
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 584ee27 Release/6.5.2 (#125)
Cloned https://github.com/embrace-io/embrace-apple-sdk.git
Revision (git rev-parse @):
584ee27911071342c948aeed0695d589557afbc0
SUCCESS checkout https://github.com/embrace-io/embrace-apple-sdk.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/embrace-io/embrace-apple-sdk.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/open-telemetry/opentelemetry-swift
Fetching https://github.com/groue/GRDB.swift
Fetching https://github.com/embrace-io/KSCrash.git
[1/11943] Fetching opentelemetry-swift
[11944/23666] Fetching opentelemetry-swift, kscrash
[23667/133585] Fetching opentelemetry-swift, kscrash, grdb.swift
Fetched https://github.com/open-telemetry/opentelemetry-swift from cache (11.87s)
Fetched https://github.com/embrace-io/KSCrash.git from cache (11.87s)
Fetched https://github.com/groue/GRDB.swift from cache (12.16s)
Computing version for https://github.com/open-telemetry/opentelemetry-swift
Computed https://github.com/open-telemetry/opentelemetry-swift at 1.10.1 (0.44s)
Fetching https://github.com/grpc/grpc-swift.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-metrics.git
[1/2088] Fetching swift-metrics
[2089/5779] Fetching swift-metrics, swift-log
[4304/7348] Fetching swift-metrics, swift-log, swift-atomics
[7349/45202] Fetching swift-metrics, swift-log, swift-atomics, swift-protobuf
[7728/116744] Fetching swift-metrics, swift-log, swift-atomics, swift-protobuf, swift-nio
[42485/165100] Fetching swift-metrics, swift-log, swift-atomics, swift-protobuf, swift-nio, grpc-swift
Fetched https://github.com/grpc/grpc-swift.git from cache (2.38s)
Fetched https://github.com/apple/swift-atomics.git from cache (4.70s)
Fetched https://github.com/apple/swift-nio.git from cache (4.77s)
Fetched https://github.com/apple/swift-log.git from cache (5.03s)
Fetched https://github.com/apple/swift-metrics.git from cache (5.03s)
Fetched https://github.com/apple/swift-protobuf.git from cache (5.09s)
Computing version for https://github.com/embrace-io/KSCrash.git
Computed https://github.com/embrace-io/KSCrash.git at 2.0.6 (0.47s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.40s)
Computing version for https://github.com/groue/GRDB.swift
Computed https://github.com/groue/GRDB.swift at 6.29.3 (0.46s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.1 (0.37s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.5.0 (0.37s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.28.2 (0.39s)
Computing version for https://github.com/grpc/grpc-swift.git
Computed https://github.com/grpc/grpc-swift.git at 1.24.2 (0.61s)
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1/2279] Fetching swift-nio-transport-services
[2280/7448] Fetching swift-nio-transport-services, swift-nio-extras
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.28s)
[1/15475] Fetching swift-collections
[775/26618] Fetching swift-collections, swift-nio-http2
[19656/39925] Fetching swift-collections, swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-collections.git from cache (1.09s)
[23519/24450] Fetching swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-extras.git from cache (1.12s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.13s)
[13041/13307] Fetching swift-nio-ssl
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.55s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.24.1 (0.42s)
Fetching https://github.com/apple/swift-http-types
[1/662] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types from cache (0.22s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.34.1 (0.38s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.59s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.3.1 (0.42s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.29.0 (0.46s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.23.0 (0.38s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.76.1 (0.57s)
Fetching https://github.com/apple/swift-system.git
[1/3901] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.31s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (0.38s)
Creating working copy for https://github.com/open-telemetry/opentelemetry-swift
Working copy of https://github.com/open-telemetry/opentelemetry-swift resolved at 1.10.1
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.24.1
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.23.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.1
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.34.1
Creating working copy for https://github.com/grpc/grpc-swift.git
Working copy of https://github.com/grpc/grpc-swift.git resolved at 1.24.2
Creating working copy for https://github.com/apple/swift-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.5.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
Creating working copy for https://github.com/groue/GRDB.swift
Working copy of https://github.com/groue/GRDB.swift resolved at 6.29.3
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.29.0
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.28.2
Creating working copy for https://github.com/apple/swift-http-types
Working copy of https://github.com/apple/swift-http-types resolved at 1.3.1
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.0
Creating working copy for https://github.com/embrace-io/KSCrash.git
Working copy of https://github.com/embrace-io/KSCrash.git resolved at 2.0.6
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.76.1
[1/1] Compiling plugin GRPCSwiftPlugin
[2/2] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[2/58] Write sources
[6/58] Copying PrivacyInfo.xcprivacy
[8/58] Write sources
[9/58] Copying Info.plist
[11/58] Write sources
In file included from /host/spi-builder-workspace/Sources/EmbraceObjCUtilsInternal/source/EMBStackTraceProccessor.m:5:
/host/spi-builder-workspace/Sources/EmbraceObjCUtilsInternal/include/EMBStackTraceProccessor.h:6:9: fatal error: 'Foundation/Foundation.h' file not found
    6 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[13/58] Compiling EMBStackTraceProccessor.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/KSCrashRecording.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
    1 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[13/58] Compiling KSCrashRecording resource_bundle_accessor.m
In file included from /host/spi-builder-workspace/Sources/EmbraceObjCUtilsInternal/source/EMBBinaryImageProvider.m:6:
/host/spi-builder-workspace/Sources/EmbraceObjCUtilsInternal/include/EMBBinaryImageProvider.h:6:9: fatal error: 'Foundation/Foundation.h' file not found
    6 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/EmbraceObjCUtilsInternal/source/EMBDevice.m:10:9: fatal error: 'mach-o/dyld.h' file not found
   10 | #import <mach-o/dyld.h>
      |         ^~~~~~~~~~~~~~~
[13/58] Compiling EMBDevice.m
[13/58] Compiling EMBBinaryImageProvider.m
[13/58] Compiling KSCrashSignalInfo.c
[13/58] Compiling _AtomicsShims.c
In file included from /host/spi-builder-workspace/Sources/EmbraceObjCUtilsInternal/source/NSURLSessionTask+Embrace.m:6:
/host/spi-builder-workspace/Sources/EmbraceObjCUtilsInternal/include/NSURLSessionTask+Embrace.h:6:9: fatal error: 'Foundation/Foundation.h' file not found
    6 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[13/58] Compiling NSURLSessionTask+Embrace.m
[13/58] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.0 linux