The Swift Package Index logo.Swift Package Index

Build Information

Failed to build EmacsSwiftModule, reference main (00d8bd), with Swift 6.3 for Wasm on 14 Apr 2026 02:39:01 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SavchenkoValeriy/emacs-swift-module.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/SavchenkoValeriy/emacs-swift-module
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 00d8bd6 [pre-commit.ci] pre-commit autoupdate
Cloned https://github.com/SavchenkoValeriy/emacs-swift-module.git
Revision (git rev-parse @):
00d8bd6c2d001aba8eed000e45385195e8d42d26
SUCCESS checkout https://github.com/SavchenkoValeriy/emacs-swift-module.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/SavchenkoValeriy/emacs-swift-module.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/apple/swift-docc-plugin
[1/2271] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (0.54s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.6 (1.12s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3672] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.47s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.02s)
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/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.6
[1/1] Compiling plugin ModuleFactoryPlugin
[2/2] Compiling plugin Swift-DocC Preview
[3/3] Compiling plugin Swift-DocC
Building for debugging...
[3/18] Write sources
[6/18] Compiling EmacsModule placeholder.m
[7/18] Compiling EmacsEnvMock placeholder.m
[8/18] Write swift-version-24593BA9C3E375BF.txt
[10/37] Compiling EmacsSwiftModule Module.swift
[11/37] Compiling EmacsSwiftModule Raw.swift
[12/39] Compiling EmacsSwiftModule Defun+Boilerplate.swift
/host/spi-builder-workspace/Source/Swift/Environment.swift:71:16: error: cannot find 'Thread' in scope
 69 |   }
 70 |
 71 |   let thread = Thread.current
    |                `- error: cannot find 'Thread' in scope
 72 |   var threadValid: Bool { thread == Thread.current }
 73 |
[13/39] Compiling EmacsSwiftModule Defun.swift
/host/spi-builder-workspace/Source/Swift/Environment.swift:71:16: error: cannot find 'Thread' in scope
 69 |   }
 70 |
 71 |   let thread = Thread.current
    |                `- error: cannot find 'Thread' in scope
 72 |   var threadValid: Bool { thread == Thread.current }
 73 |
[14/39] Compiling EmacsSwiftModule Call.swift
/host/spi-builder-workspace/Source/Swift/Environment.swift:71:16: error: cannot find 'Thread' in scope
 69 |   }
 70 |
 71 |   let thread = Thread.current
    |                `- error: cannot find 'Thread' in scope
 72 |   var threadValid: Bool { thread == Thread.current }
 73 |
[15/39] Compiling EmacsSwiftModule Channel+Hooks+Boilerplate.swift
/host/spi-builder-workspace/Source/Swift/Environment.swift:71:16: error: cannot find 'Thread' in scope
 69 |   }
 70 |
 71 |   let thread = Thread.current
    |                `- error: cannot find 'Thread' in scope
 72 |   var threadValid: Bool { thread == Thread.current }
 73 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/39] Emitting module EmacsSwiftModule
/host/spi-builder-workspace/Source/Swift/Environment.swift:71:16: error: cannot find 'Thread' in scope
 69 |   }
 70 |
 71 |   let thread = Thread.current
    |                `- error: cannot find 'Thread' in scope
 72 |   var threadValid: Bool { thread == Thread.current }
 73 |
[17/39] Compiling EmacsSwiftModule Channel+LispCallback+Boilerplate.swift
[18/39] Compiling EmacsSwiftModule Channel+SwiftCallback+Boilerplate.swift
[19/39] Compiling EmacsSwiftModule Value.swift
/host/spi-builder-workspace/Source/Swift/Environment.swift:71:16: error: cannot find 'Thread' in scope
 69 |   }
 70 |
 71 |   let thread = Thread.current
    |                `- error: cannot find 'Thread' in scope
 72 |   var threadValid: Bool { thread == Thread.current }
 73 |
[20/39] Compiling EmacsSwiftModule Variadic+Utils.swift
/host/spi-builder-workspace/Source/Swift/Environment.swift:71:16: error: cannot find 'Thread' in scope
 69 |   }
 70 |
 71 |   let thread = Thread.current
    |                `- error: cannot find 'Thread' in scope
 72 |   var threadValid: Bool { thread == Thread.current }
 73 |
[21/39] Compiling EmacsSwiftModule Environment.swift
/host/spi-builder-workspace/Source/Swift/Environment.swift:71:16: error: cannot find 'Thread' in scope
 69 |   }
 70 |
 71 |   let thread = Thread.current
    |                `- error: cannot find 'Thread' in scope
 72 |   var threadValid: Bool { thread == Thread.current }
 73 |
/host/spi-builder-workspace/Source/Swift/Environment.swift:72:37: error: cannot find 'Thread' in scope
 70 |
 71 |   let thread = Thread.current
 72 |   var threadValid: Bool { thread == Thread.current }
    |                                     `- error: cannot find 'Thread' in scope
 73 |
 74 |   var valid = true
[22/39] Compiling EmacsSwiftModule Error.swift
/host/spi-builder-workspace/Source/Swift/Environment.swift:71:16: error: cannot find 'Thread' in scope
 69 |   }
 70 |
 71 |   let thread = Thread.current
    |                `- error: cannot find 'Thread' in scope
 72 |   var threadValid: Bool { thread == Thread.current }
 73 |
/host/spi-builder-workspace/Source/Swift/Environment.swift:72:37: error: cannot find 'Thread' in scope
 70 |
 71 |   let thread = Thread.current
 72 |   var threadValid: Bool { thread == Thread.current }
    |                                     `- error: cannot find 'Thread' in scope
 73 |
 74 |   var valid = true
[23/39] Compiling EmacsSwiftModule Lisp+Types.swift
[24/39] Compiling EmacsSwiftModule Lock.swift
[25/39] Compiling EmacsSwiftModule Channel.swift
/host/spi-builder-workspace/Source/Swift/Conversion.swift:275:58: error: cannot convert value of type 'Int' to expected argument type 'intmax_t' (aka 'Int64')
273 |
274 |   func make(_ from: Int) throws -> EmacsValue {
275 |     try EmacsValue(from: check(pointee.make_integer(raw, from)))
    |                                                          `- error: cannot convert value of type 'Int' to expected argument type 'intmax_t' (aka 'Int64')
276 |   }
277 |
[26/39] Compiling EmacsSwiftModule Conversion.swift
/host/spi-builder-workspace/Source/Swift/Conversion.swift:275:58: error: cannot convert value of type 'Int' to expected argument type 'intmax_t' (aka 'Int64')
273 |
274 |   func make(_ from: Int) throws -> EmacsValue {
275 |     try EmacsValue(from: check(pointee.make_integer(raw, from)))
    |                                                          `- error: cannot convert value of type 'Int' to expected argument type 'intmax_t' (aka 'Int64')
276 |   }
277 |
[27/39] Emitting module ModuleInitializerInjector
[28/39] Compiling ModuleInitializerInjector ModuleInitializerInjector.swift
[29/40] Emitting module ModuleInitializerInjector
BUILD FAILURE 6.3 wasm