The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SummarizedCollection, reference main (601224), with Swift 6.1 for Wasm on 29 May 2025 12:38:52 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/jessegrosjean/SummarizedCollection.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/jessegrosjean/SummarizedCollection
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 6012243 Merge pull request #2 from mattmassicotte/feature/ci
Cloned https://github.com/jessegrosjean/SummarizedCollection.git
Revision (git rev-parse @):
60122430de3803e8b00b07ebe5bb53933fb8ef43
SUCCESS checkout https://github.com/jessegrosjean/SummarizedCollection.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/jessegrosjean/SummarizedCollection.git
https://github.com/jessegrosjean/SummarizedCollection.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "periphery",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/peripheryapp/periphery"
    },
    {
      "identity" : "swift-collections-benchmark",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.0.3",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-collections-benchmark"
    }
  ],
  "manifest_display_name" : "SummarizedCollection",
  "name" : "SummarizedCollection",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "ios",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "SummarizedCollection",
      "targets" : [
        "SummarizedCollection"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SummarizedCollectionBenchmark",
      "targets" : [
        "SummarizedCollectionBenchmark"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "_CollectionsUtilities",
      "module_type" : "SwiftTarget",
      "name" : "_CollectionsUtilities",
      "path" : "Sources/_CollectionsUtilities",
      "product_memberships" : [
        "SummarizedCollection",
        "SummarizedCollectionBenchmark"
      ],
      "sources" : [
        "Compatibility/Array+WithContiguousStorage Compatibility.swift",
        "Compatibility/UnsafeMutableBufferPointer+SE-0370.swift",
        "Compatibility/UnsafeMutablePointer+SE-0370.swift",
        "Compatibility/UnsafeRawPointer extensions.swift",
        "Debugging.swift",
        "Descriptions.swift",
        "IntegerTricks/FixedWidthInteger+roundUpToPowerOfTwo.swift",
        "IntegerTricks/Integer rank.swift",
        "IntegerTricks/UInt+first and last set bit.swift",
        "IntegerTricks/UInt+reversed.swift",
        "OSLog+Extensions.swift",
        "RandomAccessCollection+Offsets.swift",
        "UnsafeBitSet/_UnsafeBitSet+Index.swift",
        "UnsafeBitSet/_UnsafeBitSet+_Word.swift",
        "UnsafeBitSet/_UnsafeBitSet.swift",
        "UnsafeBufferPointer+Extras.swift",
        "UnsafeMutableBufferPointer+Extras.swift",
        "_SortedCollection.swift",
        "_UniqueCollection.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "_CollectionsTestSupport",
      "module_type" : "SwiftTarget",
      "name" : "_CollectionsTestSupport",
      "path" : "Sources/_CollectionsTestSupport",
      "sources" : [
        "AssertionContexts/Assertions.swift",
        "AssertionContexts/CollectionTestCase.swift",
        "AssertionContexts/Combinatorics.swift",
        "AssertionContexts/TestContext.swift",
        "ConformanceCheckers/CheckBidirectionalCollection.swift",
        "ConformanceCheckers/CheckCollection.swift",
        "ConformanceCheckers/CheckComparable.swift",
        "ConformanceCheckers/CheckEquatable.swift",
        "ConformanceCheckers/CheckHashable.swift",
        "ConformanceCheckers/CheckSequence.swift",
        "MinimalTypes/MinimalBidirectionalCollection.swift",
        "MinimalTypes/MinimalCollection.swift",
        "MinimalTypes/MinimalDecoder.swift",
        "MinimalTypes/MinimalEncoder.swift",
        "MinimalTypes/MinimalIndex.swift",
        "MinimalTypes/MinimalIterator.swift",
        "MinimalTypes/MinimalMutableRandomAccessCollection.swift",
        "MinimalTypes/MinimalMutableRangeReplaceableRandomAccessCollection.swift",
        "MinimalTypes/MinimalRandomAccessCollection.swift",
        "MinimalTypes/MinimalRangeReplaceableRandomAccessCollection.swift",
        "MinimalTypes/MinimalSequence.swift",
        "MinimalTypes/ResettableValue.swift",
        "MinimalTypes/_CollectionState.swift",
        "MinimalTypes/_MinimalCollectionCore.swift",
        "Utilities/AllOnesRandomNumberGenerator.swift",
        "Utilities/Box.swift",
        "Utilities/DictionaryAPIChecker.swift",
        "Utilities/HashableBox.swift",
        "Utilities/IndexRangeCollection.swift",
        "Utilities/Integer Square Root.swift",
        "Utilities/LifetimeTracked.swift",
        "Utilities/LifetimeTracker.swift",
        "Utilities/RandomBoolArray.swift",
        "Utilities/RandomStableSample.swift",
        "Utilities/SeedableRandomNumberGenerator.swift",
        "Utilities/SetAPIChecker.swift",
        "Utilities/SortedCollectionAPIChecker.swift",
        "Utilities/StringConvertibleValue.swift"
      ],
      "target_dependencies" : [
        "_CollectionsUtilities"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SummarizedCollectionTests",
      "module_type" : "SwiftTarget",
      "name" : "SummarizedCollectionTests",
      "path" : "Tests/SummarizedCollectionTests",
      "sources" : [
        "CollectionBoundaryTests.swift",
        "IdentifiedListTests.swift",
        "Outline/OutlineArray.swift",
        "Outline/OutlineShared.swift",
        "Outline/OutlineSummarizedTree.swift",
        "PerformanceTests.swift",
        "SummarizedArrayTests.swift",
        "SummarizedTreeTests+Cursor.swift",
        "SummarizedTreeTests.swift"
      ],
      "target_dependencies" : [
        "SummarizedCollection",
        "_CollectionsTestSupport"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SummarizedCollectionBenchmark",
      "module_type" : "SwiftTarget",
      "name" : "SummarizedCollectionBenchmark",
      "path" : "Sources/SummarizedCollectionBenchmark",
      "product_dependencies" : [
        "CollectionsBenchmark"
      ],
      "product_memberships" : [
        "SummarizedCollectionBenchmark"
      ],
      "sources" : [
        "ArrayBenchmarks.swift",
        "SummarizedTreeBenchmarks.swift",
        "SummarizedTreeIdentfiedListBenchmarks.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "SummarizedCollection",
        "_CollectionsUtilities"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "SummarizedCollection",
      "module_type" : "SwiftTarget",
      "name" : "SummarizedCollection",
      "path" : "Sources/SummarizedCollection",
      "product_memberships" : [
        "SummarizedCollection",
        "SummarizedCollectionBenchmark"
      ],
      "sources" : [
        "IdentifiedList.swift",
        "List.swift",
        "Protocols/CollectionBoundary.swift",
        "Protocols/CollectionIndexDimension.swift",
        "Protocols/IdentifiedCollection.swift",
        "Protocols/SummarizedCollection+Dimension.swift",
        "Protocols/SummarizedCollection+Summary.swift",
        "Protocols/SummarizedCollection.swift",
        "SummarizedTree/Node+Debug.swift",
        "SummarizedTree/Node+Handle.swift",
        "SummarizedTree/Node+InnerStorage.swift",
        "SummarizedTree/Node+LeafStorage.swift",
        "SummarizedTree/Node+Storage+SubSequence.swift",
        "SummarizedTree/Node+Storage.swift",
        "SummarizedTree/Node+UnmanagedNode.swift",
        "SummarizedTree/Node.swift",
        "SummarizedTree/SummarizedTree+Builder.swift",
        "SummarizedTree/SummarizedTree+CoreConcat.swift",
        "SummarizedTree/SummarizedTree+CoreReplace.swift",
        "SummarizedTree/SummarizedTree+CoreSplit.swift",
        "SummarizedTree/SummarizedTree+Cursor.swift",
        "SummarizedTree/SummarizedTree+ElementsBuffer.swift",
        "SummarizedTree/SummarizedTree+ExpressibleByArrayLiteral.swift",
        "SummarizedTree/SummarizedTree+IdentifiedCollection.swift",
        "SummarizedTree/SummarizedTree+Index.swift",
        "SummarizedTree/SummarizedTree+Initializers.swift",
        "SummarizedTree/SummarizedTree+RangeReplaceableCollection.swift",
        "SummarizedTree/SummarizedTree+Sequence.swift",
        "SummarizedTree/SummarizedTree+SubSequence.swift",
        "SummarizedTree/SummarizedTree+SummarizedCollection.swift",
        "SummarizedTree/SummarizedTree+Testing.swift",
        "SummarizedTree/SummarizedTree.swift",
        "SummarizedTree/SummarizedTreeContext+Extension.swift",
        "SummarizedTree/SummarizedTreeContext.swift"
      ],
      "target_dependencies" : [
        "_CollectionsUtilities"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/peripheryapp/periphery
Fetching https://github.com/apple/swift-collections-benchmark
[1/498] Fetching swift-collections-benchmark
[76/12687] Fetching swift-collections-benchmark, periphery
Fetched https://github.com/apple/swift-collections-benchmark from cache (0.72s)
Fetched https://github.com/peripheryapp/periphery from cache (1.08s)
Computing version for https://github.com/apple/swift-collections-benchmark
Computed https://github.com/apple/swift-collections-benchmark at 0.0.4 (1.85s)
Fetching https://github.com/apple/swift-system
Fetching https://github.com/apple/swift-argument-parser
[1/4391] Fetching swift-system
[4392/19770] Fetching swift-system, swift-argument-parser
Fetched https://github.com/apple/swift-system from cache (0.80s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.81s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.5.0 (3.05s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (0.47s)
Computing version for https://github.com/peripheryapp/periphery
Computed https://github.com/peripheryapp/periphery at 2.21.2 (0.83s)
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/kateinoigakukun/swift-indexstore
Fetching https://github.com/ileitch/swift-filename-matcher
Fetching https://github.com/tadija/AEXML
Fetching https://github.com/apple/swift-syntax
[1/54] Fetching swift-filename-matcher
[55/2181] Fetching swift-filename-matcher, aexml
[460/2500] Fetching swift-filename-matcher, aexml, swift-indexstore
[2501/13157] Fetching swift-filename-matcher, aexml, swift-indexstore, yams
Fetched https://github.com/kateinoigakukun/swift-indexstore from cache (0.44s)
Fetched https://github.com/ileitch/swift-filename-matcher from cache (0.44s)
Fetched https://github.com/tadija/AEXML from cache (0.44s)
[5755/10657] Fetching yams
[10658/81109] Fetching yams, swift-syntax
Fetched https://github.com/jpsim/Yams from cache (1.16s)
[12682/70452] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax from cache (5.17s)
Computing version for https://github.com/kateinoigakukun/swift-indexstore
Computed https://github.com/kateinoigakukun/swift-indexstore at 0.3.0 (5.74s)
Computing version for https://github.com/apple/swift-syntax
Computed https://github.com/apple/swift-syntax at 600.0.1 (1.41s)
Computing version for https://github.com/ileitch/swift-filename-matcher
Computed https://github.com/ileitch/swift-filename-matcher at 0.1.2 (0.57s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 5.4.0 (1.07s)
Computing version for https://github.com/tadija/AEXML
Computed https://github.com/tadija/AEXML at 4.7.0 (0.44s)
Creating working copy for https://github.com/peripheryapp/periphery
Working copy of https://github.com/peripheryapp/periphery resolved at 2.21.2
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 5.4.0
Creating working copy for https://github.com/apple/swift-collections-benchmark
Working copy of https://github.com/apple/swift-collections-benchmark resolved at 0.0.4
Creating working copy for https://github.com/ileitch/swift-filename-matcher
Working copy of https://github.com/ileitch/swift-filename-matcher resolved at 0.1.2
Creating working copy for https://github.com/tadija/AEXML
Working copy of https://github.com/tadija/AEXML resolved at 4.7.0
Creating working copy for https://github.com/kateinoigakukun/swift-indexstore
Working copy of https://github.com/kateinoigakukun/swift-indexstore resolved at 0.3.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.1
Creating working copy for https://github.com/apple/swift-syntax
Working copy of https://github.com/apple/swift-syntax resolved at 600.0.1
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.5.0
warning: 'spi-builder-workspace': found 5 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/SummarizedCollectionBenchmark/results.json
    /host/spi-builder-workspace/Sources/SummarizedCollectionBenchmark/Temp.json
    /host/spi-builder-workspace/Sources/SummarizedCollectionBenchmark/results.html
    /host/spi-builder-workspace/Sources/SummarizedCollectionBenchmark/SummaryTree.json
    /host/spi-builder-workspace/Sources/SummarizedCollectionBenchmark/README.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/_CollectionsUtilities/CMakeLists.txt
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/20] Write sources
[9/20] Compiling CSystem shims.c
[10/20] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/68] Emitting module _CollectionsUtilities
/host/spi-builder-workspace/Sources/_CollectionsUtilities/OSLog+Extensions.swift:1:8: error: no such module 'OSLog'
  1 | import OSLog
    |        `- error: no such module 'OSLog'
  2 | import Foundation
  3 | import os
[13/70] Compiling SystemPackage Backcompat.swift
/host/spi-builder-workspace/Sources/_CollectionsUtilities/OSLog+Extensions.swift:1:8: error: no such module 'OSLog'
  1 | import OSLog
    |        `- error: no such module 'OSLog'
  2 | import Foundation
  3 | import os
[14/70] Compiling SystemPackage CInterop.swift
/host/spi-builder-workspace/Sources/_CollectionsUtilities/OSLog+Extensions.swift:1:8: error: no such module 'OSLog'
  1 | import OSLog
    |        `- error: no such module 'OSLog'
  2 | import Foundation
  3 | import os
[15/70] Compiling SystemPackage Constants.swift
/host/spi-builder-workspace/Sources/_CollectionsUtilities/OSLog+Extensions.swift:1:8: error: no such module 'OSLog'
  1 | import OSLog
    |        `- error: no such module 'OSLog'
  2 | import Foundation
  3 | import os
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/70] 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)
[17/73] Compiling _CollectionsUtilities _SortedCollection.swift
/host/spi-builder-workspace/Sources/_CollectionsUtilities/OSLog+Extensions.swift:1:8: error: no such module 'OSLog'
  1 | import OSLog
    |        `- error: no such module 'OSLog'
  2 | import Foundation
  3 | import os
[18/73] Compiling _CollectionsUtilities _UniqueCollection.swift
/host/spi-builder-workspace/Sources/_CollectionsUtilities/OSLog+Extensions.swift:1:8: error: no such module 'OSLog'
  1 | import OSLog
    |        `- error: no such module 'OSLog'
  2 | import Foundation
  3 | import os
[19/73] Compiling SystemPackage MachPort.swift
[20/73] Compiling SystemPackage PlatformString.swift
[21/73] Compiling SystemPackage SystemString.swift
[22/73] Compiling SystemPackage FilePathSyntax.swift
/host/spi-builder-workspace/Sources/_CollectionsUtilities/OSLog+Extensions.swift:1:8: error: no such module 'OSLog'
  1 | import OSLog
    |        `- error: no such module 'OSLog'
  2 | import Foundation
  3 | import os
[23/73] Compiling SystemPackage FilePathTemp.swift
/host/spi-builder-workspace/Sources/_CollectionsUtilities/OSLog+Extensions.swift:1:8: error: no such module 'OSLog'
  1 | import OSLog
    |        `- error: no such module 'OSLog'
  2 | import Foundation
  3 | import os
[24/73] Compiling SystemPackage FileOperations.swift
/host/spi-builder-workspace/Sources/_CollectionsUtilities/OSLog+Extensions.swift:1:8: error: no such module 'OSLog'
  1 | import OSLog
    |        `- error: no such module 'OSLog'
  2 | import Foundation
  3 | import os
[25/73] Compiling SystemPackage FilePath.swift
/host/spi-builder-workspace/Sources/_CollectionsUtilities/OSLog+Extensions.swift:1:8: error: no such module 'OSLog'
  1 | import OSLog
    |        `- error: no such module 'OSLog'
  2 | import Foundation
  3 | import os
[26/73] Compiling _CollectionsUtilities _UnsafeBitSet+_Word.swift
/host/spi-builder-workspace/Sources/_CollectionsUtilities/OSLog+Extensions.swift:1:8: error: no such module 'OSLog'
  1 | import OSLog
    |        `- error: no such module 'OSLog'
  2 | import Foundation
  3 | import os
[27/73] Compiling _CollectionsUtilities _UnsafeBitSet.swift
/host/spi-builder-workspace/Sources/_CollectionsUtilities/OSLog+Extensions.swift:1:8: error: no such module 'OSLog'
  1 | import OSLog
    |        `- error: no such module 'OSLog'
  2 | import Foundation
  3 | import os
[28/73] Compiling ArgumentParserToolInfo ToolInfo.swift
[29/73] Emitting module ArgumentParserToolInfo
[34/74] Compiling SystemPackage Exports.swift
[37/74] Compiling SystemPackage FilePathComponentView.swift
[38/74] Compiling SystemPackage FilePathComponents.swift
[39/74] 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)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
    |                                                         `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
    |                              `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
    |                                                         `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
    |                              `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
[42/74] Compiling _CollectionsUtilities UInt+reversed.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)
[43/74] Compiling SystemPackage FilePathParsing.swift
[44/74] Compiling SystemPackage FilePathString.swift
[47/74] Compiling _CollectionsUtilities OSLog+Extensions.swift
[50/74] Compiling SystemPackage FileHelpers.swift
[51/74] 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 |
[52/74] 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 |
[53/74] 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 |
[54/74] 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 |
[54/74] Wrapping AST for ArgumentParserToolInfo for debugging
[56/112] Compiling ArgumentParser DumpHelpGenerator.swift
[57/112] Compiling ArgumentParser HelpCommand.swift
[58/112] Compiling ArgumentParser HelpGenerator.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
warning: 'spi-builder-workspace': found 5 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/SummarizedCollectionBenchmark/Temp.json
    /host/spi-builder-workspace/Sources/SummarizedCollectionBenchmark/results.json
    /host/spi-builder-workspace/Sources/SummarizedCollectionBenchmark/SummaryTree.json
    /host/spi-builder-workspace/Sources/SummarizedCollectionBenchmark/README.md
    /host/spi-builder-workspace/Sources/SummarizedCollectionBenchmark/results.html
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/_CollectionsUtilities/CMakeLists.txt
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/11] Write swift-version-24593BA9C3E375BF.txt
[3/59] Emitting module ArgumentParserToolInfo
[4/59] Compiling SystemPackage Backcompat.swift
/host/spi-builder-workspace/Sources/_CollectionsUtilities/OSLog+Extensions.swift:1:8: error: no such module 'OSLog'
  1 | import OSLog
    |        `- error: no such module 'OSLog'
  2 | import Foundation
  3 | import os
[5/59] Compiling SystemPackage CInterop.swift
/host/spi-builder-workspace/Sources/_CollectionsUtilities/OSLog+Extensions.swift:1:8: error: no such module 'OSLog'
  1 | import OSLog
    |        `- error: no such module 'OSLog'
  2 | import Foundation
  3 | import os
