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 master (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-4606859-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: 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/octadero/atarikit
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
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 master
========================================
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-4606859-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.25s)
Computing version for https://github.com/Octadero/CALE.git
Computed https://github.com/Octadero/CALE.git at 0.0.2 (1.30s)
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 0x0000556a1e71b808
1  swift-frontend 0x0000556a1e7195ee
2  swift-frontend 0x0000556a1e71bea8
3  libc.so.6      0x00007f79306bc520
4  libc.so.6      0x00007f79307109fc pthread_kill + 300
5  libc.so.6      0x00007f79306bc476 raise + 22
6  libc.so.6      0x00007f79306a27f3 abort + 211
7  swift-frontend 0x0000556a1877a11e
8  swift-frontend 0x0000556a1e67b149
9  swift-frontend 0x0000556a1ac7ceec
10 swift-frontend 0x0000556a1e53db25
11 swift-frontend 0x0000556a188b8f56
12 swift-frontend 0x0000556a188b8794
13 swift-frontend 0x0000556a184e3142
14 swift-frontend 0x0000556a184dec88
15 swift-frontend 0x0000556a184dd997
16 swift-frontend 0x0000556a184e02ba
17 swift-frontend 0x0000556a184df713
18 swift-frontend 0x0000556a182bc86a
19 libc.so.6      0x00007f79306a3d90
20 libc.so.6      0x00007f79306a3e40 __libc_start_main + 128
21 swift-frontend 0x0000556a182bbcc5
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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 0x0000560d53708808
1  swift-frontend 0x0000560d537065ee
2  swift-frontend 0x0000560d53708ea8
3  libc.so.6      0x00007feb9e009520
4  libc.so.6      0x00007feb9e05d9fc pthread_kill + 300
5  libc.so.6      0x00007feb9e009476 raise + 22
6  libc.so.6      0x00007feb9dfef7f3 abort + 211
7  swift-frontend 0x0000560d4d76711e
8  swift-frontend 0x0000560d53668149
9  swift-frontend 0x0000560d4fc69eec
10 swift-frontend 0x0000560d5352ab25
11 swift-frontend 0x0000560d4d8a5f56
12 swift-frontend 0x0000560d4d8a5794
13 swift-frontend 0x0000560d4d4d0142
14 swift-frontend 0x0000560d4d4cbc88
15 swift-frontend 0x0000560d4d4ca997
16 swift-frontend 0x0000560d4d4cd2ba
17 swift-frontend 0x0000560d4d4cc713
18 swift-frontend 0x0000560d4d2a986a
19 libc.so.6      0x00007feb9dff0d90
20 libc.so.6      0x00007feb9dff0e40 __libc_start_main + 128
21 swift-frontend 0x0000560d4d2a8cc5
BUILD FAILURE 6.1 wasm