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 swift-tagged, reference main (6a8517), with Swift 6.2 for Wasm on 14 Nov 2025 19:55:34 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pointfreeco/swift-tagged.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/pointfreeco/swift-tagged
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 6a85175 Update package versioning (#90)
Cloned https://github.com/pointfreeco/swift-tagged.git
Revision (git rev-parse @):
6a8517578035408b6c14ccba00ee990a1435515c
SUCCESS checkout https://github.com/pointfreeco/swift-tagged.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/pointfreeco/swift-tagged.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f6b6b9bdb5d5605d727da337418fc455cd8a0394d3a815b70631008c48829755
Status: Image is up to date for registry.gitlab.com/finestructure/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
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/6] Emitting module Tagged
/host/spi-builder-workspace/Sources/Tagged/Tagged.swift:36:19: error: cannot find type 'CustomPlaygroundDisplayConvertible' in scope
 34 | extension Tagged: RawRepresentable {}
 35 |
 36 | extension Tagged: CustomPlaygroundDisplayConvertible {
    |                   `- error: cannot find type 'CustomPlaygroundDisplayConvertible' in scope
 37 |   public var playgroundDescription: Any {
 38 |     rawValue
/host/spi-builder-workspace/Sources/Tagged/Tagged.swift:73:29: error: 'Decoder' is unavailable: unavailable in embedded Swift
 71 |
 72 | extension Tagged: Decodable where RawValue: Decodable {
 73 |   public init(from decoder: Decoder) throws {
    |                             `- error: 'Decoder' is unavailable: unavailable in embedded Swift
 74 |     do {
 75 |       self.init(rawValue: try decoder.singleValueContainer().decode(RawValue.self))
Swift.Decoder:2:17: note: 'Decoder' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Decoder {
  |                 `- note: 'Decoder' has been explicitly marked unavailable here
3 |     var codingPath: [any CodingKey] { get }
4 |     func container<Key>(keyedBy type: Key.Type) throws -> KeyedDecodingContainer<Key> where Key : CodingKey
/host/spi-builder-workspace/Sources/Tagged/Tagged.swift:72:19: error: 'Decodable' is unavailable: unavailable in embedded Swift
 70 | }
 71 |
 72 | extension Tagged: Decodable where RawValue: Decodable {
    |                   `- error: 'Decodable' is unavailable: unavailable in embedded Swift
 73 |   public init(from decoder: Decoder) throws {
 74 |     do {
Swift.Decodable:2:17: note: 'Decodable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Decodable {
  |                 `- note: 'Decodable' has been explicitly marked unavailable here
3 |     init(from decoder: any Decoder) throws
4 | }
/host/spi-builder-workspace/Sources/Tagged/Tagged.swift:72:45: error: 'Decodable' is unavailable: unavailable in embedded Swift
 70 | }
 71 |
 72 | extension Tagged: Decodable where RawValue: Decodable {
    |                                             `- error: 'Decodable' is unavailable: unavailable in embedded Swift
 73 |   public init(from decoder: Decoder) throws {
 74 |     do {
Swift.Decodable:2:17: note: 'Decodable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Decodable {
  |                 `- note: 'Decodable' has been explicitly marked unavailable here
3 |     init(from decoder: any Decoder) throws
4 | }
/host/spi-builder-workspace/Sources/Tagged/Tagged.swift:83:34: error: 'Encoder' is unavailable: unavailable in embedded Swift
 81 |
 82 | extension Tagged: Encodable where RawValue: Encodable {
 83 |   public func encode(to encoder: Encoder) throws {
    |                                  `- error: 'Encoder' is unavailable: unavailable in embedded Swift
 84 |     do {
 85 |       var container = encoder.singleValueContainer()
Swift.Encoder:2:17: note: 'Encoder' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Encoder {
  |                 `- note: 'Encoder' has been explicitly marked unavailable here
3 |     var codingPath: [any CodingKey] { get }
4 |     func container<Key>(keyedBy type: Key.Type) -> KeyedEncodingContainer<Key> where Key : CodingKey
/host/spi-builder-workspace/Sources/Tagged/Tagged.swift:82:19: error: 'Encodable' is unavailable: unavailable in embedded Swift
 80 | }
 81 |
 82 | extension Tagged: Encodable where RawValue: Encodable {
    |                   `- error: 'Encodable' is unavailable: unavailable in embedded Swift
 83 |   public func encode(to encoder: Encoder) throws {
 84 |     do {
Swift.Encodable:2:17: note: 'Encodable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Encodable {
  |                 `- note: 'Encodable' has been explicitly marked unavailable here
3 |     func encode(to encoder: any Encoder) throws
4 | }
/host/spi-builder-workspace/Sources/Tagged/Tagged.swift:82:45: error: 'Encodable' is unavailable: unavailable in embedded Swift
 80 | }
 81 |
 82 | extension Tagged: Encodable where RawValue: Encodable {
    |                                             `- error: 'Encodable' is unavailable: unavailable in embedded Swift
 83 |   public func encode(to encoder: Encoder) throws {
 84 |     do {
Swift.Encodable:2:17: note: 'Encodable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Encodable {
  |                 `- note: 'Encodable' has been explicitly marked unavailable here
3 |     func encode(to encoder: any Encoder) throws
4 | }
/host/spi-builder-workspace/Sources/Tagged/Tagged.swift:94:58: error: cannot find type 'CodingKeyRepresentable' in scope
 92 |
 93 | @available(macOS 12.3, iOS 15.4, watchOS 8.5, tvOS 15.4, *)
 94 | extension Tagged: CodingKeyRepresentable where RawValue: CodingKeyRepresentable {
    |                                                          `- error: cannot find type 'CodingKeyRepresentable' in scope
 95 |   public init?(codingKey: some CodingKey) {
 96 |     guard let rawValue = RawValue(codingKey: codingKey)
/host/spi-builder-workspace/Sources/Tagged/Tagged.swift:94:19: error: cannot find type 'CodingKeyRepresentable' in scope
 92 |
 93 | @available(macOS 12.3, iOS 15.4, watchOS 8.5, tvOS 15.4, *)
 94 | extension Tagged: CodingKeyRepresentable where RawValue: CodingKeyRepresentable {
    |                   `- error: cannot find type 'CodingKeyRepresentable' in scope
 95 |   public init?(codingKey: some CodingKey) {
 96 |     guard let rawValue = RawValue(codingKey: codingKey)
/host/spi-builder-workspace/Sources/Tagged/Tagged.swift:95:32: error: 'CodingKey' is unavailable: unavailable in embedded Swift
 93 | @available(macOS 12.3, iOS 15.4, watchOS 8.5, tvOS 15.4, *)
 94 | extension Tagged: CodingKeyRepresentable where RawValue: CodingKeyRepresentable {
 95 |   public init?(codingKey: some CodingKey) {
    |                                `- error: 'CodingKey' is unavailable: unavailable in embedded Swift
 96 |     guard let rawValue = RawValue(codingKey: codingKey)
 97 |     else { return nil }
Swift.CodingKey:2:17: note: 'CodingKey' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol CodingKey {
  |                 `- note: 'CodingKey' has been explicitly marked unavailable here
3 | }
/host/spi-builder-workspace/Sources/Tagged/Tagged.swift:95:32: error: 'CodingKey' is unavailable: unavailable in embedded Swift
 93 | @available(macOS 12.3, iOS 15.4, watchOS 8.5, tvOS 15.4, *)
 94 | extension Tagged: CodingKeyRepresentable where RawValue: CodingKeyRepresentable {
 95 |   public init?(codingKey: some CodingKey) {
    |                                `- error: 'CodingKey' is unavailable: unavailable in embedded Swift
 96 |     guard let rawValue = RawValue(codingKey: codingKey)
 97 |     else { return nil }
Swift.CodingKey:2:17: note: 'CodingKey' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol CodingKey {
  |                 `- note: 'CodingKey' has been explicitly marked unavailable here
3 | }
/host/spi-builder-workspace/Sources/Tagged/Tagged.swift:101:25: error: 'CodingKey' is unavailable: unavailable in embedded Swift
 99 |   }
100 |
101 |   public var codingKey: CodingKey {
    |                         `- error: 'CodingKey' is unavailable: unavailable in embedded Swift
102 |     self.rawValue.codingKey
103 |   }
Swift.CodingKey:2:17: note: 'CodingKey' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol CodingKey {
  |                 `- note: 'CodingKey' has been explicitly marked unavailable here
3 | }
/host/spi-builder-workspace/Sources/Tagged/Tagged.swift:30:5: error: 'init(describing:)' is unavailable: unavailable in embedded Swift
 28 | extension Tagged: CustomStringConvertible {
 29 |   public var description: String {
 30 |     String(describing: rawValue)
    |     `- error: 'init(describing:)' is unavailable: unavailable in embedded Swift
 31 |   }
 32 | }
Swift.String.init:2:8: note: 'init(describing:)' has been explicitly marked unavailable here
1 | struct String {
2 | public init<Subject>(describing instance: Subject)}
  |        `- note: 'init(describing:)' has been explicitly marked unavailable here
3 |
/host/spi-builder-workspace/Sources/Tagged/Tagged.swift:75:62: error: value of type 'any SingleValueDecodingContainer' has no member 'decode'
 73 |   public init(from decoder: Decoder) throws {
 74 |     do {
 75 |       self.init(rawValue: try decoder.singleValueContainer().decode(RawValue.self))
    |                                                              `- error: value of type 'any SingleValueDecodingContainer' has no member 'decode'
 76 |     } catch {
 77 |       self.init(rawValue: try RawValue(from: decoder))
/host/spi-builder-workspace/Sources/Tagged/Tagged.swift:86:21: error: value of type 'any SingleValueEncodingContainer' has no member 'encode'
 84 |     do {
 85 |       var container = encoder.singleValueContainer()
 86 |       try container.encode(self.rawValue)
    |                     `- error: value of type 'any SingleValueEncodingContainer' has no member 'encode'
 87 |     } catch {
 88 |       try self.rawValue.encode(to: encoder)
/host/spi-builder-workspace/Sources/Tagged/Tagged.swift:96:26: error: type 'RawValue' has no member 'init'
 94 | extension Tagged: CodingKeyRepresentable where RawValue: CodingKeyRepresentable {
 95 |   public init?(codingKey: some CodingKey) {
 96 |     guard let rawValue = RawValue(codingKey: codingKey)
    |                          `- error: type 'RawValue' has no member 'init'
 97 |     else { return nil }
 98 |     self.init(rawValue: rawValue)
/host/spi-builder-workspace/Sources/Tagged/Tagged.swift:102:19: error: value of type 'RawValue' has no member 'codingKey'
100 |
101 |   public var codingKey: CodingKey {
102 |     self.rawValue.codingKey
    |                   `- error: value of type 'RawValue' has no member 'codingKey'
103 |   }
104 | }
[6/6] Compiling Tagged Tagged.swift
/host/spi-builder-workspace/Sources/Tagged/Tagged.swift:36:19: error: cannot find type 'CustomPlaygroundDisplayConvertible' in scope
 34 | extension Tagged: RawRepresentable {}
 35 |
 36 | extension Tagged: CustomPlaygroundDisplayConvertible {
    |                   `- error: cannot find type 'CustomPlaygroundDisplayConvertible' in scope
 37 |   public var playgroundDescription: Any {
 38 |     rawValue
/host/spi-builder-workspace/Sources/Tagged/Tagged.swift:73:29: error: 'Decoder' is unavailable: unavailable in embedded Swift
 71 |
 72 | extension Tagged: Decodable where RawValue: Decodable {
 73 |   public init(from decoder: Decoder) throws {
    |                             `- error: 'Decoder' is unavailable: unavailable in embedded Swift
 74 |     do {
 75 |       self.init(rawValue: try decoder.singleValueContainer().decode(RawValue.self))
Swift.Decoder:2:17: note: 'Decoder' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Decoder {
  |                 `- note: 'Decoder' has been explicitly marked unavailable here
3 |     var codingPath: [any CodingKey] { get }
4 |     func container<Key>(keyedBy type: Key.Type) throws -> KeyedDecodingContainer<Key> where Key : CodingKey
/host/spi-builder-workspace/Sources/Tagged/Tagged.swift:72:19: error: 'Decodable' is unavailable: unavailable in embedded Swift
 70 | }
 71 |
 72 | extension Tagged: Decodable where RawValue: Decodable {
    |                   `- error: 'Decodable' is unavailable: unavailable in embedded Swift
 73 |   public init(from decoder: Decoder) throws {
 74 |     do {
Swift.Decodable:2:17: note: 'Decodable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Decodable {
  |                 `- note: 'Decodable' has been explicitly marked unavailable here
3 |     init(from decoder: any Decoder) throws
4 | }
/host/spi-builder-workspace/Sources/Tagged/Tagged.swift:72:45: error: 'Decodable' is unavailable: unavailable in embedded Swift
 70 | }
 71 |
 72 | extension Tagged: Decodable where RawValue: Decodable {
    |                                             `- error: 'Decodable' is unavailable: unavailable in embedded Swift
 73 |   public init(from decoder: Decoder) throws {
 74 |     do {
Swift.Decodable:2:17: note: 'Decodable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Decodable {
  |                 `- note: 'Decodable' has been explicitly marked unavailable here
3 |     init(from decoder: any Decoder) throws
4 | }
/host/spi-builder-workspace/Sources/Tagged/Tagged.swift:83:34: error: 'Encoder' is unavailable: unavailable in embedded Swift
 81 |
 82 | extension Tagged: Encodable where RawValue: Encodable {
 83 |   public func encode(to encoder: Encoder) throws {
    |                                  `- error: 'Encoder' is unavailable: unavailable in embedded Swift
 84 |     do {
 85 |       var container = encoder.singleValueContainer()
Swift.Encoder:2:17: note: 'Encoder' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Encoder {
  |                 `- note: 'Encoder' has been explicitly marked unavailable here
3 |     var codingPath: [any CodingKey] { get }
4 |     func container<Key>(keyedBy type: Key.Type) -> KeyedEncodingContainer<Key> where Key : CodingKey
/host/spi-builder-workspace/Sources/Tagged/Tagged.swift:82:19: error: 'Encodable' is unavailable: unavailable in embedded Swift
 80 | }
 81 |
 82 | extension Tagged: Encodable where RawValue: Encodable {
    |                   `- error: 'Encodable' is unavailable: unavailable in embedded Swift
 83 |   public func encode(to encoder: Encoder) throws {
 84 |     do {
Swift.Encodable:2:17: note: 'Encodable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Encodable {
  |                 `- note: 'Encodable' has been explicitly marked unavailable here
3 |     func encode(to encoder: any Encoder) throws
4 | }
/host/spi-builder-workspace/Sources/Tagged/Tagged.swift:82:45: error: 'Encodable' is unavailable: unavailable in embedded Swift
 80 | }
 81 |
 82 | extension Tagged: Encodable where RawValue: Encodable {
    |                                             `- error: 'Encodable' is unavailable: unavailable in embedded Swift
 83 |   public func encode(to encoder: Encoder) throws {
 84 |     do {
Swift.Encodable:2:17: note: 'Encodable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Encodable {
  |                 `- note: 'Encodable' has been explicitly marked unavailable here
3 |     func encode(to encoder: any Encoder) throws
4 | }
/host/spi-builder-workspace/Sources/Tagged/Tagged.swift:94:58: error: cannot find type 'CodingKeyRepresentable' in scope
 92 |
 93 | @available(macOS 12.3, iOS 15.4, watchOS 8.5, tvOS 15.4, *)
 94 | extension Tagged: CodingKeyRepresentable where RawValue: CodingKeyRepresentable {
    |                                                          `- error: cannot find type 'CodingKeyRepresentable' in scope
 95 |   public init?(codingKey: some CodingKey) {
 96 |     guard let rawValue = RawValue(codingKey: codingKey)
/host/spi-builder-workspace/Sources/Tagged/Tagged.swift:94:19: error: cannot find type 'CodingKeyRepresentable' in scope
 92 |
 93 | @available(macOS 12.3, iOS 15.4, watchOS 8.5, tvOS 15.4, *)
 94 | extension Tagged: CodingKeyRepresentable where RawValue: CodingKeyRepresentable {
    |                   `- error: cannot find type 'CodingKeyRepresentable' in scope
 95 |   public init?(codingKey: some CodingKey) {
 96 |     guard let rawValue = RawValue(codingKey: codingKey)
/host/spi-builder-workspace/Sources/Tagged/Tagged.swift:95:32: error: 'CodingKey' is unavailable: unavailable in embedded Swift
 93 | @available(macOS 12.3, iOS 15.4, watchOS 8.5, tvOS 15.4, *)
 94 | extension Tagged: CodingKeyRepresentable where RawValue: CodingKeyRepresentable {
 95 |   public init?(codingKey: some CodingKey) {
    |                                `- error: 'CodingKey' is unavailable: unavailable in embedded Swift
 96 |     guard let rawValue = RawValue(codingKey: codingKey)
 97 |     else { return nil }
Swift.CodingKey:2:17: note: 'CodingKey' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol CodingKey {
  |                 `- note: 'CodingKey' has been explicitly marked unavailable here
3 | }
/host/spi-builder-workspace/Sources/Tagged/Tagged.swift:95:32: error: 'CodingKey' is unavailable: unavailable in embedded Swift
 93 | @available(macOS 12.3, iOS 15.4, watchOS 8.5, tvOS 15.4, *)
 94 | extension Tagged: CodingKeyRepresentable where RawValue: CodingKeyRepresentable {
 95 |   public init?(codingKey: some CodingKey) {
    |                                `- error: 'CodingKey' is unavailable: unavailable in embedded Swift
 96 |     guard let rawValue = RawValue(codingKey: codingKey)
 97 |     else { return nil }
Swift.CodingKey:2:17: note: 'CodingKey' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol CodingKey {
  |                 `- note: 'CodingKey' has been explicitly marked unavailable here
3 | }
/host/spi-builder-workspace/Sources/Tagged/Tagged.swift:101:25: error: 'CodingKey' is unavailable: unavailable in embedded Swift
 99 |   }
100 |
101 |   public var codingKey: CodingKey {
    |                         `- error: 'CodingKey' is unavailable: unavailable in embedded Swift
102 |     self.rawValue.codingKey
103 |   }
Swift.CodingKey:2:17: note: 'CodingKey' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol CodingKey {
  |                 `- note: 'CodingKey' has been explicitly marked unavailable here
3 | }
/host/spi-builder-workspace/Sources/Tagged/Tagged.swift:30:5: error: 'init(describing:)' is unavailable: unavailable in embedded Swift
 28 | extension Tagged: CustomStringConvertible {
 29 |   public var description: String {
 30 |     String(describing: rawValue)
    |     `- error: 'init(describing:)' is unavailable: unavailable in embedded Swift
 31 |   }
 32 | }
Swift.String.init:2:8: note: 'init(describing:)' has been explicitly marked unavailable here
1 | struct String {
2 | public init<Subject>(describing instance: Subject)}
  |        `- note: 'init(describing:)' has been explicitly marked unavailable here
3 |
/host/spi-builder-workspace/Sources/Tagged/Tagged.swift:75:62: error: value of type 'any SingleValueDecodingContainer' has no member 'decode'
 73 |   public init(from decoder: Decoder) throws {
 74 |     do {
 75 |       self.init(rawValue: try decoder.singleValueContainer().decode(RawValue.self))
    |                                                              `- error: value of type 'any SingleValueDecodingContainer' has no member 'decode'
 76 |     } catch {
 77 |       self.init(rawValue: try RawValue(from: decoder))
/host/spi-builder-workspace/Sources/Tagged/Tagged.swift:86:21: error: value of type 'any SingleValueEncodingContainer' has no member 'encode'
 84 |     do {
 85 |       var container = encoder.singleValueContainer()
 86 |       try container.encode(self.rawValue)
    |                     `- error: value of type 'any SingleValueEncodingContainer' has no member 'encode'
 87 |     } catch {
 88 |       try self.rawValue.encode(to: encoder)
/host/spi-builder-workspace/Sources/Tagged/Tagged.swift:96:26: error: type 'RawValue' has no member 'init'
 94 | extension Tagged: CodingKeyRepresentable where RawValue: CodingKeyRepresentable {
 95 |   public init?(codingKey: some CodingKey) {
 96 |     guard let rawValue = RawValue(codingKey: codingKey)
    |                          `- error: type 'RawValue' has no member 'init'
 97 |     else { return nil }
 98 |     self.init(rawValue: rawValue)
/host/spi-builder-workspace/Sources/Tagged/Tagged.swift:102:19: error: value of type 'RawValue' has no member 'codingKey'
100 |
101 |   public var codingKey: CodingKey {
102 |     self.rawValue.codingKey
    |                   `- error: value of type 'RawValue' has no member 'codingKey'
103 |   }
104 | }
BUILD FAILURE 6.2 wasm