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 AtariKit, reference 0.0.4 (1038a5), with Swift 6.1 for Wasm on 27 May 2025 11:14:29 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/octadero/atarikit.git
Reference: 0.0.4
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/octadero/atarikit
 * tag               0.0.4      -> FETCH_HEAD
HEAD is now at 1038a54 Fixed memory leak issues.
Cloned https://github.com/octadero/atarikit.git
Revision (git rev-parse @):
1038a54d163eb3dfd0fcd619b32eaeffc81ff1a4
SUCCESS checkout https://github.com/octadero/atarikit.git at 0.0.4
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/octadero/atarikit.git
https://github.com/octadero/atarikit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "c_language_standard" : "c11",
  "cxx_language_standard" : "c++11",
  "dependencies" : [
    {
      "identity" : "cale",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.0.2",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Octadero/CALE.git"
    }
  ],
  "manifest_display_name" : "AtariKit",
  "name" : "AtariKit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "AtariKit",
      "targets" : [
        "AtariKit"
      ],
      "type" : {
        "library" : [
          "static"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AtariKitTests",
      "module_type" : "SwiftTarget",
      "name" : "AtariKitTests",
      "path" : "Tests/AtariKitTests",
      "sources" : [
        "AtariKitTests.swift"
      ],
      "target_dependencies" : [
        "AtariKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AtariKit",
      "module_type" : "SwiftTarget",
      "name" : "AtariKit",
      "path" : "Sources/AtariKit",
      "product_memberships" : [
        "AtariKit"
      ],
      "sources" : [
        "AtariKit.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/Octadero/CALE.git
[1/17] Fetching cale
Fetched https://github.com/Octadero/CALE.git from cache (0.22s)
Computing version for https://github.com/Octadero/CALE.git
Computed https://github.com/Octadero/CALE.git at 0.0.2 (0.73s)
Creating working copy for https://github.com/Octadero/CALE.git
Working copy of https://github.com/Octadero/CALE.git resolved at 0.0.2
warning: 'cale': ignoring declared target(s) 'CALE' in the system package
warning: 'spi-builder-workspace': dependency 'cale' is not used by any target
warning: couldn't find pc file for ale
warning: couldn't find pc file for ale
Building for debugging...
[0/5] Write sources
[1/5] Write swift-version-24593BA9C3E375BF.txt
[3/7] Emitting module AtariKit
error: compile command failed due to signal 6 (use -v to see invocation)
/host/spi-builder-workspace/Sources/AtariKit/AtariKit.swift:80:23: warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
 78 |
 79 |         // deallocate default value
 80 |         bufferPointer.deallocate(capacity: 0)
    |                       `- warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
 81 |         bufferPointer = UnsafeMutablePointer<UInt8>.allocate(capacity: count)
 82 |         bufferPointer.initialize(to: 0, count: count)
/host/spi-builder-workspace/Sources/AtariKit/AtariKit.swift:82:23: warning: 'initialize(to:count:)' is deprecated: renamed to 'initialize(repeating:count:)'
 80 |         bufferPointer.deallocate(capacity: 0)
 81 |         bufferPointer = UnsafeMutablePointer<UInt8>.allocate(capacity: count)
 82 |         bufferPointer.initialize(to: 0, count: count)
    |                       |- warning: 'initialize(to:count:)' is deprecated: renamed to 'initialize(repeating:count:)'
    |                       `- note: use 'initialize(repeating:count:)' instead
 83 |     }
 84 |
/host/spi-builder-workspace/Sources/AtariKit/AtariKit.swift:100:17: warning: 'deinitialize()' is deprecated: the default argument to deinitialize(count:) has been removed, please specify the count explicitly
 98 |         let buffer = UnsafeBufferPointer(start: actions, count: count)
 99 |         let arrayOfActions = Array(buffer)
100 |         actions.deinitialize()
    |                 `- warning: 'deinitialize()' is deprecated: the default argument to deinitialize(count:) has been removed, please specify the count explicitly
101 |
102 |         return arrayOfActions.flatMap { EnvironmentAction(rawValue: $0) }
/host/spi-builder-workspace/Sources/AtariKit/AtariKit.swift:102:31: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
100 |         actions.deinitialize()
101 |
102 |         return arrayOfActions.flatMap { EnvironmentAction(rawValue: $0) }
    |                               |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
    |                               `- note: use 'compactMap(_:)' instead
103 |     }
104 |
<unknown>:0: error: fatal error encountered during compilation; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
<unknown>:0: note: Functions with 'no-prototype' attribute must take varargs: ALE_new
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 -primary-file /host/spi-builder-workspace/Sources/AtariKit/AtariKit.swift -emit-dependencies-path /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/AtariKit.build/AtariKit.d -emit-reference-dependencies-path /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/AtariKit.build/AtariKit.swiftdeps -target wasm32-unknown-wasi -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk -I /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/Modules -enable-testing -g -debug-info-format=dwarf -dwarf-version=4 -module-cache-path /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/ModuleCache -swift-version 4 -Onone -D SWIFT_PACKAGE -D DEBUG -stats-output-dir .stats -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures -strict-concurrency=complete -empty-abi-descriptor -resource-dir /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host/spi-builder-workspace -Xcc -fmodule-map-file=/host/spi-builder-workspace/.build/checkouts/CALE/module.modulemap -Xcc --sysroot -Xcc /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk -Xcc -g -module-name AtariKit -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/wasm32-unknown-wasi/debug/AtariKit.build/AtariKit.swift.o -index-store-path /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/index/store -index-system-modules
1.	Swift version 6.1 (swift-6.1-RELEASE)
2.	Compiling with effective version 4.1.50
3.	Running pass 'Add prototypes to prototypes-less functions' on module '/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/AtariKit.build/AtariKit.swift.o'.
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 0x0000564f4cd4f808
1  swift-frontend 0x0000564f4cd4d5ee
2  swift-frontend 0x0000564f4cd4fea8
3  libc.so.6      0x00007f677f2e6520
4  libc.so.6      0x00007f677f33a9fc pthread_kill + 300
5  libc.so.6      0x00007f677f2e6476 raise + 22
6  libc.so.6      0x00007f677f2cc7f3 abort + 211
7  swift-frontend 0x0000564f46dae11e
8  swift-frontend 0x0000564f4ccaf149
9  swift-frontend 0x0000564f492b0eec
10 swift-frontend 0x0000564f4cb71b25
11 swift-frontend 0x0000564f46eecf56
12 swift-frontend 0x0000564f46eec794
13 swift-frontend 0x0000564f46b17142
14 swift-frontend 0x0000564f46b12c88
15 swift-frontend 0x0000564f46b11997
16 swift-frontend 0x0000564f46b142ba
17 swift-frontend 0x0000564f46b13713
18 swift-frontend 0x0000564f468f086a
19 libc.so.6      0x00007f677f2cdd90
20 libc.so.6      0x00007f677f2cde40 __libc_start_main + 128
21 swift-frontend 0x0000564f468efcc5
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
warning: 'cale': ignoring declared target(s) 'CALE' in the system package
warning: 'spi-builder-workspace': dependency 'cale' is not used by any target
warning: couldn't find pc file for ale
warning: couldn't find pc file for ale
[0/1] Planning build
Building for debugging...
[0/4] Write swift-version-24593BA9C3E375BF.txt
[2/6] Emitting module AtariKit
error: compile command failed due to signal 6 (use -v to see invocation)
/host/spi-builder-workspace/Sources/AtariKit/AtariKit.swift:80:23: warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
 78 |
 79 |         // deallocate default value
 80 |         bufferPointer.deallocate(capacity: 0)
    |                       `- warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
 81 |         bufferPointer = UnsafeMutablePointer<UInt8>.allocate(capacity: count)
 82 |         bufferPointer.initialize(to: 0, count: count)
/host/spi-builder-workspace/Sources/AtariKit/AtariKit.swift:82:23: warning: 'initialize(to:count:)' is deprecated: renamed to 'initialize(repeating:count:)'
 80 |         bufferPointer.deallocate(capacity: 0)
 81 |         bufferPointer = UnsafeMutablePointer<UInt8>.allocate(capacity: count)
 82 |         bufferPointer.initialize(to: 0, count: count)
    |                       |- warning: 'initialize(to:count:)' is deprecated: renamed to 'initialize(repeating:count:)'
    |                       `- note: use 'initialize(repeating:count:)' instead
 83 |     }
 84 |
/host/spi-builder-workspace/Sources/AtariKit/AtariKit.swift:100:17: warning: 'deinitialize()' is deprecated: the default argument to deinitialize(count:) has been removed, please specify the count explicitly
 98 |         let buffer = UnsafeBufferPointer(start: actions, count: count)
 99 |         let arrayOfActions = Array(buffer)
100 |         actions.deinitialize()
    |                 `- warning: 'deinitialize()' is deprecated: the default argument to deinitialize(count:) has been removed, please specify the count explicitly
101 |
102 |         return arrayOfActions.flatMap { EnvironmentAction(rawValue: $0) }
/host/spi-builder-workspace/Sources/AtariKit/AtariKit.swift:102:31: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
100 |         actions.deinitialize()
101 |
102 |         return arrayOfActions.flatMap { EnvironmentAction(rawValue: $0) }
    |                               |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
    |                               `- note: use 'compactMap(_:)' instead
103 |     }
104 |
<unknown>:0: error: fatal error encountered during compilation; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
<unknown>:0: note: Functions with 'no-prototype' attribute must take varargs: ALE_new
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 -primary-file /host/spi-builder-workspace/Sources/AtariKit/AtariKit.swift -emit-dependencies-path /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/AtariKit.build/AtariKit.d -emit-reference-dependencies-path /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/AtariKit.build/AtariKit.swiftdeps -target wasm32-unknown-wasi -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk -I /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/Modules -enable-testing -g -debug-info-format=dwarf -dwarf-version=4 -module-cache-path /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/ModuleCache -swift-version 4 -Onone -D SWIFT_PACKAGE -D DEBUG -empty-abi-descriptor -resource-dir /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host/spi-builder-workspace -Xcc -fmodule-map-file=/host/spi-builder-workspace/.build/checkouts/CALE/module.modulemap -Xcc --sysroot -Xcc /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk -Xcc -g -module-name AtariKit -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/wasm32-unknown-wasi/debug/AtariKit.build/AtariKit.swift.o -index-store-path /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/index/store -index-system-modules
1.	Swift version 6.1 (swift-6.1-RELEASE)
2.	Compiling with effective version 4.1.50
3.	Running pass 'Add prototypes to prototypes-less functions' on module '/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/AtariKit.build/AtariKit.swift.o'.
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 0x0000557a2731b808
1  swift-frontend 0x0000557a273195ee
2  swift-frontend 0x0000557a2731bea8
3  libc.so.6      0x00007fe5b70c7520
4  libc.so.6      0x00007fe5b711b9fc pthread_kill + 300
5  libc.so.6      0x00007fe5b70c7476 raise + 22
6  libc.so.6      0x00007fe5b70ad7f3 abort + 211
7  swift-frontend 0x0000557a2137a11e
8  swift-frontend 0x0000557a2727b149
9  swift-frontend 0x0000557a2387ceec
10 swift-frontend 0x0000557a2713db25
11 swift-frontend 0x0000557a214b8f56
12 swift-frontend 0x0000557a214b8794
13 swift-frontend 0x0000557a210e3142
14 swift-frontend 0x0000557a210dec88
15 swift-frontend 0x0000557a210dd997
16 swift-frontend 0x0000557a210e02ba
17 swift-frontend 0x0000557a210df713
18 swift-frontend 0x0000557a20ebc86a
19 libc.so.6      0x00007fe5b70aed90
20 libc.so.6      0x00007fe5b70aee40 __libc_start_main + 128
21 swift-frontend 0x0000557a20ebbcc5
BUILD FAILURE 6.1 wasm