The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Time, reference main (eab0cb), with Swift 6.1 for Wasm on 28 May 2025 06:55:13 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ctrlgroup/Time.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/ctrlgroup/Time
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at eab0cb3 Added normal weekday symbol
Cloned https://github.com/ctrlgroup/Time.git
Revision (git rev-parse @):
eab0cb3d54e2467a2a22375126bac865b171b254
SUCCESS checkout https://github.com/ctrlgroup/Time.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/ctrlgroup/Time.git
https://github.com/ctrlgroup/Time.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "resolver",
      "requirement" : {
        "branch" : [
          "feature/moc-view-context-constant"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/ctrlgroup/Resolver.git"
    },
    {
      "identity" : "quick",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Quick/Quick.git"
    },
    {
      "identity" : "nimble",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "9.2.1",
            "upper_bound" : "10.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Quick/Nimble.git"
    }
  ],
  "manifest_display_name" : "Time",
  "name" : "Time",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.14"
    }
  ],
  "products" : [
    {
      "name" : "Time",
      "targets" : [
        "Time"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "TimeTestHelpers",
      "targets" : [
        "TimeTestHelpers"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TimeTests",
      "module_type" : "SwiftTarget",
      "name" : "TimeTests",
      "path" : "Tests/TimeTests",
      "product_dependencies" : [
        "Quick",
        "Nimble"
      ],
      "sources" : [
        "CalendarDate/CalendarDate+ArithmeticTests.swift",
        "CalendarDate/CalendarDate+IntegerRepresentationTests.swift",
        "CalendarDate/CalendarDateStringFormattingTests.swift",
        "CalendarDate/CalendarDateStringTests.swift",
        "CalendarDate/CalendarDateTests.swift",
        "CalendarDate/CalendarDateWeekdaysTests.swift",
        "CalendarDateRange/CalendarDateRangeSegmenterTests.swift",
        "CalendarDateRange/CalendarDateRangeTests.swift",
        "CalendarTests.swift",
        "Clock/ClockTests.swift",
        "Date/DateTests.swift",
        "DateTime/DateTime+Tests.swift",
        "DayOfWeek/DayOfWeekTests.swift",
        "Locale.swift",
        "TimeOfDay/TimeOfDay+TwelveHourClock.swift",
        "TimeOfDay/TimeOfDayISO8601StringTests.swift",
        "TimeOfDay/TimeOfDayStringTests.swift",
        "TimeOfDay/TimeOfDayTests.swift",
        "TimeRange/TimeRangeTests.swift",
        "TimeTestConfiguration.swift",
        "Timestamp/Timestamp+ArithmeticTests.swift",
        "Timestamp/TimestampISO8601Tests.swift",
        "Timestamp/TimestampRelativeTimeFormattingTests.swift",
        "Timestamp/TimestampTests.swift"
      ],
      "target_dependencies" : [
        "Time",
        "TimeTestHelpers"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TimeTestHelpers",
      "module_type" : "SwiftTarget",
      "name" : "TimeTestHelpers",
      "path" : "Sources/TimeTestHelpers",
      "product_memberships" : [
        "TimeTestHelpers"
      ],
      "sources" : [
        "CalendarDate+Example.swift",
        "Clock+Fake.swift",
        "DateFactoryStub.swift",
        "TimeZoneFactoryStub.swift",
        "Timestamp+Example.swift"
      ],
      "target_dependencies" : [
        "Time"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Time",
      "module_type" : "SwiftTarget",
      "name" : "Time",
      "path" : "Sources/Time",
      "product_dependencies" : [
        "Resolver"
      ],
      "product_memberships" : [
        "Time",
        "TimeTestHelpers"
      ],
      "sources" : [
        "Calendar.swift",
        "CalendarDate/CalendarDate+Arithmetic.swift",
        "CalendarDate/CalendarDate+String.swift",
        "CalendarDate/CalendarDate+StringFormatting.swift",
        "CalendarDate/CalendarDate+Weekdays.swift",
        "CalendarDate/CalendarDate.swift",
        "CalendarDateRange/CalendarDateRange.swift",
        "CalendarDateRange/CalendarDateRangeSegmenter.swift",
        "Clock/Clock.swift",
        "Date/Date.swift",
        "DateTime/DateTime+String.swift",
        "DateTime/DateTime.swift",
        "DayOfWeek/DayOfWeek.swift",
        "Extensions/Array.swift",
        "Extensions/String.swift",
        "Extensions/TimeInterval.swift",
        "Factories/DateFactory.swift",
        "Factories/TimeZoneProvider.swift",
        "Time+Injection.swift",
        "TimeOfDay/TimeOfDay+ISO8601String.swift",
        "TimeOfDay/TimeOfDay+String.swift",
        "TimeOfDay/TimeOfDay.swift",
        "TimeRange/TimeRange.swift",
        "TimeSerializationType.swift",
        "TimeZone.swift",
        "Timestamp/Timestamp+Arithmetic.swift",
        "Timestamp/Timestamp+Codable.swift",
        "Timestamp/Timestamp+ISO8601.swift",
        "Timestamp/Timestamp+RelativeTimeFormatting.swift",
        "Timestamp/Timestamp.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/ctrlgroup/Resolver.git
[1/1599] Fetching resolver
Fetched https://github.com/ctrlgroup/Resolver.git from cache (0.29s)
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/Quick/Quick.git
[1/14755] Fetching quick
[6199/34339] Fetching quick, nimble
Fetched https://github.com/Quick/Quick.git from cache (1.63s)
Fetched https://github.com/Quick/Nimble.git from cache (1.65s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 9.2.1 (2.32s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.30s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 4.0.0 (0.95s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (0.74s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.45s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (1.13s)
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 9.2.1
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 4.0.0
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
Creating working copy for https://github.com/ctrlgroup/Resolver.git
Working copy of https://github.com/ctrlgroup/Resolver.git resolved at feature/moc-view-context-constant (c50f9e7)
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/7] Emitting module Resolver
[6/7] Compiling Resolver Constants.swift
[7/7] Compiling Resolver Resolver.swift
/host/spi-builder-workspace/.build/checkouts/Resolver/Sources/Resolver/Resolver.swift:341:9: error: cannot find 'pthread_mutexattr_init' in scope
339 | private final class ResolverRecursiveLock {
340 |     init() {
341 |         pthread_mutexattr_init(&recursiveMutexAttr)
    |         `- error: cannot find 'pthread_mutexattr_init' in scope
342 |         pthread_mutexattr_settype(&recursiveMutexAttr, PTHREAD_MUTEX_RECURSIVE)
343 |         pthread_mutex_init(&recursiveMutex, &recursiveMutexAttr)
/host/spi-builder-workspace/.build/checkouts/Resolver/Sources/Resolver/Resolver.swift:342:9: error: cannot find 'pthread_mutexattr_settype' in scope
340 |     init() {
341 |         pthread_mutexattr_init(&recursiveMutexAttr)
342 |         pthread_mutexattr_settype(&recursiveMutexAttr, PTHREAD_MUTEX_RECURSIVE)
    |         `- error: cannot find 'pthread_mutexattr_settype' in scope
343 |         pthread_mutex_init(&recursiveMutex, &recursiveMutexAttr)
344 |     }
/host/spi-builder-workspace/.build/checkouts/Resolver/Sources/Resolver/Resolver.swift:342:56: error: cannot find 'PTHREAD_MUTEX_RECURSIVE' in scope
340 |     init() {
341 |         pthread_mutexattr_init(&recursiveMutexAttr)
342 |         pthread_mutexattr_settype(&recursiveMutexAttr, PTHREAD_MUTEX_RECURSIVE)
    |                                                        `- error: cannot find 'PTHREAD_MUTEX_RECURSIVE' in scope
343 |         pthread_mutex_init(&recursiveMutex, &recursiveMutexAttr)
344 |     }
/host/spi-builder-workspace/.build/checkouts/Resolver/Sources/Resolver/Resolver.swift:343:9: error: cannot find 'pthread_mutex_init' in scope
341 |         pthread_mutexattr_init(&recursiveMutexAttr)
342 |         pthread_mutexattr_settype(&recursiveMutexAttr, PTHREAD_MUTEX_RECURSIVE)
343 |         pthread_mutex_init(&recursiveMutex, &recursiveMutexAttr)
    |         `- error: cannot find 'pthread_mutex_init' in scope
344 |     }
345 |     @inline(__always)
/host/spi-builder-workspace/.build/checkouts/Resolver/Sources/Resolver/Resolver.swift:347:9: error: cannot find 'pthread_mutex_lock' in scope
345 |     @inline(__always)
346 |     final func lock() {
347 |         pthread_mutex_lock(&recursiveMutex)
    |         `- error: cannot find 'pthread_mutex_lock' in scope
348 |     }
349 |     @inline(__always)
/host/spi-builder-workspace/.build/checkouts/Resolver/Sources/Resolver/Resolver.swift:351:9: error: cannot find 'pthread_mutex_unlock' in scope
349 |     @inline(__always)
350 |     final func unlock() {
351 |         pthread_mutex_unlock(&recursiveMutex)
    |         `- error: cannot find 'pthread_mutex_unlock' in scope
352 |     }
353 |     private var recursiveMutex = pthread_mutex_t()
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/4] Compiling Resolver Constants.swift
[3/4] Emitting module Resolver
[4/4] Compiling Resolver Resolver.swift
/host/spi-builder-workspace/.build/checkouts/Resolver/Sources/Resolver/Resolver.swift:341:9: error: cannot find 'pthread_mutexattr_init' in scope
339 | private final class ResolverRecursiveLock {
340 |     init() {
341 |         pthread_mutexattr_init(&recursiveMutexAttr)
    |         `- error: cannot find 'pthread_mutexattr_init' in scope
342 |         pthread_mutexattr_settype(&recursiveMutexAttr, PTHREAD_MUTEX_RECURSIVE)
343 |         pthread_mutex_init(&recursiveMutex, &recursiveMutexAttr)
/host/spi-builder-workspace/.build/checkouts/Resolver/Sources/Resolver/Resolver.swift:342:9: error: cannot find 'pthread_mutexattr_settype' in scope
340 |     init() {
341 |         pthread_mutexattr_init(&recursiveMutexAttr)
342 |         pthread_mutexattr_settype(&recursiveMutexAttr, PTHREAD_MUTEX_RECURSIVE)
    |         `- error: cannot find 'pthread_mutexattr_settype' in scope
343 |         pthread_mutex_init(&recursiveMutex, &recursiveMutexAttr)
344 |     }
/host/spi-builder-workspace/.build/checkouts/Resolver/Sources/Resolver/Resolver.swift:342:56: error: cannot find 'PTHREAD_MUTEX_RECURSIVE' in scope
340 |     init() {
341 |         pthread_mutexattr_init(&recursiveMutexAttr)
342 |         pthread_mutexattr_settype(&recursiveMutexAttr, PTHREAD_MUTEX_RECURSIVE)
    |                                                        `- error: cannot find 'PTHREAD_MUTEX_RECURSIVE' in scope
343 |         pthread_mutex_init(&recursiveMutex, &recursiveMutexAttr)
344 |     }
/host/spi-builder-workspace/.build/checkouts/Resolver/Sources/Resolver/Resolver.swift:343:9: error: cannot find 'pthread_mutex_init' in scope
341 |         pthread_mutexattr_init(&recursiveMutexAttr)
342 |         pthread_mutexattr_settype(&recursiveMutexAttr, PTHREAD_MUTEX_RECURSIVE)
343 |         pthread_mutex_init(&recursiveMutex, &recursiveMutexAttr)
    |         `- error: cannot find 'pthread_mutex_init' in scope
344 |     }
345 |     @inline(__always)
/host/spi-builder-workspace/.build/checkouts/Resolver/Sources/Resolver/Resolver.swift:347:9: error: cannot find 'pthread_mutex_lock' in scope
345 |     @inline(__always)
346 |     final func lock() {
347 |         pthread_mutex_lock(&recursiveMutex)
    |         `- error: cannot find 'pthread_mutex_lock' in scope
348 |     }
349 |     @inline(__always)
/host/spi-builder-workspace/.build/checkouts/Resolver/Sources/Resolver/Resolver.swift:351:9: error: cannot find 'pthread_mutex_unlock' in scope
349 |     @inline(__always)
350 |     final func unlock() {
351 |         pthread_mutex_unlock(&recursiveMutex)
    |         `- error: cannot find 'pthread_mutex_unlock' in scope
352 |     }
353 |     private var recursiveMutex = pthread_mutex_t()
BUILD FAILURE 6.1 wasm