The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SION, reference 0.2.6 (47dcc0), with Swift 6.1 for Wasm on 28 May 2025 04:52:20 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/dankogai/swift-sion.git
Reference: 0.2.6
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/dankogai/swift-sion
 * tag               0.2.6      -> FETCH_HEAD
HEAD is now at 47dcc07 update macOS Playground
Cloned https://github.com/dankogai/swift-sion.git
Revision (git rev-parse @):
47dcc0779c3b0dffe09d569b190e6e628a0a9977
SUCCESS checkout https://github.com/dankogai/swift-sion.git at 0.2.6
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/dankogai/swift-sion.git
https://github.com/dankogai/swift-sion.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SION",
  "name" : "SION",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SION",
      "targets" : [
        "SION"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    },
    {
      "name" : "SIONRun",
      "targets" : [
        "SIONRun"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SIONTests",
      "module_type" : "SwiftTarget",
      "name" : "SIONTests",
      "path" : "Tests/SIONTests",
      "sources" : [
        "SIONTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "SION"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SIONRun",
      "module_type" : "SwiftTarget",
      "name" : "SIONRun",
      "path" : "Sources/SIONRun",
      "product_memberships" : [
        "SIONRun"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "SION"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "SION",
      "module_type" : "SwiftTarget",
      "name" : "SION",
      "path" : "Sources/SION",
      "product_memberships" : [
        "SION",
        "SIONRun"
      ],
      "sources" : [
        "SION.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
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
Building for debugging...
[0/9] Write sources
[2/9] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/11] Emitting module SION
/host/spi-builder-workspace/Sources/SION/SION.swift:139:1: warning: extension declares a conformance of imported type 'Data' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
 137 |     }
 138 | }
 139 | extension Data:ExpressibleByStringLiteral {
     | |- warning: extension declares a conformance of imported type 'Data' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
     | `- note: add '@retroactive' to silence this warning
 140 |     public typealias StringLiteralType = String
 141 |     public init(stringLiteral value:StringLiteralType) {
/host/spi-builder-workspace/Sources/SION/SION.swift:145:1: warning: extension declares a conformance of imported type 'Date' to imported protocol 'ExpressibleByFloatLiteral'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
 143 |     }
 144 | }
 145 | extension Date:ExpressibleByFloatLiteral {
     | |- warning: extension declares a conformance of imported type 'Date' to imported protocol 'ExpressibleByFloatLiteral'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
     | `- note: add '@retroactive' to silence this warning
 146 |     public typealias FloatLiteralType = Double
 147 |     public init(floatLiteral value:FloatLiteralType) {
/host/spi-builder-workspace/Sources/SION/SION.swift:15:10: warning: associated value 'Error' of 'Sendable'-conforming enum 'SION' has non-sendable type 'SION.SIONError'; this is an error in the Swift 6 language mode
  13 |     public typealias Value  = SION
  14 |     public typealias Index  = Int
  15 |     case Error(SIONError)
     |          `- warning: associated value 'Error' of 'Sendable'-conforming enum 'SION' has non-sendable type 'SION.SIONError'; this is an error in the Swift 6 language mode
  16 |     case Nil
  17 |     case Bool(Bool)
     :
 702 | }
 703 | extension SION {
 704 |     public enum SIONError : Equatable {
     |                 `- note: consider making enum 'SIONError' conform to the 'Sendable' protocol
 705 |         case notASIONType
 706 |         case notIterable(SION.ContentType)
/host/spi-builder-workspace/Sources/SION/SION.swift:1024:22: error: integer literal '4294967295' overflows when stored into signed 'Builtin.Int32'
1022 |             }
1023 |         case .Dictionary(let m):
1024 |             switch m.count {
     |                      `- error: integer literal '4294967295' overflows when stored into signed 'Builtin.Int32'
1025 |             case 0...0xf:
1026 |                 var d = FD([UInt8(0b10000000 | m.count)])
/host/spi-builder-workspace/Sources/SION/SION.swift:1005:22: error: integer literal '4294967295' overflows when stored into signed 'Builtin.Int32'
1003 |             }
1004 |         case .Array(let a):
1005 |             switch a.count {
     |                      `- error: integer literal '4294967295' overflows when stored into signed 'Builtin.Int32'
1006 |             case 0...0xf:
1007 |                 var d = FD([UInt8(0b10010000 | a.count)])
/host/spi-builder-workspace/Sources/SION/SION.swift:992:22: error: integer literal '4294967295' overflows when stored into signed 'Builtin.Int32'
 990 |             }
 991 |         case .Data(let d):
 992 |             switch d.count {
     |                      `- error: integer literal '4294967295' overflows when stored into signed 'Builtin.Int32'
 993 |             case 0...0xff :
 994 |                 return FD([0xc4, UInt8(d.count)]) + d
/host/spi-builder-workspace/Sources/SION/SION.swift:977:22: error: integer literal '4294967295' overflows when stored into signed 'Builtin.Int32'
 975 |         case .String(let v):
 976 |             let d = v.data(using:.utf8)!
 977 |             switch d.count {
     |                      `- error: integer literal '4294967295' overflows when stored into signed 'Builtin.Int32'
 978 |             case 0...0b11111 :  // fixstr
 979 |                 return FD([UInt8(0b10100000 | d.count)]) + d
[5/11] Compiling SION SION.swift
/host/spi-builder-workspace/Sources/SION/SION.swift:139:1: warning: extension declares a conformance of imported type 'Data' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
 137 |     }
 138 | }
 139 | extension Data:ExpressibleByStringLiteral {
     | |- warning: extension declares a conformance of imported type 'Data' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
     | `- note: add '@retroactive' to silence this warning
 140 |     public typealias StringLiteralType = String
 141 |     public init(stringLiteral value:StringLiteralType) {
/host/spi-builder-workspace/Sources/SION/SION.swift:145:1: warning: extension declares a conformance of imported type 'Date' to imported protocol 'ExpressibleByFloatLiteral'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
 143 |     }
 144 | }
 145 | extension Date:ExpressibleByFloatLiteral {
     | |- warning: extension declares a conformance of imported type 'Date' to imported protocol 'ExpressibleByFloatLiteral'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
     | `- note: add '@retroactive' to silence this warning
 146 |     public typealias FloatLiteralType = Double
 147 |     public init(floatLiteral value:FloatLiteralType) {
/host/spi-builder-workspace/Sources/SION/SION.swift:15:10: warning: associated value 'Error' of 'Sendable'-conforming enum 'SION' has non-sendable type 'SION.SIONError'; this is an error in the Swift 6 language mode
  13 |     public typealias Value  = SION
  14 |     public typealias Index  = Int
  15 |     case Error(SIONError)
     |          `- warning: associated value 'Error' of 'Sendable'-conforming enum 'SION' has non-sendable type 'SION.SIONError'; this is an error in the Swift 6 language mode
  16 |     case Nil
  17 |     case Bool(Bool)
     :
 702 | }
 703 | extension SION {
 704 |     public enum SIONError : Equatable {
     |                 `- note: consider making enum 'SIONError' conform to the 'Sendable' protocol
 705 |         case notASIONType
 706 |         case notIterable(SION.ContentType)
/host/spi-builder-workspace/Sources/SION/SION.swift:1024:22: error: integer literal '4294967295' overflows when stored into signed 'Builtin.Int32'
1022 |             }
1023 |         case .Dictionary(let m):
1024 |             switch m.count {
     |                      `- error: integer literal '4294967295' overflows when stored into signed 'Builtin.Int32'
1025 |             case 0...0xf:
1026 |                 var d = FD([UInt8(0b10000000 | m.count)])
/host/spi-builder-workspace/Sources/SION/SION.swift:1005:22: error: integer literal '4294967295' overflows when stored into signed 'Builtin.Int32'
1003 |             }
1004 |         case .Array(let a):
1005 |             switch a.count {
     |                      `- error: integer literal '4294967295' overflows when stored into signed 'Builtin.Int32'
1006 |             case 0...0xf:
1007 |                 var d = FD([UInt8(0b10010000 | a.count)])
/host/spi-builder-workspace/Sources/SION/SION.swift:992:22: error: integer literal '4294967295' overflows when stored into signed 'Builtin.Int32'
 990 |             }
 991 |         case .Data(let d):
 992 |             switch d.count {
     |                      `- error: integer literal '4294967295' overflows when stored into signed 'Builtin.Int32'
 993 |             case 0...0xff :
 994 |                 return FD([0xc4, UInt8(d.count)]) + d
/host/spi-builder-workspace/Sources/SION/SION.swift:977:22: error: integer literal '4294967295' overflows when stored into signed 'Builtin.Int32'
 975 |         case .String(let v):
 976 |             let d = v.data(using:.utf8)!
 977 |             switch d.count {
     |                      `- error: integer literal '4294967295' overflows when stored into signed 'Builtin.Int32'
 978 |             case 0...0b11111 :  // fixstr
 979 |                 return FD([UInt8(0b10100000 | d.count)]) + d
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/7] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/9] Emitting module SION
/host/spi-builder-workspace/Sources/SION/SION.swift:139:1: warning: extension declares a conformance of imported type 'Data' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
 137 |     }
 138 | }
 139 | extension Data:ExpressibleByStringLiteral {
     | |- warning: extension declares a conformance of imported type 'Data' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
     | `- note: add '@retroactive' to silence this warning
 140 |     public typealias StringLiteralType = String
 141 |     public init(stringLiteral value:StringLiteralType) {
/host/spi-builder-workspace/Sources/SION/SION.swift:145:1: warning: extension declares a conformance of imported type 'Date' to imported protocol 'ExpressibleByFloatLiteral'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
 143 |     }
 144 | }
 145 | extension Date:ExpressibleByFloatLiteral {
     | |- warning: extension declares a conformance of imported type 'Date' to imported protocol 'ExpressibleByFloatLiteral'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
     | `- note: add '@retroactive' to silence this warning
 146 |     public typealias FloatLiteralType = Double
 147 |     public init(floatLiteral value:FloatLiteralType) {
/host/spi-builder-workspace/Sources/SION/SION.swift:1024:22: error: integer literal '4294967295' overflows when stored into signed 'Builtin.Int32'
1022 |             }
1023 |         case .Dictionary(let m):
1024 |             switch m.count {
     |                      `- error: integer literal '4294967295' overflows when stored into signed 'Builtin.Int32'
1025 |             case 0...0xf:
1026 |                 var d = FD([UInt8(0b10000000 | m.count)])
/host/spi-builder-workspace/Sources/SION/SION.swift:1005:22: error: integer literal '4294967295' overflows when stored into signed 'Builtin.Int32'
1003 |             }
1004 |         case .Array(let a):
1005 |             switch a.count {
     |                      `- error: integer literal '4294967295' overflows when stored into signed 'Builtin.Int32'
1006 |             case 0...0xf:
1007 |                 var d = FD([UInt8(0b10010000 | a.count)])
/host/spi-builder-workspace/Sources/SION/SION.swift:992:22: error: integer literal '4294967295' overflows when stored into signed 'Builtin.Int32'
 990 |             }
 991 |         case .Data(let d):
 992 |             switch d.count {
     |                      `- error: integer literal '4294967295' overflows when stored into signed 'Builtin.Int32'
 993 |             case 0...0xff :
 994 |                 return FD([0xc4, UInt8(d.count)]) + d
/host/spi-builder-workspace/Sources/SION/SION.swift:977:22: error: integer literal '4294967295' overflows when stored into signed 'Builtin.Int32'
 975 |         case .String(let v):
 976 |             let d = v.data(using:.utf8)!
 977 |             switch d.count {
     |                      `- error: integer literal '4294967295' overflows when stored into signed 'Builtin.Int32'
 978 |             case 0...0b11111 :  // fixstr
 979 |                 return FD([UInt8(0b10100000 | d.count)]) + d
[3/9] Compiling SION SION.swift
/host/spi-builder-workspace/Sources/SION/SION.swift:139:1: warning: extension declares a conformance of imported type 'Data' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
 137 |     }
 138 | }
 139 | extension Data:ExpressibleByStringLiteral {
     | |- warning: extension declares a conformance of imported type 'Data' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
     | `- note: add '@retroactive' to silence this warning
 140 |     public typealias StringLiteralType = String
 141 |     public init(stringLiteral value:StringLiteralType) {
/host/spi-builder-workspace/Sources/SION/SION.swift:145:1: warning: extension declares a conformance of imported type 'Date' to imported protocol 'ExpressibleByFloatLiteral'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
 143 |     }
 144 | }
 145 | extension Date:ExpressibleByFloatLiteral {
     | |- warning: extension declares a conformance of imported type 'Date' to imported protocol 'ExpressibleByFloatLiteral'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
     | `- note: add '@retroactive' to silence this warning
 146 |     public typealias FloatLiteralType = Double
 147 |     public init(floatLiteral value:FloatLiteralType) {
/host/spi-builder-workspace/Sources/SION/SION.swift:1024:22: error: integer literal '4294967295' overflows when stored into signed 'Builtin.Int32'
1022 |             }
1023 |         case .Dictionary(let m):
1024 |             switch m.count {
     |                      `- error: integer literal '4294967295' overflows when stored into signed 'Builtin.Int32'
1025 |             case 0...0xf:
1026 |                 var d = FD([UInt8(0b10000000 | m.count)])
/host/spi-builder-workspace/Sources/SION/SION.swift:1005:22: error: integer literal '4294967295' overflows when stored into signed 'Builtin.Int32'
1003 |             }
1004 |         case .Array(let a):
1005 |             switch a.count {
     |                      `- error: integer literal '4294967295' overflows when stored into signed 'Builtin.Int32'
1006 |             case 0...0xf:
1007 |                 var d = FD([UInt8(0b10010000 | a.count)])
/host/spi-builder-workspace/Sources/SION/SION.swift:992:22: error: integer literal '4294967295' overflows when stored into signed 'Builtin.Int32'
 990 |             }
 991 |         case .Data(let d):
 992 |             switch d.count {
     |                      `- error: integer literal '4294967295' overflows when stored into signed 'Builtin.Int32'
 993 |             case 0...0xff :
 994 |                 return FD([0xc4, UInt8(d.count)]) + d
/host/spi-builder-workspace/Sources/SION/SION.swift:977:22: error: integer literal '4294967295' overflows when stored into signed 'Builtin.Int32'
 975 |         case .String(let v):
 976 |             let d = v.data(using:.utf8)!
 977 |             switch d.count {
     |                      `- error: integer literal '4294967295' overflows when stored into signed 'Builtin.Int32'
 978 |             case 0...0b11111 :  // fixstr
 979 |                 return FD([UInt8(0b10100000 | d.count)]) + d
BUILD FAILURE 6.1 wasm