Build Information
Failed to build ZIPFoundation, reference 0.0.5 (649393), with Swift 6.1 for Wasm on 30 May 2025 18:02:18 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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/gregcotten/ZIPFoundationModern.git
Reference: 0.0.5
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/gregcotten/ZIPFoundationModern
* tag 0.0.5 -> FETCH_HEAD
HEAD is now at 649393f claw back macOS requirement to 10.15
Cloned https://github.com/gregcotten/ZIPFoundationModern.git
Revision (git rev-parse @):
649393f312e1cd0e6dabc1e28cacaaaf7204c766
SUCCESS checkout https://github.com/gregcotten/ZIPFoundationModern.git at 0.0.5
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/gregcotten/ZIPFoundationModern.git
https://github.com/gregcotten/ZIPFoundationModern.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-system",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-system"
},
{
"identity" : "csprogress",
"requirement" : {
"range" : [
{
"lower_bound" : "0.0.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/gregcotten/CSProgress"
},
{
"identity" : "zlib",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/the-swift-collective/zlib"
}
],
"manifest_display_name" : "ZIPFoundation",
"name" : "ZIPFoundation",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "12.0"
},
{
"name" : "tvos",
"version" : "12.0"
},
{
"name" : "watchos",
"version" : "4.0"
}
],
"products" : [
{
"name" : "ZIPFoundation",
"targets" : [
"ZIPFoundation"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ZIPFoundationTests",
"module_type" : "SwiftTarget",
"name" : "ZIPFoundationTests",
"path" : "Tests/ZIPFoundationTests",
"resources" : [
{
"path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testAddDirectoryToArchiveWithZIP64LFHOffset.zip",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testAddEntryToArchiveWithZIP64LFHOffset.zip",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testArchiveAddCompressedEntryProgress.png",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testArchiveAddCompressedEntryProgress.zip",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testArchiveAddEntryErrorConditions.zip",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testArchiveAddUncompressedEntryProgress.png",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testArchiveAddUncompressedEntryProgress.zip",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testArchiveIteratorErrorConditions.zip",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testCRC32Calculation.data",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testCRC32Check.zip",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testCorruptFileErrorConditions.zip",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testCorruptSymbolicLinkErrorConditions.zip",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testCreateArchiveAddCompressedEntry.png",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testCreateArchiveAddCompressedEntryToMemory.png",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testCreateArchiveAddEntryErrorConditions.txt",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testCreateArchiveAddSymbolicLink.png",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testCreateArchiveAddUncompressedEntry.png",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testCreateArchiveAddUncompressedEntryToMemory.png",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testCreateArchiveAddZeroSizeCompressedEntry.txt",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testCreateArchiveAddZeroSizeUncompressedEntry.txt",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testCreateZIP64ArchiveAddUncompressedEntry.png",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testDetectEntryType.zip",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testEntryIsCompressed.zip",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testExtractCompressedDataDescriptorArchive.zip",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testExtractCompressedEntryCancelation.zip",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testExtractCompressedFolderEntries.zip",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testExtractCompressedFolderEntriesFromMemory.zip",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testExtractCompressedZIP64Entries.zip",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testExtractEncryptedArchiveErrorConditions.zip",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testExtractEntryWithZIP64DataDescriptor.zip",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testExtractErrorConditions.zip",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testExtractInvalidBufferSizeErrorConditions.zip",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testExtractMSDOSArchive.zip",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testExtractPreferredEncoding.zip",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testExtractUncompressedDataDescriptorArchive.zip",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testExtractUncompressedEmptyFile.zip",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testExtractUncompressedEntryCancelation.zip",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testExtractUncompressedFolderEntries.zip",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testExtractUncompressedFolderEntriesFromMemory.zip",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testExtractUncompressedZIP64Entries.zip",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testFileModificationDate.png",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testInvalidCompressionMethodErrorConditions.zip",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testPOSIXPermissions.png",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testProgressHelpers.zip",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testRemoveCompressedEntry.zip",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testRemoveDataDescriptorCompressedEntry.zip",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testRemoveEntryErrorConditions.zip",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testRemoveEntryFromArchiveWithZIP64EOCD.zip",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testRemoveEntryProgress.zip",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testRemoveEntryWithZIP64ExtendedInformation.zip",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testRemoveUncompressedEntry.zip",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testRemoveZIP64EntryFromArchiveWithZIP64EOCD.zip",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testTraversalAttack.zip",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testUnzipCompressedZIP64Item.zip",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testUnzipItem.zip",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testUnzipItemErrorConditions.png",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testUnzipItemErrorConditions.zip",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testUnzipItemProgress.zip",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testUnzipItemWithPreferredEncoding.zip",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testUnzipItemWithZIP64DataDescriptor.zip",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testUnzipUncompressedZIP64Item.zip",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testUpdateArchiveRemoveUncompressedEntryFromMemory.zip",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testZIP64ArchiveAddEntryProgress.png",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testZIP64ArchiveAddEntryProgress.zip",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testZipCompressedZIP64Item.png",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testZipItem.png",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testZipItemProgress.png",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testZipUncompressedZIP64Item.png",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"ZIPFoundationArchiveTests+ZIP64.swift",
"ZIPFoundationArchiveTests.swift",
"ZIPFoundationDataSerializationTests.swift",
"ZIPFoundationEntryTests+ZIP64.swift",
"ZIPFoundationEntryTests.swift",
"ZIPFoundationErrorConditionTests+ZIP64.swift",
"ZIPFoundationErrorConditionTests.swift",
"ZIPFoundationFileManagerTests+ZIP64.swift",
"ZIPFoundationFileManagerTests.swift",
"ZIPFoundationMemoryTests.swift",
"ZIPFoundationPerformanceTests.swift",
"ZIPFoundationProgressTests.swift",
"ZIPFoundationReadingTests+ZIP64.swift",
"ZIPFoundationReadingTests.swift",
"ZIPFoundationTests.swift",
"ZIPFoundationWritingTests+ZIP64.swift",
"ZIPFoundationWritingTests.swift"
],
"target_dependencies" : [
"ZIPFoundation"
],
"type" : "test"
},
{
"c99name" : "ZIPFoundation",
"module_type" : "SwiftTarget",
"name" : "ZIPFoundation",
"path" : "Sources/ZIPFoundation",
"product_dependencies" : [
"SystemPackage",
"CSProgress",
"ZLib"
],
"product_memberships" : [
"ZIPFoundation"
],
"sources" : [
"Archive+BackingConfiguration.swift",
"Archive+Helpers.swift",
"Archive+MemoryFile.swift",
"Archive+Progress.swift",
"Archive+Reading.swift",
"Archive+Writing.swift",
"Archive+ZIP64.swift",
"Archive.swift",
"ArchiveHandle.swift",
"ConcurrencyShims.swift",
"Data+Compression.swift",
"Data+Serialization.swift",
"Entry+Serialization.swift",
"Entry+ZIP64.swift",
"Entry.swift",
"FileHandle+Extensions.swift",
"FileManager+ZIP.swift",
"URL+ZIP.swift",
"Windows+POSIX.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/gregcotten/CSProgress
Fetching https://github.com/apple/swift-system
Fetching https://github.com/the-swift-collective/zlib
[1/239] Fetching csprogress
[240/287] Fetching csprogress, zlib
[288/4678] Fetching csprogress, zlib, swift-system
Fetched https://github.com/the-swift-collective/zlib from cache (0.29s)
[942/4630] Fetching csprogress, swift-system
Fetched https://github.com/gregcotten/CSProgress from cache (0.48s)
Fetched https://github.com/apple/swift-system from cache (0.48s)
Computing version for https://github.com/gregcotten/CSProgress
Computed https://github.com/gregcotten/CSProgress at 0.0.1 (1.21s)
Computing version for https://github.com/the-swift-collective/zlib
Computed https://github.com/the-swift-collective/zlib at 1.3.2 (1.94s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.5.0 (0.75s)
Creating working copy for https://github.com/gregcotten/CSProgress
Working copy of https://github.com/gregcotten/CSProgress resolved at 0.0.1
Creating working copy for https://github.com/the-swift-collective/zlib
Working copy of https://github.com/the-swift-collective/zlib resolved at 1.3.2
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.5.0
Building for debugging...
[0/5] Write sources
[3/5] Compiling CSystem shims.c
[4/5] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/35] 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)
[7/38] Compiling SystemPackage FilePathTempPosix.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)
[8/38] Compiling SystemPackage FilePathTempWindows.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)
[9/38] Compiling SystemPackage FilePathWindows.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)
[10/38] Compiling SystemPackage FilePermissions.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)
[11/38] Compiling SystemPackage Util+StringArray.swift
[12/38] Compiling SystemPackage Util.swift
[13/38] Compiling SystemPackage UtilConsumers.swift
[14/38] Compiling SystemPackage MachPort.swift
[15/38] Compiling SystemPackage PlatformString.swift
[16/38] Compiling SystemPackage SystemString.swift
[17/38] Compiling SystemPackage FileOperations.swift
[18/38] Compiling SystemPackage FilePath.swift
[19/38] Compiling SystemPackage FilePathComponentView.swift
[20/38] Compiling SystemPackage FilePathComponents.swift
[21/38] Compiling SystemPackage Errno.swift
[22/38] Compiling SystemPackage ErrnoWindows.swift
[23/38] Compiling SystemPackage FileDescriptor.swift
[24/38] Compiling SystemPackage FileHelpers.swift
[25/38] Compiling SystemPackage Mocking.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 |
[26/38] Compiling SystemPackage RawBuffer.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 |
[27/38] Compiling SystemPackage Syscalls.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 |
[28/38] Compiling SystemPackage WindowsSyscallAdapters.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 |
[29/38] Compiling SystemPackage FilePathParsing.swift
[30/38] Compiling SystemPackage FilePathString.swift
[31/38] Compiling SystemPackage FilePathSyntax.swift
[32/38] Compiling SystemPackage FilePathTemp.swift
[33/38] Compiling SystemPackage Backcompat.swift
[34/38] Compiling SystemPackage CInterop.swift
[35/38] Compiling SystemPackage Constants.swift
[36/38] Compiling SystemPackage Exports.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[37/38] Emitting module CSProgress
/host/spi-builder-workspace/.build/checkouts/CSProgress/Sources/CSProgress/CSProgress.swift:210:35: error: cannot find 'DispatchSemaphore' in scope
208 |
209 | // The access semaphore, allowing us to be thread-safe. A semaphore was chosen, because it performs better here than an NSLock or a dispatch queue.
210 | private var accessSemaphore = DispatchSemaphore(value: 1)
| `- error: cannot find 'DispatchSemaphore' in scope
211 |
212 | // The parent progress object.
/host/spi-builder-workspace/.build/checkouts/CSProgress/Sources/CSProgress/CSProgress.swift:409:20: error: cannot find type 'OperationQueue' in scope
407 | private struct CancellationNotificationWrapper {
408 | let notification: CancellationNotification
409 | let queue: OperationQueue
| `- error: cannot find type 'OperationQueue' in scope
410 | }
411 |
/host/spi-builder-workspace/.build/checkouts/CSProgress/Sources/CSProgress/CSProgress.swift:414:20: error: cannot find type 'OperationQueue' in scope
412 | private struct FractionCompletedNotificationWrapper {
413 | let notification: FractionCompletedNotification
414 | let queue: OperationQueue
| `- error: cannot find type 'OperationQueue' in scope
415 | }
416 |
/host/spi-builder-workspace/.build/checkouts/CSProgress/Sources/CSProgress/CSProgress.swift:419:20: error: cannot find type 'OperationQueue' in scope
417 | private struct DescriptionNotificationWrapper {
418 | let notification: DescriptionNotification
419 | let queue: OperationQueue
| `- error: cannot find type 'OperationQueue' in scope
420 | }
421 |
/host/spi-builder-workspace/.build/checkouts/CSProgress/Sources/CSProgress/CSProgress.swift:429:62: error: cannot find type 'OperationQueue' in scope
427 | // The add...Notification() methods return an identifier which can be later sent to remove...Notification() to remove the notification.
428 |
429 | private func _addCancellationNotification(onQueue queue: OperationQueue, notification: @escaping CancellationNotification) -> Any {
| `- error: cannot find type 'OperationQueue' in scope
430 | let uuid = UUID()
431 |
/host/spi-builder-workspace/.build/checkouts/CSProgress/Sources/CSProgress/CSProgress.swift:453:60: error: cannot find type 'OperationQueue' in scope
451 | - returns: An opaque value that can be passed to removeCancellationNotification() to de-register the notification.
452 | */
453 | public func addCancellationNotification(onQueue queue: OperationQueue = .main, notification: @escaping CancellationNotification) -> Any {
| `- error: cannot find type 'OperationQueue' in scope
454 | self.accessSemaphore.wait()
455 | defer { self.accessSemaphore.signal() }
/host/spi-builder-workspace/.build/checkouts/CSProgress/Sources/CSProgress/CSProgress.swift:478:67: error: cannot find type 'OperationQueue' in scope
476 | }
477 |
478 | private func _addFractionCompletedNotification(onQueue queue: OperationQueue, notification: @escaping FractionCompletedNotification) -> Any {
| `- error: cannot find type 'OperationQueue' in scope
479 | let uuid = UUID()
480 |
/host/spi-builder-workspace/.build/checkouts/CSProgress/Sources/CSProgress/CSProgress.swift:499:84: error: cannot find type 'OperationQueue' in scope
497 | - returns: An opaque value that can be passed to removeFractionCompletedNotification() to de-register the notification.
498 | */
499 | @discardableResult public func addFractionCompletedNotification(onQueue queue: OperationQueue = .main, notification: @escaping FractionCompletedNotification) -> Any {
| `- error: cannot find type 'OperationQueue' in scope
500 | self.accessSemaphore.wait()
501 | defer { self.accessSemaphore.signal() }
/host/spi-builder-workspace/.build/checkouts/CSProgress/Sources/CSProgress/CSProgress.swift:524:61: error: cannot find type 'OperationQueue' in scope
522 | }
523 |
524 | private func _addDescriptionNotification(onQueue queue: OperationQueue, notification: @escaping DescriptionNotification) -> Any {
| `- error: cannot find type 'OperationQueue' in scope
525 | let uuid = UUID()
526 |
/host/spi-builder-workspace/.build/checkouts/CSProgress/Sources/CSProgress/CSProgress.swift:545:78: error: cannot find type 'OperationQueue' in scope
543 | - returns: An opaque value that can be passed to removeDescriptionNotification() to de-register the notification.
544 | */
545 | @discardableResult public func addDescriptionNotification(onQueue queue: OperationQueue = .main, notification: @escaping DescriptionNotification) -> Any {
| `- error: cannot find type 'OperationQueue' in scope
546 | self.accessSemaphore.wait()
547 | defer { self.accessSemaphore.signal() }
/host/spi-builder-workspace/.build/checkouts/CSProgress/Sources/CSProgress/CSProgress.swift:715:134: error: cannot find type 'OperationQueue' in scope
713 | This parameter defaults to the main operation queue.
714 | */
715 | public convenience init<Count: BinaryInteger>(totalUnitCount: Count, granularity: Double = CSProgress.defaultGranularity, queue: OperationQueue = .main) {
| `- error: cannot find type 'OperationQueue' in scope
716 | #if os(macOS) || os(iOS) || os(watchOS) || os(tvOS)
717 | let allowBridge = true
/host/spi-builder-workspace/.build/checkouts/CSProgress/Sources/CSProgress/CSProgress.swift:760:99: error: cannot find type 'OperationQueue' in scope
758 | This parameter defaults to the main operation queue.
759 | */
760 | public func becomeCurrent<Count: BinaryInteger>(withPendingUnitCount unitCount: Count, queue: OperationQueue = .main) {
| `- error: cannot find type 'OperationQueue' in scope
761 | CSProgress._current = ParentReference(progress: self, pendingUnitCount: UnitCount(unitCount))
762 |
/host/spi-builder-workspace/.build/checkouts/CSProgress/Sources/CSProgress/CSProgress.swift:210:35: error: cannot find 'DispatchSemaphore' in scope
208 |
209 | // The access semaphore, allowing us to be thread-safe. A semaphore was chosen, because it performs better here than an NSLock or a dispatch queue.
210 | private var accessSemaphore = DispatchSemaphore(value: 1)
| `- error: cannot find 'DispatchSemaphore' in scope
211 |
212 | // The parent progress object.
/host/spi-builder-workspace/.build/checkouts/CSProgress/Sources/CSProgress/CSProgress.swift:409:20: error: cannot find type 'OperationQueue' in scope
407 | private struct CancellationNotificationWrapper {
408 | let notification: CancellationNotification
409 | let queue: OperationQueue
| `- error: cannot find type 'OperationQueue' in scope
410 | }
411 |
/host/spi-builder-workspace/.build/checkouts/CSProgress/Sources/CSProgress/CSProgress.swift:414:20: error: cannot find type 'OperationQueue' in scope
412 | private struct FractionCompletedNotificationWrapper {
413 | let notification: FractionCompletedNotification
414 | let queue: OperationQueue
| `- error: cannot find type 'OperationQueue' in scope
415 | }
416 |
/host/spi-builder-workspace/.build/checkouts/CSProgress/Sources/CSProgress/CSProgress.swift:419:20: error: cannot find type 'OperationQueue' in scope
417 | private struct DescriptionNotificationWrapper {
418 | let notification: DescriptionNotification
419 | let queue: OperationQueue
| `- error: cannot find type 'OperationQueue' in scope
420 | }
421 |
/host/spi-builder-workspace/.build/checkouts/CSProgress/Sources/CSProgress/CSProgress.swift:429:62: error: cannot find type 'OperationQueue' in scope
427 | // The add...Notification() methods return an identifier which can be later sent to remove...Notification() to remove the notification.
428 |
429 | private func _addCancellationNotification(onQueue queue: OperationQueue, notification: @escaping CancellationNotification) -> Any {
| `- error: cannot find type 'OperationQueue' in scope
430 | let uuid = UUID()
431 |
/host/spi-builder-workspace/.build/checkouts/CSProgress/Sources/CSProgress/CSProgress.swift:453:60: error: cannot find type 'OperationQueue' in scope
451 | - returns: An opaque value that can be passed to removeCancellationNotification() to de-register the notification.
452 | */
453 | public func addCancellationNotification(onQueue queue: OperationQueue = .main, notification: @escaping CancellationNotification) -> Any {
| `- error: cannot find type 'OperationQueue' in scope
454 | self.accessSemaphore.wait()
455 | defer { self.accessSemaphore.signal() }
/host/spi-builder-workspace/.build/checkouts/CSProgress/Sources/CSProgress/CSProgress.swift:478:67: error: cannot find type 'OperationQueue' in scope
476 | }
477 |
478 | private func _addFractionCompletedNotification(onQueue queue: OperationQueue, notification: @escaping FractionCompletedNotification) -> Any {
| `- error: cannot find type 'OperationQueue' in scope
479 | let uuid = UUID()
480 |
/host/spi-builder-workspace/.build/checkouts/CSProgress/Sources/CSProgress/CSProgress.swift:499:84: error: cannot find type 'OperationQueue' in scope
497 | - returns: An opaque value that can be passed to removeFractionCompletedNotification() to de-register the notification.
498 | */
499 | @discardableResult public func addFractionCompletedNotification(onQueue queue: OperationQueue = .main, notification: @escaping FractionCompletedNotification) -> Any {
| `- error: cannot find type 'OperationQueue' in scope
500 | self.accessSemaphore.wait()
501 | defer { self.accessSemaphore.signal() }
/host/spi-builder-workspace/.build/checkouts/CSProgress/Sources/CSProgress/CSProgress.swift:524:61: error: cannot find type 'OperationQueue' in scope
522 | }
523 |
524 | private func _addDescriptionNotification(onQueue queue: OperationQueue, notification: @escaping DescriptionNotification) -> Any {
| `- error: cannot find type 'OperationQueue' in scope
525 | let uuid = UUID()
526 |
/host/spi-builder-workspace/.build/checkouts/CSProgress/Sources/CSProgress/CSProgress.swift:545:78: error: cannot find type 'OperationQueue' in scope
543 | - returns: An opaque value that can be passed to removeDescriptionNotification() to de-register the notification.
544 | */
545 | @discardableResult public func addDescriptionNotification(onQueue queue: OperationQueue = .main, notification: @escaping DescriptionNotification) -> Any {
| `- error: cannot find type 'OperationQueue' in scope
546 | self.accessSemaphore.wait()
547 | defer { self.accessSemaphore.signal() }
/host/spi-builder-workspace/.build/checkouts/CSProgress/Sources/CSProgress/CSProgress.swift:715:134: error: cannot find type 'OperationQueue' in scope
713 | This parameter defaults to the main operation queue.
714 | */
715 | public convenience init<Count: BinaryInteger>(totalUnitCount: Count, granularity: Double = CSProgress.defaultGranularity, queue: OperationQueue = .main) {
| `- error: cannot find type 'OperationQueue' in scope
716 | #if os(macOS) || os(iOS) || os(watchOS) || os(tvOS)
717 | let allowBridge = true
/host/spi-builder-workspace/.build/checkouts/CSProgress/Sources/CSProgress/CSProgress.swift:760:99: error: cannot find type 'OperationQueue' in scope
758 | This parameter defaults to the main operation queue.
759 | */
760 | public func becomeCurrent<Count: BinaryInteger>(withPendingUnitCount unitCount: Count, queue: OperationQueue = .main) {
| `- error: cannot find type 'OperationQueue' in scope
761 | CSProgress._current = ParentReference(progress: self, pendingUnitCount: UnitCount(unitCount))
762 |
/host/spi-builder-workspace/.build/checkouts/CSProgress/Sources/CSProgress/CSProgress.swift:404:33: error: cannot find 'DispatchSemaphore' in scope
402 | self.backing.removeChild(child)
403 | child.parent = nil
404 | child.accessSemaphore = DispatchSemaphore(value: 1)
| `- error: cannot find 'DispatchSemaphore' in scope
405 | }
406 |
/host/spi-builder-workspace/.build/checkouts/CSProgress/Sources/CSProgress/CSProgress.swift:686:20: error: cannot find 'Thread' in scope
684 | private static var _current: ParentReference? {
685 | get {
686 | return Thread.current.threadDictionary.object(forKey: self.currentProgressKey) as? ParentReference
| `- error: cannot find 'Thread' in scope
687 | }
688 | set {
/host/spi-builder-workspace/.build/checkouts/CSProgress/Sources/CSProgress/CSProgress.swift:690:17: error: cannot find 'Thread' in scope
688 | set {
689 | if let parentRef = newValue {
690 | Thread.current.threadDictionary.setObject(parentRef, forKey: self.currentProgressKey as NSString)
| `- error: cannot find 'Thread' in scope
691 | } else {
692 | Thread.current.threadDictionary.removeObject(forKey: self.currentProgressKey)
/host/spi-builder-workspace/.build/checkouts/CSProgress/Sources/CSProgress/CSProgress.swift:692:17: error: cannot find 'Thread' in scope
690 | Thread.current.threadDictionary.setObject(parentRef, forKey: self.currentProgressKey as NSString)
691 | } else {
692 | Thread.current.threadDictionary.removeObject(forKey: self.currentProgressKey)
| `- error: cannot find 'Thread' in scope
693 | }
694 | }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/31] 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)
[3/34] Compiling SystemPackage Errno.swift
[4/34] Compiling SystemPackage ErrnoWindows.swift
[5/34] Compiling SystemPackage FileDescriptor.swift
[6/34] Compiling SystemPackage FileHelpers.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/34] Emitting module CSProgress
/host/spi-builder-workspace/.build/checkouts/CSProgress/Sources/CSProgress/CSProgress.swift:210:35: error: cannot find 'DispatchSemaphore' in scope
208 |
209 | // The access semaphore, allowing us to be thread-safe. A semaphore was chosen, because it performs better here than an NSLock or a dispatch queue.
210 | private var accessSemaphore = DispatchSemaphore(value: 1)
| `- error: cannot find 'DispatchSemaphore' in scope
211 |
212 | // The parent progress object.
/host/spi-builder-workspace/.build/checkouts/CSProgress/Sources/CSProgress/CSProgress.swift:409:20: error: cannot find type 'OperationQueue' in scope
407 | private struct CancellationNotificationWrapper {
408 | let notification: CancellationNotification
409 | let queue: OperationQueue
| `- error: cannot find type 'OperationQueue' in scope
410 | }
411 |
/host/spi-builder-workspace/.build/checkouts/CSProgress/Sources/CSProgress/CSProgress.swift:414:20: error: cannot find type 'OperationQueue' in scope
412 | private struct FractionCompletedNotificationWrapper {
413 | let notification: FractionCompletedNotification
414 | let queue: OperationQueue
| `- error: cannot find type 'OperationQueue' in scope
415 | }
416 |
/host/spi-builder-workspace/.build/checkouts/CSProgress/Sources/CSProgress/CSProgress.swift:419:20: error: cannot find type 'OperationQueue' in scope
417 | private struct DescriptionNotificationWrapper {
418 | let notification: DescriptionNotification
419 | let queue: OperationQueue
| `- error: cannot find type 'OperationQueue' in scope
420 | }
421 |
/host/spi-builder-workspace/.build/checkouts/CSProgress/Sources/CSProgress/CSProgress.swift:429:62: error: cannot find type 'OperationQueue' in scope
427 | // The add...Notification() methods return an identifier which can be later sent to remove...Notification() to remove the notification.
428 |
429 | private func _addCancellationNotification(onQueue queue: OperationQueue, notification: @escaping CancellationNotification) -> Any {
| `- error: cannot find type 'OperationQueue' in scope
430 | let uuid = UUID()
431 |
/host/spi-builder-workspace/.build/checkouts/CSProgress/Sources/CSProgress/CSProgress.swift:453:60: error: cannot find type 'OperationQueue' in scope
451 | - returns: An opaque value that can be passed to removeCancellationNotification() to de-register the notification.
452 | */
453 | public func addCancellationNotification(onQueue queue: OperationQueue = .main, notification: @escaping CancellationNotification) -> Any {
| `- error: cannot find type 'OperationQueue' in scope
454 | self.accessSemaphore.wait()
455 | defer { self.accessSemaphore.signal() }
/host/spi-builder-workspace/.build/checkouts/CSProgress/Sources/CSProgress/CSProgress.swift:478:67: error: cannot find type 'OperationQueue' in scope
476 | }
477 |
478 | private func _addFractionCompletedNotification(onQueue queue: OperationQueue, notification: @escaping FractionCompletedNotification) -> Any {
| `- error: cannot find type 'OperationQueue' in scope
479 | let uuid = UUID()
480 |
/host/spi-builder-workspace/.build/checkouts/CSProgress/Sources/CSProgress/CSProgress.swift:499:84: error: cannot find type 'OperationQueue' in scope
497 | - returns: An opaque value that can be passed to removeFractionCompletedNotification() to de-register the notification.
498 | */
499 | @discardableResult public func addFractionCompletedNotification(onQueue queue: OperationQueue = .main, notification: @escaping FractionCompletedNotification) -> Any {
| `- error: cannot find type 'OperationQueue' in scope
500 | self.accessSemaphore.wait()
501 | defer { self.accessSemaphore.signal() }
/host/spi-builder-workspace/.build/checkouts/CSProgress/Sources/CSProgress/CSProgress.swift:524:61: error: cannot find type 'OperationQueue' in scope
522 | }
523 |
524 | private func _addDescriptionNotification(onQueue queue: OperationQueue, notification: @escaping DescriptionNotification) -> Any {
| `- error: cannot find type 'OperationQueue' in scope
525 | let uuid = UUID()
526 |
/host/spi-builder-workspace/.build/checkouts/CSProgress/Sources/CSProgress/CSProgress.swift:545:78: error: cannot find type 'OperationQueue' in scope
543 | - returns: An opaque value that can be passed to removeDescriptionNotification() to de-register the notification.
544 | */
545 | @discardableResult public func addDescriptionNotification(onQueue queue: OperationQueue = .main, notification: @escaping DescriptionNotification) -> Any {
| `- error: cannot find type 'OperationQueue' in scope
546 | self.accessSemaphore.wait()
547 | defer { self.accessSemaphore.signal() }
/host/spi-builder-workspace/.build/checkouts/CSProgress/Sources/CSProgress/CSProgress.swift:715:134: error: cannot find type 'OperationQueue' in scope
713 | This parameter defaults to the main operation queue.
714 | */
715 | public convenience init<Count: BinaryInteger>(totalUnitCount: Count, granularity: Double = CSProgress.defaultGranularity, queue: OperationQueue = .main) {
| `- error: cannot find type 'OperationQueue' in scope
716 | #if os(macOS) || os(iOS) || os(watchOS) || os(tvOS)
717 | let allowBridge = true
/host/spi-builder-workspace/.build/checkouts/CSProgress/Sources/CSProgress/CSProgress.swift:760:99: error: cannot find type 'OperationQueue' in scope
758 | This parameter defaults to the main operation queue.
759 | */
760 | public func becomeCurrent<Count: BinaryInteger>(withPendingUnitCount unitCount: Count, queue: OperationQueue = .main) {
| `- error: cannot find type 'OperationQueue' in scope
761 | CSProgress._current = ParentReference(progress: self, pendingUnitCount: UnitCount(unitCount))
762 |
[8/34] Compiling SystemPackage Backcompat.swift
[9/34] Compiling SystemPackage CInterop.swift
[10/34] Compiling SystemPackage Constants.swift
[11/34] Compiling SystemPackage Exports.swift
[12/34] Compiling SystemPackage MachPort.swift
[13/34] Compiling SystemPackage PlatformString.swift
[14/34] Compiling SystemPackage SystemString.swift
[15/34] Compiling CSProgress CSProgress.swift
/host/spi-builder-workspace/.build/checkouts/CSProgress/Sources/CSProgress/CSProgress.swift:210:35: error: cannot find 'DispatchSemaphore' in scope
208 |
209 | // The access semaphore, allowing us to be thread-safe. A semaphore was chosen, because it performs better here than an NSLock or a dispatch queue.
210 | private var accessSemaphore = DispatchSemaphore(value: 1)
| `- error: cannot find 'DispatchSemaphore' in scope
211 |
212 | // The parent progress object.
/host/spi-builder-workspace/.build/checkouts/CSProgress/Sources/CSProgress/CSProgress.swift:409:20: error: cannot find type 'OperationQueue' in scope
407 | private struct CancellationNotificationWrapper {
408 | let notification: CancellationNotification
409 | let queue: OperationQueue
| `- error: cannot find type 'OperationQueue' in scope
410 | }
411 |
/host/spi-builder-workspace/.build/checkouts/CSProgress/Sources/CSProgress/CSProgress.swift:414:20: error: cannot find type 'OperationQueue' in scope
412 | private struct FractionCompletedNotificationWrapper {
413 | let notification: FractionCompletedNotification
414 | let queue: OperationQueue
| `- error: cannot find type 'OperationQueue' in scope
415 | }
416 |
/host/spi-builder-workspace/.build/checkouts/CSProgress/Sources/CSProgress/CSProgress.swift:419:20: error: cannot find type 'OperationQueue' in scope
417 | private struct DescriptionNotificationWrapper {
418 | let notification: DescriptionNotification
419 | let queue: OperationQueue
| `- error: cannot find type 'OperationQueue' in scope
420 | }
421 |
/host/spi-builder-workspace/.build/checkouts/CSProgress/Sources/CSProgress/CSProgress.swift:429:62: error: cannot find type 'OperationQueue' in scope
427 | // The add...Notification() methods return an identifier which can be later sent to remove...Notification() to remove the notification.
428 |
429 | private func _addCancellationNotification(onQueue queue: OperationQueue, notification: @escaping CancellationNotification) -> Any {
| `- error: cannot find type 'OperationQueue' in scope
430 | let uuid = UUID()
431 |
/host/spi-builder-workspace/.build/checkouts/CSProgress/Sources/CSProgress/CSProgress.swift:453:60: error: cannot find type 'OperationQueue' in scope
451 | - returns: An opaque value that can be passed to removeCancellationNotification() to de-register the notification.
452 | */
453 | public func addCancellationNotification(onQueue queue: OperationQueue = .main, notification: @escaping CancellationNotification) -> Any {
| `- error: cannot find type 'OperationQueue' in scope
454 | self.accessSemaphore.wait()
455 | defer { self.accessSemaphore.signal() }
/host/spi-builder-workspace/.build/checkouts/CSProgress/Sources/CSProgress/CSProgress.swift:478:67: error: cannot find type 'OperationQueue' in scope
476 | }
477 |
478 | private func _addFractionCompletedNotification(onQueue queue: OperationQueue, notification: @escaping FractionCompletedNotification) -> Any {
| `- error: cannot find type 'OperationQueue' in scope
479 | let uuid = UUID()
480 |
/host/spi-builder-workspace/.build/checkouts/CSProgress/Sources/CSProgress/CSProgress.swift:499:84: error: cannot find type 'OperationQueue' in scope
497 | - returns: An opaque value that can be passed to removeFractionCompletedNotification() to de-register the notification.
498 | */
499 | @discardableResult public func addFractionCompletedNotification(onQueue queue: OperationQueue = .main, notification: @escaping FractionCompletedNotification) -> Any {
| `- error: cannot find type 'OperationQueue' in scope
500 | self.accessSemaphore.wait()
501 | defer { self.accessSemaphore.signal() }
/host/spi-builder-workspace/.build/checkouts/CSProgress/Sources/CSProgress/CSProgress.swift:524:61: error: cannot find type 'OperationQueue' in scope
522 | }
523 |
524 | private func _addDescriptionNotification(onQueue queue: OperationQueue, notification: @escaping DescriptionNotification) -> Any {
| `- error: cannot find type 'OperationQueue' in scope
525 | let uuid = UUID()
526 |
/host/spi-builder-workspace/.build/checkouts/CSProgress/Sources/CSProgress/CSProgress.swift:545:78: error: cannot find type 'OperationQueue' in scope
543 | - returns: An opaque value that can be passed to removeDescriptionNotification() to de-register the notification.
544 | */
545 | @discardableResult public func addDescriptionNotification(onQueue queue: OperationQueue = .main, notification: @escaping DescriptionNotification) -> Any {
| `- error: cannot find type 'OperationQueue' in scope
546 | self.accessSemaphore.wait()
547 | defer { self.accessSemaphore.signal() }
/host/spi-builder-workspace/.build/checkouts/CSProgress/Sources/CSProgress/CSProgress.swift:715:134: error: cannot find type 'OperationQueue' in scope
713 | This parameter defaults to the main operation queue.
714 | */
715 | public convenience init<Count: BinaryInteger>(totalUnitCount: Count, granularity: Double = CSProgress.defaultGranularity, queue: OperationQueue = .main) {
| `- error: cannot find type 'OperationQueue' in scope
716 | #if os(macOS) || os(iOS) || os(watchOS) || os(tvOS)
717 | let allowBridge = true
/host/spi-builder-workspace/.build/checkouts/CSProgress/Sources/CSProgress/CSProgress.swift:760:99: error: cannot find type 'OperationQueue' in scope
758 | This parameter defaults to the main operation queue.
759 | */
760 | public func becomeCurrent<Count: BinaryInteger>(withPendingUnitCount unitCount: Count, queue: OperationQueue = .main) {
| `- error: cannot find type 'OperationQueue' in scope
761 | CSProgress._current = ParentReference(progress: self, pendingUnitCount: UnitCount(unitCount))
762 |
/host/spi-builder-workspace/.build/checkouts/CSProgress/Sources/CSProgress/CSProgress.swift:404:33: error: cannot find 'DispatchSemaphore' in scope
402 | self.backing.removeChild(child)
403 | child.parent = nil
404 | child.accessSemaphore = DispatchSemaphore(value: 1)
| `- error: cannot find 'DispatchSemaphore' in scope
405 | }
406 |
/host/spi-builder-workspace/.build/checkouts/CSProgress/Sources/CSProgress/CSProgress.swift:686:20: error: cannot find 'Thread' in scope
684 | private static var _current: ParentReference? {
685 | get {
686 | return Thread.current.threadDictionary.object(forKey: self.currentProgressKey) as? ParentReference
| `- error: cannot find 'Thread' in scope
687 | }
688 | set {
/host/spi-builder-workspace/.build/checkouts/CSProgress/Sources/CSProgress/CSProgress.swift:690:17: error: cannot find 'Thread' in scope
688 | set {
689 | if let parentRef = newValue {
690 | Thread.current.threadDictionary.setObject(parentRef, forKey: self.currentProgressKey as NSString)
| `- error: cannot find 'Thread' in scope
691 | } else {
692 | Thread.current.threadDictionary.removeObject(forKey: self.currentProgressKey)
/host/spi-builder-workspace/.build/checkouts/CSProgress/Sources/CSProgress/CSProgress.swift:692:17: error: cannot find 'Thread' in scope
690 | Thread.current.threadDictionary.setObject(parentRef, forKey: self.currentProgressKey as NSString)
691 | } else {
692 | Thread.current.threadDictionary.removeObject(forKey: self.currentProgressKey)
| `- error: cannot find 'Thread' in scope
693 | }
694 | }
/host/spi-builder-workspace/.build/checkouts/CSProgress/Sources/CSProgress/CSProgress.swift:730:32: error: module 'Foundation' has no member named 'Progress'
728 | // Prevent double-attaching
729 | parent.resignCurrent()
730 | } else if allowBridge, Foundation.Progress.current() != nil {
| `- error: module 'Foundation' has no member named 'Progress'
731 | #if os(macOS) || os(iOS) || os(watchOS) || os(tvOS)
732 | // We have no way of knowing the current progress's pending unit count, so put a shim in between it and us
[16/34] Compiling SystemPackage Mocking.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 |
[17/34] Compiling SystemPackage RawBuffer.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 |
[18/34] Compiling SystemPackage Syscalls.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 |
[19/34] Compiling SystemPackage WindowsSyscallAdapters.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 |
[20/34] Compiling SystemPackage FilePathTempPosix.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)
[21/34] Compiling SystemPackage FilePathTempWindows.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)
[22/34] Compiling SystemPackage FilePathWindows.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)
[23/34] Compiling SystemPackage FilePermissions.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)
[24/34] Compiling SystemPackage Util+StringArray.swift
[25/34] Compiling SystemPackage Util.swift
[26/34] Compiling SystemPackage UtilConsumers.swift
BUILD FAILURE 6.1 wasm