Skip to content

backtrace occurs when running a swift test against TestableExe package on Ubuntu 22.04 package build #8955

@bkhouri

Description

@bkhouri

Is it reproducible with SwiftPM command-line tools: swift build, swift test, swift package etc?

  • Confirmed reproduction steps with SwiftPM CLI. The description text must include reproduction steps with either of command-line SwiftPM commands, swift build, swift test, swift package etc.

Description

In an Jenkins Ubuntu 22.04 Package build (https://ci.swift.org/job/oss-swift-package-ubuntu-24_04-aarch64/1406),

The TestCommandTests.enableDisableTestabilityDefaultShouldRunWithTestability(buildSystem:configuration:) is failing in using build system swiftbuild and configuration release as a backtrace is occurring when running the swift test ... command, and as such, the output does not contains the expected string.

Expected behavior

The test passes without any withKnownIssue

Actual behavior

[2025-07-18T10:32:55.838Z] ✘ Test enableDisableTestabilityDefaultShouldRunWithTestability(buildSystem:configuration:) recorded an issue with 2 arguments buildSystem → .swiftbuild, configuration → .release at TestCommandTests.swift:222:6: Caught error: signalled(11): /home/build-user/build/buildbot_linux/swiftpm-linux-aarch64/aarch64-unknown-linux-gnu/release/swift-package-manager --package-path /tmp/Miscellaneous_TestableExe.1QBzmk/Miscellaneous_TestableExe --configuration release --build-system swiftbuild --vv output:
[2025-07-18T10:32:55.838Z]     debug: /home/build-user/swift-nightly-install/usr/bin/swiftc -print-target-info
[2025-07-18T10:32:55.838Z]     debug: registering 'repository fetching' with terminator
[2025-07-18T10:32:55.838Z]     debug: registering 'registry downloads' with terminator
[2025-07-18T10:32:55.838Z]     debug: registering 'binary artifacts downloads' with terminator
[2025-07-18T10:32:55.838Z]     debug: registering 'package prebuilts downloads' with terminator
[2025-07-18T10:32:55.838Z]     debug: registering 'plugin runner' with terminator
[2025-07-18T10:32:55.838Z]     debug: registering 'build system' with terminator
[2025-07-18T10:32:55.838Z]     debug: Loading and validating graph
[2025-07-18T10:32:55.838Z]     debug: Resolving dependencies
[2025-07-18T10:32:55.838Z]     debug: resolving and updating 'Package.resolved'
[2025-07-18T10:32:55.838Z]     debug: 'miscellaneous_testableexe': evaluating manifest for 'miscellaneous_testableexe' v. unknown
[2025-07-18T10:32:55.838Z]     debug: /home/build-user/swift-nightly-install/usr/bin/swiftc -vfsoverlay /tmp/TemporaryDirectory.EJbot5/vfs.yaml -L /home/build-user/build/buildbot_linux/swiftpm-linux-aarch64/aarch64-unknown-linux-gnu/lib/swift/pm/ManifestAPI -lPackageDescription -Xlinker -rpath -Xlinker /home/build-user/build/buildbot_linux/swiftpm-linux-aarch64/aarch64-unknown-linux-gnu/lib/swift/pm/ManifestAPI -swift-version 5 -I /home/build-user/build/buildbot_linux/swiftpm-linux-aarch64/aarch64-unknown-linux-gnu/lib/swift/pm/ManifestAPI -package-description-version 5.5.0 -module-cache-path /home/build-user/build/buildbot_linux/swiftpm-linux-aarch64/aarch64-unknown-linux-gnu/release /tmp/Miscellaneous_TestableExe.1QBzmk/Miscellaneous_TestableExe/Package.swift -v -o /tmp/TemporaryDirectory.XwkYjS/miscellaneous_testableexe-manifest
[2025-07-18T10:32:55.838Z]     debug: git -C /tmp/Miscellaneous_TestableExe.1QBzmk/Miscellaneous_TestableExe describe --exact-match --tags
[2025-07-18T10:32:55.838Z]     debug: Compiled manifest for 'miscellaneous_testableexe' (from '/tmp/Miscellaneous_TestableExe.1QBzmk/Miscellaneous_TestableExe') in 0.30s
[2025-07-18T10:32:55.838Z]     debug: git -C /tmp/Miscellaneous_TestableExe.1QBzmk/Miscellaneous_TestableExe rev-parse --verify HEAD
[2025-07-18T10:32:55.838Z]     debug: /tmp/TemporaryDirectory.XwkYjS/miscellaneous_testableexe-manifest -fileno 36 -context '{"packageDirectory":"\/tmp\/Miscellaneous_TestableExe.1QBzmk\/Miscellaneous_TestableExe"}'
[2025-07-18T10:32:55.838Z]     debug: Evaluated manifest for 'miscellaneous_testableexe' (from '/tmp/Miscellaneous_TestableExe.1QBzmk/Miscellaneous_TestableExe') in 0.01s
[2025-07-18T10:32:55.838Z]     warning: 'miscellaneous_testableexe': /home/build-user/swift-nightly-install/usr/bin/swift-frontend -frontend -c -primary-file /tmp/Miscellaneous_TestableExe.1QBzmk/Miscellaneous_TestableExe/Package.swift -target aarch64-unknown-linux-gnu -Xllvm -aarch64-use-tbi -disable-objc-interop -I /home/build-user/build/buildbot_linux/swiftpm-linux-aarch64/aarch64-unknown-linux-gnu/lib/swift/pm/ManifestAPI -vfsoverlay /tmp/TemporaryDirectory.EJbot5/vfs.yaml -no-color-diagnostics -Xcc -fno-color-diagnostics -module-cache-path /home/build-user/build/buildbot_linux/swiftpm-linux-aarch64/aarch64-unknown-linux-gnu/release -swift-version 5 -package-description-version 5.5.0 -empty-abi-descriptor -no-auto-bridging-header-chaining -module-name main -in-process-plugin-server-path /home/build-user/swift-nightly-install/usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /home/build-user/swift-nightly-install/usr/lib/swift/host/plugins -plugin-path /home/build-user/swift-nightly-install/usr/local/lib/swift/host/plugins -o /tmp/TemporaryDirectory.WYqAhS/Package-1.o
[2025-07-18T10:32:55.838Z]     /home/build-user/swift-nightly-install/usr/bin/swift-autolink-extract /tmp/TemporaryDirectory.WYqAhS/Package-1.o -o /tmp/TemporaryDirectory.WYqAhS/main-1.autolink
[2025-07-18T10:32:55.838Z]     /home/build-user/swift-nightly-install/usr/bin/clang -pie -Xlinker --build-id -Xlinker -rpath -Xlinker /home/build-user/swift-nightly-install/usr/lib/swift/linux /home/build-user/swift-nightly-install/usr/lib/swift/linux/aarch64/swiftrt.o /tmp/TemporaryDirectory.WYqAhS/Package-1.o @/tmp/TemporaryDirectory.WYqAhS/main-1.autolink -L /home/build-user/swift-nightly-install/usr/lib/swift/linux -lswiftCore --target=aarch64-unknown-linux-gnu -v -L /home/build-user/build/buildbot_linux/swiftpm-linux-aarch64/aarch64-unknown-linux-gnu/lib/swift/pm/ManifestAPI -lPackageDescription -Xlinker -rpath -Xlinker /home/build-user/build/buildbot_linux/swiftpm-linux-aarch64/aarch64-unknown-linux-gnu/lib/swift/pm/ManifestAPI -o /tmp/TemporaryDirectory.XwkYjS/miscellaneous_testableexe-manifest
[2025-07-18T10:32:55.838Z]     Swift version 6.2-dev (LLVM b25f617bc8c2036, Swift 8a689bb4d398d05)
[2025-07-18T10:32:55.838Z]     Target: aarch64-unknown-linux-gnu
[2025-07-18T10:32:55.838Z]     clang version 17.0.0 (https://github.com/swiftlang/llvm-project.git b25f617bc8c203673b78652d72c620217197e793)
[2025-07-18T10:32:55.838Z]     Target: aarch64-unknown-linux-gnu
[2025-07-18T10:32:55.838Z]     Thread model: posix
[2025-07-18T10:32:55.838Z]     InstalledDir: /home/build-user/swift-nightly-install/usr/bin
[2025-07-18T10:32:55.838Z]     Build config: +assertions
[2025-07-18T10:32:55.838Z]     Found candidate GCC installation: /usr/lib/gcc/aarch64-linux-gnu/13
[2025-07-18T10:32:55.838Z]     Selected GCC installation: /usr/lib/gcc/aarch64-linux-gnu/13
[2025-07-18T10:32:55.838Z]     Candidate multilib: .;@m64
[2025-07-18T10:32:55.838Z]     Selected multilib: .;@m64
[2025-07-18T10:32:55.838Z]      "/usr/bin/ld.gold" -EL -z relro --hash-style=gnu --eh-frame-hdr -m aarch64linux -pie -dynamic-linker /lib/ld-linux-aarch64.so.1 -o /tmp/TemporaryDirectory.XwkYjS/miscellaneous_testableexe-manifest /lib/aarch64-linux-gnu/Scrt1.o /lib/aarch64-linux-gnu/crti.o /usr/lib/gcc/aarch64-linux-gnu/13/crtbeginS.o -L/home/build-user/swift-nightly-install/usr/lib/swift/linux -L/home/build-user/build/buildbot_linux/swiftpm-linux-aarch64/aarch64-unknown-linux-gnu/lib/swift/pm/ManifestAPI -L/usr/lib/gcc/aarch64-linux-gnu/13 -L/lib/aarch64-linux-gnu -L/usr/lib/aarch64-linux-gnu -L/lib -L/usr/lib --build-id -rpath /home/build-user/swift-nightly-install/usr/lib/swift/linux /home/build-user/swift-nightly-install/usr/lib/swift/linux/aarch64/swiftrt.o /tmp/TemporaryDirectory.WYqAhS/Package-1.o -lPackageDescription -lswiftSwiftOnoneSupport -lswiftCore -lswift_Concurrency -lswift_StringProcessing -lswift_RegexParser -lswiftGlibc -lBlocksRuntime -ldispatch -lswiftDispatch -lFoundation -lFoundationEssentials -lFoundationInternationalization -lm -lpthread -lutil -ldl -lswiftCore -lPackageDescription -rpath /home/build-user/build/buildbot_linux/swiftpm-linux-aarch64/aarch64-unknown-linux-gnu/lib/swift/pm/ManifestAPI -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/aarch64-linux-gnu/13/crtendS.o /lib/aarch64-linux-gnu/crtn.o
[2025-07-18T10:32:55.838Z]     debug: Loaded manifest for 'miscellaneous_testableexe' (from '/tmp/Miscellaneous_TestableExe.1QBzmk/Miscellaneous_TestableExe') in 0.35s
[2025-07-18T10:32:55.838Z]     debug: Dependencies resolved in (0.36s)
[2025-07-18T10:32:55.838Z]     debug: Graph loaded in (0.36s)
[2025-07-18T10:32:55.838Z]     info: PIF: Building PIF project for package 'miscellaneous_testableexe' (4 products, 4 modules)
[2025-07-18T10:32:55.838Z]     debug: PIF: Processing 4 products:
[2025-07-18T10:32:55.838Z]     debug: PIF: Created target 'PACKAGE-PRODUCT:TestableExeTests' of type 'unitTest' with name 'TestableExeTests-product' and product name 'TestableExeTests'
[2025-07-18T10:32:55.838Z]     debug: PIF:   Added source file group '/tmp/Miscellaneous_TestableExe.1QBzmk/Miscellaneous_TestableExe/Tests/TestableExeTests'
[2025-07-18T10:32:55.838Z]     debug: PIF:     Added source file 'TestableExeTests.swift'
[2025-07-18T10:32:55.838Z]     debug: PIF:   Added dependency on product 'PACKAGE-PRODUCT:TestableExe1'
[2025-07-18T10:32:55.838Z]     debug: PIF:   Added linked dependency on target 'PACKAGE-TARGET:TestableExe1--7E7F162D094B3B6D-testable'
[2025-07-18T10:32:55.838Z]     debug: PIF:   Added dependency on product 'PACKAGE-PRODUCT:TestableExe2'
[2025-07-18T10:32:55.838Z]     debug: PIF:   Added linked dependency on target 'PACKAGE-TARGET:TestableExe2--7E7F162D094B2B6C-testable'
[2025-07-18T10:32:55.838Z]     debug: PIF:   Added dependency on product 'PACKAGE-PRODUCT:TestableExe3'
[2025-07-18T10:32:55.838Z]     debug: PIF:   Added linked dependency on target 'PACKAGE-TARGET:TestableExe3--7E7F162D094B1B6B-testable'
[2025-07-18T10:32:55.838Z]     debug: PIF: Created target 'PACKAGE-PRODUCT:TestableExe3' of type 'executable' with name 'TestableExe3-product' and product name 'TestableExe3'
[2025-07-18T10:32:55.838Z]     debug: PIF:   Added '/tmp/Miscellaneous_TestableExe.1QBzmk/Miscellaneous_TestableExe/Sources/TestableExe3/include' to HEADER_SEARCH_PATHS
[2025-07-18T10:32:55.838Z]     debug: PIF:   Added source file group '/tmp/Miscellaneous_TestableExe.1QBzmk/Miscellaneous_TestableExe/Sources/TestableExe3'
[2025-07-18T10:32:55.838Z]     debug: PIF:     Added source file 'main.c'
[2025-07-18T10:32:55.838Z]     debug: PIF: Created target 'PACKAGE-PRODUCT:TestableExe2' of type 'executable' with name 'TestableExe2-product' and product name 'TestableExe2'
[2025-07-18T10:32:55.838Z]     debug: PIF:   Added source file group '/tmp/Miscellaneous_TestableExe.1QBzmk/Miscellaneous_TestableExe/Sources/TestableExe2'
[2025-07-18T10:32:55.838Z]     debug: PIF:     Added source file 'main.swift'
[2025-07-18T10:32:55.838Z]     debug: PIF: Created target 'PACKAGE-PRODUCT:TestableExe1' of type 'executable' with name 'TestableExe1-product' and product name 'TestableExe1'
[2025-07-18T10:32:55.838Z]     debug: PIF:   Added source file group '/tmp/Miscellaneous_TestableExe.1QBzmk/Miscellaneous_TestableExe/Sources/TestableExe1'
[2025-07-18T10:32:55.838Z]     debug: PIF:     Added source file 'main.swift'
[2025-07-18T10:32:55.838Z]     debug: PIF: Processing 4 modules:
[2025-07-18T10:32:55.838Z]     debug: PIF: Created target 'PACKAGE-TARGET:TestableExe3--7E7F162D094B1B6B-testable' of type 'objectFile' with name 'TestableExe3' and product name 'TestableExe3.o'
[2025-07-18T10:32:55.838Z]     debug: PIF: TestableExe.TestableExe3 generated umbrella header
[2025-07-18T10:32:55.838Z]     debug: PIF:   Added '/tmp/Miscellaneous_TestableExe.1QBzmk/Miscellaneous_TestableExe/Sources/TestableExe3/include' to HEADER_SEARCH_PATHS
[2025-07-18T10:32:55.838Z]     debug: PIF:   Added '/tmp/Miscellaneous_TestableExe.1QBzmk/Miscellaneous_TestableExe/Sources/TestableExe3/include' to imparted HEADER_SEARCH_PATHS
[2025-07-18T10:32:55.838Z]     debug: PIF:   Added '["$(inherited)"]' to imparted OTHER_LDFLAGS
[2025-07-18T10:32:55.838Z]     debug: PIF:   Added '["$(BUILT_PRODUCTS_DIR)/PackageFrameworks", "$(inherited)"]' to imparted FRAMEWORK_SEARCH_PATHS
[2025-07-18T10:32:55.838Z]     debug: PIF:   Added source file group '/tmp/Miscellaneous_TestableExe.1QBzmk/Miscellaneous_TestableExe/Sources/TestableExe3'
[2025-07-18T10:32:55.838Z]     debug: PIF:     Added source file 'main.c'
[2025-07-18T10:32:55.838Z]     debug: PIF: Created target 'PACKAGE-TARGET:TestableExe2--7E7F162D094B2B6C-testable' of type 'objectFile' with name 'TestableExe2' and product name 'TestableExe2.o'
[2025-07-18T10:32:55.838Z]     debug: PIF:   Added '["$(inherited)"]' to imparted OTHER_LDFLAGS
[2025-07-18T10:32:55.838Z]     debug: PIF:   Added '["$(BUILT_PRODUCTS_DIR)/PackageFrameworks", "$(inherited)"]' to imparted FRAMEWORK_SEARCH_PATHS
[2025-07-18T10:32:55.838Z]     debug: PIF:   Added source file group '/tmp/Miscellaneous_TestableExe.1QBzmk/Miscellaneous_TestableExe/Sources/TestableExe2'
[2025-07-18T10:32:55.838Z]     debug: PIF:     Added source file 'main.swift'
[2025-07-18T10:32:55.838Z]     debug: PIF: Created target 'PACKAGE-TARGET:TestableExe1--7E7F162D094B3B6D-testable' of type 'objectFile' with name 'TestableExe1' and product name 'TestableExe1.o'
[2025-07-18T10:32:55.838Z]     debug: PIF:   Added '["$(inherited)"]' to imparted OTHER_LDFLAGS
[2025-07-18T10:32:55.838Z]     debug: PIF:   Added '["$(BUILT_PRODUCTS_DIR)/PackageFrameworks", "$(inherited)"]' to imparted FRAMEWORK_SEARCH_PATHS
[2025-07-18T10:32:55.838Z]     debug: PIF:   Added source file group '/tmp/Miscellaneous_TestableExe.1QBzmk/Miscellaneous_TestableExe/Sources/TestableExe1'
[2025-07-18T10:32:55.838Z]     debug: PIF:     Added source file 'main.swift'
[2025-07-18T10:32:55.838Z]     debug: PIF: Created project 'AGGREGATE' with name 'Aggregate'
[2025-07-18T10:32:55.838Z]     debug: PIF:   Created target 'ALL-INCLUDING-TESTS' with name 'AllIncludingTests' and 8 (unlinked) dependencies
[2025-07-18T10:32:55.838Z]     debug: PIF:   Created target 'ALL-EXCLUDING-TESTS' with name 'AllExcludingTests' and 6 (unlinked) dependencies
[2025-07-18T10:32:55.838Z]     Building for production...
[2025-07-18T10:32:55.838Z]     Compute target dependency graphinfo: Compute target dependency graph
[2025-07-18T10:32:55.838Z]     0%: Computing dependencies
[2025-07-18T10:32:55.838Z]     info: Building targets in dependency order
[2025-07-18T10:32:55.838Z]     info: Target dependency graph (9 targets)
[2025-07-18T10:32:55.838Z]     info: Target 'AllIncludingTests' in project 'Aggregate'
[2025-07-18T10:32:55.838Z]     info: ➜ Explicit dependency on target 'TestableExeTests-product' in project 'TestableExe'
[2025-07-18T10:32:55.838Z]     info: ➜ Explicit dependency on target 'TestableExeTests-test-runner' in project 'TestableExe'
[2025-07-18T10:32:55.838Z]     info: ➜ Explicit dependency on target 'TestableExe3-product' in project 'TestableExe'
[2025-07-18T10:32:55.838Z]     info: ➜ Explicit dependency on target 'TestableExe2-product' in project 'TestableExe'
[2025-07-18T10:32:55.838Z]     info: ➜ Explicit dependency on target 'TestableExe1-product' in project 'TestableExe'
[2025-07-18T10:32:55.838Z]     info: ➜ Explicit dependency on target 'TestableExe3' in project 'TestableExe'
[2025-07-18T10:32:55.838Z]     info: ➜ Explicit dependency on target 'TestableExe2' in project 'TestableExe'
[2025-07-18T10:32:55.838Z]     info: ➜ Explicit dependency on target 'TestableExe1' in project 'TestableExe'
[2025-07-18T10:32:55.838Z]     info: Target 'TestableExeTests-test-runner' in project 'TestableExe'
[2025-07-18T10:32:55.838Z]     info: ➜ Explicit dependency on target 'TestableExeTests-product' in project 'TestableExe'
[2025-07-18T10:32:55.838Z]     info: Target 'TestableExeTests-product' in project 'TestableExe'
[2025-07-18T10:32:55.838Z]     info: ➜ Explicit dependency on target 'TestableExe1-product' in project 'TestableExe'
[2025-07-18T10:32:55.838Z]     info: ➜ Explicit dependency on target 'TestableExe1' in project 'TestableExe'
[2025-07-18T10:32:55.838Z]     info: ➜ Explicit dependency on target 'TestableExe2-product' in project 'TestableExe'
[2025-07-18T10:32:55.838Z]     info: ➜ Explicit dependency on target 'TestableExe2' in project 'TestableExe'
[2025-07-18T10:32:55.838Z]     info: ➜ Explicit dependency on target 'TestableExe3-product' in project 'TestableExe'
[2025-07-18T10:32:55.838Z]     info: ➜ Explicit dependency on target 'TestableExe3' in project 'TestableExe'
[2025-07-18T10:32:55.838Z]     info: Target 'TestableExe3' in project 'TestableExe' (no dependencies)
[2025-07-18T10:32:55.838Z]     info: Target 'TestableExe3-product' in project 'TestableExe' (no dependencies)
[2025-07-18T10:32:55.838Z]     info: Target 'TestableExe2' in project 'TestableExe' (no dependencies)
[2025-07-18T10:32:55.838Z]     info: Target 'TestableExe2-product' in project 'TestableExe' (no dependencies)
[2025-07-18T10:32:55.838Z]     info: Target 'TestableExe1' in project 'TestableExe' (no dependencies)
[2025-07-18T10:32:55.838Z]     info: Target 'TestableExe1-product' in project 'TestableExe' (no dependencies)
[2025-07-18T10:32:55.838Z]     Gather provisioning inputsinfo: Gather provisioning inputs
[2025-07-18T10:32:55.838Z]     Create build descriptioninfo: Create build description
[2025-07-18T10:32:55.838Z]     0%: Pre-planning 1 / 223
[2025-07-18T10:32:55.838Z]     Discovering version info for clanginfo: Discovering version info for clang
[2025-07-18T10:32:55.838Z]     Discovering version info for clanginfo: Discovering version info for clang
[2025-07-18T10:32:55.838Z]     Discovering version info for swiftcinfo: Discovering version info for swiftc
[2025-07-18T10:32:55.838Z]     *** Signal 11: Backtracing from 0xffff945e0c90... done ***
[2025-07-18T10:32:55.838Z]     *** Program crashed: Bad pointer dereference at 0x0000000000000050 ***
[2025-07-18T10:32:55.838Z]     Platform: arm64 Linux (Ubuntu 24.04.2 LTS)
[2025-07-18T10:32:55.838Z]     Thread 0 "DispatchWorker" crashed:
[2025-07-18T10:32:55.838Z]       0                  0x0000ffff945e0c90 swift_task_create_common + 568 in libswift_Concurrency.so
[2025-07-18T10:32:55.838Z]       1 [ra]             0x0000ffff945df8b4 swift_asyncLet_begin + 35 in libswift_Concurrency.so
[2025-07-18T10:32:55.838Z]       2 [ra] [inlined]   0x0000aaaad5faec68 specialized static Process._getOutput<A, B>(url:arguments:currentDirectoryURL:environment:interruptible:setup:collect:) in swift-package-manager at /home/build-user/swift-build/Sources/SWBUtil/Process.swift:164:15
[2025-07-18T10:32:55.838Z]       3 [ra]             0x0000aaaad5faec68 specialized closure #1 in static Process.getOutput(url:arguments:currentDirectoryURL:environment:interruptible:) + 1199 in swift-package-manager at /home/build-user/swift-build/Sources/SWBUtil/Process.swift:87:54
[2025-07-18T10:32:55.838Z]       4 [async]          0x0000aaaad5fabf44 static Process.getOutput(url:arguments:currentDirectoryURL:environment:interruptible:) in swift-package-manager at /home/build-user/swift-build/Sources/SWBUtil/Process.swift:83
[2025-07-18T10:32:55.838Z]       5 [async]          0x0000aaaad5b5c798 closure #1 in CoreClientDelegate.executeExternalTool(commandLine:workingDirectory:environment:) in swift-package-manager at /home/build-user/swift-build/Sources/SWBCore/TaskGeneration.swift:779
[2025-07-18T10:32:55.838Z]       6 [async] [thunk]  0x0000aaaad5b5e05c partial apply for closure #1 in CoreClientDelegate.executeExternalTool(commandLine:workingDirectory:environment:) in swift-package-manager at //<compiler-generated>
[2025-07-18T10:32:55.838Z]       7 [async]          0x0000aaaad5f1048c AsyncOperationQueue.withOperation<A>(_:) in swift-package-manager at /home/build-user/swift-build/Sources/SWBUtil/AsyncOperationQueue.swift:74
[2025-07-18T10:32:55.838Z]       8 [async]          0x0000aaaad5b5c4f0 CoreClientDelegate.executeExternalTool(commandLine:workingDirectory:environment:) in swift-package-manager at /home/build-user/swift-build/Sources/SWBCore/TaskGeneration.swift:778
[2025-07-18T10:32:55.838Z]       9 [async]          0x0000aaaad5b5c248 closure #1 in CoreClientTargetDiagnosticProducingDelegate.executeExternalTool(commandLine:workingDirectory:environment:executionDescription:) in swift-package-manager at /home/build-user/swift-build/Sources/SWBCore/TaskGeneration.swift:762
[2025-07-18T10:32:55.838Z]      10 [async] [thunk]  0x0000aaaad5b617f8 partial apply for closure #1 in CoreClientTargetDiagnosticProducingDelegate.executeExternalTool(commandLine:workingDirectory:environment:executionDescription:) in swift-package-manager
[2025-07-18T10:32:55.838Z]      11 [async]          0x0000aaaad582fd80 ActivityReporter.withActivity<A>(ruleInfo:executionDescription:signature:target:parentActivity:block:) in swift-package-manager at /home/build-user/swift-build/Sources/SWBCore/ActivityReporting.swift:77
[2025-07-18T10:32:55.838Z]      12 [async]          0x0000aaaad5b5bb38 CoreClientTargetDiagnosticProducingDelegate.executeExternalTool(commandLine:workingDirectory:environment:executionDescription:) in swift-package-manager at /home/build-user/swift-build/Sources/SWBCore/TaskGeneration.swift:761
[2025-07-18T10:32:55.838Z]      13 [async]          0x0000aaaad5a3c694 closure #1 in ProcessExecutionCache.run(_:_:executionDescription:) in swift-package-manager at /home/build-user/swift-build/Sources/SWBCore/ProcessExecutionCache.swift:30
[2025-07-18T10:32:55.838Z]      14 [async] [thunk]  0x0000aaaad5910f34 partial apply for closure #1 in ProcessExecutionCache.run(_:_:executionDescription:) in swift-package-manager at //<compiler-generated>
[2025-07-18T10:32:55.839Z]      15 [async]          0x0000aaaad5f0852c closure #1 in AsyncCache.value(forKey:_:) in swift-package-manager at /home/build-user/swift-build/Sources/SWBUtil/AsyncCache.swift:39
[2025-07-18T10:32:55.839Z]      16 [async] [thunk]  0x0000aaaad5f08a40 partial apply for closure #1 in AsyncCache.value(forKey:_:) in swift-package-manager at //<compiler-generated>
[2025-07-18T10:32:55.839Z]      17 [async]          0x0000aaaad5fc2a2c static Result.catching(_:) in swift-package-manager at /home/build-user/swift-build/Sources/SWBUtil/Result.swift:46
[2025-07-18T10:32:55.839Z]      18 [async]          0x0000aaaad5f07ad8 AsyncCache.value(forKey:_:) in swift-package-manager at /home/build-user/swift-build/Sources/SWBUtil/AsyncCache.swift:39
[2025-07-18T10:32:55.839Z]      19 [async]          0x0000aaaad58ff954 closure #1 in DiscoveredCommandLineToolSpecInfoCache.run(_:_:_:_:) in swift-package-manager at /home/build-user/swift-build/Sources/SWBCore/SpecImplementations/CommandLineToolSpec.swift:139
[2025-07-18T10:32:55.839Z]      20 [async] [thunk]  0x0000aaaad59114f8 partial apply for closure #1 in DiscoveredCommandLineToolSpecInfoCache.run(_:_:_:_:) in swift-package-manager
[2025-07-18T10:32:55.839Z]      21 [async]          0x0000aaaad5f0852c closure #1 in AsyncCache.value(forKey:_:) in swift-package-manager at /home/build-user/swift-build/Sources/SWBUtil/AsyncCache.swift:39
[2025-07-18T10:32:55.839Z]      22 [async] [thunk]  0x0000aaaad5f08a40 partial apply for closure #1 in AsyncCache.value(forKey:_:) in swift-package-manager at //<compiler-generated>
[2025-07-18T10:32:55.839Z]      23 [async]          0x0000aaaad5fc2a2c static Result.catching(_:) in swift-package-manager at /home/build-user/swift-build/Sources/SWBUtil/Result.swift:46
[2025-07-18T10:32:55.839Z]      24 [async]          0x0000aaaad5f07ad8 AsyncCache.value(forKey:_:) in swift-package-manager at /home/build-user/swift-build/Sources/SWBUtil/AsyncCache.swift:39
[2025-07-18T10:32:55.839Z]      25 [async]          0x0000aaaad58ff628 DiscoveredCommandLineToolSpecInfoCache.run(_:_:_:_:) in swift-package-manager at /home/build-user/swift-build/Sources/SWBCore/SpecImplementations/CommandLineToolSpec.swift:139
[2025-07-18T10:32:55.839Z]      26 [async]          0x0000aaaad5dd3dc4 TaskProducerContext.discoveredCommandLineToolSpecInfo(_:_:_:_:) in swift-package-manager at /home/build-user/swift-build/Sources/SWBTaskConstruction/TaskProducers/TaskProducer.swift:693
[2025-07-18T10:32:55.839Z]      27 [async] [thunk]  0x0000aaaad5de1a54 protocol witness for CommandProducer.discoveredCommandLineToolSpecInfo(_:_:_:_:) in conformance TaskProducerContext in swift-package-manager
[2025-07-18T10:32:55.839Z]      28 [async]          0x0000aaaad5b5bc5c CommandProducer.discoveredCommandLineToolSpecInfo<A>(_:_:_:_:) in swift-package-manager at /home/build-user/swift-build/Sources/SWBCore/TaskGeneration.swift:291
[2025-07-18T10:32:55.839Z]      29 [async]          0x0000aaaad58d49b8 ClangCompilerSpec.discoveredCommandLineToolSpecInfo(_:_:_:forLanguageOfFileType:) in swift-package-manager at /home/build-user/swift-build/Sources/SWBCore/SpecImplementations/Tools/CCompiler.swift:1798
[2025-07-18T10:32:55.839Z]      30 [async]          0x0000aaaad58cc738 ClangCompilerSpec.constructTasks(_:_:) in swift-package-manager at /home/build-user/swift-build/Sources/SWBCore/SpecImplementations/Tools/CCompiler.swift:1053
[2025-07-18T10:32:55.839Z]      31 [async]          0x0000aaaad5ce8bac FilesBasedBuildPhaseTaskProducerBase.constructTasksForRule(_:_:_:) in swift-package-manager at /home/build-user/swift-build/Sources/SWBTaskConstruction/TaskProducers/BuildPhaseTaskProducers/FilesBasedBuildPhaseTaskProducer.swift:881
[2025-07-18T10:32:55.839Z]      32 [async]          0x0000aaaad5da9ab4 SourcesTaskProducer.constructTasksForRule(_:_:_:_:_:) in swift-package-manager at /home/build-user/swift-build/Sources/SWBTaskConstruction/TaskProducers/BuildPhaseTaskProducers/SourcesTaskProducer.swift:1657
[2025-07-18T10:32:55.839Z]      33 [async]          0x0000aaaad5ceb118 closure #1 in FilesBasedBuildPhaseTaskProducerBase.addTasksForRule<A>(groupContext:_:_:_:_:_:_:) in swift-package-manager at /home/build-user/swift-build/Sources/SWBTaskConstruction/TaskProducers/BuildPhaseTaskProducers/FilesBasedBuildPhaseTaskProducer.swift:751
[2025-07-18T10:32:55.839Z]      34 [async] [thunk]  0x0000aaaad5cec82c partial apply for closure #1 in FilesBasedBuildPhaseTaskProducerBase.addTasksForRule<A>(groupContext:_:_:_:_:_:_:) in swift-package-manager at //<compiler-generated>
[2025-07-18T10:32:55.839Z]      35 [async]          0x0000aaaad5db0230 specialized closure #1 in SourcesTaskProducer.appendGeneratedTasks(_:options:body:) in swift-package-manager at /home/build-user/swift-build/Sources/SWBTaskConstruction/TaskProducers/BuildPhaseTaskProducers/SourcesTaskProducer.swift:345
[2025-07-18T10:32:55.839Z]      36 [async]          0x0000aaaad5d6a67c SourcesTaskProducer.appendGeneratedTasks(_:options:body:) in swift-package-manager at /home/build-user/swift-build/Sources/SWBTaskConstruction/TaskProducers/BuildPhaseTaskProducers/SourcesTaskProducer.swift:343
[2025-07-18T10:32:55.839Z]      37 [async]          0x0000aaaad5cec27c specialized FilesBasedBuildPhaseTaskProducerBase.addTasksForRule<A>(groupContext:_:_:_:_:_:_:) in swift-package-manager at /home/build-user/swift-build/Sources/SWBTaskConstruction/TaskProducers/BuildPhaseTaskProducers/FilesBasedBuildPhaseTaskProducer.swift:745
[2025-07-18T10:32:55.839Z]      38 [async]          0x0000aaaad5ce83d8 FilesBasedBuildPhaseTaskProducerBase.addTasksForGroup<A>(_:_:_:_:_:_:) in swift-package-manager at /home/build-user/swift-build/Sources/SWBTaskConstruction/TaskProducers/BuildPhaseTaskProducers/FilesBasedBuildPhaseTaskProducer.swift:722
[2025-07-18T10:32:55.839Z]      39 [async]          0x0000aaaad5ce81a0 FilesBasedBuildPhaseTaskProducerBase.addTasksForGroup<A>(_:_:_:_:_:) in swift-package-manager at /home/build-user/swift-build/Sources/SWBTaskConstruction/TaskProducers/BuildPhaseTaskProducers/FilesBasedBuildPhaseTaskProducer.swift:712
[2025-07-18T10:32:55.839Z]      40 [async]          0x0000aaaad5d68c3c specialized FilesBasedBuildPhaseTaskProducerBase.groupAndAddTasksForFiles<A>(_:_:_:filterToAPIRules:filterToHeaderRules:_:extraResolvedBuildFiles:) in swift-package-manager at /home/build-user/swift-build/Sources/SWBTaskConstruction/TaskProducers/BuildPhaseTaskProducers/FilesBasedBuildPhaseTaskProducer.swift:691
[2025-07-18T10:32:55.839Z]      41 [async]          0x0000aaaad5d749c0 SourcesTaskProducer.generateTasks() in swift-package-manager at /home/build-user/swift-build/Sources/SWBTaskConstruction/TaskProducers/BuildPhaseTaskProducers/SourcesTaskProducer.swift:862
[2025-07-18T10:32:55.839Z]      42 [async] [thunk]  0x0000aaaad5daac40 protocol witness for TaskProducer.generateTasks() in conformance SourcesTaskProducer in swift-package-manager at //<compiler-generated>
[2025-07-18T10:32:55.839Z]      43 [async]          0x0000aaaad5cb3394 closure #2 in closure #4 in BuildPlan.init(planRequest:taskPlanningDelegate:) in swift-package-manager at /home/build-user/swift-build/Sources/SWBTaskConstruction/ProductPlanning/BuildPlan.swift:176
[2025-07-18T10:32:55.839Z]      44 [async] [thunk]  0x0000aaaad5cb9b64 partial apply for closure #2 in closure #4 in BuildPlan.init(planRequest:taskPlanningDelegate:) in swift-package-manager
[2025-07-18T10:32:55.839Z]      45 [async] [thunk]  0x0000aaaad5cb9b5c thunk for @escaping @callee_guaranteed @Sendable @async (@guaranteed ProductPlanResultContext, @in_guaranteed TaskProducer) -> () in swift-package-manager
[2025-07-18T10:32:55.839Z]      46 [async] [system] 0x0000aaaad5cb7c4c partial apply for thunk for @escaping @callee_guaranteed @Sendable @async (@guaranteed ProductPlanResultContext, @in_guaranteed TaskProducer) -> () in swift-package-manager at //<compiler-generated>
[2025-07-18T10:32:55.839Z]      47 [async]          0x0000aaaad5f7473c closure #1 in Sequence<>.parallelForEach<A>(group:maximumParallelism:_:) in swift-package-manager
[2025-07-18T10:32:55.839Z]      48 [async] [thunk]  0x0000aaaad5f74440 partial apply for closure #1 in Sequence<>.parallelForEach<A>(group:maximumParallelism:_:) in swift-package-manager at //<compiler-generated>
[2025-07-18T10:32:55.839Z]      49 [async] [thunk]  0x0000aaaad5f74658 thunk for @escaping @isolated(any) @callee_guaranteed @async () -> (@out A) in swift-package-manager at //<compiler-generated>
[2025-07-18T10:32:55.839Z]      50 [async] [thunk]  0x0000aaaad5f7474c partial apply for thunk for @escaping @isolated(any) @callee_guaranteed @async () -> (@out A) in swift-package-manager
[2025-07-18T10:32:55.839Z]      51 [async] [system] 0x0000ffff945e1b5c completeTaskWithClosure(swift::AsyncContext*, swift::SwiftError*) in libswift_Concurrency.so
[2025-07-18T10:32:55.839Z]     ...
[2025-07-18T10:32:55.839Z]     Thread 1 "DispatchWorker":
[2025-07-18T10:32:55.839Z]       0  null
[2025-07-18T10:32:55.839Z]     ...
[2025-07-18T10:32:55.839Z]     Registers:
[2025-07-18T10:32:55.839Z]      x0 0x0000000000000015  21
[2025-07-18T10:32:55.839Z]      x1 0x0000ffff94e718a0  1f 20 03 d5 00 04 40 f9 c0 03 5f d6 1f 20 03 d5  · ·Õ··@ùÀ·_Ö· ·Õ
[2025-07-18T10:32:55.839Z]      x2 0x0000fffe8c00acd8  01 03 00 00 00 00 00 00 02 00 00 00 00 00 00 00  ················
[2025-07-18T10:32:55.839Z]      x3 0x0000aaaad5fb0224  ff 03 01 d1 fd fb 00 a9 f9 0f 00 f9 f8 5f 02 a9  ÿ··Ñýû·©ù··ùø_·©
[2025-07-18T10:32:55.839Z]      x4 0x0000fffecc007950  e0 0e 88 d7 aa aa 00 00 03 00 00 00 00 00 00 00  ෷תª··········
[2025-07-18T10:32:55.839Z]      x5 0x0000000000000020  32
[2025-07-18T10:32:55.839Z]      x6 0xf4ff294ebbdbe308  17653874482451571464
[2025-07-18T10:32:55.839Z]      x7 0x7265647473206174  8243105144282046836
[2025-07-18T10:32:55.839Z]      x8 0x00000000000000f0  240
[2025-07-18T10:32:58.349Z]      x9 0x0000000000000000  0
[2025-07-18T10:32:58.349Z]     x10 0x0000000000000000  0
[2025-07-18T10:32:58.349Z]     x11 0x0000000000000000  0
[2025-07-18T10:32:58.349Z]     x12 0x0000ffff94ea0350  00 20 95 d4 aa aa 00 00 30 09 ea 94 ff ff 00 00  · ·Ôªª··0·ê·ÿÿ··
[2025-07-18T10:32:58.349Z]     x13 0x0000000000000018  24
[2025-07-18T10:32:58.349Z]     x14 0x00000000021dc2cd  35504845
[2025-07-18T10:32:58.349Z]     x15 0x000000000000007b  123
[2025-07-18T10:32:58.349Z]     x16 0x0000ffff945df890  ff c3 00 d1 fd 7b 02 a9 fd 83 00 91 68 00 80 52  ÿ÷Ñý{·©ý···h··R
[2025-07-18T10:32:58.349Z]     x17 0x0000aaaad7933fd0  90 f8 5d 94 ff ff 00 00 c0 60 d4 d4 aa aa 00 00  ·ø]·ÿÿ··À`ÔÔªª··
[2025-07-18T10:32:58.349Z]     x18 0x000000000000003c  60
[2025-07-18T10:32:58.349Z]     x19 0x0000000000000000  0
[2025-07-18T10:32:58.349Z]     x20 0x0000fffee405b390  d0 19 62 94 ff ff 00 00 03 00 00 00 00 00 00 00  зb·ÿÿ··········
[2025-07-18T10:32:58.349Z]     x21 0x0000fffed000ca20  90 79 00 cc fe ff 00 00 f0 79 00 cc fe ff 00 00  ·y·Ìþÿ··ðy·Ìþÿ··
[2025-07-18T10:32:58.349Z]     x22 0x0000000011000000  285212672
[2025-07-18T10:32:58.349Z]     x23 0x0000fffecc008860  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ················
[2025-07-18T10:32:58.349Z]     x24 0x0000000000001000  4096
[2025-07-18T10:32:58.349Z]     x25 0x0000000013000000  318767104
[2025-07-18T10:32:58.349Z]     x26 0x0000000000000000  0
[2025-07-18T10:32:58.349Z]     x27 0x0000fffee405b390  d0 19 62 94 ff ff 00 00 03 00 00 00 00 00 00 00  зb·ÿÿ··········
[2025-07-18T10:32:58.349Z]     x28 0x0000fffe8c00acd8  01 03 00 00 00 00 00 00 02 00 00 00 00 00 00 00  ················
[2025-07-18T10:32:58.349Z]      fp 0x0000fffee1cc4210  90 42 cc e1 fe ff 00 00 b4 f8 5d 94 ff ff 00 00  ·BÌáþÿ··´ø]·ÿÿ··
[2025-07-18T10:32:58.349Z]      lr 0x0000ffff945e0c00  3f 03 08 72 b8 83 5e f8 f4 03 00 aa fb 03 80 9a  ?··r¸·^øô··ªû···
[2025-07-18T10:32:58.349Z]      sp 0x0000fffee1cc41a0  90 f8 5d 94 ff ff 00 00 c8 9c f0 93 00 00 00 00  ·ø]·ÿÿ··È·ð·····
[2025-07-18T10:32:58.349Z]      pc 0x0000ffff945e0c90  2a 41 41 39 29 21 40 f9 48 01 08 8b 08 61 00 91  *AA9)!@ùH····a··
[2025-07-18T10:32:58.349Z]     Images (73 omitted):
[2025-07-18T10:32:58.349Z]     0x0000aaaad4952000–0x0000aaaad77b4238 1361fdb1f4d15072aca24b2e880e1e3578002105 swift-package-manager   /home/build-user/build/buildbot_linux/swiftpm-linux-aarch64/aarch64-unknown-linux-gnu/release/swift-package-manager
[2025-07-18T10:32:58.349Z]     0x0000ffff94570000–0x0000ffff945fdb88 3f682dde9a84d62887f28366d1b658b4513ccc9c libswift_Concurrency.so /home/build-user/swift-nightly-install/usr/lib/swift/linux/libswift_Concurrency.so
[2025-07-18T10:32:58.349Z]     Backtrace took 25.95s

Steps to reproduce

Execute the same steps as https://ci.swift.org/job/oss-swift-package-ubuntu-24_04-aarch64/1406/

Swift Package Manager version/commit hash

No response

Swift & OS version (output of swift --version ; uname -a)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugswift buildChanges impacting `swift build`

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions