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 swift-create-xcframework, reference v2.3.0 (0be3a6), with Swift 6.0 for Linux on 2 Nov 2024 15:11:41 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/unsignedapps/swift-create-xcframework.git
Reference: v2.3.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/unsignedapps/swift-create-xcframework
 * tag               v2.3.0     -> FETCH_HEAD
HEAD is now at 0be3a68 Bump Command.swift
Cloned https://github.com/unsignedapps/swift-create-xcframework.git
Revision (git rev-parse @):
0be3a68c84987493a7d7298027274a0862bc5ccd
SUCCESS checkout https://github.com/unsignedapps/swift-create-xcframework.git at v2.3.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/unsignedapps/swift-create-xcframework.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/apple/swift-package-manager.git
[1/141934] Fetching swift-package-manager
Fetched https://github.com/apple/swift-package-manager.git from cache (11.78s)
Fetching https://github.com/apple/swift-tools-support-core.git
[1/6522] Fetching swift-tools-support-core
Fetched https://github.com/apple/swift-tools-support-core.git from cache (0.47s)
Fetching https://github.com/apple/swift-llbuild.git
[1/28305] Fetching swift-llbuild
Fetched https://github.com/apple/swift-llbuild.git from cache (2.61s)
Fetching https://github.com/apple/swift-driver.git
[1/31947] Fetching swift-driver
Fetched https://github.com/apple/swift-driver.git from cache (1.77s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-collections.git
[1/10416] Fetching swift-crypto
[106/14317] Fetching swift-crypto, swift-system
[2109/24219] Fetching swift-crypto, swift-system, yams
[7420/36572] Fetching swift-crypto, swift-system, yams, swift-argument-parser
[7866/52047] Fetching swift-crypto, swift-system, yams, swift-argument-parser, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.44s)
[8142/48146] Fetching swift-crypto, yams, swift-argument-parser, swift-collections
Fetched https://github.com/jpsim/Yams.git from cache (1.39s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.56s)
Fetched https://github.com/apple/swift-crypto.git from cache (1.58s)
Fetched https://github.com/apple/swift-collections.git from cache (1.58s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.0.3 (0.74s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.1.1 (0.74s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 1.1.7 (0.77s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.0.6 (0.78s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 4.0.6 (0.81s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.0.6
Creating working copy for https://github.com/apple/swift-package-manager.git
Working copy of https://github.com/apple/swift-package-manager.git resolved at release/5.7 (c6e40ad)
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 4.0.6
Creating working copy for https://github.com/apple/swift-driver.git
Working copy of https://github.com/apple/swift-driver.git resolved at release/5.7 (82b274a)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.0.3
Creating working copy for https://github.com/apple/swift-tools-support-core.git
Working copy of https://github.com/apple/swift-tools-support-core.git resolved at release/5.7 (286b48b)
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 1.1.7
Creating working copy for https://github.com/apple/swift-llbuild.git
Working copy of https://github.com/apple/swift-llbuild.git resolved at release/5.7 (564424d)
Building for debugging...
[0/571] Write sources
[8/571] Compiling llvmSupport Valgrind.cpp
[9/571] Compiling llvmSupport UnicodeCaseFold.cpp
[10/571] Compiling llvmSupport circular_raw_ostream.cpp
[11/571] Write swift-version-24593BA9C3E375BF.txt
[12/571] Compiling llvmSupport StringExtras.cpp
[13/571] Compiling llvmSupport Twine.cpp
[14/571] Compiling llvmSupport Unicode.cpp
[15/571] Compiling llvmSupport raw_ostream.cpp
[16/571] Compiling llvmSupport Threading.cpp
[17/571] Compiling llvmSupport StringSaver.cpp
[18/571] Compiling llvmSupport SourceMgr.cpp
[19/571] Compiling llvmSupport StringRef.cpp
[20/571] Compiling llvmSupport Triple.cpp
[21/571] Compiling llvmSupport SmallVector.cpp
[21/571] Compiling llvmSupport TargetParser.cpp
[23/571] Compiling llvmSupport StringMap.cpp
[24/571] Compiling llvmSupport SmallPtrSet.cpp
[25/571] Compiling llvmSupport YAMLParser.cpp
[26/571] Compiling llvmSupport Program.cpp
[27/571] Compiling llvmSupport Process.cpp
[28/571] Compiling llvmSupport Signals.cpp
[29/571] Compiling llvmSupport MathExtras.cpp
[30/571] Compiling llvmSupport Mutex.cpp
[31/571] Compiling llvmSupport NativeFormatting.cpp
[32/571] Compiling llvmSupport Memory.cpp
[33/571] Compiling llvmSupport Options.cpp
[34/571] Compiling llvmSupport ManagedStatic.cpp
[35/571] Compiling llvmSupport MD5.cpp
[36/571] Compiling llvmSupport Locale.cpp
[37/571] Compiling llvmSupport MemoryBuffer.cpp
[38/571] Compiling llvmSupport Hashing.cpp
[39/571] Compiling llvmSupport FormatVariadic.cpp
[40/571] Compiling llvmSupport FoldingSet.cpp
[41/571] Compiling llvmSupport Path.cpp
[42/571] Compiling llvmSupport Errno.cpp
[43/571] Compiling llvmSupport ErrorHandling.cpp
[44/571] Compiling llvmSupport Debug.cpp
[45/571] Compiling llvmSupport DJB.cpp
[46/571] Compiling llvmSupport Error.cpp
[47/571] Compiling llvmSupport FileUtilities.cpp
[48/571] Compiling llvmSupport Host.cpp
[49/571] Compiling llvmSupport ConvertUTF.cpp
[50/571] Compiling llvmSupport ConvertUTFWrapper.cpp
[51/571] Compiling llvmSupport Atomic.cpp
[52/571] Compiling llvmSupport Allocator.cpp
[53/571] Write sources
[54/571] Compiling llvmSupport APSInt.cpp
[55/571] Compiling llvmDemangle MicrosoftDemangle.cpp
[56/571] Compiling llvmSupport Chrono.cpp
[57/571] Compiling llvmDemangle ItaniumDemangle.cpp
[58/571] Compiling llvmSupport APInt.cpp
[59/571] Compiling llvmSupport APFloat.cpp
[60/571] Compiling llbuildNinja Parser.cpp
[61/571] Compiling llbuildNinja Lexer.cpp
[62/571] Compiling llvmSupport CommandLine.cpp
[63/571] Compiling llbuildCore MakefileDepsParser.cpp
[64/571] Compiling llbuildCore DependencyInfoParser.cpp
[65/571] Compiling llbuildNinja Manifest.cpp
[66/571] Compiling llbuildNinja ManifestLoader.cpp
[67/571] Compiling llbuildCore BuildDB.cpp
[68/571] Compiling llbuildCore SQLiteBuildDB.cpp
[69/571] Compiling llbuildCore BuildEngineTrace.cpp
[70/571] Compiling llbuildBuildSystem BuildValue.cpp
[71/571] Compiling llbuildBuildSystem ExternalCommand.cpp
[72/571] Compiling llbuildBuildSystem ShellCommand.cpp
[73/571] Compiling llbuildBuildSystem BuildSystemExtensionManager.cpp
[74/571] Compiling llbuildBuildSystem BuildNode.cpp
[75/571] Compiling llbuildBuildSystem BuildKey.cpp
[76/571] Compiling llbuildCore BuildEngine.cpp
[77/571] Compiling llbuildBuildSystem BuildSystemFrontend.cpp
[78/571] Compiling llbuildBasic Version.cpp
[79/571] Compiling llbuildBasic Tracing.cpp
[80/571] Compiling llbuildBasic ShellUtility.cpp
[81/571] Compiling llbuildBuildSystem BuildDescription.cpp
[82/571] Compiling llbuildBasic Subprocess.cpp
[83/571] Compiling llbuildBasic Hashing.cpp
[84/571] Compiling llbuildBasic PlatformUtility.cpp
[85/571] Compiling llbuildBuildSystem BuildFile.cpp
[86/571] Compiling llbuildBasic SerialQueue.cpp
[87/571] Compiling llbuildBasic FileSystem.cpp
[88/571] Compiling llbuildBasic FileInfo.cpp
[89/571] Compiling libllbuild C-API.cpp
[90/571] Compiling llbuildBasic ExecutionQueue.cpp
[91/571] Compiling llbuildBasic LaneBasedExecutionQueue.cpp
[92/571] Write sources
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCclibc/process.c:10:12: error: call to undeclared function 'posix_spawn_file_actions_addchdir_np'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   10 |     return posix_spawn_file_actions_addchdir_np(file_actions, path);
      |            ^
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCclibc/process.c:10:12: note: did you mean 'SPM_posix_spawn_file_actions_addchdir_np'?
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCclibc/process.c:7:5: note: 'SPM_posix_spawn_file_actions_addchdir_np' declared here
    7 | int SPM_posix_spawn_file_actions_addchdir_np(posix_spawn_file_actions_t *restrict file_actions, const char *restrict path) {
      |     ^
    8 | #if defined(__GLIBC__)
    9 | #  if __GLIBC_PREREQ(2, 29)
   10 |     return posix_spawn_file_actions_addchdir_np(file_actions, path);
      |            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |            SPM_posix_spawn_file_actions_addchdir_np
1 error generated.
[93/571] Compiling TSCclibc process.c
[93/571] Compiling libllbuild BuildValue-C-API.cpp
[93/571] Compiling libllbuild BuildSystem-C-API.cpp
[93/571] Compiling libllbuild BuildDB-C-API.cpp
[93/571] Compiling libllbuild Core-C-API.cpp
[93/571] Compiling libllbuild BuildKey-C-API.cpp
[93/571] Compiling libllbuild Ninja-C-API.cpp
[93/571] Compiling llbuildBuildSystem BuildSystem.cpp
BUILD FAILURE 6.0 linux