The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftOutline, reference master (dcec49), with Swift 6.1 for Wasm on 27 May 2025 07:13:18 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/kenmaz/swiftoutline.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/kenmaz/swiftoutline
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at dcec496 Update README.md
Cloned https://github.com/kenmaz/swiftoutline.git
Revision (git rev-parse @):
dcec496d670ee107e784c8b0ee8fab8e31c93b96
SUCCESS checkout https://github.com/kenmaz/swiftoutline.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/kenmaz/swiftoutline.git
https://github.com/kenmaz/swiftoutline.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-syntax",
      "requirement" : {
        "exact" : [
          "0.50000.0"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-syntax.git"
    },
    {
      "identity" : "pathkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kylef/PathKit"
    },
    {
      "identity" : "commander",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.9.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kylef/Commander.git"
    }
  ],
  "manifest_display_name" : "SwiftOutline",
  "name" : "SwiftOutline",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwiftOutline",
      "targets" : [
        "SwiftOutline"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "SwiftOutlineKit",
      "targets" : [
        "SwiftOutlineKit"
      ],
      "type" : {
        "library" : [
          "static"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftOutlineTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftOutlineTests",
      "path" : "Tests/SwiftOutlineTests",
      "sources" : [
        "SwiftOutlineTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "SwiftOutline"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftOutlineKitTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftOutlineKitTests",
      "path" : "Tests/SwiftOutlineKitTests",
      "sources" : [
        "GraphvizClientTests.swift",
        "SwiftOutlineTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "SwiftOutlineKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftOutlineKit",
      "module_type" : "SwiftTarget",
      "name" : "SwiftOutlineKit",
      "path" : "Sources/SwiftOutlineKit",
      "product_dependencies" : [
        "SwiftSyntax",
        "PathKit"
      ],
      "product_memberships" : [
        "SwiftOutline",
        "SwiftOutlineKit"
      ],
      "sources" : [
        "Analyzer.swift",
        "Emitter.swift",
        "GraphvizClient.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SwiftOutline",
      "module_type" : "SwiftTarget",
      "name" : "SwiftOutline",
      "path" : "Sources/SwiftOutline",
      "product_dependencies" : [
        "Commander"
      ],
      "product_memberships" : [
        "SwiftOutline"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "SwiftOutlineKit"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.0"
}
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:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/kylef/Commander.git
Fetching https://github.com/kylef/PathKit
[1/1588] Fetching commander
[49/2999] Fetching commander, pathkit
Fetched https://github.com/kylef/PathKit from cache (0.45s)
Fetched https://github.com/kylef/Commander.git from cache (0.47s)
[1/70443] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (6.85s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 0.50000.0 (10.97s)
Computing version for https://github.com/kylef/PathKit
Computed https://github.com/kylef/PathKit at 1.0.1 (1.03s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.39s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (5.12s)
Computing version for https://github.com/kylef/Commander.git
Computed https://github.com/kylef/Commander.git at 0.9.2 (3.94s)
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 0.50000.0
Creating working copy for https://github.com/kylef/Commander.git
Working copy of https://github.com/kylef/Commander.git resolved at 0.9.2
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Creating working copy for https://github.com/kylef/PathKit
Working copy of https://github.com/kylef/PathKit resolved at 1.0.1
Building for debugging...
[0/15] Write sources
[5/15] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/50] Emitting module Commander
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:6:10: error: no such module 'Darwin'
 4 |   import CRT
 5 | #else
 6 |   import Darwin
   |          `- error: no such module 'Darwin'
 7 | #endif
 8 |
[8/51] Compiling Commander CommandRunner.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:6:10: error: no such module 'Darwin'
 4 |   import CRT
 5 | #else
 6 |   import Darwin
   |          `- error: no such module 'Darwin'
 7 | #endif
 8 |
[9/51] Compiling Commander Command.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:6:10: error: no such module 'Darwin'
 4 |   import CRT
 5 | #else
 6 |   import Darwin
   |          `- error: no such module 'Darwin'
 7 | #endif
 8 |
[10/51] Compiling Commander Group.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:6:10: error: no such module 'Darwin'
 4 |   import CRT
 5 | #else
 6 |   import Darwin
   |          `- error: no such module 'Darwin'
 7 | #endif
 8 |
[11/51] Compiling Commander ArgumentParser.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:6:10: error: no such module 'Darwin'
 4 |   import CRT
 5 | #else
 6 |   import Darwin
   |          `- error: no such module 'Darwin'
 7 | #endif
 8 |
[12/51] Compiling Commander ArgumentConvertible.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:6:10: error: no such module 'Darwin'
 4 |   import CRT
 5 | #else
 6 |   import Darwin
   |          `- error: no such module 'Darwin'
 7 | #endif
 8 |
[13/51] Compiling Commander ArgumentDescription.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:6:10: error: no such module 'Darwin'
 4 |   import CRT
 5 | #else
 6 |   import Darwin
   |          `- error: no such module 'Darwin'
 7 | #endif
 8 |
[14/51] Compiling Commander Commands.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:6:10: error: no such module 'Darwin'
 4 |   import CRT
 5 | #else
 6 |   import Darwin
   |          `- error: no such module 'Darwin'
 7 | #endif
 8 |
[15/51] Compiling Commander Error.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:6:10: error: no such module 'Darwin'
 4 |   import CRT
 5 | #else
 6 |   import Darwin
   |          `- error: no such module 'Darwin'
 7 | #endif
 8 |
[16/51] Compiling Commander CommandType.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:6:10: error: no such module 'Darwin'
 4 |   import CRT
 5 | #else
 6 |   import Darwin
   |          `- error: no such module 'Darwin'
 7 | #endif
 8 |
[17/51] Compiling SwiftSyntax SyntaxChildren.swift
[18/51] Compiling SwiftSyntax SyntaxData.swift
[19/51] Compiling SwiftSyntax WeakLookupTable.swift
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/SwiftcInvocation.swift:55:22: error: cannot find 'DispatchSource' in scope
 53 |   let stdoutPipe = Pipe()
 54 |   var stdoutData = Data()
 55 |   let stdoutSource = DispatchSource.makeReadSource(
    |                      `- error: cannot find 'DispatchSource' in scope
 56 | 		fileDescriptor: stdoutPipe.fileHandleForReading.fileDescriptor)
 57 |   stdoutSource.setEventHandler {
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/SwiftcInvocation.swift:64:22: error: cannot find 'DispatchSource' in scope
 62 |   let stderrPipe = Pipe()
 63 |   var stderrData = Data()
 64 |   let stderrSource = DispatchSource.makeReadSource(
    |                      `- error: cannot find 'DispatchSource' in scope
 65 | 		fileDescriptor: stderrPipe.fileHandleForReading.fileDescriptor)
 66 |   stderrSource.setEventHandler {
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
  6 | let system_glob = Glibc.glob
  7 | #else
  8 | import Darwin
    |        `- error: no such module 'Darwin'
  9 |
 10 | let system_glob = Darwin.glob
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:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
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/45] Compiling Commander Error.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:6:10: error: no such module 'Darwin'
 4 |   import CRT
 5 | #else
 6 |   import Darwin
   |          `- error: no such module 'Darwin'
 7 | #endif
 8 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/46] Emitting module PathKit
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
  6 | let system_glob = Glibc.glob
  7 | #else
  8 | import Darwin
    |        `- error: no such module 'Darwin'
  9 |
 10 | let system_glob = Darwin.glob
[4/46] Compiling PathKit PathKit.swift
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
  6 | let system_glob = Glibc.glob
  7 | #else
  8 | import Darwin
    |        `- error: no such module 'Darwin'
  9 |
 10 | let system_glob = Darwin.glob
[5/46] Compiling Commander Group.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:6:10: error: no such module 'Darwin'
 4 |   import CRT
 5 | #else
 6 |   import Darwin
   |          `- error: no such module 'Darwin'
 7 | #endif
 8 |
[6/46] Compiling Commander ArgumentParser.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:6:10: error: no such module 'Darwin'
 4 |   import CRT
 5 | #else
 6 |   import Darwin
   |          `- error: no such module 'Darwin'
 7 | #endif
 8 |
[7/46] Compiling Commander CommandType.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:6:10: error: no such module 'Darwin'
 4 |   import CRT
 5 | #else
 6 |   import Darwin
   |          `- error: no such module 'Darwin'
 7 | #endif
 8 |
[8/46] Compiling Commander CommandRunner.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:6:10: error: no such module 'Darwin'
 4 |   import CRT
 5 | #else
 6 |   import Darwin
   |          `- error: no such module 'Darwin'
 7 | #endif
 8 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/46] Emitting module Commander
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:6:10: error: no such module 'Darwin'
 4 |   import CRT
 5 | #else
 6 |   import Darwin
   |          `- error: no such module 'Darwin'
 7 | #endif
 8 |
BUILD FAILURE 6.1 wasm