The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Screener, reference main (3b90e5), with Swift 6.2 for Wasm on 30 Oct 2026 09:37:53 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886768-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SoundBlaster/Screener.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/SoundBlaster/Screener
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 3b90e5d Merge pull request #22 from SoundBlaster/codex/duo-simulator-skill
Cloned https://github.com/SoundBlaster/Screener.git
Revision (git rev-parse @):
3b90e5d5b02ca974029c03bace65ef1f2c4bface
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/SoundBlaster/Screener.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/SoundBlaster/Screener.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:c2cc4df169d3c45015ced899e997f329be5fc90bdbfce388bd8981e1ea44d639
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Fetching https://github.com/modelcontextprotocol/swift-sdk.git
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2345] Fetching swift-docc-plugin
[2346/6830] Fetching swift-docc-plugin, swift-sdk
Fetched https://github.com/modelcontextprotocol/swift-sdk.git from cache (1.17s)
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.18s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (2.08s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3850] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.59s)
Computing version for https://github.com/modelcontextprotocol/swift-sdk.git
Computed https://github.com/modelcontextprotocol/swift-sdk.git at 0.12.1 (1.76s)
Fetching https://github.com/mattt/eventsource.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-log.git
[1/8381] Fetching swift-log
[2/8709] Fetching swift-log, eventsource
[8710/16103] Fetching swift-log, eventsource, swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.69s)
[1/86696] Fetching swift-nio
Fetched https://github.com/mattt/eventsource.git from cache (3.71s)
Fetched https://github.com/apple/swift-log.git from cache (3.71s)
Fetched https://github.com/apple/swift-nio.git from cache (3.75s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (3.99s)
Computing version for https://github.com/mattt/eventsource.git
Computed https://github.com/mattt/eventsource.git at 1.5.1 (0.16s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.19s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.16.2 (0.15s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.104.0 (0.38s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
[1/1893] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.47s)
[1/29375] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.39s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (1.54s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.5 (0.25s)
Creating working copy for https://github.com/mattt/eventsource.git
Working copy of https://github.com/mattt/eventsource.git resolved at 1.5.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.16.2
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.104.0
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.5
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.8.1
Creating working copy for https://github.com/modelcontextprotocol/swift-sdk.git
Working copy of https://github.com/modelcontextprotocol/swift-sdk.git resolved at 0.12.1
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/24] Write sources
[11/24] Compiling CSystem shims.c
[12/24] Write swift-version-24593BA9C3E375BF.txt
[14/78] Compiling Logging LoggingSystem.swift
[15/79] Compiling Logging Logger+Attributes.swift
[16/79] Compiling SystemPackage IOCompletion.swift
[17/79] Compiling SystemPackage IORequest.swift
[18/79] Compiling SystemPackage IORing+Util.swift
[19/79] Compiling SystemPackage IORing.swift
[20/79] Compiling SystemPackage RawIORequest.swift
[21/84] Compiling Logging Logger.swift
[22/84] Compiling Logging Logger+With.swift
[23/84] Emitting module Logging
[24/84] Compiling SystemPackage FilePathParsing.swift
[25/84] Compiling SystemPackage FilePathString.swift
[26/84] Compiling SystemPackage FileFlags.swift
[27/84] Compiling SystemPackage FileMode.swift
[28/84] Compiling SystemPackage FileType.swift
[29/84] Compiling SystemPackage Identifiers.swift
[30/84] Compiling SystemPackage Stat.swift
[31/84] Compiling SystemPackage FilePathComponentView.swift
[32/84] Compiling SystemPackage Backcompat.swift
[33/84] Compiling SystemPackage CInterop.swift
[34/84] Compiling SystemPackage Constants.swift
[35/84] Compiling SystemPackage FilePathComponents.swift
[36/84] Compiling SystemPackage Exports.swift
[37/84] Compiling SystemPackage Mocking.swift
[38/84] Compiling SystemPackage FilePathTemp.swift
[39/84] Compiling SystemPackage FilePathTempPosix.swift
[40/84] Compiling SystemPackage FilePathTempWindows.swift
[41/84] Compiling SystemPackage FilePathWindows.swift
[42/84] Compiling SystemPackage FilePermissions.swift
[43/84] Compiling ScreenerCore TraceBundleWriter.swift
/host/spi-builder-workspace/Sources/ScreenerCore/TraceBundleWriter.swift:49:40: error: cannot find 'DispatchTime' in scope
 47 |         blob: String? = nil,
 48 |         timestamp: Date = .now,
 49 |         monotonicNanoseconds: UInt64 = DispatchTime.now().uptimeNanoseconds
    |                                        `- error: cannot find 'DispatchTime' in scope
 50 |     ) throws -> TraceRecord {
 51 |         guard !isClosed else { throw TraceBundleError.writerClosed }
/host/spi-builder-workspace/Sources/ScreenerCore/TraceBundleWriter.swift:36:96: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
 34 |         }
 35 |         encoder.outputFormatting = [.sortedKeys]
 36 |         try encoder.encode(manifest).write(to: url.appending(path: "manifest.json"), options: .atomic)
    |                                                                                                `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
 37 |         guard FileManager.default.createFile(atPath: timelineURL.path, contents: nil) else {
 38 |             throw CocoaError(.fileWriteUnknown)
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 |   struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 |     public static let atomic: Data.WritingOptions  }
  |                       `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/Sources/ScreenerCore/TraceBundleWriter.swift:85:51: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
 83 |         let relativePath = "\(kind.rawValue)/\(UUID().uuidString).\(normalizedExtension.lowercased())"
 84 |         let destination = url.appending(path: relativePath)
 85 |         try data.write(to: destination, options: .atomic)
    |                                                   `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
 86 |         return relativePath
 87 |     }
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 |   struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 |     public static let atomic: Data.WritingOptions  }
  |                       `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
[44/84] Compiling SystemPackage Errno.swift
[45/84] Compiling SystemPackage ErrnoWindows.swift
[46/84] Compiling SystemPackage FileDescriptor.swift
[47/84] Compiling SystemPackage FileHelpers.swift
[48/84] Compiling SystemPackage FileOperations.swift
[49/84] Compiling SystemPackage FilePath.swift
[50/84] Emitting module SystemPackage
[55/84] Compiling SystemPackage FilePathSyntax.swift
[56/84] Compiling Logging MetadataProvider.swift
[57/84] Compiling ScreenerCore TraceManifest.swift
[58/84] Compiling ScreenerCore TraceRecord.swift
/host/spi-builder-workspace/Sources/ScreenerCore/TraceRecord.swift:26:40: error: cannot find 'DispatchTime' in scope
24 |         sequence: UInt64,
25 |         timestamp: Date = .now,
26 |         monotonicNanoseconds: UInt64 = DispatchTime.now().uptimeNanoseconds,
   |                                        `- error: cannot find 'DispatchTime' in scope
