The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build SpeziMedication, reference 0.4.2 (8c160a), with Swift 6.0 for Linux on 3 Dec 2024 12:27:40 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.58.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/StanfordSpezi/SpeziMedication.git
Reference: 0.4.2
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/StanfordSpezi/SpeziMedication
 * tag               0.4.2      -> FETCH_HEAD
HEAD is now at 8c160af Enable Swift 6 Language Mode (#14)
Cloned https://github.com/StanfordSpezi/SpeziMedication.git
Revision (git rev-parse @):
8c160afbeb20fea296947cbf9255fe1dfefaf33c
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/StanfordSpezi/SpeziMedication.git at 0.4.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/StanfordSpezi/SpeziMedication.git
{
  "default_localization" : "en",
  "dependencies" : [
    {
      "identity" : "speziviews",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.7.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/StanfordSpezi/SpeziViews.git"
    }
  ],
  "manifest_display_name" : "SpeziMedication",
  "name" : "SpeziMedication",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "17.0"
    }
  ],
  "products" : [
    {
      "name" : "SpeziMedication",
      "targets" : [
        "SpeziMedication"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SpeziMedicationTests",
      "module_type" : "SwiftTarget",
      "name" : "SpeziMedicationTests",
      "path" : "Tests/SpeziMedicationTests",
      "sources" : [
        "SpeziMedicationTests.swift"
      ],
      "target_dependencies" : [
        "SpeziMedication"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SpeziMedication",
      "module_type" : "SwiftTarget",
      "name" : "SpeziMedication",
      "path" : "Sources/SpeziMedication",
      "product_dependencies" : [
        "SpeziViews"
      ],
      "product_memberships" : [
        "SpeziMedication"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/SpeziMedication/Resources/Localizable.xcstrings",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/SpeziMedication/Resources/Localizable.xcstrings.license",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Extensions/String+LocalizedError.swift",
        "Extensions/UIDatePicker+SwiftUI.swift",
        "InternalMedicationSettingsViewModel.swift",
        "MedicationList.swift",
        "MedicationSettings.swift",
        "MedicationSettingsViewModel.swift",
        "Models/Dosage.swift",
        "Models/Frequency.swift",
        "Models/Medication.swift",
        "Models/MedicationInstance.swift",
        "Models/MedicationInstanceInitializable.swift",
        "Models/Schedule.swift",
        "Models/ScheduledTime.swift",
        "Models/Weekdays.swift",
        "ModifyMedication/AddMedication.swift",
        "ModifyMedication/AddMedicationDosage.swift",
        "ModifyMedication/AddMedicationSchedule.swift",
        "ModifyMedication/EditDosage.swift",
        "ModifyMedication/EditFrequency.swift",
        "ModifyMedication/EditMedication.swift",
        "ModifyMedication/EditScheduleTime.swift",
        "ModifyMedication/EditScheduleTimeRow.swift",
        "ModifyMedication/ScheduleFrequency.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/StanfordSpezi/SpeziViews.git
[1/2485] Fetching speziviews
Fetched https://github.com/StanfordSpezi/SpeziViews.git from cache (0.99s)
Computing version for https://github.com/StanfordSpezi/SpeziViews.git
Computed https://github.com/StanfordSpezi/SpeziViews.git at 1.7.0 (0.77s)
Fetching https://github.com/StanfordSpezi/Spezi.git
Fetching https://github.com/apple/swift-collections.git
[1/8926] Fetching spezi
[8927/24529] Fetching spezi, swift-collections
Fetched https://github.com/StanfordSpezi/Spezi.git from cache (1.63s)
Fetched https://github.com/apple/swift-collections.git from cache (1.65s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (3.14s)
Computing version for https://github.com/StanfordSpezi/Spezi.git
Computed https://github.com/StanfordSpezi/Spezi.git at 1.8.0 (0.71s)
Fetching https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Fetching https://github.com/StanfordSpezi/SpeziFoundation.git
[1/374] Fetching xctruntimeassertions
[375/834] Fetching xctruntimeassertions, spezifoundation
Fetched https://github.com/StanfordSpezi/SpeziFoundation.git from cache (0.20s)
Fetched https://github.com/StanfordBDHG/XCTRuntimeAssertions.git from cache (0.20s)
Computing version for https://github.com/StanfordSpezi/SpeziFoundation.git
Computed https://github.com/StanfordSpezi/SpeziFoundation.git at 2.0.0 (0.58s)
Fetching https://github.com/apple/swift-atomics.git
[1/1569] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.32s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.47s)
Computing version for https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Computed https://github.com/StanfordBDHG/XCTRuntimeAssertions.git at 1.1.3 (0.57s)
Creating working copy for https://github.com/StanfordSpezi/SpeziFoundation.git
Working copy of https://github.com/StanfordSpezi/SpeziFoundation.git resolved at 2.0.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
Creating working copy for https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Working copy of https://github.com/StanfordBDHG/XCTRuntimeAssertions.git resolved at 1.1.3
Creating working copy for https://github.com/StanfordSpezi/SpeziViews.git
Working copy of https://github.com/StanfordSpezi/SpeziViews.git resolved at 1.7.0
Creating working copy for https://github.com/StanfordSpezi/Spezi.git
Working copy of https://github.com/StanfordSpezi/Spezi.git resolved at 1.8.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.2.0
warning: 'speziviews': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/SpeziViews/Sources/SpeziViews/Resources/Localizable.xcstrings.license
    /host/spi-builder-workspace/.build/checkouts/SpeziViews/Sources/SpeziViews/Resources/Localizable.xcstrings
Building for debugging...
[0/16] Write sources
[0/16] Copying Localizable.xcstrings
[0/16] Copying Localizable.xcstrings.license
[0/16] Copying Info.plist
[0/16] Write sources
[4/16] Copying Localizable.xcstrings.license
[7/16] Copying Info.plist
[9/16] Copying Localizable.xcstrings
[12/16] Write sources
[14/16] Compiling _AtomicsShims.c
[15/16] Write swift-version-24593BA9C3E375BF.txt
[17/60] Emitting module InternalCollectionsUtilities
[18/62] Emitting module Atomics
[19/64] Compiling Atomics IntegerOperations.swift
[20/64] Compiling Atomics Unmanaged extensions.swift
[21/64] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[22/64] Compiling InternalCollectionsUtilities _SortedCollection.swift
[23/64] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[24/64] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[25/64] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[26/64] Compiling InternalCollectionsUtilities Specialize.swift
[27/64] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[28/64] Compiling InternalCollectionsUtilities Debugging.swift
[29/64] Compiling InternalCollectionsUtilities Descriptions.swift
[36/64] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[38/64] Compiling InternalCollectionsUtilities UInt+reversed.swift
[39/64] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[40/64] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+SE-0370.swift
[41/64] Compiling InternalCollectionsUtilities UnsafeMutablePointer+SE-0370.swift
[42/64] Compiling InternalCollectionsUtilities UnsafeRawPointer extensions.swift
[43/64] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[44/64] Compiling InternalCollectionsUtilities Integer rank.swift
[45/64] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[59/143] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[60/143] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[61/143] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[62/143] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[63/143] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[64/143] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[65/143] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[66/150] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[67/150] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[68/150] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[69/150] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[70/150] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[71/150] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[72/150] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[73/150] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[74/150] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[75/150] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[76/150] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[77/150] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[78/150] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[79/150] Compiling SpeziFoundation RecursiveRWLock.swift
[80/150] Compiling SpeziFoundation AnyArray.swift
[81/150] Compiling SpeziFoundation RepositoryAnchor.swift
[82/150] Compiling SpeziFoundation SendableSharedRepository.swift
[83/150] Compiling SpeziFoundation DefaultProvidingKnowledgeSource.swift
[84/150] Compiling SpeziFoundation KnowledgeSource.swift
[85/150] Compiling OrderedCollections OrderedSet+Diffing.swift
[86/150] Compiling OrderedCollections OrderedSet+Equatable.swift
[87/150] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[88/150] Compiling OrderedCollections OrderedSet+Hashable.swift
[89/150] Compiling OrderedCollections OrderedSet+Initializers.swift
[90/150] Compiling OrderedCollections OrderedSet+Insertions.swift
[91/150] Compiling OrderedCollections OrderedSet+Invariants.swift
[92/150] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[93/150] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[94/150] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[95/150] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[96/150] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[97/150] Compiling OrderedCollections OrderedDictionary+Codable.swift
[98/150] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[99/150] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[100/150] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[101/150] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[102/150] Compiling OrderedCollections OrderedDictionary+Elements.swift
[103/150] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[104/150] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[105/150] Compiling OrderedCollections OrderedSet+Sendable.swift
[106/150] Compiling OrderedCollections OrderedSet+SubSequence.swift
[107/150] Compiling OrderedCollections OrderedSet+Testing.swift
[108/150] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[109/150] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[110/150] Compiling OrderedCollections OrderedSet.swift
[111/150] Compiling OrderedCollections _UnsafeBitset.swift
[112/150] Compiling OrderedCollections _HashTable+Bucket.swift
[113/150] Compiling OrderedCollections _HashTable+BucketIterator.swift
[114/150] Compiling OrderedCollections _HashTable+Constants.swift
[115/150] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[116/150] Compiling OrderedCollections _HashTable+Testing.swift
[117/150] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[118/150] Compiling OrderedCollections _HashTable.swift
[119/150] Compiling SpeziFoundation SomeComputedKnowledgeSource.swift
[120/150] Compiling XCTRuntimeAssertions XCTRuntimeAssertionInjector.swift
[121/150] Emitting module XCTRuntimeAssertions
[122/151] Compiling XCTRuntimeAssertions XCTFail.swift
[123/151] Compiling XCTRuntimeAssertions XCTRuntimeAssertion.swift
[124/151] Compiling XCTRuntimeAssertions NeverReturn.swift
[125/151] Compiling XCTRuntimeAssertions Counter.swift
[126/151] Compiling XCTRuntimeAssertions Assert.swift
[127/151] Compiling XCTRuntimeAssertions Precondition.swift
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TimeoutError.swift:21:27: error: cannot find 'LocalizedStringResource' in scope
 19 | extension TimeoutError: LocalizedError {
 20 |     public var errorDescription: String? {
 21 |         String(localized: LocalizedStringResource("Timeout", bundle: .atURL(Bundle.module.bundleURL)))
    |                           `- error: cannot find 'LocalizedStringResource' in scope
 22 |     }
 23 |
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TimeoutError.swift:21:9: error: no exact matches in call to initializer
 19 | extension TimeoutError: LocalizedError {
 20 |     public var errorDescription: String? {
 21 |         String(localized: LocalizedStringResource("Timeout", bundle: .atURL(Bundle.module.bundleURL)))
    |         `- error: no exact matches in call to initializer
 22 |     }
 23 |
Swift.String:2:12: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | extension String {
2 |     public init?(_ codeUnits: Substring.UTF8View)
  |            `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 | }
Swift.String:2:12: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | extension String {
2 |     public init?(_ codeUnits: Substring.UTF16View)
  |            `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 | }
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TimeoutError.swift:21:71: error: cannot infer contextual base in reference to member 'atURL'
 19 | extension TimeoutError: LocalizedError {
 20 |     public var errorDescription: String? {
 21 |         String(localized: LocalizedStringResource("Timeout", bundle: .atURL(Bundle.module.bundleURL)))
    |                                                                       `- error: cannot infer contextual base in reference to member 'atURL'
 22 |     }
 23 |
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TimeoutError.swift:25:27: error: cannot find 'LocalizedStringResource' in scope
 23 |
 24 |     public var failureReason: String? {
 25 |         String(localized: LocalizedStringResource("The operation timed out.", bundle: .atURL(Bundle.module.bundleURL)))
    |                           `- error: cannot find 'LocalizedStringResource' in scope
 26 |     }
 27 | }
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TimeoutError.swift:25:9: error: no exact matches in call to initializer
 23 |
 24 |     public var failureReason: String? {
 25 |         String(localized: LocalizedStringResource("The operation timed out.", bundle: .atURL(Bundle.module.bundleURL)))
    |         `- error: no exact matches in call to initializer
 26 |     }
 27 | }
Swift.String:2:12: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | extension String {
2 |     public init?(_ codeUnits: Substring.UTF8View)
  |            `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 | }
Swift.String:2:12: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | extension String {
2 |     public init?(_ codeUnits: Substring.UTF16View)
  |            `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 | }
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TimeoutError.swift:25:88: error: cannot infer contextual base in reference to member 'atURL'
 23 |
 24 |     public var failureReason: String? {
 25 |         String(localized: LocalizedStringResource("The operation timed out.", bundle: .atURL(Bundle.module.bundleURL)))
    |                                                                                        `- error: cannot infer contextual base in reference to member 'atURL'
 26 |     }
 27 | }
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TimeoutError.swift:21:27: error: cannot find 'LocalizedStringResource' in scope
 19 | extension TimeoutError: LocalizedError {
 20 |     public var errorDescription: String? {
 21 |         String(localized: LocalizedStringResource("Timeout", bundle: .atURL(Bundle.module.bundleURL)))
    |                           `- error: cannot find 'LocalizedStringResource' in scope
 22 |     }
 23 |
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TimeoutError.swift:21:9: error: no exact matches in call to initializer
 19 | extension TimeoutError: LocalizedError {
 20 |     public var errorDescription: String? {
 21 |         String(localized: LocalizedStringResource("Timeout", bundle: .atURL(Bundle.module.bundleURL)))
    |         `- error: no exact matches in call to initializer
 22 |     }
 23 |
Swift.String:2:12: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | extension String {
2 |     public init?(_ codeUnits: Substring.UTF8View)
  |            `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 | }
Swift.String:2:12: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | extension String {
2 |     public init?(_ codeUnits: Substring.UTF16View)
  |            `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 | }
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TimeoutError.swift:21:71: error: cannot infer contextual base in reference to member 'atURL'
 19 | extension TimeoutError: LocalizedError {
 20 |     public var errorDescription: String? {
 21 |         String(localized: LocalizedStringResource("Timeout", bundle: .atURL(Bundle.module.bundleURL)))
    |                                                                       `- error: cannot infer contextual base in reference to member 'atURL'
 22 |     }
 23 |
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TimeoutError.swift:25:27: error: cannot find 'LocalizedStringResource' in scope
 23 |
 24 |     public var failureReason: String? {
 25 |         String(localized: LocalizedStringResource("The operation timed out.", bundle: .atURL(Bundle.module.bundleURL)))
    |                           `- error: cannot find 'LocalizedStringResource' in scope
 26 |     }
 27 | }
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TimeoutError.swift:25:9: error: no exact matches in call to initializer
 23 |
 24 |     public var failureReason: String? {
 25 |         String(localized: LocalizedStringResource("The operation timed out.", bundle: .atURL(Bundle.module.bundleURL)))
    |         `- error: no exact matches in call to initializer
 26 |     }
 27 | }
Swift.String:2:12: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | extension String {
2 |     public init?(_ codeUnits: Substring.UTF8View)
  |            `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 | }
Swift.String:2:12: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | extension String {
2 |     public init?(_ codeUnits: Substring.UTF16View)
  |            `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 | }
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TimeoutError.swift:25:88: error: cannot infer contextual base in reference to member 'atURL'
 23 |
 24 |     public var failureReason: String? {
 25 |         String(localized: LocalizedStringResource("The operation timed out.", bundle: .atURL(Bundle.module.bundleURL)))
    |                                                                                        `- error: cannot infer contextual base in reference to member 'atURL'
 26 |     }
 27 | }
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TimeoutError.swift:21:27: error: cannot find 'LocalizedStringResource' in scope
 19 | extension TimeoutError: LocalizedError {
 20 |     public var errorDescription: String? {
 21 |         String(localized: LocalizedStringResource("Timeout", bundle: .atURL(Bundle.module.bundleURL)))
    |                           `- error: cannot find 'LocalizedStringResource' in scope
 22 |     }
 23 |
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TimeoutError.swift:21:9: error: no exact matches in call to initializer
 19 | extension TimeoutError: LocalizedError {
 20 |     public var errorDescription: String? {
 21 |         String(localized: LocalizedStringResource("Timeout", bundle: .atURL(Bundle.module.bundleURL)))
    |         `- error: no exact matches in call to initializer
 22 |     }
 23 |
Swift.String:2:12: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | extension String {
2 |     public init?(_ codeUnits: Substring.UTF8View)
  |            `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 | }
Swift.String:2:12: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | extension String {
2 |     public init?(_ codeUnits: Substring.UTF16View)
  |            `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 | }
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TimeoutError.swift:21:71: error: cannot infer contextual base in reference to member 'atURL'
 19 | extension TimeoutError: LocalizedError {
 20 |     public var errorDescription: String? {
 21 |         String(localized: LocalizedStringResource("Timeout", bundle: .atURL(Bundle.module.bundleURL)))
    |                                                                       `- error: cannot infer contextual base in reference to member 'atURL'
 22 |     }
 23 |
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TimeoutError.swift:25:27: error: cannot find 'LocalizedStringResource' in scope
 23 |
 24 |     public var failureReason: String? {
 25 |         String(localized: LocalizedStringResource("The operation timed out.", bundle: .atURL(Bundle.module.bundleURL)))
    |                           `- error: cannot find 'LocalizedStringResource' in scope
 26 |     }
 27 | }
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TimeoutError.swift:25:9: error: no exact matches in call to initializer
 23 |
 24 |     public var failureReason: String? {
 25 |         String(localized: LocalizedStringResource("The operation timed out.", bundle: .atURL(Bundle.module.bundleURL)))
    |         `- error: no exact matches in call to initializer
 26 |     }
 27 | }
Swift.String:2:12: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | extension String {
2 |     public init?(_ codeUnits: Substring.UTF8View)
  |            `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 | }
Swift.String:2:12: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | extension String {
2 |     public init?(_ codeUnits: Substring.UTF16View)
  |            `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 | }
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TimeoutError.swift:25:88: error: cannot infer contextual base in reference to member 'atURL'
 23 |
 24 |     public var failureReason: String? {
 25 |         String(localized: LocalizedStringResource("The operation timed out.", bundle: .atURL(Bundle.module.bundleURL)))
    |                                                                                        `- error: cannot infer contextual base in reference to member 'atURL'
 26 |     }
 27 | }
[137/153] Compiling XCTRuntimeAssertions XCTRuntimePrecondition.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[138/154] Emitting module SpeziFoundation
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Concurrency/RecursiveRWLock.swift:20:32: error: type 'pthread_t' (aka 'UInt') does not conform to protocol 'AtomicOptionalWrappable'
 18 |     let rwLock: UnsafeMutablePointer<pthread_rwlock_t>
 19 |
 20 |     private let writerThread = ManagedAtomic<pthread_t?>(nil)
    |                                `- error: type 'pthread_t' (aka 'UInt') does not conform to protocol 'AtomicOptionalWrappable'
 21 |     private var writerCount = 0
 22 |     private var readerCount = 0
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Concurrency/RecursiveRWLock.swift:20:32: error: 'ManagedAtomic' requires that 'pthread_t' (aka 'UInt') conform to 'AtomicOptionalWrappable'
 18 |     let rwLock: UnsafeMutablePointer<pthread_rwlock_t>
 19 |
 20 |     private let writerThread = ManagedAtomic<pthread_t?>(nil)
    |                                `- error: 'ManagedAtomic' requires that 'pthread_t' (aka 'UInt') conform to 'AtomicOptionalWrappable'
 21 |     private var writerCount = 0
 22 |     private var readerCount = 0
/host/spi-builder-workspace/.build/checkouts/swift-atomics/Sources/Atomics/Types/ManagedAtomic.swift:15:14: note: requirement specified as 'pthread_t' (aka 'UInt') : 'AtomicOptionalWrappable'
 13 | /// A reference type holding an atomic value, with automatic memory management.
 14 | @_fixed_layout
 15 | public class ManagedAtomic<Value: AtomicValue>
    |              |- note: requirement specified as 'pthread_t' (aka 'UInt') : 'AtomicOptionalWrappable'
    |              `- note: requirement from conditional conformance of 'pthread_t?' (aka 'Optional<UInt>') to 'AtomicValue'
 16 | where Value.AtomicRepresentation.Value == Value {
 17 |   // Note: the Value.AtomicRepresentation.Value == Value requirement could be relaxed,
[140/154] Compiling SpeziFoundation SharedRepository.swift
[141/154] Compiling SpeziFoundation resource_bundle_accessor.swift
[142/154] Emitting module OrderedCollections
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Concurrency/RecursiveRWLock.swift:20:32: error: type 'pthread_t' (aka 'UInt') does not conform to protocol 'AtomicOptionalWrappable'
 18 |     let rwLock: UnsafeMutablePointer<pthread_rwlock_t>
 19 |
 20 |     private let writerThread = ManagedAtomic<pthread_t?>(nil)
    |                                `- error: type 'pthread_t' (aka 'UInt') does not conform to protocol 'AtomicOptionalWrappable'
 21 |     private var writerCount = 0
 22 |     private var readerCount = 0
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Concurrency/RecursiveRWLock.swift:20:32: error: 'ManagedAtomic' requires that 'pthread_t' (aka 'UInt') conform to 'AtomicOptionalWrappable'
 18 |     let rwLock: UnsafeMutablePointer<pthread_rwlock_t>
 19 |
 20 |     private let writerThread = ManagedAtomic<pthread_t?>(nil)
    |                                `- error: 'ManagedAtomic' requires that 'pthread_t' (aka 'UInt') conform to 'AtomicOptionalWrappable'
 21 |     private var writerCount = 0
 22 |     private var readerCount = 0
/host/spi-builder-workspace/.build/checkouts/swift-atomics/Sources/Atomics/Types/ManagedAtomic.swift:15:14: note: requirement specified as 'pthread_t' (aka 'UInt') : 'AtomicOptionalWrappable'
 13 | /// A reference type holding an atomic value, with automatic memory management.
 14 | @_fixed_layout
 15 | public class ManagedAtomic<Value: AtomicValue>
    |              |- note: requirement specified as 'pthread_t' (aka 'UInt') : 'AtomicOptionalWrappable'
    |              `- note: requirement from conditional conformance of 'pthread_t?' (aka 'Optional<UInt>') to 'AtomicValue'
 16 | where Value.AtomicRepresentation.Value == Value {
 17 |   // Note: the Value.AtomicRepresentation.Value == Value requirement could be relaxed,
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Concurrency/RecursiveRWLock.swift:33:54: error: cannot infer contextual base in reference to member 'relaxed'
 31 |         let selfThread = pthread_self()
 32 |
 33 |         if let writer = writerThread.load(ordering: .relaxed),
    |                                                      `- error: cannot infer contextual base in reference to member 'relaxed'
 34 |            pthread_equal(writer, selfThread) != 0 {
 35 |             // we know that the writerThread is us, so access to `writerCount` is synchronized (its us that holds the rwLock).
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Concurrency/RecursiveRWLock.swift:43:51: error: cannot infer contextual base in reference to member 'relaxed'
 41 |         pthreadWriteLock()
 42 |
 43 |         writerThread.store(selfThread, ordering: .relaxed)
    |                                                   `- error: cannot infer contextual base in reference to member 'relaxed'
 44 |         writerCount = 1
 45 |     }
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Concurrency/RecursiveRWLock.swift:55:28: error: 'nil' requires a contextual type
 53 |
 54 |         // otherwise it is the last unlock
 55 |         writerThread.store(nil, ordering: .relaxed)
    |                            `- error: 'nil' requires a contextual type
 56 |         writerCount = 0
 57 |
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Concurrency/RecursiveRWLock.swift:55:44: error: cannot infer contextual base in reference to member 'relaxed'
 53 |
 54 |         // otherwise it is the last unlock
 55 |         writerThread.store(nil, ordering: .relaxed)
    |                                            `- error: cannot infer contextual base in reference to member 'relaxed'
 56 |         writerCount = 0
 57 |
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Concurrency/RecursiveRWLock.swift:64:54: error: cannot infer contextual base in reference to member 'relaxed'
 62 |         let selfThread = pthread_self()
 63 |
 64 |         if let writer = writerThread.load(ordering: .relaxed),
    |                                                      `- error: cannot infer contextual base in reference to member 'relaxed'
 65 |            pthread_equal(writer, selfThread) != 0 {
 66 |             // we know that the writerThread is us, so access to `readerCount` is synchronized (its us that holds the rwLock).
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Concurrency/RecursiveRWLock.swift:20:32: error: type 'pthread_t' (aka 'UInt') does not conform to protocol 'AtomicOptionalWrappable'
 18 |     let rwLock: UnsafeMutablePointer<pthread_rwlock_t>
 19 |
 20 |     private let writerThread = ManagedAtomic<pthread_t?>(nil)
    |                                `- error: type 'pthread_t' (aka 'UInt') does not conform to protocol 'AtomicOptionalWrappable'
 21 |     private var writerCount = 0
 22 |     private var readerCount = 0
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Concurrency/RecursiveRWLock.swift:20:32: error: 'ManagedAtomic' requires that 'pthread_t' (aka 'UInt') conform to 'AtomicOptionalWrappable'
 18 |     let rwLock: UnsafeMutablePointer<pthread_rwlock_t>
 19 |
 20 |     private let writerThread = ManagedAtomic<pthread_t?>(nil)
    |                                `- error: 'ManagedAtomic' requires that 'pthread_t' (aka 'UInt') conform to 'AtomicOptionalWrappable'
 21 |     private var writerCount = 0
 22 |     private var readerCount = 0
/host/spi-builder-workspace/.build/checkouts/swift-atomics/Sources/Atomics/Types/ManagedAtomic.swift:15:14: note: requirement specified as 'pthread_t' (aka 'UInt') : 'AtomicOptionalWrappable'
 13 | /// A reference type holding an atomic value, with automatic memory management.
 14 | @_fixed_layout
 15 | public class ManagedAtomic<Value: AtomicValue>
    |              |- note: requirement specified as 'pthread_t' (aka 'UInt') : 'AtomicOptionalWrappable'
    |              `- note: requirement from conditional conformance of 'pthread_t?' (aka 'Optional<UInt>') to 'AtomicValue'
 16 | where Value.AtomicRepresentation.Value == Value {
 17 |   // Note: the Value.AtomicRepresentation.Value == Value requirement could be relaxed,
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Concurrency/RecursiveRWLock.swift:33:54: error: cannot infer contextual base in reference to member 'relaxed'
 31 |         let selfThread = pthread_self()
 32 |
 33 |         if let writer = writerThread.load(ordering: .relaxed),
    |                                                      `- error: cannot infer contextual base in reference to member 'relaxed'
 34 |            pthread_equal(writer, selfThread) != 0 {
 35 |             // we know that the writerThread is us, so access to `writerCount` is synchronized (its us that holds the rwLock).
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Concurrency/RecursiveRWLock.swift:43:51: error: cannot infer contextual base in reference to member 'relaxed'
 41 |         pthreadWriteLock()
 42 |
 43 |         writerThread.store(selfThread, ordering: .relaxed)
    |                                                   `- error: cannot infer contextual base in reference to member 'relaxed'
 44 |         writerCount = 1
 45 |     }
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Concurrency/RecursiveRWLock.swift:55:28: error: 'nil' requires a contextual type
 53 |
 54 |         // otherwise it is the last unlock
 55 |         writerThread.store(nil, ordering: .relaxed)
    |                            `- error: 'nil' requires a contextual type
 56 |         writerCount = 0
 57 |
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Concurrency/RecursiveRWLock.swift:55:44: error: cannot infer contextual base in reference to member 'relaxed'
 53 |
 54 |         // otherwise it is the last unlock
 55 |         writerThread.store(nil, ordering: .relaxed)
    |                                            `- error: cannot infer contextual base in reference to member 'relaxed'
 56 |         writerCount = 0
 57 |
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Concurrency/RecursiveRWLock.swift:64:54: error: cannot infer contextual base in reference to member 'relaxed'
 62 |         let selfThread = pthread_self()
 63 |
 64 |         if let writer = writerThread.load(ordering: .relaxed),
    |                                                      `- error: cannot infer contextual base in reference to member 'relaxed'
 65 |            pthread_equal(writer, selfThread) != 0 {
 66 |             // we know that the writerThread is us, so access to `readerCount` is synchronized (its us that holds the rwLock).
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Concurrency/RecursiveRWLock.swift:20:32: error: type 'pthread_t' (aka 'UInt') does not conform to protocol 'AtomicOptionalWrappable'
 18 |     let rwLock: UnsafeMutablePointer<pthread_rwlock_t>
 19 |
 20 |     private let writerThread = ManagedAtomic<pthread_t?>(nil)
    |                                `- error: type 'pthread_t' (aka 'UInt') does not conform to protocol 'AtomicOptionalWrappable'
 21 |     private var writerCount = 0
 22 |     private var readerCount = 0
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Concurrency/RecursiveRWLock.swift:20:32: error: 'ManagedAtomic' requires that 'pthread_t' (aka 'UInt') conform to 'AtomicOptionalWrappable'
 18 |     let rwLock: UnsafeMutablePointer<pthread_rwlock_t>
 19 |
 20 |     private let writerThread = ManagedAtomic<pthread_t?>(nil)
    |                                `- error: 'ManagedAtomic' requires that 'pthread_t' (aka 'UInt') conform to 'AtomicOptionalWrappable'
 21 |     private var writerCount = 0
 22 |     private var readerCount = 0
/host/spi-builder-workspace/.build/checkouts/swift-atomics/Sources/Atomics/Types/ManagedAtomic.swift:15:14: note: requirement specified as 'pthread_t' (aka 'UInt') : 'AtomicOptionalWrappable'
 13 | /// A reference type holding an atomic value, with automatic memory management.
 14 | @_fixed_layout
 15 | public class ManagedAtomic<Value: AtomicValue>
    |              |- note: requirement specified as 'pthread_t' (aka 'UInt') : 'AtomicOptionalWrappable'
    |              `- note: requirement from conditional conformance of 'pthread_t?' (aka 'Optional<UInt>') to 'AtomicValue'
 16 | where Value.AtomicRepresentation.Value == Value {
 17 |   // Note: the Value.AtomicRepresentation.Value == Value requirement could be relaxed,
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Concurrency/RecursiveRWLock.swift:33:54: error: cannot infer contextual base in reference to member 'relaxed'
 31 |         let selfThread = pthread_self()
 32 |
 33 |         if let writer = writerThread.load(ordering: .relaxed),
    |                                                      `- error: cannot infer contextual base in reference to member 'relaxed'
 34 |            pthread_equal(writer, selfThread) != 0 {
 35 |             // we know that the writerThread is us, so access to `writerCount` is synchronized (its us that holds the rwLock).
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Concurrency/RecursiveRWLock.swift:43:51: error: cannot infer contextual base in reference to member 'relaxed'
 41 |         pthreadWriteLock()
 42 |
 43 |         writerThread.store(selfThread, ordering: .relaxed)
    |                                                   `- error: cannot infer contextual base in reference to member 'relaxed'
 44 |         writerCount = 1
 45 |     }
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Concurrency/RecursiveRWLock.swift:55:28: error: 'nil' requires a contextual type
 53 |
 54 |         // otherwise it is the last unlock
 55 |         writerThread.store(nil, ordering: .relaxed)
    |                            `- error: 'nil' requires a contextual type
 56 |         writerCount = 0
 57 |
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Concurrency/RecursiveRWLock.swift:55:44: error: cannot infer contextual base in reference to member 'relaxed'
 53 |
 54 |         // otherwise it is the last unlock
 55 |         writerThread.store(nil, ordering: .relaxed)
    |                                            `- error: cannot infer contextual base in reference to member 'relaxed'
 56 |         writerCount = 0
 57 |
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Concurrency/RecursiveRWLock.swift:64:54: error: cannot infer contextual base in reference to member 'relaxed'
 62 |         let selfThread = pthread_self()
 63 |
 64 |         if let writer = writerThread.load(ordering: .relaxed),
    |                                                      `- error: cannot infer contextual base in reference to member 'relaxed'
 65 |            pthread_equal(writer, selfThread) != 0 {
 66 |             // we know that the writerThread is us, so access to `readerCount` is synchronized (its us that holds the rwLock).
BUILD FAILURE 6.0 linux