The Swift Package Index logo.Swift Package Index

Build Information

Failed to build u, reference 1.1.0 (991bc9), with Swift 6.2 for Wasm on 19 Mar 2026 04:43:24 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rarestype/u.git
Reference: 1.1.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/rarestype/u
 * tag               1.1.0      -> FETCH_HEAD
HEAD is now at 991bc9f Merge pull request #8 from rarestype/atomics
Cloned https://github.com/rarestype/u.git
Revision (git rev-parse @):
991bc9fbe56be39ecb96a239ddd866f96a41fa0a
SUCCESS checkout https://github.com/rarestype/u.git at 1.1.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/rarestype/u.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:33aba1b4ee401c56e0fd7ee42e05ab1ffc0b6f44277ad19cffda5d456eb09500
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/embedded-swift-sdk.json
Fetching https://github.com/ordo-one/dollup
[2/14] Fetching dollup
Fetched https://github.com/ordo-one/dollup from cache (0.25s)
Computing version for https://github.com/ordo-one/dollup
Computed https://github.com/ordo-one/dollup at 1.0.1 (1.04s)
Creating working copy for https://github.com/ordo-one/dollup
Working copy of https://github.com/ordo-one/dollup resolved at 1.0.1
Downloading binary artifact https://download.rarestype.com/dollup/1.0.1/Linux-x86_64/dollup.artifactbundle.zip
[1360/12793042] Downloading https://download.rarestype.com/dollup/1.0.1/Linux-x86_64/dollup.artifactbundle.zip
Downloaded https://download.rarestype.com/dollup/1.0.1/Linux-x86_64/dollup.artifactbundle.zip (1.78s)
[1/1] Compiling plugin DollupPlugin
Building for debugging...
[1/6] Write sources
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/10] Emitting module CasesByIntegerEncodingMacro
[8/10] Compiling CasesByIntegerEncodingMacro GenerateCasesByIntegerEncoding.swift
[10/11] Emitting module UnixTime
[12/14] Compiling UnixTime Duration (ext).swift
[13/14] Emitting module ISO
[14/14] Compiling ISO ISO.Country (gen).swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/17] Emitting module UnixCalendar
/host/spi-builder-workspace/Sources/UnixCalendar/Timestamp.swift:15:8: error: Platform doesn’t support 'gmtime_r'
13 |
14 | #else
15 | #error("Platform doesn’t support 'gmtime_r'")
   |        `- error: Platform doesn’t support 'gmtime_r'
16 | #endif
17 |
/host/spi-builder-workspace/Sources/UnixCalendar/UnixAttosecond (ext).swift:21:8: error: Platform doesn’t support 'clock_gettime'
19 | public import func Darwin.timegm
20 | #else
21 | #error("Platform doesn’t support 'clock_gettime'")
   |        `- error: Platform doesn’t support 'clock_gettime'