27 |         kind: Kind,
28 |         name: String,
[59/84] Compiling ScreenerCore TraceBundleError.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[63/85] Compiling ScreenerCore TraceBundleReader.swift
[64/85] Emitting module ScreenerCore
/host/spi-builder-workspace/Sources/ScreenerCore/TraceBundleWriter.swift:49:40: error: cannot find 'DispatchTime' in scope
 47 |         blob: String? = nil,
 48 |         timestamp: Date = .now,
 49 |         monotonicNanoseconds: UInt64 = DispatchTime.now().uptimeNanoseconds
    |                                        `- error: cannot find 'DispatchTime' in scope
 50 |     ) throws -> TraceRecord {
 51 |         guard !isClosed else { throw TraceBundleError.writerClosed }
/host/spi-builder-workspace/Sources/ScreenerCore/TraceBundleWriter.swift:36:96: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
 34 |         }
 35 |         encoder.outputFormatting = [.sortedKeys]
 36 |         try encoder.encode(manifest).write(to: url.appending(path: "manifest.json"), options: .atomic)
    |                                                                                                `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
 37 |         guard FileManager.default.createFile(atPath: timelineURL.path, contents: nil) else {
 38 |             throw CocoaError(.fileWriteUnknown)
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 |   struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 |     public static let atomic: Data.WritingOptions  }
  |                       `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/Sources/ScreenerCore/TraceRecord.swift:26:40: error: cannot find 'DispatchTime' in scope
24 |         sequence: UInt64,
25 |         timestamp: Date = .now,
26 |         monotonicNanoseconds: UInt64 = DispatchTime.now().uptimeNanoseconds,
   |                                        `- error: cannot find 'DispatchTime' in scope
27 |         kind: Kind,
28 |         name: String,
[65/85] Compiling SystemPackage RawBuffer.swift
[66/85] Compiling SystemPackage Syscalls.swift
[67/85] Compiling SystemPackage WindowsSyscallAdapters.swift
[68/85] Compiling SystemPackage MachPort.swift
[69/85] Compiling SystemPackage PlatformString.swift
[69/85] Wrapping AST for Logging for debugging
BUILD FAILURE 6.2 wasm