Build Information
Failed to build swift-package-factory, reference v0.1.0 (2b27eb
), with Swift 6.2 (beta) for Wasm on 20 Jun 2025 03:06:40 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tayloraswift/swift-package-factory.git
Reference: v0.1.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/tayloraswift/swift-package-factory
* tag v0.1.0 -> FETCH_HEAD
HEAD is now at 2b27eb0 add license and readme
Cloned https://github.com/tayloraswift/swift-package-factory.git
Revision (git rev-parse @):
2b27eb00e8011423edfb02fa70dd4c2c5f03cf16
SUCCESS checkout https://github.com/tayloraswift/swift-package-factory.git at v0.1.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/tayloraswift/swift-package-factory.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/apple/swift-syntax.git
[1/70906] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (8.72s)
Fetching https://github.com/kelvin13/swift-system-extras.git
[1/40] Fetching swift-system-extras
Fetched https://github.com/kelvin13/swift-system-extras.git from cache (0.40s)
Computing version for https://github.com/kelvin13/swift-system-extras.git
Computed https://github.com/kelvin13/swift-system-extras.git at 0.2.0 (1.22s)
Fetching https://github.com/apple/swift-system.git
[1/4436] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.66s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (1.37s)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.0
Creating working copy for https://github.com/kelvin13/swift-system-extras.git
Working copy of https://github.com/kelvin13/swift-system-extras.git resolved at 0.2.0
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at swift-DEVELOPMENT-SNAPSHOT-2022-08-15-a (59c93fc)
warning: 'spi-builder-workspace': found 6 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Examples/ValidExamples/Zip.spf
/host/spi-builder-workspace/Examples/ValidExamples/Basic.spf
/host/spi-builder-workspace/Examples/ValidExamples/Nested.spf
/host/spi-builder-workspace/Examples/ValidExamples/DocComments.spf
/host/spi-builder-workspace/Examples/ValidExamples/Scopes.spf
/host/spi-builder-workspace/Examples/ValidExamples/OtherAttributes.spf
warning: 'spi-builder-workspace': found 5 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Examples/InvalidExamples/InvalidMatrix.spf
/host/spi-builder-workspace/Examples/InvalidExamples/IdentifierSafety.spf
/host/spi-builder-workspace/Examples/InvalidExamples/InvalidBasis.spf
/host/spi-builder-workspace/Examples/InvalidExamples/UndefinedBasis.spf
/host/spi-builder-workspace/Examples/InvalidExamples/InvalidBasisSyntax.spf
[1/1] Compiling plugin FactoryPlugin
Building for debugging...
[1/44] Write sources
[15/44] Compiling atomic-counter.c
[16/44] Compiling CSystem shims.c
[17/44] Compiling atomic-counter.c
[18/44] Compiling CSystem shims.c
[19/44] Write swift-version-24593BA9C3E375BF.txt
[21/189] Compiling FactoryPluginValidExampleTarget Zip.spf.swift
[22/189] Emitting module FactoryPluginInvalidExampleTarget
[23/189] Compiling FactoryPluginInvalidExampleTarget InvalidMatrix.spf.swift
/host/spi-builder-workspace/Examples/InvalidExamples/InvalidMatrix.spf.swift:5:9: warning: variable 'x' was never used; consider replacing with '_' or removing it [#no-usage]
3 |
4 | // this works because this is a declaration
5 | var x:Int = 0
| `- warning: variable 'x' was never used; consider replacing with '_' or removing it [#no-usage]
6 |
7 | // this works because this is a declaration
/host/spi-builder-workspace/Examples/InvalidExamples/InvalidMatrix.spf.swift:8:9: warning: variable 'y' was never used; consider replacing with '_' or removing it [#no-usage]
6 |
7 | // this works because this is a declaration
8 | var y:Int = 0
| `- warning: variable 'y' was never used; consider replacing with '_' or removing it [#no-usage]
9 |
10 | // this works because this is a declaration
/host/spi-builder-workspace/Examples/InvalidExamples/InvalidMatrix.spf.swift:11:9: warning: variable 'z' was never used; consider replacing with '_' or removing it [#no-usage]
9 |
10 | // this works because this is a declaration
11 | var z:Int = 0
| `- warning: variable 'z' was never used; consider replacing with '_' or removing it [#no-usage]
12 |
13 | #if NEVER
[24/190] Emitting module FactoryPluginValidExampleTarget
[25/190] Compiling FactoryPluginValidExampleTarget Basic.spf.swift
[26/190] Compiling FactoryPluginValidExampleTarget Scopes.spf.swift
[28/190] Compiling FactoryPluginValidExampleTarget OtherAttributes.spf.swift
[29/190] Compiling SwiftSyntax RawSyntaxValidation.swift
[30/190] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[31/190] Compiling SwiftSyntax SyntaxBaseNodes.swift
[32/193] Compiling FactoryPluginValidExampleTarget DocComments.spf.swift
[33/193] Compiling FactoryPluginValidExampleTarget Nested.spf.swift
[34/194] Compiling SwiftSyntax RawSyntax.swift
[35/194] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[36/194] Compiling SwiftSyntax SourceLength.swift
[37/194] Compiling SwiftSyntax SourceLocation.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[38/194] Emitting module SystemPackage
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
| `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
| `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
[44/194] Compiling SwiftSyntax SourcePresence.swift
[45/194] Compiling SwiftSyntax Syntax.swift
[46/199] Compiling SwiftSyntax AbsolutePosition.swift
[47/199] Compiling SwiftSyntax AtomicCounter.swift
[48/199] Compiling SwiftSyntax BumpPtrAllocator.swift
[49/199] Compiling SwiftSyntax CNodes.swift
[50/199] Compiling SwiftSyntax IncrementalParseTransition.swift
[51/199] Compiling SwiftSyntax RawSyntax+CSwiftSyntax.swift
[52/199] Compiling SwiftSyntax SyntaxOtherNodes.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
| `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
| `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:252:10: error: cannot find 'umask' in scope
250 | _ mode: CInterop.Mode
251 | ) -> CInterop.Mode {
252 | return umask(mode)
| `- error: cannot find 'umask' in scope
253 | }
254 |
[53/199] Compiling SwiftSyntax SyntaxText.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
| `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
| `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:252:10: error: cannot find 'umask' in scope
250 | _ mode: CInterop.Mode
251 | ) -> CInterop.Mode {
252 | return umask(mode)
| `- error: cannot find 'umask' in scope
253 | }
254 |
[54/199] Compiling SwiftSyntax SyntaxTreeViewMode.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
| `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
| `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:252:10: error: cannot find 'umask' in scope
250 | _ mode: CInterop.Mode
251 | ) -> CInterop.Mode {
252 | return umask(mode)
| `- error: cannot find 'umask' in scope
253 | }
254 |
[55/199] Compiling SwiftSyntax SyntaxVerifier.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
| `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
| `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:252:10: error: cannot find 'umask' in scope
250 | _ mode: CInterop.Mode
251 | ) -> CInterop.Mode {
252 | return umask(mode)
| `- error: cannot find 'umask' in scope
253 | }
254 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
| `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
| `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
| `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
| `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
| `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
| `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
| `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
| `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
[60/199] Compiling SwiftSyntax SyntaxArena.swift
[61/199] Compiling SwiftSyntax SyntaxChildren.swift
[62/199] Compiling SwiftSyntax SyntaxClassifier.swift
[63/199] Compiling SwiftSyntax SyntaxData.swift
[68/199] Compiling SwiftSyntax Utils.swift
[69/199] Compiling SwiftSyntax _SyntaxParserInterop.swift
[70/199] Compiling SwiftSyntax Misc.swift
[71/199] Compiling SwiftSyntax RawSyntaxNodes.swift
[72/199] Compiling SystemPackage Util+StringArray.swift
[73/199] Compiling SystemPackage Util.swift
[74/199] Compiling SystemPackage UtilConsumers.swift
[75/199] Emitting module SystemPackage
BUILD FAILURE 6.2 wasm