The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build swift-composable-environment, reference 0.5.3 (757dd9), with Swift 6.1 for Wasm on 28 May 2025 09:05:47 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/tgrapperon/swift-composable-environment.git
Reference: 0.5.3
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/tgrapperon/swift-composable-environment
 * tag               0.5.3      -> FETCH_HEAD
HEAD is now at 757dd90 Update README.md
Cloned https://github.com/tgrapperon/swift-composable-environment.git
Revision (git rev-parse @):
757dd90ed0bab6a2c2452627312533d3d09a1564
SUCCESS checkout https://github.com/tgrapperon/swift-composable-environment.git at 0.5.3
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/tgrapperon/swift-composable-environment.git
https://github.com/tgrapperon/swift-composable-environment.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-composable-architecture",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.21.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pointfreeco/swift-composable-architecture"
    }
  ],
  "manifest_display_name" : "swift-composable-environment",
  "name" : "swift-composable-environment",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "ComposableDependencies",
      "targets" : [
        "ComposableDependencies"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ComposableEnvironment",
      "targets" : [
        "ComposableEnvironment"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "GlobalEnvironment",
      "targets" : [
        "GlobalEnvironment"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "_DependencyAliases",
      "module_type" : "SwiftTarget",
      "name" : "_DependencyAliases",
      "path" : "Sources/_DependencyAliases",
      "product_memberships" : [
        "ComposableEnvironment",
        "GlobalEnvironment"
      ],
      "sources" : [
        "DependencyAliases.swift"
      ],
      "target_dependencies" : [
        "ComposableDependencies"
      ],
      "type" : "library"
    },
    {
      "c99name" : "_Dependencies",
      "module_type" : "SwiftTarget",
      "name" : "_Dependencies",
      "path" : "Sources/_Dependencies",
      "product_memberships" : [
        "ComposableDependencies",
        "ComposableEnvironment",
        "GlobalEnvironment"
      ],
      "sources" : [
        "Dependencies.swift",
        "DependencyKey.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "GlobalEnvironmentTests",
      "module_type" : "SwiftTarget",
      "name" : "GlobalEnvironmentTests",
      "path" : "Tests/GlobalEnvironmentTests",
      "sources" : [
        "GlobalEnvironmentTests.swift",
        "ReducerGlobalEnvironmentTests.swift"
      ],
      "target_dependencies" : [
        "GlobalEnvironment"
      ],
      "type" : "test"
    },
    {
      "c99name" : "GlobalEnvironment",
      "module_type" : "SwiftTarget",
      "name" : "GlobalEnvironment",
      "path" : "Sources/GlobalEnvironment",
      "product_dependencies" : [
        "ComposableArchitecture"
      ],
      "product_memberships" : [
        "GlobalEnvironment"
      ],
      "sources" : [
        "Dependency.swift",
        "Deprecations/ComposableEnvironment+Migration.swift",
        "Deprecations/Reducers+Deprecations.swift",
        "DerivedEnvironment.swift",
        "GlobalEnvironment.swift",
        "Reducer+GlobalEnvironment.swift"
      ],
      "target_dependencies" : [
        "ComposableDependencies",
        "_Dependencies",
        "_DependencyAliases"
      ],
      "type" : "library"
    },
    {
      "c99name" : "DependencyAliasesTests",
      "module_type" : "SwiftTarget",
      "name" : "DependencyAliasesTests",
      "path" : "Tests/DependencyAliasesTests",
      "sources" : [
        "DependencyAliasesTests.swift"
      ],
      "target_dependencies" : [
        "_DependencyAliases"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ComposableEnvironmentTests",
      "module_type" : "SwiftTarget",
      "name" : "ComposableEnvironmentTests",
      "path" : "Tests/ComposableEnvironmentTests",
      "sources" : [
        "ComposableEnvironmentTests.swift",
        "ReducerComposableEnvironmentTests.swift"
      ],
      "target_dependencies" : [
        "ComposableEnvironment"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ComposableEnvironment",
      "module_type" : "SwiftTarget",
      "name" : "ComposableEnvironment",
      "path" : "Sources/ComposableEnvironment",
      "product_dependencies" : [
        "ComposableArchitecture"
      ],
      "product_memberships" : [
        "ComposableEnvironment"
      ],
      "sources" : [
        "ComposableEnvironment.swift",
        "Dependency.swift",
        "Deprecations/GlobalEnvironment+Migration.swift",
        "Deprecations/Reducers+Deprecations.swift",
        "DerivedEnvironment.swift",
        "Reducer+ComposableEnvironment.swift"
      ],
      "target_dependencies" : [
        "ComposableDependencies",
        "_Dependencies",
        "_DependencyAliases"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ComposableDependencies",
      "module_type" : "SwiftTarget",
      "name" : "ComposableDependencies",
      "path" : "Sources/ComposableDependencies",
      "product_memberships" : [
        "ComposableDependencies",
        "ComposableEnvironment",
        "GlobalEnvironment"
      ],
      "sources" : [
        "ComposableDependencies.swift"
      ],
      "target_dependencies" : [
        "_Dependencies"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/pointfreeco/swift-composable-architecture
[1/303658] Fetching swift-composable-architecture
Fetched https://github.com/pointfreeco/swift-composable-architecture from cache (23.21s)
Computing version for https://github.com/pointfreeco/swift-composable-architecture
Computed https://github.com/pointfreeco/swift-composable-architecture at 0.59.0 (24.00s)
Fetching https://github.com/pointfreeco/swift-custom-dump
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/pointfreeco/swift-dependencies
Fetching https://github.com/pointfreeco/swiftui-navigation
Fetching https://github.com/pointfreeco/swift-concurrency-extras
Fetching https://github.com/pointfreeco/swift-identified-collections
[1/1394] Fetching swiftui-navigation
[238/5975] Fetching swiftui-navigation, swift-custom-dump
[5976/6827] Fetching swiftui-navigation, swift-custom-dump, swift-concurrency-extras
[6828/8361] Fetching swiftui-navigation, swift-custom-dump, swift-concurrency-extras, swift-identified-collections
[7703/13819] Fetching swiftui-navigation, swift-custom-dump, swift-concurrency-extras, swift-identified-collections, xctest-dynamic-overlay
[11856/20068] Fetching swiftui-navigation, swift-custom-dump, swift-concurrency-extras, swift-identified-collections, xctest-dynamic-overlay, swift-dependencies
Fetched https://github.com/pointfreeco/swift-concurrency-extras from cache (1.34s)
Fetched https://github.com/pointfreeco/swift-identified-collections from cache (1.34s)
Fetching https://github.com/pointfreeco/swift-case-paths
Fetching https://github.com/pointfreeco/combine-schedulers
[1/2410] Fetching combine-schedulers
[2411/6785] Fetching combine-schedulers, swift-case-paths
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (3.78s)
Fetched https://github.com/pointfreeco/swiftui-navigation from cache (3.78s)
Fetching https://github.com/apple/swift-collections
Fetched https://github.com/pointfreeco/swift-dependencies from cache (3.78s)
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (3.79s)
Fetched https://github.com/pointfreeco/combine-schedulers from cache (3.74s)
Fetched https://github.com/pointfreeco/swift-case-paths from cache (3.74s)
[1/16591] Fetching swift-collections
Fetched https://github.com/apple/swift-collections from cache (4.17s)
Computing version for https://github.com/pointfreeco/swiftui-navigation
Computed https://github.com/pointfreeco/swiftui-navigation at 0.8.0 (8.54s)
Computing version for https://github.com/pointfreeco/swift-dependencies
Computed https://github.com/pointfreeco/swift-dependencies at 0.6.0 (0.69s)
Fetching https://github.com/pointfreeco/swift-clocks
[1/1292] Fetching swift-clocks
Fetched https://github.com/pointfreeco/swift-clocks from cache (0.28s)
Computing version for https://github.com/pointfreeco/swift-case-paths
Computed https://github.com/pointfreeco/swift-case-paths at 0.14.1 (0.81s)
Computing version for https://github.com/pointfreeco/combine-schedulers
Computed https://github.com/pointfreeco/combine-schedulers at 0.11.0 (0.50s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 0.4.0 (0.50s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 0.11.2 (0.54s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 0.1.2 (0.47s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 0.9.0 (0.56s)
Computing version for https://github.com/pointfreeco/swift-identified-collections
Computed https://github.com/pointfreeco/swift-identified-collections at 0.8.0 (1.42s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.2.0 (0.70s)
Creating working copy for https://github.com/pointfreeco/swift-composable-architecture
Working copy of https://github.com/pointfreeco/swift-composable-architecture resolved at 0.59.0
Creating working copy for https://github.com/pointfreeco/swift-clocks
Working copy of https://github.com/pointfreeco/swift-clocks resolved at 0.4.0
Creating working copy for https://github.com/pointfreeco/swiftui-navigation
Working copy of https://github.com/pointfreeco/swiftui-navigation resolved at 0.8.0
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 0.9.0
Creating working copy for https://github.com/pointfreeco/swift-dependencies
Working copy of https://github.com/pointfreeco/swift-dependencies resolved at 0.6.0
Creating working copy for https://github.com/pointfreeco/swift-identified-collections
Working copy of https://github.com/pointfreeco/swift-identified-collections resolved at 0.8.0
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.2.0
Creating working copy for https://github.com/pointfreeco/combine-schedulers
Working copy of https://github.com/pointfreeco/combine-schedulers resolved at 0.11.0
Creating working copy for https://github.com/pointfreeco/swift-case-paths
Working copy of https://github.com/pointfreeco/swift-case-paths resolved at 0.14.1
Creating working copy for https://github.com/pointfreeco/swift-concurrency-extras
Working copy of https://github.com/pointfreeco/swift-concurrency-extras resolved at 0.1.2
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 0.11.2
Building for debugging...
[0/18] Write sources
[17/18] Write swift-version-24593BA9C3E375BF.txt
[19/51] Emitting module InternalCollectionsUtilities
[20/52] Compiling ConcurrencyExtras MainSerialExecutor.swift
[21/53] Compiling ConcurrencyExtras UncheckedSendable.swift
[22/53] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[23/53] Emitting module ConcurrencyExtras
[24/53] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[25/53] Compiling ConcurrencyExtras ActorIsolated.swift
[26/53] Compiling InternalCollectionsUtilities Descriptions.swift
[27/53] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[28/53] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[29/53] Compiling InternalCollectionsUtilities UInt+reversed.swift
[30/53] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[31/53] Compiling InternalCollectionsUtilities Integer rank.swift
[32/53] Compiling _Dependencies DependencyKey.swift
[33/53] Emitting module _Dependencies
[34/53] Compiling _Dependencies Dependencies.swift
[35/53] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[36/53] Compiling InternalCollectionsUtilities _SortedCollection.swift
[37/53] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[38/54] Compiling InternalCollectionsUtilities Debugging.swift
[39/54] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[40/54] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[43/112] Compiling ComposableDependencies ComposableDependencies.swift
[44/112] Emitting module ComposableDependencies
[45/113] Compiling XCTestDynamicOverlay XCTCurrentTestCase.swift
[46/113] Compiling XCTestDynamicOverlay XCTFail.swift
[47/113] Compiling XCTestDynamicOverlay Unimplemented.swift
[49/114] Compiling ConcurrencyExtras AsyncThrowingStream.swift
[50/114] Compiling ConcurrencyExtras AsyncStream.swift
[51/114] Compiling ConcurrencyExtras Locking.swift
[52/114] Compiling ConcurrencyExtras LockIsolated.swift
[53/114] Compiling ConcurrencyExtras Task.swift
[54/115] Emitting module XCTestDynamicOverlay
[55/115] Compiling XCTestDynamicOverlay DefaultInitializable.swift
[56/115] Compiling XCTestDynamicOverlay GeneratePlaceholder.swift
[57/115] Compiling XCTestDynamicOverlay Deprecations.swift
[58/115] Compiling XCTestDynamicOverlay RuntimeWarnings.swift
[59/115] Compiling XCTestDynamicOverlay XCTIsTesting.swift
[61/118] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[62/118] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[63/118] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[64/118] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[65/118] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[66/118] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[67/118] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[69/125] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[70/125] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[71/125] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[72/125] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[73/125] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[74/125] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[75/125] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[76/125] Compiling OrderedCollections OrderedSet+Initializers.swift
[77/125] Compiling OrderedCollections OrderedSet+Insertions.swift
[78/125] Compiling OrderedCollections OrderedSet+Invariants.swift
[79/125] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[80/125] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[81/125] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[82/125] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[83/125] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[84/125] Emitting module _DependencyAliases
[85/125] Compiling _DependencyAliases DependencyAliases.swift
/host/spi-builder-workspace/Sources/_DependencyAliases/DependencyAliases.swift:69:26: error: cannot find 'CTL_KERN' in scope
67 |   #if DEBUG
68 |     // https://github.com/bitstadium/HockeySDK-iOS/blob/c6e8d1e940299bec0c0585b1f7b86baf3b17fc82/Classes/BITHockeyHelper.m#L346-L370
69 |     var name: [Int32] = [CTL_KERN, KERN_PROC, KERN_PROC_PID, getpid()]
   |                          `- error: cannot find 'CTL_KERN' in scope
70 |     var info = kinfo_proc()
71 |     var info_size = MemoryLayout<kinfo_proc>.size
/host/spi-builder-workspace/Sources/_DependencyAliases/DependencyAliases.swift:69:36: error: cannot find 'KERN_PROC' in scope
67 |   #if DEBUG
68 |     // https://github.com/bitstadium/HockeySDK-iOS/blob/c6e8d1e940299bec0c0585b1f7b86baf3b17fc82/Classes/BITHockeyHelper.m#L346-L370
69 |     var name: [Int32] = [CTL_KERN, KERN_PROC, KERN_PROC_PID, getpid()]
   |                                    `- error: cannot find 'KERN_PROC' in scope
70 |     var info = kinfo_proc()
71 |     var info_size = MemoryLayout<kinfo_proc>.size
/host/spi-builder-workspace/Sources/_DependencyAliases/DependencyAliases.swift:69:47: error: cannot find 'KERN_PROC_PID' in scope
67 |   #if DEBUG
68 |     // https://github.com/bitstadium/HockeySDK-iOS/blob/c6e8d1e940299bec0c0585b1f7b86baf3b17fc82/Classes/BITHockeyHelper.m#L346-L370
69 |     var name: [Int32] = [CTL_KERN, KERN_PROC, KERN_PROC_PID, getpid()]
   |                                               `- error: cannot find 'KERN_PROC_PID' in scope
70 |     var info = kinfo_proc()
71 |     var info_size = MemoryLayout<kinfo_proc>.size
/host/spi-builder-workspace/Sources/_DependencyAliases/DependencyAliases.swift:70:16: error: cannot find 'kinfo_proc' in scope
68 |     // https://github.com/bitstadium/HockeySDK-iOS/blob/c6e8d1e940299bec0c0585b1f7b86baf3b17fc82/Classes/BITHockeyHelper.m#L346-L370
69 |     var name: [Int32] = [CTL_KERN, KERN_PROC, KERN_PROC_PID, getpid()]
70 |     var info = kinfo_proc()
   |                `- error: cannot find 'kinfo_proc' in scope
71 |     var info_size = MemoryLayout<kinfo_proc>.size
72 |
/host/spi-builder-workspace/Sources/_DependencyAliases/DependencyAliases.swift:71:34: error: cannot find type 'kinfo_proc' in scope
69 |     var name: [Int32] = [CTL_KERN, KERN_PROC, KERN_PROC_PID, getpid()]
70 |     var info = kinfo_proc()
71 |     var info_size = MemoryLayout<kinfo_proc>.size
   |                                  `- error: cannot find type 'kinfo_proc' in scope
72 |
73 |     let isDebuggerAttached = name.withUnsafeMutableBytes {
/host/spi-builder-workspace/Sources/_DependencyAliases/DependencyAliases.swift:76:11: error: cannot find 'sysctl' in scope
74 |       $0.bindMemory(to: Int32.self).baseAddress
75 |         .map {
76 |           sysctl($0, 4, &info, &info_size, nil, 0) != -1 && info.kp_proc.p_flag & P_TRACED != 0
   |           `- error: cannot find 'sysctl' in scope
77 |         }
78 |         ?? false
/host/spi-builder-workspace/Sources/_DependencyAliases/DependencyAliases.swift:76:83: error: cannot find 'P_TRACED' in scope
74 |       $0.bindMemory(to: Int32.self).baseAddress
75 |         .map {
76 |           sysctl($0, 4, &info, &info_size, nil, 0) != -1 && info.kp_proc.p_flag & P_TRACED != 0
   |                                                                                   `- error: cannot find 'P_TRACED' in scope
77 |         }
78 |         ?? false
/host/spi-builder-workspace/Sources/_DependencyAliases/DependencyAliases.swift:76:44: error: 'nil' requires a contextual type
74 |       $0.bindMemory(to: Int32.self).baseAddress
75 |         .map {
76 |           sysctl($0, 4, &info, &info_size, nil, 0) != -1 && info.kp_proc.p_flag & P_TRACED != 0
   |                                            `- error: 'nil' requires a contextual type
77 |         }
78 |         ?? false
/host/spi-builder-workspace/Sources/_DependencyAliases/DependencyAliases.swift:91:7: error: cannot find 'raise' in scope
89 |         stderr
90 |       )
91 |       raise(SIGTRAP)
   |       `- error: cannot find 'raise' in scope
92 |     }
93 |   #endif
/host/spi-builder-workspace/Sources/_DependencyAliases/DependencyAliases.swift:91:13: error: cannot find 'SIGTRAP' in scope
89 |         stderr
90 |       )
91 |       raise(SIGTRAP)
   |             `- error: cannot find 'SIGTRAP' in scope
92 |     }
93 |   #endif
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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
[2/34] Compiling _Dependencies DependencyKey.swift
[3/34] Compiling _Dependencies Dependencies.swift
[4/34] Emitting module _Dependencies
[5/35] Compiling ConcurrencyExtras Locking.swift
[6/36] Compiling ConcurrencyExtras AsyncStream.swift
[7/36] Compiling XCTestDynamicOverlay GeneratePlaceholder.swift
[8/37] Compiling ConcurrencyExtras AsyncThrowingStream.swift
[9/37] Compiling XCTestDynamicOverlay RuntimeWarnings.swift
[10/37] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[11/38] Emitting module ConcurrencyExtras
[12/38] Compiling ConcurrencyExtras Task.swift
[13/38] Compiling ConcurrencyExtras ActorIsolated.swift
[14/38] Compiling ConcurrencyExtras MainSerialExecutor.swift
[16/38] Compiling XCTestDynamicOverlay XCTIsTesting.swift
[17/38] Compiling XCTestDynamicOverlay XCTFail.swift
[18/38] Compiling ConcurrencyExtras LockIsolated.swift
[19/38] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[20/38] Compiling InternalCollectionsUtilities Debugging.swift
[21/38] Compiling InternalCollectionsUtilities Descriptions.swift
[22/38] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[23/38] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[24/38] Compiling InternalCollectionsUtilities Integer rank.swift
[25/38] Compiling XCTestDynamicOverlay DefaultInitializable.swift
[26/38] Emitting module XCTestDynamicOverlay
[27/38] Compiling XCTestDynamicOverlay Deprecations.swift
[28/38] Compiling ConcurrencyExtras UncheckedSendable.swift
[29/39] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[30/39] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[31/39] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[33/41] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[34/41] Compiling InternalCollectionsUtilities UInt+reversed.swift
[35/41] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[36/41] Compiling InternalCollectionsUtilities _SortedCollection.swift
[37/41] Emitting module InternalCollectionsUtilities
[38/42] Compiling XCTestDynamicOverlay XCTCurrentTestCase.swift
[39/42] Compiling XCTestDynamicOverlay Unimplemented.swift
[40/43] Emitting module ComposableDependencies
[41/43] Compiling ComposableDependencies ComposableDependencies.swift
[45/154] Compiling _DependencyAliases DependencyAliases.swift
/host/spi-builder-workspace/Sources/_DependencyAliases/DependencyAliases.swift:69:26: error: cannot find 'CTL_KERN' in scope
67 |   #if DEBUG
68 |     // https://github.com/bitstadium/HockeySDK-iOS/blob/c6e8d1e940299bec0c0585b1f7b86baf3b17fc82/Classes/BITHockeyHelper.m#L346-L370
69 |     var name: [Int32] = [CTL_KERN, KERN_PROC, KERN_PROC_PID, getpid()]
   |                          `- error: cannot find 'CTL_KERN' in scope
70 |     var info = kinfo_proc()
71 |     var info_size = MemoryLayout<kinfo_proc>.size
/host/spi-builder-workspace/Sources/_DependencyAliases/DependencyAliases.swift:69:36: error: cannot find 'KERN_PROC' in scope
67 |   #if DEBUG
68 |     // https://github.com/bitstadium/HockeySDK-iOS/blob/c6e8d1e940299bec0c0585b1f7b86baf3b17fc82/Classes/BITHockeyHelper.m#L346-L370
69 |     var name: [Int32] = [CTL_KERN, KERN_PROC, KERN_PROC_PID, getpid()]
   |                                    `- error: cannot find 'KERN_PROC' in scope
70 |     var info = kinfo_proc()
71 |     var info_size = MemoryLayout<kinfo_proc>.size
/host/spi-builder-workspace/Sources/_DependencyAliases/DependencyAliases.swift:69:47: error: cannot find 'KERN_PROC_PID' in scope
67 |   #if DEBUG
68 |     // https://github.com/bitstadium/HockeySDK-iOS/blob/c6e8d1e940299bec0c0585b1f7b86baf3b17fc82/Classes/BITHockeyHelper.m#L346-L370
69 |     var name: [Int32] = [CTL_KERN, KERN_PROC, KERN_PROC_PID, getpid()]
   |                                               `- error: cannot find 'KERN_PROC_PID' in scope
70 |     var info = kinfo_proc()
71 |     var info_size = MemoryLayout<kinfo_proc>.size
/host/spi-builder-workspace/Sources/_DependencyAliases/DependencyAliases.swift:70:16: error: cannot find 'kinfo_proc' in scope
68 |     // https://github.com/bitstadium/HockeySDK-iOS/blob/c6e8d1e940299bec0c0585b1f7b86baf3b17fc82/Classes/BITHockeyHelper.m#L346-L370
69 |     var name: [Int32] = [CTL_KERN, KERN_PROC, KERN_PROC_PID, getpid()]
70 |     var info = kinfo_proc()
   |                `- error: cannot find 'kinfo_proc' in scope
71 |     var info_size = MemoryLayout<kinfo_proc>.size
72 |
/host/spi-builder-workspace/Sources/_DependencyAliases/DependencyAliases.swift:71:34: error: cannot find type 'kinfo_proc' in scope
69 |     var name: [Int32] = [CTL_KERN, KERN_PROC, KERN_PROC_PID, getpid()]
70 |     var info = kinfo_proc()
71 |     var info_size = MemoryLayout<kinfo_proc>.size
   |                                  `- error: cannot find type 'kinfo_proc' in scope
72 |
73 |     let isDebuggerAttached = name.withUnsafeMutableBytes {
/host/spi-builder-workspace/Sources/_DependencyAliases/DependencyAliases.swift:76:11: error: cannot find 'sysctl' in scope
74 |       $0.bindMemory(to: Int32.self).baseAddress
75 |         .map {
76 |           sysctl($0, 4, &info, &info_size, nil, 0) != -1 && info.kp_proc.p_flag & P_TRACED != 0
   |           `- error: cannot find 'sysctl' in scope
77 |         }
78 |         ?? false
/host/spi-builder-workspace/Sources/_DependencyAliases/DependencyAliases.swift:76:83: error: cannot find 'P_TRACED' in scope
74 |       $0.bindMemory(to: Int32.self).baseAddress
75 |         .map {
76 |           sysctl($0, 4, &info, &info_size, nil, 0) != -1 && info.kp_proc.p_flag & P_TRACED != 0
   |                                                                                   `- error: cannot find 'P_TRACED' in scope
77 |         }
78 |         ?? false
/host/spi-builder-workspace/Sources/_DependencyAliases/DependencyAliases.swift:76:44: error: 'nil' requires a contextual type
74 |       $0.bindMemory(to: Int32.self).baseAddress
75 |         .map {
76 |           sysctl($0, 4, &info, &info_size, nil, 0) != -1 && info.kp_proc.p_flag & P_TRACED != 0
   |                                            `- error: 'nil' requires a contextual type
77 |         }
78 |         ?? false
/host/spi-builder-workspace/Sources/_DependencyAliases/DependencyAliases.swift:91:7: error: cannot find 'raise' in scope
89 |         stderr
90 |       )
91 |       raise(SIGTRAP)
   |       `- error: cannot find 'raise' in scope
92 |     }
93 |   #endif
/host/spi-builder-workspace/Sources/_DependencyAliases/DependencyAliases.swift:91:13: error: cannot find 'SIGTRAP' in scope
89 |         stderr
90 |       )
91 |       raise(SIGTRAP)
   |             `- error: cannot find 'SIGTRAP' in scope
92 |     }
93 |   #endif
[46/154] Compiling CombineSchedulers UIScheduler.swift
[47/155] Emitting module CombineSchedulers
[48/155] Compiling Clocks Shims.swift
[49/156] Emitting module _DependencyAliases
[50/156] Compiling OrderedCollections _HashTable.swift
[51/156] Compiling OrderedCollections _Hashtable+Header.swift
[52/156] Compiling OrderedCollections _HashTable+Bucket.swift
[53/156] Compiling OrderedCollections _HashTable+BucketIterator.swift
[54/156] Compiling OrderedCollections _HashTable+Constants.swift
[55/156] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[56/156] Compiling CombineSchedulers Timer.swift
[57/156] Compiling CombineSchedulers UIKit.swift
[58/156] Compiling CasePaths OpenExistential.swift
[59/156] Compiling CasePaths CasePaths.swift
BUILD FAILURE 6.1 wasm