Build Information
Failed to build swift-package-factory, reference master (babb16
), with Swift 6.1 for Wasm on 28 May 2025 14:29:10 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/tayloraswift/swift-package-factory.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/tayloraswift/swift-package-factory
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at babb16e swift-DEVELOPMENT-SNAPSHOT-2022-12-17-a
Cloned https://github.com/tayloraswift/swift-package-factory.git
Revision (git rev-parse @):
babb16e83198e53da6541cb19978d3e3356a3ab8
SUCCESS checkout https://github.com/tayloraswift/swift-package-factory.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/tayloraswift/swift-package-factory.git
https://github.com/tayloraswift/swift-package-factory.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-system-extras",
"requirement" : {
"range" : [
{
"lower_bound" : "0.2.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/kelvin13/swift-system-extras.git"
},
{
"identity" : "swift-syntax",
"requirement" : {
"branch" : [
"swift-DEVELOPMENT-SNAPSHOT-2022-12-17-a"
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-syntax.git"
}
],
"manifest_display_name" : "swift-package-factory",
"name" : "swift-package-factory",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "11.0"
}
],
"products" : [
{
"name" : "swift-package-factory",
"targets" : [
"swift-package-factory"
],
"type" : {
"executable" : null
}
},
{
"name" : "Factory",
"targets" : [
"Factory"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "FactoryPlugin",
"targets" : [
"FactoryPlugin"
],
"type" : {
"plugin" : null
}
}
],
"targets" : [
{
"c99name" : "swift_package_factory",
"module_type" : "SwiftTarget",
"name" : "swift-package-factory",
"path" : "Sources/swift-package-factory",
"product_memberships" : [
"swift-package-factory",
"FactoryPlugin"
],
"sources" : [
"Main.swift"
],
"target_dependencies" : [
"Factory"
],
"type" : "executable"
},
{
"c99name" : "ValidExamples",
"module_type" : "SwiftTarget",
"name" : "ValidExamples",
"path" : "Examples/ValidExamples",
"sources" : [
"Basic.spf.swift",
"ContainerTypes.spf.swift",
"DocComments.spf.swift",
"Empty.swift",
"Nested.spf.swift",
"OtherAttributes.spf.swift",
"PrimaryAssociatedtypeDowngrade.spf.swift",
"Scopes.spf.swift",
"Zip.spf.swift"
],
"type" : "library"
},
{
"c99name" : "InvalidExamples",
"module_type" : "SwiftTarget",
"name" : "InvalidExamples",
"path" : "Examples/InvalidExamples",
"sources" : [
"InvalidMatrix.spf.swift"
],
"type" : "library"
},
{
"c99name" : "FactoryPlugin",
"module_type" : "PluginTarget",
"name" : "FactoryPlugin",
"path" : "Plugins/FactoryPlugin",
"plugin_capability" : {
"intent" : {
"description" : "generate swift sources from factory sources",
"type" : "custom",
"verb" : "factory"
},
"permissions" : [
{
"network_scope" : {
"none" : {
}
},
"reason" : "factory emits source files",
"type" : "writeToPackageDirectory"
}
],
"type" : "command"
},
"product_memberships" : [
"FactoryPlugin"
],
"sources" : [
"Main.swift",
"MissingTargetError.swift",
"ToolError.swift"
],
"target_dependencies" : [
"swift-package-factory"
],
"type" : "plugin"
},
{
"c99name" : "Factory",
"module_type" : "SwiftTarget",
"name" : "Factory",
"path" : "Sources/Factory",
"product_dependencies" : [
"SystemExtras",
"SwiftSyntax",
"SwiftSyntaxParser",
"SwiftSyntaxBuilder"
],
"product_memberships" : [
"swift-package-factory",
"Factory",
"FactoryPlugin"
],
"sources" : [
"Error.swift",
"Factory.swift",
"Instantiator.swift",
"LexicalScope.swift",
"Loop.swift",
"MatrixElement.swift",
"Transformer.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
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/apple/swift-syntax.git
[1/70449] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (7.78s)
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.29s)
Computing version for https://github.com/kelvin13/swift-system-extras.git
Computed https://github.com/kelvin13/swift-system-extras.git at 0.2.0 (0.89s)
Fetching https://github.com/apple/swift-system.git
[1/4391] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.98s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (1.50s)
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-12-17-a (e048c1c)
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/kelvin13/swift-system-extras.git
Working copy of https://github.com/kelvin13/swift-system-extras.git resolved at 0.2.0
warning: 'spi-builder-workspace': found 8 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Examples/ValidExamples/Scopes.spf
/host/spi-builder-workspace/Examples/ValidExamples/OtherAttributes.spf
/host/spi-builder-workspace/Examples/ValidExamples/DocComments.spf
/host/spi-builder-workspace/Examples/ValidExamples/PrimaryAssociatedtypeDowngrade.spf
/host/spi-builder-workspace/Examples/ValidExamples/Basic.spf
/host/spi-builder-workspace/Examples/ValidExamples/ContainerTypes.spf
/host/spi-builder-workspace/Examples/ValidExamples/Nested.spf
/host/spi-builder-workspace/Examples/ValidExamples/Zip.spf
warning: 'spi-builder-workspace': found 7 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Examples/InvalidExamples/IdentifierSafety.spf
/host/spi-builder-workspace/Examples/InvalidExamples/InvalidRetroProtocol.spf
/host/spi-builder-workspace/Examples/InvalidExamples/InvalidBasis.spf
/host/spi-builder-workspace/Examples/InvalidExamples/InvalidRetro.spf
/host/spi-builder-workspace/Examples/InvalidExamples/InvalidMatrix.spf
/host/spi-builder-workspace/Examples/InvalidExamples/InvalidBasisSyntax.spf
/host/spi-builder-workspace/Examples/InvalidExamples/UndefinedBasis.spf
[1/1] Compiling plugin FactoryPlugin
Building for debugging...
[1/66] Write sources
[25/66] Compiling CSystem shims.c
[27/66] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[29/209] 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)
[31/215] Compiling ValidExamples Scopes.spf.swift
[32/216] Emitting module ValidExamples
[33/216] Emitting module InvalidExamples
[34/216] Compiling InvalidExamples 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
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
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
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
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
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
12 |
13 | #if NEVER
[35/216] Compiling ValidExamples Empty.swift
[36/216] Compiling ValidExamples DocComments.spf.swift
[37/217] Compiling ValidExamples Basic.spf.swift
[38/217] Compiling ValidExamples ContainerTypes.spf.swift
[39/217] Compiling ValidExamples OtherAttributes.spf.swift
[40/217] Compiling ValidExamples Nested.spf.swift
[41/217] Compiling ValidExamples PrimaryAssociatedtypeDowngrade.spf.swift
[42/217] Compiling SystemPackage Util+StringArray.swift
[43/217] Compiling SystemPackage Util.swift
[44/217] Compiling SystemPackage UtilConsumers.swift
[45/217] Compiling SystemPackage MachPort.swift
[46/217] Compiling SwiftSyntax SyntaxEnum.swift
[47/217] Compiling SwiftSyntax SyntaxKind.swift
[50/217] Compiling SystemPackage FilePathSyntax.swift
[51/217] Compiling SystemPackage FilePathTemp.swift
[52/217] Compiling SystemPackage Errno.swift
[53/217] Compiling SystemPackage ErrnoWindows.swift
[54/217] Compiling SystemPackage FileDescriptor.swift
[55/217] Compiling SystemPackage FileHelpers.swift
[56/217] Compiling SystemPackage FileOperations.swift
[57/217] Compiling SystemPackage FilePath.swift
[58/217] Compiling SystemPackage FilePathComponentView.swift
[59/217] Compiling SystemPackage FilePathComponents.swift
[60/217] Compiling SystemPackage CInterop.swift
[61/217] Compiling SystemPackage Constants.swift
[62/217] Compiling SystemPackage Exports.swift
[63/217] Compiling SystemPackage Mocking.swift
[64/217] Compiling SystemPackage RawBuffer.swift
[72/222] Compiling SwiftSyntax SourceLocation.swift
[73/222] Compiling SwiftSyntax SourcePresence.swift
[74/222] Compiling SwiftSyntax Syntax.swift
[75/222] Compiling SystemPackage FilePermissions.swift
[76/222] Compiling SystemPackage Backcompat.swift
[77/222] Compiling ValidExamples Zip.spf.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: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 |
[81/223] Compiling SwiftSyntax Misc.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 |
[82/223] Compiling SwiftSyntax SyntaxAnyVisitor.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)
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
warning: 'spi-builder-workspace': found 8 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Examples/ValidExamples/Nested.spf
/host/spi-builder-workspace/Examples/ValidExamples/ContainerTypes.spf
/host/spi-builder-workspace/Examples/ValidExamples/DocComments.spf
/host/spi-builder-workspace/Examples/ValidExamples/OtherAttributes.spf
/host/spi-builder-workspace/Examples/ValidExamples/PrimaryAssociatedtypeDowngrade.spf
/host/spi-builder-workspace/Examples/ValidExamples/Basic.spf
/host/spi-builder-workspace/Examples/ValidExamples/Zip.spf
/host/spi-builder-workspace/Examples/ValidExamples/Scopes.spf
warning: 'spi-builder-workspace': found 7 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Examples/InvalidExamples/InvalidBasisSyntax.spf
/host/spi-builder-workspace/Examples/InvalidExamples/InvalidRetroProtocol.spf
/host/spi-builder-workspace/Examples/InvalidExamples/UndefinedBasis.spf
/host/spi-builder-workspace/Examples/InvalidExamples/InvalidBasis.spf
/host/spi-builder-workspace/Examples/InvalidExamples/IdentifierSafety.spf
/host/spi-builder-workspace/Examples/InvalidExamples/InvalidMatrix.spf
/host/spi-builder-workspace/Examples/InvalidExamples/InvalidRetro.spf
[0/1] Planning build
[1/1] Compiling plugin FactoryPlugin
Building for debugging...
[1/40] Write swift-version-24593BA9C3E375BF.txt
[3/84] Compiling InvalidExamples 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
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
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
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
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
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
12 |
13 | #if NEVER
[4/89] Emitting module InvalidExamples
[5/103] Emitting module ValidExamples
[6/119] Compiling ValidExamples Empty.swift
[7/128] Compiling ValidExamples PrimaryAssociatedtypeDowngrade.spf.swift
[8/128] Compiling ValidExamples Scopes.spf.swift
[10/185] Compiling ValidExamples DocComments.spf.swift
[11/185] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[12/185] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[13/185] Compiling ValidExamples Nested.spf.swift
[14/185] Compiling ValidExamples OtherAttributes.spf.swift
[15/185] Compiling ValidExamples Zip.spf.swift
[17/186] Compiling SwiftSyntax SourceLocation.swift
/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)
[18/186] Compiling SwiftSyntax SourcePresence.swift
/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)
[19/186] Compiling SwiftSyntax Syntax.swift
/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)
[20/186] Compiling SwiftSyntax SyntaxArena.swift
/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)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[21/189] 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)
[24/189] Compiling SwiftSyntax RawSyntaxTokenView.swift
[25/189] Compiling SwiftSyntax RawSyntaxNodes.swift
[26/189] Compiling SwiftSyntax SyntaxChildren.swift
[27/189] Compiling SwiftSyntax SyntaxData.swift
[28/189] Compiling SwiftSyntax SyntaxOtherNodes.swift
[29/189] Compiling SwiftSyntax SyntaxText.swift
[30/189] Compiling SwiftSyntax SyntaxBaseNodes.swift
[31/189] Compiling SwiftSyntax SyntaxEnum.swift
[32/189] Compiling SwiftSyntax SyntaxKind.swift
[33/189] 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 |
[34/189] Compiling SwiftSyntax Utils.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 |
[35/189] Compiling SwiftSyntax Misc.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 |
[36/189] Compiling SwiftSyntax SyntaxAnyVisitor.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 |
[37/189] Compiling SwiftSyntax CommonAncestor.swift
[38/189] Compiling SwiftSyntax IncrementalParseTransition.swift
[39/189] Compiling SwiftSyntax MemoryLayout.swift
[40/189] Compiling SwiftSyntax RawSyntax.swift
[41/189] Compiling SystemPackage Util+StringArray.swift
[42/189] Compiling SystemPackage Util.swift
[43/189] Compiling SystemPackage UtilConsumers.swift
[44/189] Compiling SwiftSyntax RawSyntaxValidation.swift
[45/189] Compiling SwiftSyntax SourceLength.swift
[46/189] Compiling SwiftSyntax AbsolutePosition.swift
[47/189] Compiling SwiftSyntax BumpPtrAllocator.swift
[48/189] Emitting module SystemPackage
BUILD FAILURE 6.1 wasm