[6/59] Compiling SystemPackage Constants.swift
/host/spi-builder-workspace/Sources/_CollectionsUtilities/OSLog+Extensions.swift:1:8: error: no such module 'OSLog'
  1 | import OSLog
    |        `- error: no such module 'OSLog'
  2 | import Foundation
  3 | import os
[7/61] Compiling _CollectionsUtilities _SortedCollection.swift
/host/spi-builder-workspace/Sources/_CollectionsUtilities/OSLog+Extensions.swift:1:8: error: no such module 'OSLog'
  1 | import OSLog
    |        `- error: no such module 'OSLog'
  2 | import Foundation
  3 | import os
[8/61] Compiling _CollectionsUtilities _UniqueCollection.swift
/host/spi-builder-workspace/Sources/_CollectionsUtilities/OSLog+Extensions.swift:1:8: error: no such module 'OSLog'
  1 | import OSLog
    |        `- error: no such module 'OSLog'
  2 | import Foundation
  3 | import os
[9/61] Compiling SystemPackage FilePathString.swift
/host/spi-builder-workspace/Sources/_CollectionsUtilities/OSLog+Extensions.swift:1:8: error: no such module 'OSLog'
  1 | import OSLog
    |        `- error: no such module 'OSLog'
  2 | import Foundation
  3 | import os
