The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Screener, reference v0.2.0 (085252), with Swift 6.3 for Wasm on 16 Oct 2026 01:16:03 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886769-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.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SoundBlaster/Screener.git
Reference: v0.2.0
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
 * tag               v0.2.0     -> FETCH_HEAD
HEAD is now at 0852528 Merge pull request #20 from SoundBlaster/codex/release-0-2-0
Cloned https://github.com/SoundBlaster/Screener.git
Revision (git rev-parse @):
085252854d22dcc344d494d38496b402a92b308f
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/SoundBlaster/Screener.git at v0.2.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/SoundBlaster/Screener.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-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.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:11aa8e4a9dbcd813ae44128d01e945c51d260b4dfda77b6bb7d997d0cc236164
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest
Fetching https://github.com/modelcontextprotocol/swift-sdk.git
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2345] Fetching swift-docc-plugin
[2346/6337] Fetching swift-docc-plugin, swift-sdk
Fetched https://github.com/modelcontextprotocol/swift-sdk.git from cache (0.69s)
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.69s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (1.59s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3839] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.55s)
Computing version for https://github.com/modelcontextprotocol/swift-sdk.git
Computed https://github.com/modelcontextprotocol/swift-sdk.git at 0.12.1 (0.71s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/mattt/eventsource.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio.git
[1/314] Fetching eventsource
[184/8619] Fetching eventsource, swift-log
[8620/15907] Fetching eventsource, swift-log, swift-system
Fetched https://github.com/apple/swift-log.git from cache (0.48s)
[387/7602] Fetching eventsource, swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.63s)
[1/86488] Fetching swift-nio
Fetched https://github.com/mattt/eventsource.git from cache (3.32s)
Fetched https://github.com/apple/swift-nio.git from cache (3.37s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (3.57s)
Computing version for https://github.com/mattt/eventsource.git
Computed https://github.com/mattt/eventsource.git at 1.5.1 (0.14s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.20s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.16.1 (0.18s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.104.0 (0.26s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
[1/1889] Fetching swift-atomics
[1890/30748] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (1.43s)
Fetched https://github.com/apple/swift-collections.git from cache (1.45s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (1.59s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.3 (0.22s)
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.1
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.3
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/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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.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
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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.104.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] Emitting module SystemPackage
[15/83] Compiling SystemPackage FilePathComponentView.swift
[16/83] Compiling SystemPackage FilePathComponents.swift
[17/83] Compiling SystemPackage FilePathParsing.swift
[18/83] Compiling SystemPackage FilePathString.swift
[19/83] Compiling SystemPackage FilePathSyntax.swift
[20/83] Compiling SystemPackage Errno.swift
[21/83] Compiling SystemPackage ErrnoWindows.swift
[22/83] Compiling SystemPackage FileDescriptor.swift
[23/83] Compiling SystemPackage FileHelpers.swift
[24/83] Compiling SystemPackage FileOperations.swift
[25/83] Compiling SystemPackage FilePath.swift
[26/83] Compiling SystemPackage SystemString.swift
[27/83] Compiling SystemPackage Util+StringArray.swift
[28/83] Compiling SystemPackage Util.swift
[29/83] Compiling SystemPackage UtilConsumers.swift
[30/83] Compiling SystemPackage WinSDK+Overlay.swift
[31/83] Compiling SystemPackage IOCompletion.swift
[32/83] Compiling SystemPackage IORequest.swift
[33/83] Compiling SystemPackage IORing+Util.swift
[34/83] Compiling SystemPackage IORing.swift
[35/83] Compiling SystemPackage RawIORequest.swift
[36/83] Compiling SystemPackage Backcompat.swift
[37/83] Compiling SystemPackage CInterop.swift
[38/83] Compiling SystemPackage Constants.swift
[39/83] Compiling SystemPackage Exports.swift
[40/83] Compiling SystemPackage Mocking.swift
[41/83] Compiling SystemPackage FilePathTemp.swift
[42/83] Compiling SystemPackage FilePathTempPosix.swift
[43/83] Compiling SystemPackage FilePathTempWindows.swift
[44/83] Compiling SystemPackage FilePathWindows.swift
[45/83] Compiling SystemPackage FilePermissions.swift
[46/83] Emitting module Logging
[49/84] Compiling Logging LoggingSystem.swift
[52/84] Compiling Logging Logger.swift
[53/84] Compiling Logging Logger+Attributes.swift
[56/84] Compiling Logging Logger+With.swift
[57/84] Compiling SystemPackage RawBuffer.swift
[58/84] Compiling SystemPackage Syscalls.swift
[59/84] Compiling SystemPackage WindowsSyscallAdapters.swift
[60/84] Compiling SystemPackage MachPort.swift
[61/84] Compiling SystemPackage PlatformString.swift
[62/84] Compiling Logging MetadataProvider.swift
[63/85] Wrapping AST for Logging for debugging
[65/85] Compiling SystemPackage FileFlags.swift
[66/85] Compiling SystemPackage FileMode.swift
[67/85] Compiling SystemPackage FileType.swift
[68/85] Compiling SystemPackage Identifiers.swift
[69/85] Compiling SystemPackage Stat.swift
[70/86] Compiling ScreenerCore TraceManifest.swift
[71/86] 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,
[73/86] Compiling ScreenerCore TraceBundleReader.swift
[74/86] Compiling ScreenerCore TraceBundleError.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[75/86] 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 |
[76/86] 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,
[76/86] Wrapping AST for SystemPackage for debugging
error: cancelled
error: cancelled
error: cancelled
error: cancelled
error: cancelled
error: cancelled
error: cancelled
error: cancelled
error: cancelled
BUILD FAILURE 6.3 wasm