Build Information
Failed to build MachOKit, reference 0.35.1 (d0b543
), with Swift 6.1 for Wasm on 14 Jun 2025 16:38:11 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/p-x9/MachOKit.git
Reference: 0.35.1
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/p-x9/MachOKit
* tag 0.35.1 -> FETCH_HEAD
HEAD is now at d0b543a Merge pull request #219 from p-x9/fix/char-tuple-comparison
Cloned https://github.com/p-x9/MachOKit.git
Revision (git rev-parse @):
d0b543aa795d83539691b80959b0adb152b072e7
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/p-x9/MachOKit.git at 0.35.1
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/p-x9/MachOKit.git
https://github.com/p-x9/MachOKit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-fileio",
"requirement" : {
"range" : [
{
"lower_bound" : "0.9.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/p-x9/swift-fileio.git"
},
{
"identity" : "swift-crypto",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-crypto.git"
}
],
"manifest_display_name" : "MachOKit",
"name" : "MachOKit",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
},
{
"name" : "tvos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "MachOKit",
"targets" : [
"MachOKit"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "MachOKitC",
"targets" : [
"MachOKitC"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "MachOKitTests",
"module_type" : "SwiftTarget",
"name" : "MachOKitTests",
"path" : "Tests/MachOKitTests",
"sources" : [
"DyldCacheLoadedPrintTests.swift",
"DyldCachePrintTests.swift",
"MachOFilePrintTests.swift",
"MachOKitTests.swift",
"MachOPrintTests.swift"
],
"target_dependencies" : [
"MachOKit"
],
"type" : "test"
},
{
"c99name" : "MachOKitC",
"module_type" : "ClangTarget",
"name" : "MachOKitC",
"path" : "Sources/MachOKitC",
"product_memberships" : [
"MachOKit",
"MachOKitC"
],
"sources" : [
"mach-o-linux.c"
],
"type" : "library"
},
{
"c99name" : "MachOKit",
"module_type" : "SwiftTarget",
"name" : "MachOKit",
"path" : "Sources/MachOKit",
"product_dependencies" : [
"FileIO",
"Crypto"
],
"product_memberships" : [
"MachOKit"
],
"sources" : [
"DyldCache+SubCaches.swift",
"DyldCache+host.swift",
"DyldCache.swift",
"DyldCacheLoaded+SubCaches.swift",
"DyldCacheLoaded+static.swift",
"DyldCacheLoaded.swift",
"Extension/Data+.swift",
"Extension/FileHandle+.swift",
"Extension/FixedWidthInteger+.swift",
"Extension/Sequence+.swift",
"Extension/String+.swift",
"Extension/TrieTreeProtocol+.swift",
"Extension/UUID+.swift",
"Extension/UnsafePointer+.swift",
"Extension/UnsafeRawPointer+.swift",
"Extension/_FileIOProtocol+.swift",
"Extension/dyld_chained_ptr+.swift",
"FatFile.swift",
"Header/CPU.swift",
"Header/CPUSubType.swift",
"Header/CPUType.swift",
"Header/DyldCacheHeader/DyldCacheHeader.swift",
"Header/DyldCacheHeader/DyldCacheType.swift",
"Header/FatHeader/FatArch.swift",
"Header/FatHeader/FatHeader.swift",
"Header/MachHeader/FileType.swift",
"Header/MachHeader/MachHeader+Flags+Bit.swift",
"Header/MachHeader/MachHeader+Flags.swift",
"Header/MachHeader/MachHeader.swift",
"Header/Magic.swift",
"LoadCommand/BuildVersionCommand.swift",
"LoadCommand/DylibCommand.swift",
"LoadCommand/DylibUseCommand.swift",
"LoadCommand/DylinkerCommand.swift",
"LoadCommand/EncryptionInfoCommand.swift",
"LoadCommand/EntryPointCommand.swift",
"LoadCommand/LinkerOptionCommand.swift",
"LoadCommand/LoadCommand.swift",
"LoadCommand/LoadCommandInfo.swift",
"LoadCommand/LoadCommandType.swift",
"LoadCommand/Model/BuildToolVersion.swift",
"LoadCommand/Model/Dylib.swift",
"LoadCommand/Model/DylibUseFlags.swift",
"LoadCommand/Model/Platform.swift",
"LoadCommand/Model/Section+Attribute.swift",
"LoadCommand/Model/Section+Flags.swift",
"LoadCommand/Model/Section+Type.swift",
"LoadCommand/Model/Section.swift",
"LoadCommand/Model/ThreadState.swift",
"LoadCommand/Model/ThreadStateFlavor.swift",
"LoadCommand/Model/Tool.swift",
"LoadCommand/Model/VMProtection.swift",
"LoadCommand/Model/Version.swift",
"LoadCommand/NoteCommand.swift",
"LoadCommand/RpathCommand.swift",
"LoadCommand/SegmentCommand+Flags.swift",
"LoadCommand/SegmentCommand.swift",
"LoadCommand/SourceVersionCommand.swift",
"LoadCommand/TargetTripleCommand.swift",
"LoadCommand/ThreadCommand.swift",
"LoadCommand/UUIDCommand.swift",
"LoadCommand/VersionMinCommand.swift",
"MachOFile+BindOperations.swift",
"MachOFile+CodeSign.swift",
"MachOFile+DyldChainedFixups.swift",
"MachOFile+ExportTrie.swift",
"MachOFile+FunctionStarts.swift",
"MachOFile+LoadCommands.swift",
"MachOFile+RebaseOperations.swift",
"MachOFile+Strings.swift",
"MachOFile+Symbols.swift",
"MachOFile.swift",
"MachOImage+BindOperations.swift",
"MachOImage+CodeSign.swift",
"MachOImage+DyldChainedFixups..swift",
"MachOImage+ExportTrie.swift",
"MachOImage+FunctionStarts.swift",
"MachOImage+LoadCommands.swift",
"MachOImage+RebaseOperations.swift",
"MachOImage+Strings.swift",
"MachOImage+Symbols.swift",
"MachOImage+static.swift",
"MachOImage.swift",
"MachOKit.swift",
"Model/Bind/BindOpcode.swift",
"Model/Bind/BindOperation.swift",
"Model/Bind/BindOperationsKind.swift",
"Model/Bind/BindSpecial.swift",
"Model/Bind/BindType.swift",
"Model/Bind/ClassicBindType.swift",
"Model/BindingSymbol.swift",
"Model/ClassicBindingSymbol.swift",
"Model/Codesign/CodeDirectory/CodeSignCodeDirectory+codeLimit64.swift",
"Model/Codesign/CodeDirectory/CodeSignCodeDirectory+executableSegment.swift",
"Model/Codesign/CodeDirectory/CodeSignCodeDirectory+runtime.swift",
"Model/Codesign/CodeDirectory/CodeSignCodeDirectory+scatter.swift",
"Model/Codesign/CodeDirectory/CodeSignCodeDirectory+teamID.swift",
"Model/Codesign/CodeDirectory/CodeSignCodeDirectory.swift",
"Model/Codesign/CodeSignBlobIndex.swift",
"Model/Codesign/CodeSignExecSegmentFlags.swift",
"Model/Codesign/CodeSignGenericBlob.swift",
"Model/Codesign/CodeSignHashType.swift",
"Model/Codesign/CodeSignMagic.swift",
"Model/Codesign/CodeSignSlot.swift",
"Model/Codesign/CodeSignSpecialSlotType.swift",
"Model/Codesign/CodeSignSuperBlob.swift",
"Model/CoreFoundation/CFString.swift",
"Model/DataInCodeEntry.swift",
"Model/DependedDylib.swift",
"Model/DyldCache/DyldCacheDynamicData.swift",
"Model/DyldCache/DyldCacheFunctionVariantEntry.swift",
"Model/DyldCache/DyldCacheFunctionVariantInfo.swift",
"Model/DyldCache/DyldCacheImageInfo.swift",
"Model/DyldCache/DyldCacheImageTextInfo.swift",
"Model/DyldCache/DyldCacheLocalSymbolsEntry.swift",
"Model/DyldCache/DyldCacheLocalSymbolsInfo.swift",
"Model/DyldCache/DyldCacheMappingAndSlideInfo.swift",
"Model/DyldCache/DyldCacheMappingFlags.swift",
"Model/DyldCache/DyldCacheMappingInfo.swift",
"Model/DyldCache/DyldCachePrewarming.swift",
"Model/DyldCache/DyldCachePrewarmingEntry.swift",
"Model/DyldCache/DyldCacheTproMappingInfo.swift",
"Model/DyldCache/DyldSubCacheEntry.swift",
"Model/DyldCache/DylibIndex.swift",
"Model/DyldCache/DylibsTrieNodeContent.swift",
"Model/DyldCache/Loader/LoaderRef.swift",
"Model/DyldCache/Loader/ObjCBinaryInfo.swift",
"Model/DyldCache/Loader/PrebuiltLoader.swift",
"Model/DyldCache/Loader/PrebuiltLoaderProtocol.swift",
"Model/DyldCache/Loader/PrebuiltLoaderSet.swift",
"Model/DyldCache/Loader/PrebuiltLoader_Pre1165_3.swift",
"Model/DyldCache/Loader/SectionLocations.swift",
"Model/DyldCache/ObjCOptimization/ObjCHeaderInfoRO.swift",
"Model/DyldCache/ObjCOptimization/ObjCHeaderInfoRW.swift",
"Model/DyldCache/ObjCOptimization/ObjCHeaderOptimizationRO.swift",
"Model/DyldCache/ObjCOptimization/ObjCHeaderOptimizationRW.swift",
"Model/DyldCache/ObjCOptimization/ObjCImageInfo.swift",
"Model/DyldCache/ObjCOptimization/ObjCOptimization.swift",
"Model/DyldCache/ObjCOptimization/OldObjCOptimization.swift",
"Model/DyldCache/ProgramOffset.swift",
"Model/DyldCache/ProgramsTrieNodeContent.swift",
"Model/DyldCache/SlideInfo/DyldCacheSlideInfo.swift",
"Model/DyldCache/SlideInfo/DyldCacheSlideInfo1.swift",
"Model/DyldCache/SlideInfo/DyldCacheSlideInfo2.swift",
"Model/DyldCache/SlideInfo/DyldCacheSlideInfo3.swift",
"Model/DyldCache/SlideInfo/DyldCacheSlideInfo4.swift",
"Model/DyldCache/SlideInfo/DyldCacheSlideInfo5.swift",
"Model/DyldCache/SwiftOptimization.swift",
"Model/DyldChain/DyldChainedFixupPointer.swift",
"Model/DyldChain/DyldChainedFixupPointerContent.swift",
"Model/DyldChain/DyldChainedFixupPointerFormat.swift",
"Model/DyldChain/DyldChainedFixupPointerInfo.swift",
"Model/DyldChain/DyldChainedFixupsHeader.swift",
"Model/DyldChain/DyldChainedImport.swift",
"Model/DyldChain/DyldChainedImportFormat.swift",
"Model/DyldChain/DyldChainedPage.swift",
"Model/DyldChain/DyldChainedStartsInImage.swift",
"Model/DyldChain/DyldChainedStartsInSegment.swift",
"Model/DyldChain/DyldChainedStartsOffsets.swift",
"Model/DyldChain/DyldChainedSymbolsFormat.swift",
"Model/Export/ExportSymbolFlags.swift",
"Model/Export/ExportSymbolKind.swift",
"Model/Export/ExportTrieEntry.swift",
"Model/ExportedSymbol.swift",
"Model/FunctionStart.swift",
"Model/IndirectSymbol.swift",
"Model/Rebase.swift",
"Model/Rebase/RebaseOpcode.swift",
"Model/Rebase/RebaseOperation.swift",
"Model/Rebase/RebaseType.swift",
"Model/Relocation/Relocation.swift",
"Model/Relocation/RelocationInfo.swift",
"Model/Relocation/RelocationLength.swift",
"Model/Relocation/RelocationType.swift",
"Model/Relocation/ScatteredRelocationInfo.swift",
"Model/StringTableEntry.swift",
"Model/Symbol/Nlist.swift",
"Model/Symbol/Stab.swift",
"Model/Symbol/SymbolDescription.swift",
"Model/Symbol/SymbolFlags.swift",
"Model/Symbol/SymbolLibraryOrdinalType.swift",
"Model/Symbol/SymbolReferenceFlag.swift",
"Model/Symbol/SymbolType.swift",
"Protocol/CodeSignProtocol.swift",
"Protocol/DyldCacheLocalSymbolsEntryProtocol.swift",
"Protocol/DyldCacheRepresentable.swift",
"Protocol/DyldChainedFixupsProtocol.swift",
"Protocol/DyldChainedImportProtocol.swift",
"Protocol/LayoutWrapper.swift",
"Protocol/LoadCommandWrapper.swift",
"Protocol/LoadCommandsProtocol.swift",
"Protocol/MachORepresentable.swift",
"Protocol/StringTable.swift",
"Protocol/SymbolProtocol.swift",
"Util/BitFlags.swift",
"Util/Sequence/DataSequence.swift",
"Util/Sequence/MemorySequence.swift",
"Util/SwiftDemangle.swift",
"Util/TrieTree/DataTrieTree.swift",
"Util/TrieTree/MemoryTrieTree.swift",
"Util/TrieTree/Model/TrieNode.swift",
"Util/TrieTree/Protocol/TrieNodeContent.swift",
"Util/TrieTree/Protocol/TrieTreeProtocol.swift",
"Util/exported.swift",
"Util/global.swift"
],
"target_dependencies" : [
"MachOKitC"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
warning: 'spi-builder-workspace': /host/spi-builder-workspace/Package.swift:77:1: warning: extension declares a conformance of imported type 'SwiftSetting' to imported protocol 'CaseIterable'; this will not behave correctly if the owners of 'PackageDescription' introduce this conformance in the future
75 | }
76 |
77 | extension SwiftSetting: CaseIterable {
| |- warning: extension declares a conformance of imported type 'SwiftSetting' to imported protocol 'CaseIterable'; this will not behave correctly if the owners of 'PackageDescription' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
78 | public static var allCases: [Self] {
79 | [
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:1f4a86c2403dd7f046762c8271002f713e736861711b4d7bb001b0e60ed1e881
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
warning: 'spi-builder-workspace': /host/spi-builder-workspace/Package.swift:77:1: warning: extension declares a conformance of imported type 'SwiftSetting' to imported protocol 'CaseIterable'; this will not behave correctly if the owners of 'PackageDescription' introduce this conformance in the future
75 | }
76 |
77 | extension SwiftSetting: CaseIterable {
| |- warning: extension declares a conformance of imported type 'SwiftSetting' to imported protocol 'CaseIterable'; this will not behave correctly if the owners of 'PackageDescription' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
78 | public static var allCases: [Self] {
79 | [
Fetching https://github.com/p-x9/swift-fileio.git
Fetching https://github.com/apple/swift-crypto.git
[1/156] Fetching swift-fileio
Fetched https://github.com/p-x9/swift-fileio.git from cache (0.33s)
[1/14906] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (2.35s)
Computing version for https://github.com/p-x9/swift-fileio.git
Computed https://github.com/p-x9/swift-fileio.git at 0.9.0 (3.11s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (6.20s)
Fetching https://github.com/apple/swift-asn1.git
[1/1590] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.54s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (1.76s)
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.3.2
Creating working copy for https://github.com/p-x9/swift-fileio.git
Working copy of https://github.com/p-x9/swift-fileio.git resolved at 0.9.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.12.3
Building for debugging...
[0/366] Write sources
[3/366] Compiling poly1305_arm_asm.S
[3/366] Write sources
[5/366] Compiling MachOKitC mach-o-linux.c
[6/366] Write swift-version-24593BA9C3E375BF.txt
[7/366] Compiling fiat_p256_adx_mul.S
[8/366] Compiling fiat_p256_adx_sqr.S
[9/366] Compiling fiat_curve25519_adx_square.S
[10/366] Compiling CCryptoBoringSSLShims shims.c
[11/366] Compiling fiat_curve25519_adx_mul.S
[12/366] Compiling md5-x86_64-linux.S
[13/366] Compiling md5-x86_64-apple.S
[14/366] Compiling md5-586-linux.S
[15/370] Compiling md5-586-apple.S
[16/370] Compiling poly1305.cc
[17/370] Compiling poly1305_arm.cc
[18/370] Compiling chacha20_poly1305_x86_64-linux.S
[19/370] Compiling chacha20_poly1305_x86_64-apple.S
[20/370] Compiling chacha20_poly1305_armv8-win.S
[21/370] Compiling chacha20_poly1305_armv8-linux.S
[22/370] Compiling chacha20_poly1305_armv8-apple.S
[23/370] Compiling chacha-x86_64-linux.S
[24/370] Compiling chacha-x86_64-apple.S
[25/370] Compiling chacha-x86-apple.S
[26/370] Compiling chacha-x86-linux.S
[27/370] Compiling chacha-armv8-linux.S
[28/370] Compiling chacha-armv8-win.S
[29/370] Compiling chacha-armv4-linux.S
[30/370] Compiling chacha-armv8-apple.S
[31/370] Compiling aes128gcmsiv-x86_64-linux.S
[32/370] Compiling aes128gcmsiv-x86_64-apple.S
[33/370] Compiling x86_64-mont5-linux.S
[34/370] Compiling x86_64-mont5-apple.S
[35/370] Compiling x86_64-mont-linux.S
[36/370] Compiling x86_64-mont-apple.S
[37/370] Compiling x86-mont-apple.S
[38/370] Compiling x86-mont-linux.S
[39/370] Compiling vpaes-x86_64-linux.S
[40/370] Compiling vpaes-x86_64-apple.S
[41/370] Compiling vpaes-x86-linux.S
[42/370] Compiling vpaes-x86-apple.S
[43/370] Compiling vpaes-armv8-win.S
[44/370] Compiling vpaes-armv8-linux.S
[45/370] Compiling vpaes-armv8-apple.S
[46/370] Compiling vpaes-armv7-linux.S
[47/370] Compiling sha512-x86_64-linux.S
[48/370] Compiling sha512-x86_64-apple.S
[49/370] Compiling sha512-armv8-win.S
[50/370] Compiling sha512-armv8-linux.S
[51/370] Compiling p5_pbev2.cc
[52/370] Compiling pkcs8.cc
[53/370] Compiling pkcs8_x509.cc
[54/370] Compiling sha512-armv8-apple.S
[55/370] Compiling err_data.cc
[56/370] Compiling sha512-586-linux.S
[57/370] Compiling sha512-armv4-linux.S
[58/370] Compiling sha256-x86_64-apple.S
[59/370] Compiling sha256-x86_64-linux.S
[60/370] Compiling sha512-586-apple.S
[60/370] Compiling sha256-armv8-win.S
[62/370] Compiling sha256-armv4-linux.S
[63/370] Compiling sha256-armv8-apple.S
[64/370] Compiling sha256-armv8-linux.S
[65/370] Compiling sha256-586-apple.S
[66/370] Compiling sha1-x86_64-apple.S
[67/370] Compiling sha1-x86_64-linux.S
[68/370] Compiling sha256-586-linux.S
[69/370] Compiling sha1-armv8-linux.S
[70/370] Compiling sha1-armv8-win.S
[71/370] Compiling sha1-armv8-apple.S
[72/370] Compiling sha1-armv4-large-linux.S
[73/370] Compiling rsaz-avx2-linux.S
[74/370] Compiling sha1-586-linux.S
[75/370] Compiling rdrand-x86_64-apple.S
[76/370] Compiling sha1-586-apple.S
[77/370] Compiling rdrand-x86_64-linux.S
[78/370] Compiling rsaz-avx2-apple.S
[79/370] Compiling p256_beeu-x86_64-asm-linux.S
[80/370] Compiling p256_beeu-x86_64-asm-apple.S
[81/370] Compiling p256_beeu-armv8-asm-win.S
[82/370] Compiling p256_beeu-armv8-asm-linux.S
[83/370] Compiling p256_beeu-armv8-asm-apple.S
[84/370] Compiling p256-x86_64-asm-linux.S
[85/370] Compiling p256-x86_64-asm-apple.S
[86/370] Compiling p256-armv8-asm-apple.S
[87/370] Compiling p256-armv8-asm-win.S
[88/370] Compiling p256-armv8-asm-linux.S
[89/370] Compiling ghashv8-armv8-win.S
[90/370] Compiling ghashv8-armv8-apple.S
[91/370] Compiling ghashv8-armv8-linux.S
[92/370] Compiling ghashv8-armv7-linux.S
[93/370] Compiling ghash-x86-linux.S
[94/370] Compiling ghash-x86_64-linux.S
[95/370] Compiling ghash-x86_64-apple.S
[96/370] Compiling ghash-x86-apple.S
[97/370] Compiling ghash-ssse3-x86_64-apple.S
[98/370] Compiling ghash-ssse3-x86_64-linux.S
[99/370] Compiling ghash-ssse3-x86-linux.S
[100/370] Compiling ghash-ssse3-x86-apple.S
[101/370] Compiling ghash-neon-armv8-win.S
[102/370] Compiling ghash-neon-armv8-linux.S
[102/370] Compiling co-586-apple.S
[104/370] Compiling ghash-neon-armv8-apple.S
[105/370] Compiling ghash-armv4-linux.S
[106/370] Compiling co-586-linux.S
[107/370] Compiling bsaes-armv7-linux.S
[108/370] Compiling bn-armv8-win.S
[109/370] Compiling bn-586-linux.S
[110/370] Compiling bn-armv8-linux.S
[110/370] Compiling bn-armv8-apple.S
[112/370] Compiling bn-586-apple.S
[113/370] Compiling armv8-mont-win.S
[114/370] Compiling armv8-mont-linux.S
[115/370] Compiling armv8-mont-apple.S
[116/370] Compiling aesv8-gcm-armv8-win.S
[117/370] Compiling armv4-mont-linux.S
[118/370] Compiling aesv8-gcm-armv8-linux.S
[119/370] Compiling aesv8-gcm-armv8-apple.S
[120/370] Compiling aesv8-armv8-apple.S
[121/370] Compiling aesv8-armv8-linux.S
[122/370] Compiling aesv8-armv8-win.S
[123/370] Compiling aesv8-armv7-linux.S
[124/370] Compiling aesni-x86_64-linux.S
[125/370] Compiling aesni-x86_64-apple.S
[126/370] Compiling aesni-x86-apple.S
[127/370] Compiling aesni-gcm-x86_64-linux.S
[128/370] Compiling aesni-x86-linux.S
[129/370] Compiling aesni-gcm-x86_64-apple.S
[130/370] Compiling aes-gcm-avx10-x86_64-linux.S
[131/370] Compiling aes-gcm-avx10-x86_64-apple.S
[132/370] Compiling x_val.cc
[133/370] Compiling x_x509a.cc
[134/370] Compiling x_spki.cc
[135/370] Compiling x_sig.cc
[136/370] Compiling x_pubkey.cc
[137/370] Compiling x_x509.cc
[138/370] Compiling x_req.cc
[139/370] Compiling x_attrib.cc
[140/370] Compiling x_exten.cc
[141/370] Compiling x_crl.cc
[142/370] Compiling x509spki.cc
[143/370] Compiling x_algor.cc
[144/370] Compiling x_name.cc
[145/370] Compiling x_all.cc
[146/370] Compiling x509rset.cc
[147/370] Compiling x509cset.cc
[148/370] Compiling x509_vpm.cc
[149/370] Compiling x509_txt.cc
[150/370] Compiling x509name.cc
[151/370] Compiling x509_vfy.cc
[152/370] Compiling x509_v3.cc
[153/370] Compiling x509_trs.cc
[154/370] Compiling x509_req.cc
[155/370] Compiling x509_set.cc
[156/370] Compiling x509_def.cc
[157/370] Compiling x509_ext.cc
[158/370] Compiling x509_obj.cc
[159/370] Compiling x509_lu.cc
[160/370] Compiling x509_d2.cc
[162/370] Compiling FileIO MemoryMappedFile.swift
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:69:27: error: cannot find 'PROT_READ' in scope
67 | }
68 |
69 | var prot: Int32 = PROT_READ
| `- error: cannot find 'PROT_READ' in scope
70 | if isWritable { prot |= PROT_WRITE }
71 | let ptr = mmap(nil, Int(fileSize), prot, MAP_SHARED, fd, 0)
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:70:33: error: cannot find 'PROT_WRITE' in scope
68 |
69 | var prot: Int32 = PROT_READ
70 | if isWritable { prot |= PROT_WRITE }
| `- error: cannot find 'PROT_WRITE' in scope
71 | let ptr = mmap(nil, Int(fileSize), prot, MAP_SHARED, fd, 0)
72 | guard let ptr,
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:71:19: error: cannot find 'mmap' in scope
69 | var prot: Int32 = PROT_READ
70 | if isWritable { prot |= PROT_WRITE }
71 | let ptr = mmap(nil, Int(fileSize), prot, MAP_SHARED, fd, 0)
| `- error: cannot find 'mmap' in scope
72 | guard let ptr,
73 | ptr != MAP_FAILED else {
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:71:50: error: cannot find 'MAP_SHARED' in scope
69 | var prot: Int32 = PROT_READ
70 | if isWritable { prot |= PROT_WRITE }
71 | let ptr = mmap(nil, Int(fileSize), prot, MAP_SHARED, fd, 0)
| `- error: cannot find 'MAP_SHARED' in scope
72 | guard let ptr,
73 | ptr != MAP_FAILED else {
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:71:24: error: 'nil' requires a contextual type
69 | var prot: Int32 = PROT_READ
70 | if isWritable { prot |= PROT_WRITE }
71 | let ptr = mmap(nil, Int(fileSize), prot, MAP_SHARED, fd, 0)
| `- error: 'nil' requires a contextual type
72 | guard let ptr,
73 | ptr != MAP_FAILED else {
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:104:13: error: cannot find 'msync' in scope
102 | data.withUnsafeBytes { buffer in
103 | memcpy(ptr.advanced(by: offset), buffer.baseAddress!, data.count)
104 | msync(ptr.advanced(by: offset), data.count, MS_SYNC)
| `- error: cannot find 'msync' in scope
105 | }
106 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:104:57: error: cannot find 'MS_SYNC' in scope
102 | data.withUnsafeBytes { buffer in
103 | memcpy(ptr.advanced(by: offset), buffer.baseAddress!, data.count)
104 | msync(ptr.advanced(by: offset), data.count, MS_SYNC)
| `- error: cannot find 'MS_SYNC' in scope
105 | }
106 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:110:9: error: cannot find 'msync' in scope
108 | @inlinable @inline(__always)
109 | public func sync() {
110 | msync(ptr, size, MS_SYNC)
| `- error: cannot find 'msync' in scope
111 | }
112 |
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:110:26: error: cannot find 'MS_SYNC' in scope
108 | @inlinable @inline(__always)
109 | public func sync() {
110 | msync(ptr, size, MS_SYNC)
| `- error: cannot find 'MS_SYNC' in scope
111 | }
112 |
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:114:9: error: cannot find 'munmap' in scope
112 |
113 | private func unmap() {
114 | munmap(ptr, size)
| `- error: cannot find 'munmap' in scope
115 | }
116 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:129:27: error: cannot find 'PROT_READ' in scope
127 | unmap()
128 |
129 | var prot: Int32 = PROT_READ
| `- error: cannot find 'PROT_READ' in scope
130 | if isWritable { prot |= PROT_WRITE }
131 | let ptr = mmap(nil, newSize, prot, MAP_SHARED, fileDescriptor, 0)
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:130:33: error: cannot find 'PROT_WRITE' in scope
128 |
129 | var prot: Int32 = PROT_READ
130 | if isWritable { prot |= PROT_WRITE }
| `- error: cannot find 'PROT_WRITE' in scope
131 | let ptr = mmap(nil, newSize, prot, MAP_SHARED, fileDescriptor, 0)
132 | guard let ptr,
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:131:19: error: cannot find 'mmap' in scope
129 | var prot: Int32 = PROT_READ
130 | if isWritable { prot |= PROT_WRITE }
131 | let ptr = mmap(nil, newSize, prot, MAP_SHARED, fileDescriptor, 0)
| `- error: cannot find 'mmap' in scope
132 | guard let ptr,
133 | ptr != MAP_FAILED else {
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:131:44: error: cannot find 'MAP_SHARED' in scope
129 | var prot: Int32 = PROT_READ
130 | if isWritable { prot |= PROT_WRITE }
131 | let ptr = mmap(nil, newSize, prot, MAP_SHARED, fileDescriptor, 0)
| `- error: cannot find 'MAP_SHARED' in scope
132 | guard let ptr,
133 | ptr != MAP_FAILED else {
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:131:24: error: 'nil' requires a contextual type
129 | var prot: Int32 = PROT_READ
130 | if isWritable { prot |= PROT_WRITE }
131 | let ptr = mmap(nil, newSize, prot, MAP_SHARED, fileDescriptor, 0)
| `- error: 'nil' requires a contextual type
132 | guard let ptr,
133 | ptr != MAP_FAILED else {
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:156:13: error: cannot find 'msync' in scope
154 | data.withUnsafeBytes { buffer in
155 | memcpy(ptr.advanced(by: offset), buffer.baseAddress!, data.count)
156 | msync(ptr.advanced(by: offset), data.count + tailSize, MS_SYNC)
| `- error: cannot find 'msync' in scope
157 | }
158 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:156:68: error: cannot find 'MS_SYNC' in scope
154 | data.withUnsafeBytes { buffer in
155 | memcpy(ptr.advanced(by: offset), buffer.baseAddress!, data.count)
156 | msync(ptr.advanced(by: offset), data.count + tailSize, MS_SYNC)
| `- error: cannot find 'MS_SYNC' in scope
157 | }
158 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:209:9: error: cannot find 'msync' in scope
207 | .assumingMemoryBound(to: T.self)
208 | .pointee = value
209 | msync(ptr.advanced(by: offset), length, MS_SYNC)
| `- error: cannot find 'msync' in scope
210 | }
211 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:209:49: error: cannot find 'MS_SYNC' in scope
207 | .assumingMemoryBound(to: T.self)
208 | .pointee = value
209 | msync(ptr.advanced(by: offset), length, MS_SYNC)
| `- error: cannot find 'MS_SYNC' in scope
210 | }
211 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:281:9: error: cannot find 'msync' in scope
279 | @inlinable @inline(__always)
280 | public func sync() {
281 | msync(parent.ptr.advanced(by: baseOffset), size, MS_SYNC)
| `- error: cannot find 'msync' in scope
282 | }
283 |
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:281:58: error: cannot find 'MS_SYNC' in scope
279 | @inlinable @inline(__always)
280 | public func sync() {
281 | msync(parent.ptr.advanced(by: baseOffset), size, MS_SYNC)
| `- error: cannot find 'MS_SYNC' in scope
282 | }
283 |
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:336:9: error: cannot find 'msync' in scope
334 | .assumingMemoryBound(to: T.self)
335 | .pointee = value
336 | msync(ptr.advanced(by: offset), length, MS_SYNC)
| `- error: cannot find 'msync' in scope
337 | }
338 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:336:49: error: cannot find 'MS_SYNC' in scope
334 | .assumingMemoryBound(to: T.self)
335 | .pointee = value
336 | msync(ptr.advanced(by: offset), length, MS_SYNC)
| `- error: cannot find 'MS_SYNC' in scope
337 | }
338 | }
[162/370] Compiling x509.cc
error: emit-module command failed with exit code 1 (use -v to see invocation)
[164/370] Emitting module FileIO
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:104:13: error: cannot find 'msync' in scope
102 | data.withUnsafeBytes { buffer in
103 | memcpy(ptr.advanced(by: offset), buffer.baseAddress!, data.count)
104 | msync(ptr.advanced(by: offset), data.count, MS_SYNC)
| `- error: cannot find 'msync' in scope
105 | }
106 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:104:57: error: cannot find 'MS_SYNC' in scope
102 | data.withUnsafeBytes { buffer in
103 | memcpy(ptr.advanced(by: offset), buffer.baseAddress!, data.count)
104 | msync(ptr.advanced(by: offset), data.count, MS_SYNC)
| `- error: cannot find 'MS_SYNC' in scope
105 | }
106 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:110:9: error: cannot find 'msync' in scope
108 | @inlinable @inline(__always)
109 | public func sync() {
110 | msync(ptr, size, MS_SYNC)
| `- error: cannot find 'msync' in scope
111 | }
112 |
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:110:26: error: cannot find 'MS_SYNC' in scope
108 | @inlinable @inline(__always)
109 | public func sync() {
110 | msync(ptr, size, MS_SYNC)
| `- error: cannot find 'MS_SYNC' in scope
111 | }
112 |
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:156:13: error: cannot find 'msync' in scope
154 | data.withUnsafeBytes { buffer in
155 | memcpy(ptr.advanced(by: offset), buffer.baseAddress!, data.count)
156 | msync(ptr.advanced(by: offset), data.count + tailSize, MS_SYNC)
| `- error: cannot find 'msync' in scope
157 | }
158 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:156:68: error: cannot find 'MS_SYNC' in scope
154 | data.withUnsafeBytes { buffer in
155 | memcpy(ptr.advanced(by: offset), buffer.baseAddress!, data.count)
156 | msync(ptr.advanced(by: offset), data.count + tailSize, MS_SYNC)
| `- error: cannot find 'MS_SYNC' in scope
157 | }
158 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:209:9: error: cannot find 'msync' in scope
207 | .assumingMemoryBound(to: T.self)
208 | .pointee = value
209 | msync(ptr.advanced(by: offset), length, MS_SYNC)
| `- error: cannot find 'msync' in scope
210 | }
211 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:209:49: error: cannot find 'MS_SYNC' in scope
207 | .assumingMemoryBound(to: T.self)
208 | .pointee = value
209 | msync(ptr.advanced(by: offset), length, MS_SYNC)
| `- error: cannot find 'MS_SYNC' in scope
210 | }
211 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:281:9: error: cannot find 'msync' in scope
279 | @inlinable @inline(__always)
280 | public func sync() {
281 | msync(parent.ptr.advanced(by: baseOffset), size, MS_SYNC)
| `- error: cannot find 'msync' in scope
282 | }
283 |
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:281:58: error: cannot find 'MS_SYNC' in scope
279 | @inlinable @inline(__always)
280 | public func sync() {
281 | msync(parent.ptr.advanced(by: baseOffset), size, MS_SYNC)
| `- error: cannot find 'MS_SYNC' in scope
282 | }
283 |
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:336:9: error: cannot find 'msync' in scope
334 | .assumingMemoryBound(to: T.self)
335 | .pointee = value
336 | msync(ptr.advanced(by: offset), length, MS_SYNC)
| `- error: cannot find 'msync' in scope
337 | }
338 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:336:49: error: cannot find 'MS_SYNC' in scope
334 | .assumingMemoryBound(to: T.self)
335 | .pointee = value
336 | msync(ptr.advanced(by: offset), length, MS_SYNC)
| `- error: cannot find 'MS_SYNC' in scope
337 | }
338 | }
[165/370] Compiling FileIO FileIO.swift
[166/370] Compiling FileIO StreamedFile.swift
[166/370] Compiling v3_purp.cc
[166/370] Compiling v3_pmaps.cc
[166/370] Compiling x509_cmp.cc
[166/370] Compiling v3_prn.cc
[166/370] Compiling v3_utl.cc
[166/370] Compiling x509_att.cc
[166/370] Compiling v3_skey.cc
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:1f4a86c2403dd7f046762c8271002f713e736861711b4d7bb001b0e60ed1e881
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
warning: 'spi-builder-workspace': /host/spi-builder-workspace/Package.swift:77:1: warning: extension declares a conformance of imported type 'SwiftSetting' to imported protocol 'CaseIterable'; this will not behave correctly if the owners of 'PackageDescription' introduce this conformance in the future
75 | }
76 |
77 | extension SwiftSetting: CaseIterable {
| |- warning: extension declares a conformance of imported type 'SwiftSetting' to imported protocol 'CaseIterable'; this will not behave correctly if the owners of 'PackageDescription' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
78 | public static var allCases: [Self] {
79 | [
[0/1] Planning build
Building for debugging...
[0/205] Compiling v3_skey.cc
[1/205] Compiling v3_prn.cc
[2/205] Compiling v3_purp.cc
[3/205] Compiling v3_utl.cc
[4/205] Compiling v3_pcons.cc
[5/205] Compiling x509_cmp.cc
[6/205] Compiling x509_att.cc
[7/205] Compiling v3_pmaps.cc
[8/205] Write swift-version-24593BA9C3E375BF.txt
[9/205] Compiling v3_ia5.cc
[10/205] Compiling v3_ocsp.cc
[11/209] Compiling v3_int.cc
[12/209] Compiling v3_ncons.cc
[13/209] Compiling v3_lib.cc
[14/209] Compiling v3_extku.cc
[15/209] Compiling v3_genn.cc
[16/209] Compiling v3_info.cc
error: emit-module command failed with exit code 1 (use -v to see invocation)
[18/209] Emitting module FileIO
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:104:13: error: cannot find 'msync' in scope
102 | data.withUnsafeBytes { buffer in
103 | memcpy(ptr.advanced(by: offset), buffer.baseAddress!, data.count)
104 | msync(ptr.advanced(by: offset), data.count, MS_SYNC)
| `- error: cannot find 'msync' in scope
105 | }
106 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:104:57: error: cannot find 'MS_SYNC' in scope
102 | data.withUnsafeBytes { buffer in
103 | memcpy(ptr.advanced(by: offset), buffer.baseAddress!, data.count)
104 | msync(ptr.advanced(by: offset), data.count, MS_SYNC)
| `- error: cannot find 'MS_SYNC' in scope
105 | }
106 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:110:9: error: cannot find 'msync' in scope
108 | @inlinable @inline(__always)
109 | public func sync() {
110 | msync(ptr, size, MS_SYNC)
| `- error: cannot find 'msync' in scope
111 | }
112 |
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:110:26: error: cannot find 'MS_SYNC' in scope
108 | @inlinable @inline(__always)
109 | public func sync() {
110 | msync(ptr, size, MS_SYNC)
| `- error: cannot find 'MS_SYNC' in scope
111 | }
112 |
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:156:13: error: cannot find 'msync' in scope
154 | data.withUnsafeBytes { buffer in
155 | memcpy(ptr.advanced(by: offset), buffer.baseAddress!, data.count)
156 | msync(ptr.advanced(by: offset), data.count + tailSize, MS_SYNC)
| `- error: cannot find 'msync' in scope
157 | }
158 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:156:68: error: cannot find 'MS_SYNC' in scope
154 | data.withUnsafeBytes { buffer in
155 | memcpy(ptr.advanced(by: offset), buffer.baseAddress!, data.count)
156 | msync(ptr.advanced(by: offset), data.count + tailSize, MS_SYNC)
| `- error: cannot find 'MS_SYNC' in scope
157 | }
158 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:209:9: error: cannot find 'msync' in scope
207 | .assumingMemoryBound(to: T.self)
208 | .pointee = value
209 | msync(ptr.advanced(by: offset), length, MS_SYNC)
| `- error: cannot find 'msync' in scope
210 | }
211 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:209:49: error: cannot find 'MS_SYNC' in scope
207 | .assumingMemoryBound(to: T.self)
208 | .pointee = value
209 | msync(ptr.advanced(by: offset), length, MS_SYNC)
| `- error: cannot find 'MS_SYNC' in scope
210 | }
211 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:281:9: error: cannot find 'msync' in scope
279 | @inlinable @inline(__always)
280 | public func sync() {
281 | msync(parent.ptr.advanced(by: baseOffset), size, MS_SYNC)
| `- error: cannot find 'msync' in scope
282 | }
283 |
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:281:58: error: cannot find 'MS_SYNC' in scope
279 | @inlinable @inline(__always)
280 | public func sync() {
281 | msync(parent.ptr.advanced(by: baseOffset), size, MS_SYNC)
| `- error: cannot find 'MS_SYNC' in scope
282 | }
283 |
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:336:9: error: cannot find 'msync' in scope
334 | .assumingMemoryBound(to: T.self)
335 | .pointee = value
336 | msync(ptr.advanced(by: offset), length, MS_SYNC)
| `- error: cannot find 'msync' in scope
337 | }
338 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:336:49: error: cannot find 'MS_SYNC' in scope
334 | .assumingMemoryBound(to: T.self)
335 | .pointee = value
336 | msync(ptr.advanced(by: offset), length, MS_SYNC)
| `- error: cannot find 'MS_SYNC' in scope
337 | }
338 | }
[19/209] Compiling FileIO MemoryMappedFile.swift
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:69:27: error: cannot find 'PROT_READ' in scope
67 | }
68 |
69 | var prot: Int32 = PROT_READ
| `- error: cannot find 'PROT_READ' in scope
70 | if isWritable { prot |= PROT_WRITE }
71 | let ptr = mmap(nil, Int(fileSize), prot, MAP_SHARED, fd, 0)
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:70:33: error: cannot find 'PROT_WRITE' in scope
68 |
69 | var prot: Int32 = PROT_READ
70 | if isWritable { prot |= PROT_WRITE }
| `- error: cannot find 'PROT_WRITE' in scope
71 | let ptr = mmap(nil, Int(fileSize), prot, MAP_SHARED, fd, 0)
72 | guard let ptr,
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:71:19: error: cannot find 'mmap' in scope
69 | var prot: Int32 = PROT_READ
70 | if isWritable { prot |= PROT_WRITE }
71 | let ptr = mmap(nil, Int(fileSize), prot, MAP_SHARED, fd, 0)
| `- error: cannot find 'mmap' in scope
72 | guard let ptr,
73 | ptr != MAP_FAILED else {
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:71:50: error: cannot find 'MAP_SHARED' in scope
69 | var prot: Int32 = PROT_READ
70 | if isWritable { prot |= PROT_WRITE }
71 | let ptr = mmap(nil, Int(fileSize), prot, MAP_SHARED, fd, 0)
| `- error: cannot find 'MAP_SHARED' in scope
72 | guard let ptr,
73 | ptr != MAP_FAILED else {
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:71:24: error: 'nil' requires a contextual type
69 | var prot: Int32 = PROT_READ
70 | if isWritable { prot |= PROT_WRITE }
71 | let ptr = mmap(nil, Int(fileSize), prot, MAP_SHARED, fd, 0)
| `- error: 'nil' requires a contextual type
72 | guard let ptr,
73 | ptr != MAP_FAILED else {
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:104:13: error: cannot find 'msync' in scope
102 | data.withUnsafeBytes { buffer in
103 | memcpy(ptr.advanced(by: offset), buffer.baseAddress!, data.count)
104 | msync(ptr.advanced(by: offset), data.count, MS_SYNC)
| `- error: cannot find 'msync' in scope
105 | }
106 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:104:57: error: cannot find 'MS_SYNC' in scope
102 | data.withUnsafeBytes { buffer in
103 | memcpy(ptr.advanced(by: offset), buffer.baseAddress!, data.count)
104 | msync(ptr.advanced(by: offset), data.count, MS_SYNC)
| `- error: cannot find 'MS_SYNC' in scope
105 | }
106 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:110:9: error: cannot find 'msync' in scope
108 | @inlinable @inline(__always)
109 | public func sync() {
110 | msync(ptr, size, MS_SYNC)
| `- error: cannot find 'msync' in scope
111 | }
112 |
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:110:26: error: cannot find 'MS_SYNC' in scope
108 | @inlinable @inline(__always)
109 | public func sync() {
110 | msync(ptr, size, MS_SYNC)
| `- error: cannot find 'MS_SYNC' in scope
111 | }
112 |
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:114:9: error: cannot find 'munmap' in scope
112 |
113 | private func unmap() {
114 | munmap(ptr, size)
| `- error: cannot find 'munmap' in scope
115 | }
116 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:129:27: error: cannot find 'PROT_READ' in scope
127 | unmap()
128 |
129 | var prot: Int32 = PROT_READ
| `- error: cannot find 'PROT_READ' in scope
130 | if isWritable { prot |= PROT_WRITE }
131 | let ptr = mmap(nil, newSize, prot, MAP_SHARED, fileDescriptor, 0)
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:130:33: error: cannot find 'PROT_WRITE' in scope
128 |
129 | var prot: Int32 = PROT_READ
130 | if isWritable { prot |= PROT_WRITE }
| `- error: cannot find 'PROT_WRITE' in scope
131 | let ptr = mmap(nil, newSize, prot, MAP_SHARED, fileDescriptor, 0)
132 | guard let ptr,
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:131:19: error: cannot find 'mmap' in scope
129 | var prot: Int32 = PROT_READ
130 | if isWritable { prot |= PROT_WRITE }
131 | let ptr = mmap(nil, newSize, prot, MAP_SHARED, fileDescriptor, 0)
| `- error: cannot find 'mmap' in scope
132 | guard let ptr,
133 | ptr != MAP_FAILED else {
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:131:44: error: cannot find 'MAP_SHARED' in scope
129 | var prot: Int32 = PROT_READ
130 | if isWritable { prot |= PROT_WRITE }
131 | let ptr = mmap(nil, newSize, prot, MAP_SHARED, fileDescriptor, 0)
| `- error: cannot find 'MAP_SHARED' in scope
132 | guard let ptr,
133 | ptr != MAP_FAILED else {
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:131:24: error: 'nil' requires a contextual type
129 | var prot: Int32 = PROT_READ
130 | if isWritable { prot |= PROT_WRITE }
131 | let ptr = mmap(nil, newSize, prot, MAP_SHARED, fileDescriptor, 0)
| `- error: 'nil' requires a contextual type
132 | guard let ptr,
133 | ptr != MAP_FAILED else {
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:156:13: error: cannot find 'msync' in scope
154 | data.withUnsafeBytes { buffer in
155 | memcpy(ptr.advanced(by: offset), buffer.baseAddress!, data.count)
156 | msync(ptr.advanced(by: offset), data.count + tailSize, MS_SYNC)
| `- error: cannot find 'msync' in scope
157 | }
158 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:156:68: error: cannot find 'MS_SYNC' in scope
154 | data.withUnsafeBytes { buffer in
155 | memcpy(ptr.advanced(by: offset), buffer.baseAddress!, data.count)
156 | msync(ptr.advanced(by: offset), data.count + tailSize, MS_SYNC)
| `- error: cannot find 'MS_SYNC' in scope
157 | }
158 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:209:9: error: cannot find 'msync' in scope
207 | .assumingMemoryBound(to: T.self)
208 | .pointee = value
209 | msync(ptr.advanced(by: offset), length, MS_SYNC)
| `- error: cannot find 'msync' in scope
210 | }
211 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:209:49: error: cannot find 'MS_SYNC' in scope
207 | .assumingMemoryBound(to: T.self)
208 | .pointee = value
209 | msync(ptr.advanced(by: offset), length, MS_SYNC)
| `- error: cannot find 'MS_SYNC' in scope
210 | }
211 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:281:9: error: cannot find 'msync' in scope
279 | @inlinable @inline(__always)
280 | public func sync() {
281 | msync(parent.ptr.advanced(by: baseOffset), size, MS_SYNC)
| `- error: cannot find 'msync' in scope
282 | }
283 |
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:281:58: error: cannot find 'MS_SYNC' in scope
279 | @inlinable @inline(__always)
280 | public func sync() {
281 | msync(parent.ptr.advanced(by: baseOffset), size, MS_SYNC)
| `- error: cannot find 'MS_SYNC' in scope
282 | }
283 |
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:336:9: error: cannot find 'msync' in scope
334 | .assumingMemoryBound(to: T.self)
335 | .pointee = value
336 | msync(ptr.advanced(by: offset), length, MS_SYNC)
| `- error: cannot find 'msync' in scope
337 | }
338 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:336:49: error: cannot find 'MS_SYNC' in scope
334 | .assumingMemoryBound(to: T.self)
335 | .pointee = value
336 | msync(ptr.advanced(by: offset), length, MS_SYNC)
| `- error: cannot find 'MS_SYNC' in scope
337 | }
338 | }
[20/209] Compiling FileIO StreamedFile.swift
[21/209] Compiling FileIO FileIO.swift
[21/209] Compiling v3_crld.cc
[21/209] Compiling v3_bcons.cc
[21/209] Compiling v3_bitst.cc
[21/209] Compiling v3_enum.cc
[21/209] Compiling v3_cpols.cc
[21/209] Compiling v3_conf.cc
[21/209] Compiling v3_alt.cc
BUILD FAILURE 6.1 wasm