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 SwinjectMacros, reference main (2931d3), with Swift 6.2 (beta) for Wasm on 5 Aug 2025 16:38:37 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.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.65.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/brunogama/SwinjectMacros.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/brunogama/SwinjectMacros
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 2931d35 Merge pull request #6 from brunogama/chore/update-version-1.0.2
Cloned https://github.com/brunogama/SwinjectMacros.git
Revision (git rev-parse @):
2931d357e333163dd443bceabb63af03aa507018
SUCCESS checkout https://github.com/brunogama/SwinjectMacros.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/brunogama/SwinjectMacros.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/Swinject/Swinject.git
Fetching https://github.com/swiftlang/swift-syntax.git
[1/9200] Fetching swinject
[9201/80629] Fetching swinject, swift-syntax
Fetched https://github.com/Swinject/Swinject.git from cache (8.35s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (8.47s)
Computing version for https://github.com/Swinject/Swinject.git
Computed https://github.com/Swinject/Swinject.git at 2.9.1 (9.29s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 509.0.0 (4.17s)
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/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 509.0.0
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/Info.plist
    /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/PrivacyInfo.xcprivacy
[1/1] Compiling plugin SwinjectBuildPlugin
Building for debugging...
[1/48] Write sources
[23/48] Write swift-version-24593BA9C3E375BF.txt
[25/96] Emitting module SwiftSyntax509
error: emit-module command failed with exit code 1 (use -v to see invocation)
[26/96] Emitting module Swinject
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/Container.Arguments.swift:13:8: error: no such module 'Foundation'
 11 | //
 12 |
 13 | import Foundation
    |        `- error: no such module 'Foundation'
 14 |
 15 | // MARK: - Registeration with Arguments
[27/98] Compiling SwiftSyntax509 Empty.swift
[29/99] Compiling Swinject GraphIdentifier.swift
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/Container.Arguments.swift:13:8: error: no such module 'Foundation'
 11 | //
 12 |
 13 | import Foundation
    |        `- error: no such module 'Foundation'
 14 |
 15 | // MARK: - Registeration with Arguments
[30/99] Compiling Swinject InstanceStorage.swift
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/Container.Arguments.swift:13:8: error: no such module 'Foundation'
 11 | //
 12 |
 13 | import Foundation
    |        `- error: no such module 'Foundation'
 14 |
 15 | // MARK: - Registeration with Arguments
[31/99] Compiling Swinject InstanceWrapper.swift
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/Container.Arguments.swift:13:8: error: no such module 'Foundation'
 11 | //
 12 |
 13 | import Foundation
    |        `- error: no such module 'Foundation'
 14 |
 15 | // MARK: - Registeration with Arguments
[32/99] Compiling Swinject ObjectScope.Standard.swift
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/Container.Arguments.swift:13:8: error: no such module 'Foundation'
 11 | //
 12 |
 13 | import Foundation
    |        `- error: no such module 'Foundation'
 14 |
 15 | // MARK: - Registeration with Arguments
[33/99] Compiling Swinject ObjectScope.swift
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/Container.Arguments.swift:13:8: error: no such module 'Foundation'
 11 | //
 12 |
 13 | import Foundation
    |        `- error: no such module 'Foundation'
 14 |
 15 | // MARK: - Registeration with Arguments
[34/99] Compiling Swinject ReadWriteLock.swift
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/Container.Arguments.swift:13:8: error: no such module 'Foundation'
 11 | //
 12 |
 13 | import Foundation
    |        `- error: no such module 'Foundation'
 14 |
 15 | // MARK: - Registeration with Arguments
[35/99] Compiling Swinject RecursiveLock.swift
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/Container.Arguments.swift:13:8: error: no such module 'Foundation'
 11 | //
 12 |
 13 | import Foundation
    |        `- error: no such module 'Foundation'
 14 |
 15 | // MARK: - Registeration with Arguments
[36/99] Compiling Swinject Resolver.swift
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/Container.Arguments.swift:13:8: error: no such module 'Foundation'
 11 | //
 12 |
 13 | import Foundation
    |        `- error: no such module 'Foundation'
 14 |
 15 | // MARK: - Registeration with Arguments
[37/99] Compiling Swinject ServiceEntry.TypeForwarding.swift
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/Container.Arguments.swift:13:8: error: no such module 'Foundation'
 11 | //
 12 |
 13 | import Foundation
    |        `- error: no such module 'Foundation'
 14 |
 15 | // MARK: - Registeration with Arguments
