The Swift Package Index logo.Swift Package Index

Build Information

Failed to build u, reference master (fd02b1), with Swift 6.2 for Wasm on 29 Apr 2026 23:01:04 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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 swift-6.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rarestype/u.git
Reference: master
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
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at fd02b17 [autosync]
Cloned https://github.com/rarestype/u.git
Revision (git rev-parse @):
fd02b171806e665a581e2318a10614ed0b17a10f
SUCCESS checkout https://github.com/rarestype/u.git at master
========================================
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-1":/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 swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:2a8b2d9e022a9894c61e0736af7cdaa1ee64c002dbb133a55c0d7e8980b3ad16
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest
Fetching https://github.com/ordo-one/dollup
[1/35] Fetching dollup
Fetched https://github.com/ordo-one/dollup from cache (0.24s)
Computing version for https://github.com/ordo-one/dollup
Computed https://github.com/ordo-one/dollup at 1.0.6 (0.58s)
Creating working copy for https://github.com/ordo-one/dollup
Working copy of https://github.com/ordo-one/dollup resolved at 1.0.6
Downloading binary artifact https://get.rarestype.com/dollup/1.0.6/Linux-x86_64/dollup.artifactbundle.zip
[1360/13038536] Downloading https://get.rarestype.com/dollup/1.0.6/Linux-x86_64/dollup.artifactbundle.zip
Downloaded https://get.rarestype.com/dollup/1.0.6/Linux-x86_64/dollup.artifactbundle.zip (1.50s)
[1/1] Compiling plugin DollupPlugin
Building for debugging...
[1/6] Write sources
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/24] Compiling CasesByIntegerEncodingMacro GenerateCasesByIntegerEncoding.swift
[8/24] Emitting module CasesByIntegerEncodingMacro
[9/24] Compiling CasesByIntegerEncodingMacro RawRepresentableByIntegerEncoding.swift
[11/25] Compiling UnixTime Duration (ext).swift
[12/25] Compiling UnixTime DurationFormat.Unit.swift
[13/32] Compiling UnixTime UnixInstant.swift
[14/32] Compiling UnixTime UnixInterval.swift
[15/32] Compiling ISO ISO.swift
[16/32] Compiling ISO ISO.Macrolanguage (gen).swift
[17/32] Compiling ISO ISO.Locale.swift
[18/32] Emitting module ISO
[19/32] Compiling ISO ISO.Country (gen).swift
[21/33] Compiling UnixTime UnixMillisecond.swift
[22/33] Compiling UnixTime QuantizedDuration.swift
[23/33] Compiling UnixTime Nanoseconds.swift
[24/33] Compiling UnixTime Seconds.swift
[25/33] Compiling UnixTime Hours.swift
[26/33] Compiling UnixTime Microseconds.swift
[27/33] Compiling UnixTime Milliseconds.swift
[28/33] Compiling UnixTime Minutes.swift
[29/33] Emitting module UnixTime
[30/33] Compiling UnixTime DurationFormat.swift
[31/33] Compiling UnixTime Days.swift
[32/33] Compiling UnixTime UnixAttosecond.swift
[33/33] Compiling UnixTime UnixDate.swift
[35/46] Compiling UnixCalendar UnixDate (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 |
[36/47] Compiling UnixCalendar Timestamp.Weekday.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 |
[37/47] Compiling UnixCalendar Timestamp.Year.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 |
[38/47] Compiling UnixCalendar Timestamp.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 {
[39/47] Compiling UnixCalendar Timestamp.Sanity.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 |
[40/47] Compiling UnixCalendar Timestamp.Time.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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[41/47] 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/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:_:)'
[42/47] Compiling UnixCalendar Timestamp.Date.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 |
[43/47] Compiling UnixCalendar Timestamp.Month.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 |
[44/47] 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 |
[45/47] Compiling UnixCalendar Timestamp.Components.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 |
[46/47] Compiling UnixCalendar UnixAttosecond (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/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:_:)'
[47/47] Compiling UnixCalendar UnixMillisecond (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 |
BUILD FAILURE 6.2 wasm