Build Information
Successful build of SwiftBinary, reference 1.1.2 (a50d71), with Swift 6.3 for macOS (SPM) on 10 Apr 2026 16:45:10 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/andersonlucasg3/Swift.Binary.git
Reference: 1.1.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/andersonlucasg3/Swift.Binary
* tag 1.1.2 -> FETCH_HEAD
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 1.1.2
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"traits": [
"default"
],
"dependencies": [
{
"identity": "swift.binary",
"name": "SwiftBinary",
"url": "https://github.com/andersonlucasg3/Swift.Binary.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Swift.Binary",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
Fetching https://github.com/andersonlucasg3/Swift.Binary.git
[1/673] Fetching swift.binary
Fetched https://github.com/andersonlucasg3/Swift.Binary.git from cache (0.75s)
Creating working copy for https://github.com/andersonlucasg3/Swift.Binary.git
Working copy of https://github.com/andersonlucasg3/Swift.Binary.git resolved at 1.1.2 (a50d712)
warning: '.resolve-product-dependencies': dependency 'swift.binary' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.3
Building package at path: $PWD
https://github.com/andersonlucasg3/Swift.Binary.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.txt
[3/14] Compiling SwiftBinary ObjectEncoder.swift
[4/15] Compiling SwiftBinary IvarToken.swift
[5/15] Compiling SwiftBinary Decodable.swift
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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) {
/Users/admin/builder/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() {
[6/15] Compiling SwiftBinary Dictionary+AnyNotNil.swift
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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) {
/Users/admin/builder/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() {
[7/15] Compiling SwiftBinary IvarArray.swift
[8/15] Compiling SwiftBinary Convertable.swift
/Users/admin/builder/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>
[9/15] Compiling SwiftBinary DataType.swift
/Users/admin/builder/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>
[10/15] Compiling SwiftBinary Optional+Extensions.swift
[11/15] Compiling SwiftBinary Encodable.swift
/Users/admin/builder/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))
/Users/admin/builder/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))
/Users/admin/builder/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))
/Users/admin/builder/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 IvarObject.swift
[13/15] Emitting module SwiftBinary
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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) {
/Users/admin/builder/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() {
/Users/admin/builder/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))
/Users/admin/builder/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))
/Users/admin/builder/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))
/Users/admin/builder/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, {
[14/15] Compiling SwiftBinary ObjectDecoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBinary/ObjectDecoder.swift:223:52: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
221 | try self.populateArray(values: token as! IvarArray<IvarObject>, intoObject: object)
222 | } else {
223 | throw NSError(domain: "Unsupported array type \(token.type)", code: -1)
| | |- note: use a default value parameter to avoid this warning
| | |- note: provide a default value to avoid this warning
| | `- note: use 'String(describing:)' to silence this warning
| `- warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
224 | }
225 | }
[15/15] Compiling SwiftBinary Token.swift
Build complete! (5.13s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SwiftBinary",
"name" : "SwiftBinary",
"path" : "/Users/admin/builder/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"
}
Done.