[38/99] Compiling Swinject ServiceEntry.swift
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/Container.Arguments.swift:13:8: error: no such module 'Foundation'
 11 | //
 12 |
 13 | import Foundation
    |        `- error: no such module 'Foundation'
 14 |
 15 | // MARK: - Registeration with Arguments
[39/99] Compiling Swinject ServiceKey.swift
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/Container.Arguments.swift:13:8: error: no such module 'Foundation'
 11 | //
 12 |
 13 | import Foundation
    |        `- error: no such module 'Foundation'
 14 |
 15 | // MARK: - Registeration with Arguments
[40/99] Compiling Swinject ThreadSafeDictionary.swift
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/Container.Arguments.swift:13:8: error: no such module 'Foundation'
 11 | //
 12 |
 13 | import Foundation
    |        `- error: no such module 'Foundation'
 14 |
 15 | // MARK: - Registeration with Arguments
[41/99] Compiling Swinject Container.Arguments.swift
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/Container.Arguments.swift:13:8: error: no such module 'Foundation'
 11 | //
 12 |
 13 | import Foundation
    |        `- error: no such module 'Foundation'
 14 |
 15 | // MARK: - Registeration with Arguments
[42/99] Compiling Swinject Container.Logging.swift
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/Container.Arguments.swift:13:8: error: no such module 'Foundation'
 11 | //
 12 |
 13 | import Foundation
    |        `- error: no such module 'Foundation'
 14 |
 15 | // MARK: - Registeration with Arguments
[43/99] Compiling Swinject Container.TypeForwarding.swift
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/Container.Arguments.swift:13:8: error: no such module 'Foundation'
 11 | //
 12 |
 13 | import Foundation
    |        `- error: no such module 'Foundation'
 14 |
 15 | // MARK: - Registeration with Arguments
[44/99] Compiling Swinject Container.swift
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/Container.Arguments.swift:13:8: error: no such module 'Foundation'
 11 | //
 12 |
 13 | import Foundation
    |        `- error: no such module 'Foundation'
 14 |
 15 | // MARK: - Registeration with Arguments
[45/99] Compiling Swinject DebugHelper.swift
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/Container.Arguments.swift:13:8: error: no such module 'Foundation'
 11 | //
 12 |
 13 | import Foundation
    |        `- error: no such module 'Foundation'
 14 |
 15 | // MARK: - Registeration with Arguments
[46/99] Compiling Swinject FunctionType.swift
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/Container.Arguments.swift:13:8: error: no such module 'Foundation'
 11 | //
 12 |
 13 | import Foundation
    |        `- error: no such module 'Foundation'
 14 |
 15 | // MARK: - Registeration with Arguments
[47/99] Emitting module SwiftSyntax509
[48/99] Compiling SwiftSyntax509 Empty.swift
[49/99] Compiling Swinject Assembler.swift
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/Container.Arguments.swift:13:8: error: no such module 'Foundation'
 11 | //
 12 |
 13 | import Foundation
    |        `- error: no such module 'Foundation'
 14 |
 15 | // MARK: - Registeration with Arguments
[50/99] Compiling Swinject Assembly.swift
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/Container.Arguments.swift:13:8: error: no such module 'Foundation'
 11 | //
 12 |
 13 | import Foundation
    |        `- error: no such module 'Foundation'
 14 |
 15 | // MARK: - Registeration with Arguments
[51/99] Compiling Swinject Behavior.swift
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/Container.Arguments.swift:13:8: error: no such module 'Foundation'
 11 | //
 12 |
 13 | import Foundation
    |        `- error: no such module 'Foundation'
 14 |
 15 | // MARK: - Registeration with Arguments
[52/100] Compiling Swinject UnavailableItems.swift
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/Container.Arguments.swift:13:8: error: no such module 'Foundation'
 11 | //
 12 |
 13 | import Foundation
    |        `- error: no such module 'Foundation'
 14 |
 15 | // MARK: - Registeration with Arguments
[53/100] Compiling Swinject _Resolver.swift
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/Container.Arguments.swift:13:8: error: no such module 'Foundation'
 11 | //
 12 |
 13 | import Foundation
    |        `- error: no such module 'Foundation'
 14 |
 15 | // MARK: - Registeration with Arguments
[53/100] Wrapping AST for SwiftSyntax509 for debugging
BUILD FAILURE 6.2 wasm