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 FlutterSwiftOCA, reference main (5dd2ed), with Swift 6.1 for Wasm on 12 Jun 2025 03:40:51 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/PADL/FlutterSwiftOCA.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/PADL/FlutterSwiftOCA
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 5dd2edd fix typo
Cloned https://github.com/PADL/FlutterSwiftOCA.git
Revision (git rev-parse @):
5dd2eddfd8f3edb421cc1915c191c1ee0fd62aea
SUCCESS checkout https://github.com/PADL/FlutterSwiftOCA.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/PADL/FlutterSwiftOCA.git
https://github.com/PADL/FlutterSwiftOCA.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-async-algorithms",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-async-algorithms"
    },
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.6.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log"
    },
    {
      "identity" : "asyncextensions",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.9.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/lhoward/AsyncExtensions"
    },
    {
      "identity" : "swiftoca",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/PADL/SwiftOCA"
    },
    {
      "identity" : "flutterswift",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/PADL/FlutterSwift"
    }
  ],
  "manifest_display_name" : "FlutterSwiftOCA",
  "name" : "FlutterSwiftOCA",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "14.0"
    },
    {
      "name" : "ios",
      "version" : "17.0"
    }
  ],
  "products" : [
    {
      "name" : "FlutterSwiftOCA",
      "targets" : [
        "FlutterSwiftOCA"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "FlutterSwiftOCATests",
      "module_type" : "SwiftTarget",
      "name" : "FlutterSwiftOCATests",
      "path" : "Tests/FlutterSwiftOCATests",
      "sources" : [
        "FlutterSwiftOCATests.swift"
      ],
      "target_dependencies" : [
        "FlutterSwiftOCA"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FlutterSwiftOCA",
      "module_type" : "SwiftTarget",
      "name" : "FlutterSwiftOCA",
      "path" : "Sources/FlutterSwiftOCA",
      "product_dependencies" : [
        "AsyncAlgorithms",
        "Logging",
        "AsyncExtensions",
        "SwiftOCA",
        "FlutterSwift"
      ],
      "product_memberships" : [
        "FlutterSwiftOCA"
      ],
      "sources" : [
        "OcaChannelManager.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
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/PADL/SwiftOCA
[1/13868] Fetching swiftoca
Fetched https://github.com/PADL/SwiftOCA from cache (0.52s)
Fetching https://github.com/PADL/FlutterSwift
[1/3093] Fetching flutterswift
Fetched https://github.com/PADL/FlutterSwift from cache (13.43s)
warning: 'flutterswift': "Swift Root is / Flags [\"-I\", \"//usr/include\", \"-I\", \"//usr/lib/swift\", \"-I\", \"/usr/include/drm\"]"
Fetching https://github.com/xtremekforever/swift-systemd
[1/377] Fetching swift-systemd
Fetched https://github.com/xtremekforever/swift-systemd from cache (3.81s)
Fetching https://github.com/apple/swift-atomics
Fetching https://github.com/lhoward/AsyncExtensions
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-log
Fetching https://github.com/PADL/IORingSwift
Fetching https://github.com/apple/swift-async-algorithms
[1/682] Fetching asyncextensions
[683/2479] Fetching asyncextensions, swift-atomics
[1294/4905] Fetching asyncextensions, swift-atomics, swift-service-lifecycle
[3558/8741] Fetching asyncextensions, swift-atomics, swift-service-lifecycle, swift-log
[3601/10896] Fetching asyncextensions, swift-atomics, swift-service-lifecycle, swift-log, ioringswift
[5628/15881] Fetching asyncextensions, swift-atomics, swift-service-lifecycle, swift-log, ioringswift, swift-async-algorithms
Fetched https://github.com/apple/swift-atomics from cache (0.77s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.77s)
Fetching https://github.com/Flight-School/AnyCodable
Fetched https://github.com/lhoward/AsyncExtensions from cache (0.83s)
Fetched https://github.com/PADL/IORingSwift from cache (0.83s)
Fetching https://github.com/apple/swift-system
Fetched https://github.com/apple/swift-log from cache (0.83s)
Fetched https://github.com/apple/swift-async-algorithms from cache (0.83s)
[1/782] Fetching anycodable
[783/5210] Fetching anycodable, swift-system
Fetching https://github.com/PADL/SocketAddress
Fetched https://github.com/Flight-School/AnyCodable from cache (0.78s)
Fetched https://github.com/apple/swift-system from cache (0.74s)
[1/68] Fetching socketaddress
Fetched https://github.com/PADL/SocketAddress from cache (0.29s)
Computing version for https://github.com/Flight-School/AnyCodable
Computed https://github.com/Flight-School/AnyCodable at 0.6.7 (2.37s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.3 (0.47s)
Computing version for https://github.com/apple/swift-atomics
Computed https://github.com/apple/swift-atomics at 1.3.0 (1.10s)
Computing version for https://github.com/lhoward/AsyncExtensions
Computed https://github.com/lhoward/AsyncExtensions at 0.9.2 (0.47s)
Fetching https://github.com/apple/swift-collections.git
[1/16600] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.01s)
Computing version for https://github.com/PADL/SocketAddress
Computed https://github.com/PADL/SocketAddress at 0.0.3 (1.44s)
Computing version for https://github.com/apple/swift-async-algorithms
Computed https://github.com/apple/swift-async-algorithms at 1.0.4 (0.55s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.63s)
Computing version for https://github.com/PADL/IORingSwift
Computed https://github.com/PADL/IORingSwift at 0.1.8 (0.61s)
Fetching https://github.com/dfed/swift-async-queue
[1/1320] Fetching swift-async-queue
Fetched https://github.com/dfed/swift-async-queue from cache (0.25s)
Computing version for https://github.com/dfed/swift-async-queue
Computed https://github.com/dfed/swift-async-queue at 0.7.1 (0.76s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.5.0 (0.52s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.8.0 (0.49s)
Creating working copy for https://github.com/PADL/FlutterSwift
Working copy of https://github.com/PADL/FlutterSwift resolved at main (9c698fd)
Creating working copy for https://github.com/PADL/IORingSwift
Working copy of https://github.com/PADL/IORingSwift resolved at 0.1.8
Creating working copy for https://github.com/PADL/SocketAddress
Working copy of https://github.com/PADL/SocketAddress resolved at 0.0.3
Creating working copy for https://github.com/lhoward/AsyncExtensions
Working copy of https://github.com/lhoward/AsyncExtensions resolved at 0.9.2
Creating working copy for https://github.com/apple/swift-atomics
Working copy of https://github.com/apple/swift-atomics resolved at 1.3.0
Creating working copy for https://github.com/Flight-School/AnyCodable
Working copy of https://github.com/Flight-School/AnyCodable resolved at 0.6.7
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-async-algorithms
Working copy of https://github.com/apple/swift-async-algorithms resolved at 1.0.4
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.6.3
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.5.0
Creating working copy for https://github.com/dfed/swift-async-queue
Working copy of https://github.com/dfed/swift-async-queue resolved at 0.7.1
Creating working copy for https://github.com/PADL/SwiftOCA
Working copy of https://github.com/PADL/SwiftOCA resolved at main (7e178c6)
Creating working copy for https://github.com/xtremekforever/swift-systemd
Working copy of https://github.com/xtremekforever/swift-systemd resolved at main (49ef3d0)
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.8.0
warning: 'flutterswift': "Swift Root is / Flags [\"-I\", \"//usr/include\", \"-I\", \"//usr/lib/swift\", \"-I\", \"/usr/include/drm\"]"
warning: you may be able to install egl using your system-packager:
    apt-get install libegl1-mesa-dev libgles2-mesa-dev
warning: you may be able to install xkbcommon using your system-packager:
    apt-get install libxkbcommon-dev
warning: you may be able to install libinput using your system-packager:
    apt-get install libinput-dev
warning: you may be able to install libdrm using your system-packager:
    apt-get install libdrm-dev
warning: you may be able to install libudev using your system-packager:
    apt-get install libudev-dev
warning: you may be able to install gbm using your system-packager:
    apt-get install libgbm-dev
warning: you may be able to install egl using your system-packager:
    apt-get install libegl1-mesa-dev libgles2-mesa-dev
warning: you may be able to install xkbcommon using your system-packager:
    apt-get install libxkbcommon-dev
warning: you may be able to install libinput using your system-packager:
    apt-get install libinput-dev
warning: you may be able to install libdrm using your system-packager:
    apt-get install libdrm-dev
warning: you may be able to install libudev using your system-packager:
    apt-get install libudev-dev
warning: you may be able to install gbm using your system-packager:
    apt-get install libgbm-dev
Building for debugging...
[0/36] Write sources
[19/36] Compiling CSystem shims.c
[20/36] Compiling _AtomicsShims.c
[21/36] Write swift-version-24593BA9C3E375BF.txt
[23/107] Emitting module Logging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[24/107] 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)
[25/110] Emitting module KeyPathShims
[26/110] Compiling KeyPathShims KeyPathShims.swift
[28/111] Compiling SystemPackage FileOperations.swift
[29/111] Compiling SystemPackage FilePath.swift
[32/112] Compiling SystemPackage FilePathComponentView.swift
[33/112] Compiling SystemPackage FilePathComponents.swift
[34/112] Compiling SystemPackage Util+StringArray.swift
[35/112] Compiling SystemPackage Util.swift
[36/112] Compiling SystemPackage UtilConsumers.swift
[37/112] Compiling SystemPackage MachPort.swift
[38/112] Compiling SystemPackage PlatformString.swift
[39/112] Compiling SystemPackage SystemString.swift
[40/112] Emitting module Atomics
[44/114] Compiling SystemPackage FilePathTempPosix.swift
[45/114] Compiling SystemPackage FilePathTempWindows.swift
[46/114] Compiling InternalCollectionsUtilities Descriptions.swift
[47/114] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[48/114] Compiling Atomics ManagedAtomic.swift
[49/114] Compiling Atomics ManagedAtomicLazyReference.swift
[50/114] Compiling Atomics UnsafeAtomic.swift
[51/114] Compiling Atomics UnsafeAtomicLazyReference.swift
[52/114] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[54/114] Compiling SystemPackage Backcompat.swift
[55/114] Compiling SystemPackage CInterop.swift
[58/114] Compiling SystemPackage Constants.swift
[59/114] Compiling SystemPackage Exports.swift
[60/114] Emitting module InternalCollectionsUtilities
[66/114] Compiling Atomics DoubleWord.swift
[70/114] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[72/115] Compiling Atomics IntegerOperations.swift
[73/115] Compiling Atomics Unmanaged extensions.swift
[74/116] 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 |
[75/116] 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 |
[76/116] 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 |
[77/116] 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 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
    |                                                         `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
    |                              `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
    |                                                         `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
    |                              `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
    |                                                         `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
    |                              `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
    |                                                         `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
    |                              `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
[89/116] Compiling SystemPackage FilePathTemp.swift
[95/181] Compiling Logging LogHandler.swift
[96/184] Compiling Logging Locks.swift
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
warning: 'flutterswift': "Swift Root is / Flags [\"-I\", \"//usr/include\", \"-I\", \"//usr/lib/swift\", \"-I\", \"/usr/include/drm\"]"
warning: you may be able to install egl using your system-packager:
    apt-get install libegl1-mesa-dev libgles2-mesa-dev
warning: you may be able to install xkbcommon using your system-packager:
    apt-get install libxkbcommon-dev
warning: you may be able to install libinput using your system-packager:
    apt-get install libinput-dev
warning: you may be able to install libdrm using your system-packager:
    apt-get install libdrm-dev
warning: you may be able to install libudev using your system-packager:
    apt-get install libudev-dev
warning: you may be able to install gbm using your system-packager:
    apt-get install libgbm-dev
warning: you may be able to install egl using your system-packager:
    apt-get install libegl1-mesa-dev libgles2-mesa-dev
warning: you may be able to install xkbcommon using your system-packager:
    apt-get install libxkbcommon-dev
warning: you may be able to install libinput using your system-packager:
    apt-get install libinput-dev
warning: you may be able to install libdrm using your system-packager:
    apt-get install libdrm-dev
warning: you may be able to install libudev using your system-packager:
    apt-get install libudev-dev
warning: you may be able to install gbm using your system-packager:
    apt-get install libgbm-dev
[0/1] Planning build
Building for debugging...
[0/15] Write swift-version-24593BA9C3E375BF.txt
[2/65] Emitting module KeyPathShims
[3/65] Compiling KeyPathShims KeyPathShims.swift
[4/87] Compiling Logging MetadataProvider.swift
[6/87] Compiling SystemPackage FilePathTempPosix.swift
[7/87] Compiling SystemPackage FilePathTempWindows.swift
[8/88] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[9/88] Compiling SystemPackage FilePathWindows.swift
[10/88] Compiling SystemPackage FilePermissions.swift
[12/88] Compiling SystemPackage FileOperations.swift
[13/88] Compiling SystemPackage FilePath.swift
[14/88] Compiling SystemPackage FilePathComponentView.swift
[15/88] Compiling Atomics UnsafeAtomic.swift
[16/88] Compiling Atomics UnsafeAtomicLazyReference.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)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
    |                                                         `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
    |                              `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
[23/93] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[24/93] Compiling SystemPackage Errno.swift
[25/93] Compiling SystemPackage ErrnoWindows.swift
[26/93] Compiling SystemPackage FileDescriptor.swift
[29/93] Compiling Atomics IntegerOperations.swift
[30/93] Compiling Atomics Unmanaged extensions.swift
[31/93] Compiling SystemPackage FilePathSyntax.swift
[32/93] Compiling SystemPackage FilePathTemp.swift
[33/93] Compiling AnyCodable AnyEncodable.swift
[37/93] Emitting module InternalCollectionsUtilities
[39/93] Compiling SystemPackage FileHelpers.swift
[40/93] Compiling SystemPackage FilePathParsing.swift
[41/93] Compiling SystemPackage FilePathString.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[43/94] 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)
[44/94] Compiling Logging LogHandler.swift
[45/94] Compiling Logging Locks.swift
[46/94] Emitting module Logging
[47/94] Compiling Logging Logging.swift
[48/95] Compiling AnyCodable AnyCodable.swift
[49/95] Emitting module AnyCodable
[50/95] Compiling AnyCodable AnyDecodable.swift
[51/96] Compiling SystemPackage MachPort.swift
[52/96] Compiling SystemPackage PlatformString.swift
[53/96] Compiling SystemPackage SystemString.swift
[57/96] Compiling SystemPackage Exports.swift
[58/96] 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 |
[59/96] 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 |
[60/96] 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 |
[61/96] 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 |
[64/96] Compiling SystemPackage Util+StringArray.swift
[65/96] Compiling SystemPackage Util.swift
[66/96] Compiling SystemPackage UtilConsumers.swift
[66/96] Wrapping AST for InternalCollectionsUtilities for debugging
BUILD FAILURE 6.1 wasm