The Swift Package Index logo.Swift Package Index

Build Information

Successful build of SwiftBinary, reference master (a50d71), with Swift 6.3 for Wasm on 10 Apr 2026 16:37:52 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/andersonlucasg3/Swift.Binary.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/andersonlucasg3/Swift.Binary
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at a50d712 Merge branch 'hotfix/1.1.2'
Cloned https://github.com/andersonlucasg3/Swift.Binary.git
Revision (git rev-parse @):
a50d712a9babea657af2950b6374fac802c6365c
SUCCESS checkout https://github.com/andersonlucasg3/Swift.Binary.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/andersonlucasg3/Swift.Binary.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/14] Emitting module SwiftBinary
/host/spi-builder-workspace/Sources/SwiftBinary/Decodable.swift:13:2: warning: 'public' modifier is redundant for instance method declared in a public extension
11 |
12 | public extension Decodable {
13 | 	public func readString(from bytes: inout UnsafePointer<UInt8>) -> String {
   |  `- warning: 'public' modifier is redundant for instance method declared in a public extension
14 | 		let length = Int(bytes.withMemoryRebound(to: Int32.self, capacity: 1, { $0.pointee }))
15 | 		bytes = bytes.advanced(by: MemoryLayout<Int32>.size)
/host/spi-builder-workspace/Sources/SwiftBinary/Decodable.swift:22:2: warning: 'public' modifier is redundant for instance method declared in a public extension
20 | 	}
21 |
22 | 	public func readData(from bytes: inout UnsafePointer<UInt8>) -> Data {
   |  `- warning: 'public' modifier is redundant for instance method declared in a public extension
23 | 		let length = Int(bytes.withMemoryRebound(to: Int32.self, capacity: 1, { $0.pointee }))
24 | 		bytes = bytes.advanced(by: MemoryLayout<Int32>.size)
/host/spi-builder-workspace/Sources/SwiftBinary/Decodable.swift:31:2: warning: 'public' modifier is redundant for instance method declared in a public extension
29 | 	}
30 |
31 | 	public func readOther<T>(from bytes: inout UnsafePointer<UInt8>, advance: Bool? = nil) -> T {
   |  `- warning: 'public' modifier is redundant for instance method declared in a public extension
32 | 		let value = bytes.withMemoryRebound(to: T.self, capacity: 1, { $0.pointee })
33 | 		if advance.value(true) {
/host/spi-builder-workspace/Sources/SwiftBinary/Dictionary+AnyNotNil.swift:11:2: warning: 'public' modifier is redundant for instance method declared in a public extension
 9 |
10 | public extension Dictionary where Key == String, Value == Any {
11 | 	public mutating func append(_ value: Any, for key: String) {
   |  `- warning: 'public' modifier is redundant for instance method declared in a public extension
12 | 		let optionalValue = value as? OptionalProtocol
13 | 		if optionalValue.isSome() {
/host/spi-builder-workspace/Sources/SwiftBinary/Encodable.swift:12:2: warning: 'public' modifier is redundant for instance method declared in a public extension
10 |
11 | public extension Encodable {
12 | 	public func writeString(_ string: String, into data: inout Data) {
   |  `- warning: 'public' modifier is redundant for instance method declared in a public extension
13 |         var length = Int32(string.lengthOfBytes(using: .utf8))
14 | 		data.append(self.unsafeBytes(of: &length))
/host/spi-builder-workspace/Sources/SwiftBinary/Encodable.swift:19:2: warning: 'public' modifier is redundant for instance method declared in a public extension
17 | 	}
18 |
19 | 	public func writeData(_ dt: Data, into data: inout Data) {
   |  `- warning: 'public' modifier is redundant for instance method declared in a public extension
20 | 		var length = Int32(dt.count)
21 | 		data.append(self.unsafeBytes(of: &length))
/host/spi-builder-workspace/Sources/SwiftBinary/Encodable.swift:25:2: warning: 'public' modifier is redundant for instance method declared in a public extension
23 | 	}
24 |
25 | 	public func writeOther<T>(_ other: T, info data: inout Data) {
   |  `- warning: 'public' modifier is redundant for instance method declared in a public extension
26 | 		var value = other
27 | 		data.append(self.unsafeBytes(of: &value))
/host/spi-builder-workspace/Sources/SwiftBinary/Encodable.swift:30:2: warning: 'public' modifier is redundant for instance method declared in a public extension
28 | 	}
29 |
30 | 	public func unsafeBytes<T>(of value: inout T) -> UnsafeBufferPointer<UInt8> {
   |  `- warning: 'public' modifier is redundant for instance method declared in a public extension
31 | 		let size = MemoryLayout.size(ofValue: value)
32 | 		return withUnsafePointer(to: &value, {
[4/14] Compiling SwiftBinary Convertable.swift
/host/spi-builder-workspace/Sources/SwiftBinary/Convertable.swift:22:16: warning: initialization of 'UnsafeMutablePointer<T>' results in a dangling pointer [#TemporaryPointers]
20 | public extension Convertable {
21 |     func ref<T>(from: inout T) -> Any {
22 |         return UnsafeMutablePointer<T>(&from)
   |                |                       |- note: implicit argument conversion from 'T' to 'UnsafeMutablePointer<T>' produces a pointer valid only for the duration of the call to 'init(_:)'
   |                |                       `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
   |                `- warning: initialization of 'UnsafeMutablePointer<T>' results in a dangling pointer [#TemporaryPointers]
23 |     }
24 | }
[#TemporaryPointers]: <https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers>
[5/14] Compiling SwiftBinary DataType.swift
/host/spi-builder-workspace/Sources/SwiftBinary/Convertable.swift:22:16: warning: initialization of 'UnsafeMutablePointer<T>' results in a dangling pointer [#TemporaryPointers]
20 | public extension Convertable {
21 |     func ref<T>(from: inout T) -> Any {
22 |         return UnsafeMutablePointer<T>(&from)
   |                |                       |- note: implicit argument conversion from 'T' to 'UnsafeMutablePointer<T>' produces a pointer valid only for the duration of the call to 'init(_:)'
   |                |                       `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
   |                `- warning: initialization of 'UnsafeMutablePointer<T>' results in a dangling pointer [#TemporaryPointers]
23 |     }
24 | }
[#TemporaryPointers]: <https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers>
[6/14] Compiling SwiftBinary IvarObject.swift
[7/14] Compiling SwiftBinary IvarToken.swift
[8/15] Compiling SwiftBinary Optional+Extensions.swift
[9/15] Compiling SwiftBinary Decodable.swift
/host/spi-builder-workspace/Sources/SwiftBinary/Decodable.swift:13:2: warning: 'public' modifier is redundant for instance method declared in a public extension
11 |
12 | public extension Decodable {
13 | 	public func readString(from bytes: inout UnsafePointer<UInt8>) -> String {
   |  `- warning: 'public' modifier is redundant for instance method declared in a public extension
14 | 		let length = Int(bytes.withMemoryRebound(to: Int32.self, capacity: 1, { $0.pointee }))
15 | 		bytes = bytes.advanced(by: MemoryLayout<Int32>.size)
/host/spi-builder-workspace/Sources/SwiftBinary/Decodable.swift:22:2: warning: 'public' modifier is redundant for instance method declared in a public extension
20 | 	}
21 |
22 | 	public func readData(from bytes: inout UnsafePointer<UInt8>) -> Data {
   |  `- warning: 'public' modifier is redundant for instance method declared in a public extension
23 | 		let length = Int(bytes.withMemoryRebound(to: Int32.self, capacity: 1, { $0.pointee }))
24 | 		bytes = bytes.advanced(by: MemoryLayout<Int32>.size)
/host/spi-builder-workspace/Sources/SwiftBinary/Decodable.swift:31:2: warning: 'public' modifier is redundant for instance method declared in a public extension
29 | 	}
30 |
31 | 	public func readOther<T>(from bytes: inout UnsafePointer<UInt8>, advance: Bool? = nil) -> T {
   |  `- warning: 'public' modifier is redundant for instance method declared in a public extension
32 | 		let value = bytes.withMemoryRebound(to: T.self, capacity: 1, { $0.pointee })
33 | 		if advance.value(true) {
/host/spi-builder-workspace/Sources/SwiftBinary/Dictionary+AnyNotNil.swift:11:2: warning: 'public' modifier is redundant for instance method declared in a public extension
 9 |
10 | public extension Dictionary where Key == String, Value == Any {
11 | 	public mutating func append(_ value: Any, for key: String) {
   |  `- warning: 'public' modifier is redundant for instance method declared in a public extension
12 | 		let optionalValue = value as? OptionalProtocol
13 | 		if optionalValue.isSome() {
[10/15] Compiling SwiftBinary Dictionary+AnyNotNil.swift
/host/spi-builder-workspace/Sources/SwiftBinary/Decodable.swift:13:2: warning: 'public' modifier is redundant for instance method declared in a public extension
11 |
12 | public extension Decodable {
13 | 	public func readString(from bytes: inout UnsafePointer<UInt8>) -> String {
   |  `- warning: 'public' modifier is redundant for instance method declared in a public extension
14 | 		let length = Int(bytes.withMemoryRebound(to: Int32.self, capacity: 1, { $0.pointee }))
15 | 		bytes = bytes.advanced(by: MemoryLayout<Int32>.size)
/host/spi-builder-workspace/Sources/SwiftBinary/Decodable.swift:22:2: warning: 'public' modifier is redundant for instance method declared in a public extension
20 | 	}
21 |
22 | 	public func readData(from bytes: inout UnsafePointer<UInt8>) -> Data {
   |  `- warning: 'public' modifier is redundant for instance method declared in a public extension
23 | 		let length = Int(bytes.withMemoryRebound(to: Int32.self, capacity: 1, { $0.pointee }))
24 | 		bytes = bytes.advanced(by: MemoryLayout<Int32>.size)
/host/spi-builder-workspace/Sources/SwiftBinary/Decodable.swift:31:2: warning: 'public' modifier is redundant for instance method declared in a public extension
29 | 	}
30 |
31 | 	public func readOther<T>(from bytes: inout UnsafePointer<UInt8>, advance: Bool? = nil) -> T {
   |  `- warning: 'public' modifier is redundant for instance method declared in a public extension
32 | 		let value = bytes.withMemoryRebound(to: T.self, capacity: 1, { $0.pointee })
33 | 		if advance.value(true) {
/host/spi-builder-workspace/Sources/SwiftBinary/Dictionary+AnyNotNil.swift:11:2: warning: 'public' modifier is redundant for instance method declared in a public extension
 9 |
10 | public extension Dictionary where Key == String, Value == Any {
11 | 	public mutating func append(_ value: Any, for key: String) {
   |  `- warning: 'public' modifier is redundant for instance method declared in a public extension
12 | 		let optionalValue = value as? OptionalProtocol
13 | 		if optionalValue.isSome() {
[11/15] Compiling SwiftBinary Encodable.swift
/host/spi-builder-workspace/Sources/SwiftBinary/Encodable.swift:12:2: warning: 'public' modifier is redundant for instance method declared in a public extension
10 |
11 | public extension Encodable {
12 | 	public func writeString(_ string: String, into data: inout Data) {
   |  `- warning: 'public' modifier is redundant for instance method declared in a public extension
13 |         var length = Int32(string.lengthOfBytes(using: .utf8))
14 | 		data.append(self.unsafeBytes(of: &length))
/host/spi-builder-workspace/Sources/SwiftBinary/Encodable.swift:19:2: warning: 'public' modifier is redundant for instance method declared in a public extension
17 | 	}
18 |
19 | 	public func writeData(_ dt: Data, into data: inout Data) {
   |  `- warning: 'public' modifier is redundant for instance method declared in a public extension
20 | 		var length = Int32(dt.count)
21 | 		data.append(self.unsafeBytes(of: &length))
/host/spi-builder-workspace/Sources/SwiftBinary/Encodable.swift:25:2: warning: 'public' modifier is redundant for instance method declared in a public extension
23 | 	}
24 |
25 | 	public func writeOther<T>(_ other: T, info data: inout Data) {
   |  `- warning: 'public' modifier is redundant for instance method declared in a public extension
26 | 		var value = other
27 | 		data.append(self.unsafeBytes(of: &value))
/host/spi-builder-workspace/Sources/SwiftBinary/Encodable.swift:30:2: warning: 'public' modifier is redundant for instance method declared in a public extension
28 | 	}
29 |
30 | 	public func unsafeBytes<T>(of value: inout T) -> UnsafeBufferPointer<UInt8> {
   |  `- warning: 'public' modifier is redundant for instance method declared in a public extension
31 | 		let size = MemoryLayout.size(ofValue: value)
32 | 		return withUnsafePointer(to: &value, {
[12/15] Compiling SwiftBinary IvarArray.swift
/host/spi-builder-workspace/Sources/SwiftBinary/Encodable.swift:12:2: warning: 'public' modifier is redundant for instance method declared in a public extension
10 |
11 | public extension Encodable {
12 | 	public func writeString(_ string: String, into data: inout Data) {
   |  `- warning: 'public' modifier is redundant for instance method declared in a public extension
13 |         var length = Int32(string.lengthOfBytes(using: .utf8))
14 | 		data.append(self.unsafeBytes(of: &length))
/host/spi-builder-workspace/Sources/SwiftBinary/Encodable.swift:19:2: warning: 'public' modifier is redundant for instance method declared in a public extension
17 | 	}
18 |
19 | 	public func writeData(_ dt: Data, into data: inout Data) {
   |  `- warning: 'public' modifier is redundant for instance method declared in a public extension
20 | 		var length = Int32(dt.count)
21 | 		data.append(self.unsafeBytes(of: &length))
/host/spi-builder-workspace/Sources/SwiftBinary/Encodable.swift:25:2: warning: 'public' modifier is redundant for instance method declared in a public extension
23 | 	}
24 |
25 | 	public func writeOther<T>(_ other: T, info data: inout Data) {
   |  `- warning: 'public' modifier is redundant for instance method declared in a public extension
26 | 		var value = other
27 | 		data.append(self.unsafeBytes(of: &value))
/host/spi-builder-workspace/Sources/SwiftBinary/Encodable.swift:30:2: warning: 'public' modifier is redundant for instance method declared in a public extension
28 | 	}
29 |
30 | 	public func unsafeBytes<T>(of value: inout T) -> UnsafeBufferPointer<UInt8> {
   |  `- warning: 'public' modifier is redundant for instance method declared in a public extension
31 | 		let size = MemoryLayout.size(ofValue: value)
32 | 		return withUnsafePointer(to: &value, {
[13/15] Compiling SwiftBinary Token.swift
[14/15] Compiling SwiftBinary ObjectDecoder.swift
[15/15] Compiling SwiftBinary ObjectEncoder.swift
Build complete! (13.00s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftBinary",
  "name" : "SwiftBinary",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwiftBinary",
      "targets" : [
        "SwiftBinary"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftBinaryTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftBinaryTests",
      "path" : "Tests/SwiftBinaryTests",
      "sources" : [
        "SwiftBinaryLinuxTests.swift",
        "SwiftBinaryTests.swift"
      ],
      "target_dependencies" : [
        "SwiftBinary"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftBinary",
      "module_type" : "SwiftTarget",
      "name" : "SwiftBinary",
      "path" : "Sources/SwiftBinary",
      "product_memberships" : [
        "SwiftBinary"
      ],
      "sources" : [
        "Convertable.swift",
        "DataType.swift",
        "Decodable.swift",
        "Dictionary+AnyNotNil.swift",
        "Encodable.swift",
        "IvarArray.swift",
        "IvarObject.swift",
        "IvarToken.swift",
        "ObjectDecoder.swift",
        "ObjectEncoder.swift",
        "Optional+Extensions.swift",
        "Token.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Done.