[10/61] Compiling SystemPackage FilePathSyntax.swift
/host/spi-builder-workspace/Sources/_CollectionsUtilities/OSLog+Extensions.swift:1:8: error: no such module 'OSLog'
  1 | import OSLog
    |        `- error: no such module 'OSLog'
  2 | import Foundation
  3 | import os
[11/61] Compiling SystemPackage Exports.swift
/host/spi-builder-workspace/Sources/_CollectionsUtilities/OSLog+Extensions.swift:1:8: error: no such module 'OSLog'
  1 | import OSLog
    |        `- error: no such module 'OSLog'
  2 | import Foundation
  3 | import os
[12/61] Compiling SystemPackage FileOperations.swift
/host/spi-builder-workspace/Sources/_CollectionsUtilities/OSLog+Extensions.swift:1:8: error: no such module 'OSLog'
  1 | import OSLog
    |        `- error: no such module 'OSLog'
  2 | import Foundation
  3 | import os
[13/61] Compiling SystemPackage FilePath.swift
/host/spi-builder-workspace/Sources/_CollectionsUtilities/OSLog+Extensions.swift:1:8: error: no such module 'OSLog'
  1 | import OSLog
    |        `- error: no such module 'OSLog'
  2 | import Foundation
  3 | import os
[14/61] 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)
[15/61] 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)
[16/61] 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)
[17/61] 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)
[22/64] Compiling _CollectionsUtilities RandomAccessCollection+Offsets.swift
/host/spi-builder-workspace/Sources/_CollectionsUtilities/OSLog+Extensions.swift:1:8: error: no such module 'OSLog'
  1 | import OSLog
    |        `- error: no such module 'OSLog'
  2 | import Foundation
  3 | import os
[23/64] Compiling _CollectionsUtilities _UnsafeBitSet+Index.swift
/host/spi-builder-workspace/Sources/_CollectionsUtilities/OSLog+Extensions.swift:1:8: error: no such module 'OSLog'
  1 | import OSLog
    |        `- error: no such module 'OSLog'
  2 | import Foundation
  3 | import os