22 | #endif
23 |
/host/spi-builder-workspace/Sources/UnixCalendar/Timestamp.swift:47:24: error: cannot find type 'tm' in scope
45 | extension Timestamp {
46 |     init?(secondSinceEpoch: Int) {
47 |         var segmented: tm = .init(
   |                        `- error: cannot find type 'tm' in scope
48 |             tm_sec: -1,
49 |             tm_min: -1,
/host/spi-builder-workspace/Sources/UnixCalendar/Timestamp.swift:62:57: error: cannot find 'gmtime_r' in scope
60 |         )
61 |
62 |         guard withUnsafePointer(to: secondSinceEpoch, { gmtime_r($0, &segmented) }) != nil,
   |                                                         `- error: cannot find 'gmtime_r' in scope
63 |         let weekday: Timestamp.Weekday = .init(rawValue: Int.init(segmented.tm_wday)),
64 |         let month: Timestamp.Month = .init(rawValue: segmented.tm_mon + 1) else {
/host/spi-builder-workspace/Sources/UnixCalendar/UnixAttosecond (ext).swift:27:19: error: cannot find type 'timespec' in scope
25 |     /// Returns the current maximum-precision time by calling into the operating system.
26 |     public static func now() -> Self {
27 |         var time: timespec = .init()
   |                   `- error: cannot find type 'timespec' in scope
28 |
29 |         if  clock_gettime(CLOCK_REALTIME, &time) != 0 {
/host/spi-builder-workspace/Sources/UnixCalendar/UnixAttosecond (ext).swift:29:13: error: cannot find 'clock_gettime' in scope
27 |         var time: timespec = .init()
28 |
29 |         if  clock_gettime(CLOCK_REALTIME, &time) != 0 {
   |             `- error: cannot find 'clock_gettime' in scope
30 |             fatalError("system clock unavailable! (CLOCK_REALTIME)")
31 |         }
/host/spi-builder-workspace/Sources/UnixCalendar/UnixAttosecond (ext).swift:29:27: error: cannot find 'CLOCK_REALTIME' in scope
27 |         var time: timespec = .init()
28 |
29 |         if  clock_gettime(CLOCK_REALTIME, &time) != 0 {
   |                           `- error: cannot find 'CLOCK_REALTIME' in scope
30 |             fatalError("system clock unavailable! (CLOCK_REALTIME)")
31 |         }
/host/spi-builder-workspace/Sources/UnixCalendar/UnixAttosecond (ext).swift:53:19: error: cannot find type 'tm' in scope
51 |         }
52 |
53 |         var time: tm = .init(
   |                   `- error: cannot find type 'tm' in scope
54 |             tm_sec: timestamp.time.second,
55 |             tm_min: timestamp.time.minute,
/host/spi-builder-workspace/Sources/UnixCalendar/UnixAttosecond (ext).swift:68:52: error: cannot find 'timegm' in scope
66 |         )
67 |
68 |         switch withUnsafeMutablePointer(to: &time, timegm) {
   |                                                    `- error: cannot find 'timegm' in scope
69 |         case -1:            return nil
70 |         case let second:    self = .second(Int64.init(second))
/host/spi-builder-workspace/Sources/UnixCalendar/UnixAttosecond (ext).swift:68:52: error: converting non-escaping value to '(UnsafeMutablePointer<T>) throws(E) -> Result' may allow it to escape
66 |         )
67 |
68 |         switch withUnsafeMutablePointer(to: &time, timegm) {
   |                                                    `- error: converting non-escaping value to '(UnsafeMutablePointer<T>) throws(E) -> Result' may allow it to escape
69 |         case -1:            return nil
70 |         case let second:    self = .second(Int64.init(second))
/host/spi-builder-workspace/Sources/UnixCalendar/UnixAttosecond (ext).swift:68:16: error: generic parameter 'E' could not be inferred
66 |         )
67 |
68 |         switch withUnsafeMutablePointer(to: &time, timegm) {
   |                `- error: generic parameter 'E' could not be inferred
69 |         case -1:            return nil
70 |         case let second:    self = .second(Int64.init(second))
/host/spi-builder-workspace/Sources/UnixCalendar/UnixAttosecond (ext).swift:68:16: error: generic parameter 'Result' could not be inferred
66 |         )
67 |
68 |         switch withUnsafeMutablePointer(to: &time, timegm) {
   |                `- error: generic parameter 'Result' could not be inferred
69 |         case -1:            return nil
70 |         case let second:    self = .second(Int64.init(second))
Swift.withUnsafeMutablePointer:1:13: note: in call to function 'withUnsafeMutablePointer(to:_:)'
1 | public func withUnsafeMutablePointer<T, E, Result>(to value: inout T, _ body: (UnsafeMutablePointer<T>) throws(E) -> Result) throws(E) -> Result where E : Error, T : ~Copyable, Result : ~Copyable
  |             `- note: in call to function 'withUnsafeMutablePointer(to:_:)'
[17/17] Compiling UnixCalendar Range (ext).swift
/host/spi-builder-workspace/Sources/UnixCalendar/Timestamp.swift:15:8: error: Platform doesn’t support 'gmtime_r'
13 |
14 | #else
15 | #error("Platform doesn’t support 'gmtime_r'")
   |        `- error: Platform doesn’t support 'gmtime_r'
16 | #endif
17 |
/host/spi-builder-workspace/Sources/UnixCalendar/UnixAttosecond (ext).swift:21:8: error: Platform doesn’t support 'clock_gettime'
19 | public import func Darwin.timegm
20 | #else
21 | #error("Platform doesn’t support 'clock_gettime'")
   |        `- error: Platform doesn’t support 'clock_gettime'
22 | #endif
23 |
/host/spi-builder-workspace/Sources/UnixCalendar/Timestamp.swift:47:24: error: cannot find type 'tm' in scope
45 | extension Timestamp {
46 |     init?(secondSinceEpoch: Int) {
47 |         var segmented: tm = .init(
   |                        `- error: cannot find type 'tm' in scope
48 |             tm_sec: -1,
49 |             tm_min: -1,
/host/spi-builder-workspace/Sources/UnixCalendar/Timestamp.swift:62:57: error: cannot find 'gmtime_r' in scope
60 |         )
61 |
62 |         guard withUnsafePointer(to: secondSinceEpoch, { gmtime_r($0, &segmented) }) != nil,
   |                                                         `- error: cannot find 'gmtime_r' in scope
63 |         let weekday: Timestamp.Weekday = .init(rawValue: Int.init(segmented.tm_wday)),
64 |         let month: Timestamp.Month = .init(rawValue: segmented.tm_mon + 1) else {
/host/spi-builder-workspace/Sources/UnixCalendar/UnixAttosecond (ext).swift:27:19: error: cannot find type 'timespec' in scope
25 |     /// Returns the current maximum-precision time by calling into the operating system.
26 |     public static func now() -> Self {
27 |         var time: timespec = .init()
   |                   `- error: cannot find type 'timespec' in scope
28 |
29 |         if  clock_gettime(CLOCK_REALTIME, &time) != 0 {
/host/spi-builder-workspace/Sources/UnixCalendar/UnixAttosecond (ext).swift:29:13: error: cannot find 'clock_gettime' in scope
27 |         var time: timespec = .init()
28 |
29 |         if  clock_gettime(CLOCK_REALTIME, &time) != 0 {
   |             `- error: cannot find 'clock_gettime' in scope
30 |             fatalError("system clock unavailable! (CLOCK_REALTIME)")
31 |         }
/host/spi-builder-workspace/Sources/UnixCalendar/UnixAttosecond (ext).swift:29:27: error: cannot find 'CLOCK_REALTIME' in scope
27 |         var time: timespec = .init()
28 |
29 |         if  clock_gettime(CLOCK_REALTIME, &time) != 0 {
   |                           `- error: cannot find 'CLOCK_REALTIME' in scope
30 |             fatalError("system clock unavailable! (CLOCK_REALTIME)")
31 |         }
/host/spi-builder-workspace/Sources/UnixCalendar/UnixAttosecond (ext).swift:53:19: error: cannot find type 'tm' in scope
51 |         }
52 |
53 |         var time: tm = .init(
   |                   `- error: cannot find type 'tm' in scope
54 |             tm_sec: timestamp.time.second,
55 |             tm_min: timestamp.time.minute,
/host/spi-builder-workspace/Sources/UnixCalendar/UnixAttosecond (ext).swift:68:52: error: cannot find 'timegm' in scope
66 |         )
67 |
68 |         switch withUnsafeMutablePointer(to: &time, timegm) {
   |                                                    `- error: cannot find 'timegm' in scope
69 |         case -1:            return nil
70 |         case let second:    self = .second(Int64.init(second))
/host/spi-builder-workspace/Sources/UnixCalendar/UnixAttosecond (ext).swift:68:52: error: converting non-escaping value to '(UnsafeMutablePointer<T>) throws(E) -> Result' may allow it to escape
66 |         )
67 |
68 |         switch withUnsafeMutablePointer(to: &time, timegm) {
   |                                                    `- error: converting non-escaping value to '(UnsafeMutablePointer<T>) throws(E) -> Result' may allow it to escape
69 |         case -1:            return nil
70 |         case let second:    self = .second(Int64.init(second))
/host/spi-builder-workspace/Sources/UnixCalendar/UnixAttosecond (ext).swift:68:16: error: generic parameter 'E' could not be inferred
66 |         )
67 |
68 |         switch withUnsafeMutablePointer(to: &time, timegm) {
   |                `- error: generic parameter 'E' could not be inferred
69 |         case -1:            return nil
70 |         case let second:    self = .second(Int64.init(second))
/host/spi-builder-workspace/Sources/UnixCalendar/UnixAttosecond (ext).swift:68:16: error: generic parameter 'Result' could not be inferred
66 |         )
67 |
68 |         switch withUnsafeMutablePointer(to: &time, timegm) {
   |                `- error: generic parameter 'Result' could not be inferred
69 |         case -1:            return nil
70 |         case let second:    self = .second(Int64.init(second))
Swift.withUnsafeMutablePointer:1:13: note: in call to function 'withUnsafeMutablePointer(to:_:)'
1 | public func withUnsafeMutablePointer<T, E, Result>(to value: inout T, _ body: (UnsafeMutablePointer<T>) throws(E) -> Result) throws(E) -> Result where E : Error, T : ~Copyable, Result : ~Copyable
  |             `- note: in call to function 'withUnsafeMutablePointer(to:_:)'
BUILD FAILURE 6.2 wasm