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 SPM, reference main (4343e7), with Swift 6.1 for Wasm on 27 May 2025 21:35:08 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/sherlouk/spm.git
Reference: main
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/sherlouk/spm
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 4343e7b Improve Nomnoml Output
Cloned https://github.com/sherlouk/spm.git
Revision (git rev-parse @):
4343e7ba42e5a00dabc6cd821bcdf0ac6539f083
SUCCESS checkout https://github.com/sherlouk/spm.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/sherlouk/spm.git
https://github.com/sherlouk/spm.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "console-kit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.2.4",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/console-kit"
    },
    {
      "identity" : "files",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.2.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/JohnSundell/Files"
    },
    {
      "identity" : "shellout",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.3.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/JohnSundell/ShellOut"
    }
  ],
  "manifest_display_name" : "SPM",
  "name" : "SPM",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "spm",
      "targets" : [
        "Console"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ShellCommands",
      "module_type" : "SwiftTarget",
      "name" : "ShellCommands",
      "path" : "Sources/ShellCommands",
      "product_dependencies" : [
        "ShellOut"
      ],
      "product_memberships" : [
        "spm"
      ],
      "sources" : [
        "ShellOut+Nomnoml.swift",
        "ShellOut+Swift.swift",
        "ShellOut+Which.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ShellCommandTests",
      "module_type" : "SwiftTarget",
      "name" : "ShellCommandTests",
      "path" : "Tests/ShellCommandTests",
      "sources" : [
        "NomnomlCommandTests.swift",
        "SwiftCommandTests.swift",
        "WhichCommandTests.swift"
      ],
      "target_dependencies" : [
        "ShellCommands"
      ],
      "type" : "test"
    },
    {
      "c99name" : "GrapherTests",
      "module_type" : "SwiftTarget",
      "name" : "GrapherTests",
      "path" : "Tests/GrapherTests",
      "sources" : [
        "GrapherTests.swift",
        "NomnomlTests.swift"
      ],
      "target_dependencies" : [
        "Grapher"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Grapher",
      "module_type" : "SwiftTarget",
      "name" : "Grapher",
      "path" : "Sources/Grapher",
      "product_dependencies" : [
        "ConsoleKit",
        "Files"
      ],
      "product_memberships" : [
        "spm"
      ],
      "sources" : [
        "Export/NomnomlExport.swift",
        "Formatter/NomnomlFormatter.swift",
        "Grapher.swift",
        "Relationships/RelationshipGenerator.swift",
        "Traverser/Package.swift",
        "Traverser/PackageDumper.swift",
        "Traverser/PackageTraverser.swift"
      ],
      "target_dependencies" : [
        "ShellCommands"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Console",
      "module_type" : "SwiftTarget",
      "name" : "Console",
      "path" : "Sources/Console",
      "product_dependencies" : [
        "ConsoleKit"
      ],
      "product_memberships" : [
        "spm"
      ],
      "sources" : [
        "GraphCommand.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "Grapher"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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
Fetching https://github.com/JohnSundell/Files
Fetching https://github.com/vapor/console-kit
[1/960] Fetching shellout
[577/6537] Fetching shellout, console-kit
[1037/7773] Fetching shellout, console-kit, files
Fetched https://github.com/JohnSundell/Files from cache (0.35s)
Fetched https://github.com/JohnSundell/ShellOut from cache (0.42s)
Fetched https://github.com/vapor/console-kit from cache (0.42s)
Computing version for https://github.com/JohnSundell/ShellOut
Computed https://github.com/JohnSundell/ShellOut at 2.3.0 (3.57s)
Computing version for https://github.com/JohnSundell/Files
Computed https://github.com/JohnSundell/Files at 4.2.0 (0.81s)
Computing version for https://github.com/vapor/console-kit
Computed https://github.com/vapor/console-kit at 4.15.2 (0.64s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio.git
[1/3836] Fetching swift-log
[3837/79891] Fetching swift-log, swift-nio
Fetched https://github.com/apple/swift-log.git from cache (0.59s)
[1522/76055] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (7.76s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (11.53s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (1.59s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/1710] Fetching swift-atomics
[70/6101] Fetching swift-atomics, swift-system
[6102/22692] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (1.89s)
Fetched https://github.com/apple/swift-system.git from cache (1.89s)
Fetched https://github.com/apple/swift-collections.git from cache (1.94s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (2.55s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.71s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.98s)
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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
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/JohnSundell/Files
Working copy of https://github.com/JohnSundell/Files resolved at 4.2.0
Creating working copy for https://github.com/vapor/console-kit
Working copy of https://github.com/vapor/console-kit resolved at 4.15.2
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
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/JohnSundell/ShellOut
Working copy of https://github.com/JohnSundell/ShellOut resolved at 2.3.0
Building for debugging...
[0/25] Write sources
[10/25] Compiling c-nioatomics.c
[11/25] Compiling c-atomics.c
[12/25] Write swift-version-24593BA9C3E375BF.txt
[14/40] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[15/40] Compiling Logging Locks.swift
[16/40] Compiling Logging LogHandler.swift
[17/40] Compiling NIOConcurrencyHelpers NIOLock.swift
[18/40] Compiling Logging Logging.swift
[19/40] Emitting module Logging
[20/40] Compiling Logging MetadataProvider.swift
[21/41] Compiling NIOConcurrencyHelpers lock.swift
[23/41] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[24/41] Emitting module NIOConcurrencyHelpers
[25/41] Compiling NIOConcurrencyHelpers atomics.swift
[25/42] Wrapping AST for Logging for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[28/42] 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
[29/42] 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
[29/42] Wrapping AST for NIOConcurrencyHelpers for debugging
[30/42] Emitting module Files
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/13] Write swift-version-24593BA9C3E375BF.txt
[2/28] Compiling Logging LogHandler.swift
[3/28] 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
[4/28] Compiling Logging Locks.swift
[5/28] Emitting module Logging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/28] 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
[7/28] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[8/28] Compiling NIOConcurrencyHelpers lock.swift
[9/28] Compiling Logging MetadataProvider.swift
[10/28] Emitting module Files
BUILD FAILURE 6.1 wasm