/host/spi-builder-workspace/Sources/_CollectionsUtilities/OSLog+Extensions.swift:1:8: error: no such module 'OSLog'
  1 | import OSLog
    |        `- error: no such module 'OSLog'
  2 | import Foundation
  3 | import os
/host/spi-builder-workspace/Sources/_CollectionsUtilities/OSLog+Extensions.swift:1:8: error: no such module 'OSLog'
  1 | import OSLog
    |        `- error: no such module 'OSLog'
  2 | import Foundation
  3 | import os
[26/64] Compiling SystemPackage FilePathParsing.swift
/host/spi-builder-workspace/Sources/_CollectionsUtilities/OSLog+Extensions.swift:1:8: error: no such module 'OSLog'
  1 | import OSLog
    |        `- error: no such module 'OSLog'
  2 | import Foundation
  3 | import os
[27/64] Compiling SystemPackage FilePathTemp.swift
/host/spi-builder-workspace/Sources/_CollectionsUtilities/OSLog+Extensions.swift:1:8: error: no such module 'OSLog'
  1 | import OSLog
    |        `- error: no such module 'OSLog'
  2 | import Foundation
  3 | import os
error: emit-module command failed with exit code 1 (use -v to see invocation)
[28/64] Compiling SystemPackage MachPort.swift
/host/spi-builder-workspace/Sources/_CollectionsUtilities/OSLog+Extensions.swift:1:8: error: no such module 'OSLog'
  1 | import OSLog
    |        `- error: no such module 'OSLog'
  2 | import Foundation
  3 | import os
/host/spi-builder-workspace/Sources/_CollectionsUtilities/OSLog+Extensions.swift:1:8: error: no such module 'OSLog'
  1 | import OSLog
    |        `- error: no such module 'OSLog'
  2 | import Foundation
  3 | import os
/host/spi-builder-workspace/Sources/_CollectionsUtilities/OSLog+Extensions.swift:1:8: error: no such module 'OSLog'
  1 | import OSLog
    |        `- error: no such module 'OSLog'
  2 | import Foundation
  3 | import os
[31/64] Emitting module _CollectionsUtilities
/host/spi-builder-workspace/Sources/_CollectionsUtilities/OSLog+Extensions.swift:1:8: error: no such module 'OSLog'
  1 | import OSLog
    |        `- error: no such module 'OSLog'
  2 | import Foundation
  3 | import os
BUILD FAILURE 6.1 wasm