The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build AlecrimAsyncKit, reference master (974e49), with Swift 6.2 (beta) for Linux on 18 Jun 2025 05:06:15 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Alecrim/AlecrimAsyncKit.git
Reference: master
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/Alecrim/AlecrimAsyncKit
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 974e49c Merge branch 'release/5.0-beta.2'
Cloned https://github.com/Alecrim/AlecrimAsyncKit.git
Revision (git rev-parse @):
974e49ce5e6ca0543aba4532448e5799e2bba545
SUCCESS checkout https://github.com/Alecrim/AlecrimAsyncKit.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/Alecrim/AlecrimAsyncKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/9] Compiling AlecrimAsyncKit TaskAwaiter.swift
/host/spi-builder-workspace/Sources/TaskAwaiter.swift:79:26: error: cannot pass function of type '@Sendable () async -> Void' to parameter expecting synchronous function type
 77 |
 78 |     fileprivate func enqueue() {
 79 |         self.queue.async {
    |                          `- error: cannot pass function of type '@Sendable () async -> Void' to parameter expecting synchronous function type
 80 |             defer {
 81 |                 if let finallyClosure = self.finallyClosure {
    :
 89 |
 90 |             do {
 91 |                 let value = try await(self.task)
    |                                 `- note: 'async' inferred from asynchronous operation used here
 92 |
 93 |                 if let thenClosure = self.thenClosure {
/host/spi-builder-workspace/Sources/TaskAwaiter.swift:95:37: error: cannot convert value of type 'Task<V, any Error>' to expected argument type 'V'
 93 |                 if let thenClosure = self.thenClosure {
 94 |                     self.callbackQueue.async {
 95 |                         thenClosure(value)
    |                                     `- error: cannot convert value of type 'Task<V, any Error>' to expected argument type 'V'
 96 |                         self.thenClosure = nil
 97 |                     }
/host/spi-builder-workspace/Sources/TaskAwaiter.swift:126:26: error: cannot pass function of type '@Sendable () async -> Void' to parameter expecting synchronous function type
124 |
125 |     fileprivate func enqueue() {
126 |         self.queue.async {
    |                          `- error: cannot pass function of type '@Sendable () async -> Void' to parameter expecting synchronous function type
127 |             let value = await(self.task)
    |                         `- note: 'async' inferred from asynchronous operation used here
128 |
129 |             if let thenClosure = self.thenClosure {
/host/spi-builder-workspace/Sources/TaskAwaiter.swift:131:33: error: cannot convert value of type 'Task<V, Never>' to expected argument type 'V'
129 |             if let thenClosure = self.thenClosure {
130 |                 self.callbackQueue.async {
131 |                     thenClosure(value)
    |                                 `- error: cannot convert value of type 'Task<V, Never>' to expected argument type 'V'
132 |                     self.thenClosure = nil
133 |                 }
error: compile command failed due to signal 6 (use -v to see invocation)
Failed to reconstruct type for $sXeD
Original type:
(error_type)
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Pass '-Xfrontend -disable-round-trip-debug-types' to disable this assertion.
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Stack dump:
0.	Program arguments: /usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/Async.swift -primary-file /host/spi-builder-workspace/Sources/Await.swift /host/spi-builder-workspace/Sources/Cancellation.swift /host/spi-builder-workspace/Sources/Error+Extensions.swift /host/spi-builder-workspace/Sources/Task.swift /host/spi-builder-workspace/Sources/TaskAwaiter.swift -emit-dependencies-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/AlecrimAsyncKit.build/Await.d -emit-reference-dependencies-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/AlecrimAsyncKit.build/Await.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/AlecrimAsyncKit.build/Await.dia -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Modules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format=dwarf -dwarf-version=4 -module-cache-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -empty-abi-descriptor -enable-anonymous-context-mangled-names -file-compilation-dir /host/spi-builder-workspace -Xcc -g -Xcc -fno-omit-frame-pointer -no-auto-bridging-header-chaining -module-name AlecrimAsyncKit -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/AlecrimAsyncKit.build/Await.swift.o -index-store-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/index/store -index-system-modules
1.	Swift version 6.2-dev (LLVM 0d47fa0a0fd41fb, Swift 536aa932a9e0ea3)
2.	Compiling with effective version 5.10
3.	While evaluating request IRGenRequest(IR Generation for file "/host/spi-builder-workspace/Sources/Await.swift")
4.	While emitting IR SIL function "@$s15AlecrimAsyncKit5awaityxAA4TaskCyxs5Error_pGKlF".
 for 'await(_:)' (at /host/spi-builder-workspace/Sources/Await.swift:14:8)
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
0  swift-frontend 0x000055ee360d4918
1  swift-frontend 0x000055ee360d243e
2  swift-frontend 0x000055ee360d4fb1
3  libc.so.6      0x00007fab41e6f520
4  libc.so.6      0x00007fab41ec39fc pthread_kill + 300
5  libc.so.6      0x00007fab41e6f476 raise + 22
6  libc.so.6      0x00007fab41e557f3 abort + 211
7  swift-frontend 0x000055ee2ebe2351
8  swift-frontend 0x000055ee2ebde173
9  swift-frontend 0x000055ee2ebe34e7
10 swift-frontend 0x000055ee2ebe098f
11 swift-frontend 0x000055ee2ebde855
12 swift-frontend 0x000055ee2ebe3268
13 swift-frontend 0x000055ee2ebe098f
14 swift-frontend 0x000055ee2ebde855
15 swift-frontend 0x000055ee2ebd7a9d
16 swift-frontend 0x000055ee2ebd780c
17 swift-frontend 0x000055ee2ec112ab
18 swift-frontend 0x000055ee2ebf8df0
19 swift-frontend 0x000055ee2ebf5995
20 swift-frontend 0x000055ee2ea8e58f
21 swift-frontend 0x000055ee2e903b5e
22 swift-frontend 0x000055ee2e9795bc
23 swift-frontend 0x000055ee2e979519
24 swift-frontend 0x000055ee2e90e1b4
25 swift-frontend 0x000055ee2e906418
26 swift-frontend 0x000055ee2e4720c6
27 swift-frontend 0x000055ee2e46db85
28 swift-frontend 0x000055ee2e46c84e
29 swift-frontend 0x000055ee2e47e42a
30 swift-frontend 0x000055ee2e46f7de
31 swift-frontend 0x000055ee2e46e878
32 swift-frontend 0x000055ee2e1ea26b
33 libc.so.6      0x00007fab41e56d90
34 libc.so.6      0x00007fab41e56e40 __libc_start_main + 128
35 swift-frontend 0x000055ee2e1e9265
BUILD FAILURE 6.2 linux