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 AnnotationInject, reference 0.6.2 (c45e88), with Swift 6.1 for Wasm on 14 Jun 2025 07:21:16 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/pjechris/AnnotationInject.git
Reference: 0.6.2
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/pjechris/AnnotationInject
 * tag               0.6.2      -> FETCH_HEAD
HEAD is now at c45e882 [version] 0.6.2
Cloned https://github.com/pjechris/AnnotationInject.git
Revision (git rev-parse @):
c45e8829b1ecdfec615c1a579b55598020041d09
SUCCESS checkout https://github.com/pjechris/AnnotationInject.git at 0.6.2
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/pjechris/AnnotationInject.git
https://github.com/pjechris/AnnotationInject.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swinject",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.4.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Swinject/Swinject.git"
    },
    {
      "identity" : "sourcery",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.8.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/krzysztofzablocki/Sourcery"
    },
    {
      "identity" : "nimble",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "8.0.2",
            "upper_bound" : "9.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Quick/Nimble"
    },
    {
      "identity" : "quick",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.1.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Quick/Quick"
    }
  ],
  "manifest_display_name" : "AnnotationInject",
  "name" : "AnnotationInject",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.13"
    }
  ],
  "products" : [
    {
      "name" : "AnnotationInject",
      "targets" : [
        "AnnotationInject"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "annotationinject-cli",
      "targets" : [
        "AnnotationCLI"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AnnotationInjectTests",
      "module_type" : "SwiftTarget",
      "name" : "AnnotationInjectTests",
      "path" : "Tests",
      "product_dependencies" : [
        "Quick",
        "Nimble"
      ],
      "sources" : [
        "Service/ServiceParameterValueTests.swift",
        "Sourcery/MethodParameterTests.swift"
      ],
      "target_dependencies" : [
        "AnnotationInject"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AnnotationInject",
      "module_type" : "SwiftTarget",
      "name" : "AnnotationInject",
      "path" : "Sources",
      "product_dependencies" : [
        "Swinject",
        "SourceryRuntime"
      ],
      "product_memberships" : [
        "AnnotationInject"
      ],
      "sources" : [
        "InjectAnnotation.swift",
        "Service.swift",
        "Service/ServiceParameterValue.swift",
        "ServiceProvider.swift",
        "Sourcery+AnnotationInject.swift",
        "Sourcery/MethodParameter+String.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AnnotationCLI",
      "module_type" : "SwiftTarget",
      "name" : "AnnotationCLI",
      "path" : "CLI",
      "product_memberships" : [
        "annotationinject-cli"
      ],
      "sources" : [
        "main.swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.3"
}
warning: 'spi-builder-workspace': Invalid Resource 'Templates': File not found.
warning: 'spi-builder-workspace': Invalid Resource 'Scripts': File not found.
warning: 'spi-builder-workspace': Invalid Resource 'Sources': File not found.
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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:1f4a86c2403dd7f046762c8271002f713e736861711b4d7bb001b0e60ed1e881
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/Quick/Nimble
Fetching https://github.com/Swinject/Swinject.git
Fetching https://github.com/krzysztofzablocki/Sourcery
[1/9201] Fetching swinject
[5430/40648] Fetching swinject, sourcery
[10460/60232] Fetching swinject, sourcery, nimble
Fetching https://github.com/Quick/Quick
[37592/74991] Fetching swinject, sourcery, nimble, quick
Fetched https://github.com/Quick/Quick from cache (0.80s)
[39163/60232] Fetching swinject, sourcery, nimble
Fetched https://github.com/Swinject/Swinject.git from cache (5.16s)
Fetched https://github.com/Quick/Nimble from cache (5.18s)
Fetched https://github.com/krzysztofzablocki/Sourcery from cache (5.28s)
Computing version for https://github.com/Quick/Quick
Computed https://github.com/Quick/Quick at 2.2.1 (5.97s)
Computing version for https://github.com/krzysztofzablocki/Sourcery
warning: 'sourcery': /Package.swift:29:10: warning: 'package(name:url:_:)' is deprecated: use specific requirement APIs instead (e.g. use 'branch:' instead of '.branch')
 27 |         .package(url: "https://github.com/SwiftGen/StencilSwiftKit.git", exact: "2.10.1"),
 28 |         .package(url: "https://github.com/tuist/XcodeProj.git", exact: "8.3.1"),
 29 |         .package(name: "SwiftSyntax", url: "https://github.com/apple/swift-syntax.git", .revision("093e5ee151d206454e2c1950d81333c4d4a4472e")),
    |          `- warning: 'package(name:url:_:)' is deprecated: use specific requirement APIs instead (e.g. use 'branch:' instead of '.branch')
 30 |         .package(url: "https://github.com/Quick/Quick.git", from: "3.0.0"),
 31 |         .package(url: "https://github.com/Quick/Nimble.git", from: "9.0.0")
/Package.swift:29:90: warning: 'revision' is deprecated
 27 |         .package(url: "https://github.com/SwiftGen/StencilSwiftKit.git", exact: "2.10.1"),
 28 |         .package(url: "https://github.com/tuist/XcodeProj.git", exact: "8.3.1"),
 29 |         .package(name: "SwiftSyntax", url: "https://github.com/apple/swift-syntax.git", .revision("093e5ee151d206454e2c1950d81333c4d4a4472e")),
    |                                                                                          `- warning: 'revision' is deprecated
 30 |         .package(url: "https://github.com/Quick/Quick.git", from: "3.0.0"),
 31 |         .package(url: "https://github.com/Quick/Nimble.git", from: "9.0.0")
Computed https://github.com/krzysztofzablocki/Sourcery at 1.8.2 (0.70s)
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/tuist/XcodeProj.git
Fetching https://github.com/kylef/Commander.git
Fetching https://github.com/SwiftGen/StencilSwiftKit.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/apple/swift-syntax.git
[1/1588] Fetching commander
[1589/2999] Fetching commander, pathkit
[2450/7007] Fetching commander, pathkit, stencilswiftkit
[2938/30336] Fetching commander, pathkit, stencilswiftkit, xcodeproj
[7568/41195] Fetching commander, pathkit, stencilswiftkit, xcodeproj, yams
[33068/111988] Fetching commander, pathkit, stencilswiftkit, xcodeproj, yams, swift-syntax
Fetched https://github.com/kylef/Commander.git from cache (3.01s)
Fetched https://github.com/tuist/XcodeProj.git from cache (3.08s)
Fetched https://github.com/kylef/PathKit.git from cache (6.88s)
Fetched https://github.com/jpsim/Yams.git from cache (6.96s)
Fetched https://github.com/SwiftGen/StencilSwiftKit.git from cache (7.00s)
Fetched https://github.com/apple/swift-syntax.git from cache (7.00s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 0.50600.1 (8.18s)
Computing version for https://github.com/tuist/XcodeProj.git
Computed https://github.com/tuist/XcodeProj.git at 8.3.1 (0.77s)
Fetching https://github.com/tadija/AEXML.git
[1/2127] Fetching aexml
Fetched https://github.com/tadija/AEXML.git from cache (0.47s)
Computing version for https://github.com/SwiftGen/StencilSwiftKit.git
Computed https://github.com/SwiftGen/StencilSwiftKit.git at 2.8.0 (1.07s)
Fetching https://github.com/shibapm/Komondor.git
Fetching https://github.com/stencilproject/Stencil.git
[1/5293] Fetching stencil
[319/5802] Fetching stencil, komondor
Fetched https://github.com/shibapm/Komondor.git from cache (0.33s)
Fetched https://github.com/stencilproject/Stencil.git from cache (0.33s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (3.39s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.31s)
Computing version for https://github.com/kylef/Commander.git
Computed https://github.com/kylef/Commander.git at 0.9.1 (3.32s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 4.0.6 (0.79s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.6.1 (0.79s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.74s)
Computing version for https://github.com/stencilproject/Stencil.git
Computed https://github.com/stencilproject/Stencil.git at 0.15.1 (0.71s)
Computing version for https://github.com/Quick/Nimble
Computed https://github.com/Quick/Nimble at 8.1.2 (0.84s)
Computing version for https://github.com/shibapm/Komondor.git
Computed https://github.com/shibapm/Komondor.git at 1.1.4 (0.87s)
Fetching https://github.com/nicklockwood/SwiftFormat.git
Fetching https://github.com/JohnSundell/ShellOut.git
Fetching https://github.com/f-meloni/Rocket
Fetching https://github.com/Realm/SwiftLint.git
Fetching https://github.com/shibapm/PackageConfig.git
[1/980] Fetching shellout
[981/1560] Fetching shellout, packageconfig
[1561/2946] Fetching shellout, packageconfig, rocket
Fetched https://github.com/JohnSundell/ShellOut.git from cache (0.51s)
Fetched https://github.com/shibapm/PackageConfig.git from cache (0.51s)
Fetched https://github.com/f-meloni/Rocket from cache (0.55s)
[1/48733] Fetching swiftformat
[1951/199197] Fetching swiftformat, swiftlint
Fetched https://github.com/nicklockwood/SwiftFormat.git from cache (54.15s)
Fetched https://github.com/Realm/SwiftLint.git from cache (54.73s)
Computing version for https://github.com/f-meloni/Rocket
Computed https://github.com/f-meloni/Rocket at 1.2.1 (1.90s)
Fetching https://github.com/kareman/SwiftShell
Fetching https://github.com/shibapm/Logger
[1/4863] Fetching swiftshell
[1120/4979] Fetching swiftshell, logger
Fetched https://github.com/shibapm/Logger from cache (0.48s)
Fetched https://github.com/kareman/SwiftShell from cache (0.49s)
Computing version for https://github.com/shibapm/Logger
Computed https://github.com/shibapm/Logger at 0.2.3 (1.17s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (0.48s)
Computing version for https://github.com/shibapm/PackageConfig.git
Computed https://github.com/shibapm/PackageConfig.git at 1.1.3 (0.60s)
Computing version for https://github.com/Swinject/Swinject.git
Computed https://github.com/Swinject/Swinject.git at 2.9.1 (0.50s)
Computing version for https://github.com/Realm/SwiftLint.git
Computed https://github.com/Realm/SwiftLint.git at 0.48.0 (0.81s)
Fetching https://github.com/jpsim/SourceKitten.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/scottrhoyt/SwiftyTextTable.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
[1/929] Fetching swiftytexttable
[930/13870] Fetching swiftytexttable, cryptoswift
[1060/29996] Fetching swiftytexttable, cryptoswift, sourcekitten
[10613/45376] Fetching swiftytexttable, cryptoswift, sourcekitten, swift-argument-parser
Fetched https://github.com/jpsim/SourceKitten.git from cache (1.35s)
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git from cache (1.52s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.53s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (1.56s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.4.3 (2.12s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (0.53s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.0.3 (0.59s)
Computing version for https://github.com/jpsim/SourceKitten.git
Computed https://github.com/jpsim/SourceKitten.git at 0.32.0 (0.99s)
Fetching https://github.com/drmohundro/SWXMLHash.git
[1/2820] Fetching swxmlhash
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (0.34s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 6.0.0 (0.94s)
Computing version for https://github.com/nicklockwood/SwiftFormat.git
Computed https://github.com/nicklockwood/SwiftFormat.git at 0.56.3 (1.25s)
Computing version for https://github.com/kareman/SwiftShell
Computed https://github.com/kareman/SwiftShell at 5.1.0-beta.1 (0.50s)
Creating working copy for https://github.com/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 6.0.0
Creating working copy for https://github.com/scottrhoyt/SwiftyTextTable.git
Working copy of https://github.com/scottrhoyt/SwiftyTextTable.git resolved at 0.9.0
Creating working copy for https://github.com/tuist/XcodeProj.git
Working copy of https://github.com/tuist/XcodeProj.git resolved at 8.3.1
Creating working copy for https://github.com/tadija/AEXML.git
Working copy of https://github.com/tadija/AEXML.git resolved at 4.6.1
Creating working copy for https://github.com/krzysztofzablocki/Sourcery
Working copy of https://github.com/krzysztofzablocki/Sourcery resolved at 1.8.2
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.0.3
Creating working copy for https://github.com/shibapm/PackageConfig.git
Working copy of https://github.com/shibapm/PackageConfig.git resolved at 1.1.3
Creating working copy for https://github.com/f-meloni/Rocket
Working copy of https://github.com/f-meloni/Rocket resolved at 1.2.1
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 4.0.6
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/Quick/Quick
Working copy of https://github.com/Quick/Quick resolved at 2.2.1
Creating working copy for https://github.com/kylef/Commander.git
Working copy of https://github.com/kylef/Commander.git resolved at 0.9.1
Creating working copy for https://github.com/Realm/SwiftLint.git
Working copy of https://github.com/Realm/SwiftLint.git resolved at 0.48.0
Creating working copy for https://github.com/stencilproject/Stencil.git
Working copy of https://github.com/stencilproject/Stencil.git resolved at 0.15.1
Creating working copy for https://github.com/nicklockwood/SwiftFormat.git
Working copy of https://github.com/nicklockwood/SwiftFormat.git resolved at 0.56.3
Creating working copy for https://github.com/SwiftGen/StencilSwiftKit.git
Working copy of https://github.com/SwiftGen/StencilSwiftKit.git resolved at 2.8.0
Creating working copy for https://github.com/shibapm/Logger
Working copy of https://github.com/shibapm/Logger resolved at 0.2.3
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-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 0.50600.1
Creating working copy for https://github.com/jpsim/SourceKitten.git
Working copy of https://github.com/jpsim/SourceKitten.git resolved at 0.32.0
Creating working copy for https://github.com/shibapm/Komondor.git
Working copy of https://github.com/shibapm/Komondor.git resolved at 1.1.4
Creating working copy for https://github.com/kareman/SwiftShell
Working copy of https://github.com/kareman/SwiftShell resolved at 5.1.0-beta.1
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.1
Creating working copy for https://github.com/Quick/Nimble
Working copy of https://github.com/Quick/Nimble resolved at 8.1.2
Creating working copy for https://github.com/Swinject/Swinject.git
Working copy of https://github.com/Swinject/Swinject.git resolved at 2.9.1
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.4.3
Downloading binary artifact https://github.com/keith/StaticInternalSwiftSyntaxParser/releases/download/5.6/lib_InternalSwiftSyntaxParser.xcframework.zip
[1369/26182122] Downloading https://github.com/keith/StaticInternalSwiftSyntaxParser/releases/download/5.6/lib_InternalSwiftSyntaxParser.xcframework.zip
Downloaded https://github.com/keith/StaticInternalSwiftSyntaxParser/releases/download/5.6/lib_InternalSwiftSyntaxParser.xcframework.zip (3.13s)
warning: 'spi-builder-workspace': Invalid Resource 'Templates': File not found.
warning: 'spi-builder-workspace': Invalid Resource 'Scripts': File not found.
warning: 'spi-builder-workspace': Invalid Resource 'Sources': File not found.
warning: 'swinject': found 5 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/Swinject/Sources/Resolver.erb
    /host/spi-builder-workspace/.build/checkouts/Swinject/Sources/ServiceEntry.TypeForwarding.erb
    /host/spi-builder-workspace/.build/checkouts/Swinject/Sources/Info.plist
    /host/spi-builder-workspace/.build/checkouts/Swinject/Sources/Container.Arguments.erb
    /host/spi-builder-workspace/.build/checkouts/Swinject/Sources/PrivacyInfo.xcprivacy
[1/1] Compiling plugin SwiftFormatPlugin
Building for debugging...
[1/9] Write sources
[5/9] Write swift-version-24593BA9C3E375BF.txt
[7/71] Emitting module Swinject
[8/73] Compiling Swinject UnavailableItems.swift
[9/73] Compiling Swinject _Resolver.swift
[10/73] Compiling Swinject Container.Arguments.swift
[11/73] Compiling Swinject Container.Logging.swift
[12/73] Compiling Swinject Container.TypeForwarding.swift
[13/73] Compiling SourceryRuntime Documentation.swift
[14/73] Compiling SourceryRuntime Enum.swift
[15/73] Compiling SourceryRuntime GenericRequirement.swift
[16/73] Compiling AnnotationCLI main.swift
/host/spi-builder-workspace/CLI/main.swift:5:16: error: cannot find 'Process' in scope
 3 | // This executable just forward to shell script
 4 |
 5 | var sourcery = Process()
   |                `- error: cannot find 'Process' in scope
 6 | var generateSwiftFatFile = Process()
 7 | let currentPath = FileManager.default.currentDirectoryPath
/host/spi-builder-workspace/CLI/main.swift:6:28: error: cannot find 'Process' in scope
 4 |
 5 | var sourcery = Process()
 6 | var generateSwiftFatFile = Process()
   |                            `- error: cannot find 'Process' in scope
 7 | let currentPath = FileManager.default.currentDirectoryPath
 8 |
/host/spi-builder-workspace/CLI/main.swift:9:24: error: cannot find 'Process' in scope
 7 | let currentPath = FileManager.default.currentDirectoryPath
 8 |
 9 | generateSwiftFatFile = Process()
   |                        `- error: cannot find 'Process' in scope
10 | generateSwiftFatFile.executableURL = URL(fileURLWithPath: "/bin/bash")
11 | generateSwiftFatFile.arguments = ["\(currentPath)/Scripts/generate-annotation-template"]
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/73] Emitting module AnnotationCLI
/host/spi-builder-workspace/CLI/main.swift:5:16: error: cannot find 'Process' in scope
 3 | // This executable just forward to shell script
 4 |
 5 | var sourcery = Process()
   |                `- error: cannot find 'Process' in scope
 6 | var generateSwiftFatFile = Process()
 7 | let currentPath = FileManager.default.currentDirectoryPath
/host/spi-builder-workspace/CLI/main.swift:6:28: error: cannot find 'Process' in scope
 4 |
 5 | var sourcery = Process()
 6 | var generateSwiftFatFile = Process()
   |                            `- error: cannot find 'Process' in scope
 7 | let currentPath = FileManager.default.currentDirectoryPath
 8 |
/host/spi-builder-workspace/CLI/main.swift:9:24: error: cannot find 'Process' in scope
 7 | let currentPath = FileManager.default.currentDirectoryPath
 8 |
 9 | generateSwiftFatFile = Process()
   |                        `- error: cannot find 'Process' in scope
10 | generateSwiftFatFile.executableURL = URL(fileURLWithPath: "/bin/bash")
11 | generateSwiftFatFile.arguments = ["\(currentPath)/Scripts/generate-annotation-template"]
[18/73] Compiling Swinject Container.swift
[19/73] Compiling Swinject DebugHelper.swift
[20/73] Compiling Swinject FunctionType.swift
[21/73] Compiling Swinject GraphIdentifier.swift
[22/73] Compiling Swinject InstanceStorage.swift
[23/73] Compiling Swinject InstanceWrapper.swift
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/ReadWriteLock.swift:11:9: error: cannot find 'pthread_rwlock_init' in scope
 9 |
10 |     init() {
11 |         pthread_rwlock_init(&lock, nil)
   |         `- error: cannot find 'pthread_rwlock_init' in scope
12 |     }
13 |
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/ReadWriteLock.swift:11:36: error: 'nil' requires a contextual type
 9 |
10 |     init() {
11 |         pthread_rwlock_init(&lock, nil)
   |                                    `- error: 'nil' requires a contextual type
12 |     }
13 |
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/ReadWriteLock.swift:15:9: error: cannot find 'pthread_rwlock_destroy' in scope
13 |
14 |     deinit {
15 |         pthread_rwlock_destroy(&lock)
   |         `- error: cannot find 'pthread_rwlock_destroy' in scope
16 |     }
17 |
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/ReadWriteLock.swift:19:9: error: cannot find 'pthread_rwlock_rdlock' in scope
17 |
18 |     @inlinable public func read<T>(_ block: () throws -> T) rethrows -> T {
19 |         pthread_rwlock_rdlock(&lock)
   |         `- error: cannot find 'pthread_rwlock_rdlock' in scope
20 |         defer { pthread_rwlock_unlock(&lock) }
21 |
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/ReadWriteLock.swift:20:17: error: cannot find 'pthread_rwlock_unlock' in scope
18 |     @inlinable public func read<T>(_ block: () throws -> T) rethrows -> T {
19 |         pthread_rwlock_rdlock(&lock)
20 |         defer { pthread_rwlock_unlock(&lock) }
   |                 `- error: cannot find 'pthread_rwlock_unlock' in scope
21 |
22 |         return try block()
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/ReadWriteLock.swift:26:9: error: cannot find 'pthread_rwlock_wrlock' in scope
24 |
25 |     @inlinable public func write<T>(_ block: () throws -> T) rethrows -> T {
26 |         pthread_rwlock_wrlock(&lock)
   |         `- error: cannot find 'pthread_rwlock_wrlock' in scope
27 |         defer { pthread_rwlock_unlock(&lock) }
28 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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:1f4a86c2403dd7f046762c8271002f713e736861711b4d7bb001b0e60ed1e881
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
warning: 'spi-builder-workspace': Invalid Resource 'Templates': File not found.
warning: 'spi-builder-workspace': Invalid Resource 'Scripts': File not found.
warning: 'spi-builder-workspace': Invalid Resource 'Sources': File not found.
warning: 'swinject': found 5 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/Swinject/Sources/Container.Arguments.erb
    /host/spi-builder-workspace/.build/checkouts/Swinject/Sources/PrivacyInfo.xcprivacy
    /host/spi-builder-workspace/.build/checkouts/Swinject/Sources/ServiceEntry.TypeForwarding.erb
    /host/spi-builder-workspace/.build/checkouts/Swinject/Sources/Resolver.erb
    /host/spi-builder-workspace/.build/checkouts/Swinject/Sources/Info.plist
[0/1] Planning build
[1/1] Compiling plugin SwiftFormatPlugin
Building for debugging...
[1/5] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/67] Emitting module SourceryRuntime
/host/spi-builder-workspace/.build/checkouts/Sourcery/SourceryRuntime/Sources/Generated/JSExport.generated.swift:5:8: error: no such module 'JavaScriptCore'
  3 | // swiftlint:disable vertical_whitespace trailing_newline
  4 |
  5 | import JavaScriptCore
    |        `- error: no such module 'JavaScriptCore'
  6 |
  7 | @objc protocol ArrayTypeAutoJSExport: JSExport {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/72] Emitting module AnnotationCLI
/host/spi-builder-workspace/CLI/main.swift:5:16: error: cannot find 'Process' in scope
 3 | // This executable just forward to shell script
 4 |
 5 | var sourcery = Process()
   |                `- error: cannot find 'Process' in scope
 6 | var generateSwiftFatFile = Process()
 7 | let currentPath = FileManager.default.currentDirectoryPath
/host/spi-builder-workspace/CLI/main.swift:6:28: error: cannot find 'Process' in scope
 4 |
 5 | var sourcery = Process()
 6 | var generateSwiftFatFile = Process()
   |                            `- error: cannot find 'Process' in scope
 7 | let currentPath = FileManager.default.currentDirectoryPath
 8 |
/host/spi-builder-workspace/CLI/main.swift:9:24: error: cannot find 'Process' in scope
 7 | let currentPath = FileManager.default.currentDirectoryPath
 8 |
 9 | generateSwiftFatFile = Process()
   |                        `- error: cannot find 'Process' in scope
10 | generateSwiftFatFile.executableURL = URL(fileURLWithPath: "/bin/bash")
11 | generateSwiftFatFile.arguments = ["\(currentPath)/Scripts/generate-annotation-template"]
[5/72] Compiling AnnotationCLI main.swift
/host/spi-builder-workspace/CLI/main.swift:5:16: error: cannot find 'Process' in scope
 3 | // This executable just forward to shell script
 4 |
 5 | var sourcery = Process()
   |                `- error: cannot find 'Process' in scope
 6 | var generateSwiftFatFile = Process()
 7 | let currentPath = FileManager.default.currentDirectoryPath
/host/spi-builder-workspace/CLI/main.swift:6:28: error: cannot find 'Process' in scope
 4 |
 5 | var sourcery = Process()
 6 | var generateSwiftFatFile = Process()
   |                            `- error: cannot find 'Process' in scope
 7 | let currentPath = FileManager.default.currentDirectoryPath
 8 |
/host/spi-builder-workspace/CLI/main.swift:9:24: error: cannot find 'Process' in scope
 7 | let currentPath = FileManager.default.currentDirectoryPath
 8 |
 9 | generateSwiftFatFile = Process()
   |                        `- error: cannot find 'Process' in scope
10 | generateSwiftFatFile.executableURL = URL(fileURLWithPath: "/bin/bash")
11 | generateSwiftFatFile.arguments = ["\(currentPath)/Scripts/generate-annotation-template"]
BUILD FAILURE 6.1 wasm