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 DeviceAuthority, reference v0.2.0 (44a5e0), with Swift 6.1 for Wasm on 28 May 2025 13:51:58 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/getsidetrack/swift-device-authority.git
Reference: v0.2.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/getsidetrack/swift-device-authority
 * tag               v0.2.0     -> FETCH_HEAD
HEAD is now at 44a5e06 Move `numbits` parameters to end of command call
Cloned https://github.com/getsidetrack/swift-device-authority.git
Revision (git rev-parse @):
44a5e06e570bf6c987aa54289948208f12e4a5a0
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/getsidetrack/swift-device-authority.git at v0.2.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/getsidetrack/swift-device-authority.git
https://github.com/getsidetrack/swift-device-authority.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "console-kit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.5.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/console-kit.git"
    },
    {
      "identity" : "shellout",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.3.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/JohnSundell/ShellOut.git"
    }
  ],
  "manifest_display_name" : "DeviceAuthority",
  "name" : "DeviceAuthority",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "9.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "DeviceAuthority",
      "targets" : [
        "DeviceAuthority"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "swift-device-authority",
      "targets" : [
        "CommandLine"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DeviceAuthorityTests",
      "module_type" : "SwiftTarget",
      "name" : "DeviceAuthorityTests",
      "path" : "Tests/DeviceAuthorityTests",
      "sources" : [
        "DeviceAuthorityTests.swift"
      ],
      "target_dependencies" : [
        "DeviceAuthority"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DeviceAuthority",
      "module_type" : "SwiftTarget",
      "name" : "DeviceAuthority",
      "path" : "Sources/DeviceAuthority",
      "product_memberships" : [
        "DeviceAuthority"
      ],
      "sources" : [
        "DeviceAuthority.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CommandLine",
      "module_type" : "SwiftTarget",
      "name" : "CommandLine",
      "path" : "Sources/CommandLine",
      "product_dependencies" : [
        "ConsoleKit",
        "ShellOut"
      ],
      "product_memberships" : [
        "swift-device-authority"
      ],
      "sources" : [
        "Command.swift",
        "CreateAuthorityComamnd.swift",
        "CreateLeafCommand.swift",
        "MobileConfiguration.swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.6"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/JohnSundell/ShellOut.git
Fetching https://github.com/vapor/console-kit.git
[1/960] Fetching shellout
[961/6537] Fetching shellout, console-kit
Fetched https://github.com/JohnSundell/ShellOut.git from cache (0.33s)
Fetched https://github.com/vapor/console-kit.git from cache (0.33s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (3.07s)
Computing version for https://github.com/vapor/console-kit.git
Computed https://github.com/vapor/console-kit.git at 4.15.2 (0.46s)
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-log.git
[1/3836] Fetching swift-log
[3837/79920] Fetching swift-log, swift-nio
Fetched https://github.com/apple/swift-log.git from cache (3.84s)
Fetched https://github.com/apple/swift-nio.git from cache (3.92s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (4.99s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (0.81s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
[1/4391] Fetching swift-system
[1670/6101] Fetching swift-system, swift-atomics
[2991/22692] Fetching swift-system, swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (1.24s)
Fetched https://github.com/apple/swift-system.git from cache (1.24s)
Fetched https://github.com/apple/swift-collections.git from cache (1.27s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (1.76s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.99s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.62s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/vapor/console-kit.git
Working copy of https://github.com/vapor/console-kit.git resolved at 4.15.2
Creating working copy for https://github.com/JohnSundell/ShellOut.git
Working copy of https://github.com/JohnSundell/ShellOut.git resolved at 2.3.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.2
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.83.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Building for debugging...
[0/20] Write sources
[8/20] Compiling c-nioatomics.c
[9/20] Compiling c-atomics.c
[10/20] Write swift-version-24593BA9C3E375BF.txt
[12/35] Emitting module Logging
[13/35] Compiling Logging Locks.swift
[14/35] Compiling Logging MetadataProvider.swift
[15/35] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[16/35] Compiling NIOConcurrencyHelpers NIOLock.swift
[17/35] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[18/35] Compiling NIOConcurrencyHelpers lock.swift
[19/35] Compiling NIOConcurrencyHelpers atomics.swift
[20/35] Emitting module NIOConcurrencyHelpers
[21/36] Compiling Logging LogHandler.swift
[22/36] Compiling Logging Logging.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[25/37] Emitting module DeviceAuthority
/host/spi-builder-workspace/Sources/DeviceAuthority/DeviceAuthority.swift:8:8: error: no such module 'Security'
  6 |
  7 | import Foundation
  8 | import Security
    |        `- error: no such module 'Security'
  9 |
 10 | public struct DeviceAuthority {
[26/37] Compiling DeviceAuthority DeviceAuthority.swift
/host/spi-builder-workspace/Sources/DeviceAuthority/DeviceAuthority.swift:8:8: error: no such module 'Security'
  6 |
  7 | import Foundation
  8 | import Security
    |        `- error: no such module 'Security'
  9 |
 10 | public struct DeviceAuthority {
[26/37] Wrapping AST for Logging for debugging
[26/37] Wrapping AST for NIOConcurrencyHelpers for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[27/37] Emitting module ShellOut
/host/spi-builder-workspace/.build/checkouts/ShellOut/Sources/ShellOut.swift:8:8: error: no such module 'Dispatch'
  6 |
  7 | import Foundation
  8 | import Dispatch
    |        `- error: no such module 'Dispatch'
  9 |
 10 | // MARK: - API
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/10] Write swift-version-24593BA9C3E375BF.txt
[2/25] Compiling Logging MetadataProvider.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/25] Compiling NIOConcurrencyHelpers lock.swift
[4/25] Emitting module ShellOut
/host/spi-builder-workspace/.build/checkouts/ShellOut/Sources/ShellOut.swift:8:8: error: no such module 'Dispatch'
  6 |
  7 | import Foundation
  8 | import Dispatch
    |        `- error: no such module 'Dispatch'
  9 |
 10 | // MARK: - API
[5/25] Compiling ShellOut ShellOut.swift
/host/spi-builder-workspace/.build/checkouts/ShellOut/Sources/ShellOut.swift:8:8: error: no such module 'Dispatch'
  6 |
  7 | import Foundation
  8 | import Dispatch
    |        `- error: no such module 'Dispatch'
  9 |
 10 | // MARK: - API
[6/25] Compiling Logging LogHandler.swift
[7/25] Compiling Logging Locks.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/25] Emitting module Logging
[9/25] Emitting module DeviceAuthority
/host/spi-builder-workspace/Sources/DeviceAuthority/DeviceAuthority.swift:8:8: error: no such module 'Security'
  6 |
  7 | import Foundation
  8 | import Security
    |        `- error: no such module 'Security'
  9 |
 10 | public struct DeviceAuthority {
[10/25] Compiling DeviceAuthority DeviceAuthority.swift
/host/spi-builder-workspace/Sources/DeviceAuthority/DeviceAuthority.swift:8:8: error: no such module 'Security'
  6 |
  7 | import Foundation
  8 | import Security
    |        `- error: no such module 'Security'
  9 |
 10 | public struct DeviceAuthority {
BUILD FAILURE 6.1 wasm