The Swift Package Index logo.Swift Package Index

Build Information

Successful build of swift-binary-parsing, reference 0.0.4 (8f0f56), with Swift 6.4 for Linux on 17 Oct 2026 13:19:09 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344849-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:linux-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/swift-binary-parsing.git
Reference: 0.0.4
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/apple/swift-binary-parsing
 * tag               0.0.4      -> FETCH_HEAD
HEAD is now at 8f0f56a Update changelog for 0.0.4 release (#70)
Cloned https://github.com/apple/swift-binary-parsing.git
Revision (git rev-parse @):
8f0f56a795e36eff6d532b01e8e94f640e3443dd
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/swift-binary-parsing.git at 0.0.4
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.4
Building package at path:  $PWD
https://github.com/apple/swift-binary-parsing.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344849-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:linux-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
linux-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:ef1451f51398a5019879493c5c492376e60274346858404d898204a8a77273d4
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.4-latest
Fetching https://github.com/swiftlang/swift-docc-plugin
Fetching https://github.com/pointfreeco/swift-macro-testing.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/swiftlang/swift-syntax.git
[1/1002] Fetching swift-macro-testing
[2/3347] Fetching swift-macro-testing, swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin (0.49s)
[1/19126] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser (0.81s)
[1/80800] Fetching swift-syntax
Fetched https://github.com/pointfreeco/swift-macro-testing.git (3.53s)
Fetched https://github.com/swiftlang/swift-syntax.git (3.55s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (4.44s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3842] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (0.53s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.73s)
Computing version for https://github.com/pointfreeco/swift-macro-testing.git
Computed https://github.com/pointfreeco/swift-macro-testing.git at 0.7.0 (0.14s)
Fetching https://github.com/pointfreeco/swift-snapshot-testing
[1/16553] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing (2.35s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.2 (2.61s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.14s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.19.6 (0.14s)
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/5669] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump (0.45s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.7.3 (0.60s)
Fetching https://github.com/pointfreeco/swift-issue-reporting
[1/6180] Fetching swift-issue-reporting
Fetched https://github.com/pointfreeco/swift-issue-reporting (0.64s)
Computing version for https://github.com/pointfreeco/swift-issue-reporting
Computed https://github.com/pointfreeco/swift-issue-reporting at 2.1.2 (0.84s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.7.3
Creating working copy for https://github.com/pointfreeco/swift-macro-testing.git
Working copy of https://github.com/pointfreeco/swift-macro-testing.git resolved at 0.7.0
Creating working copy for https://github.com/pointfreeco/swift-issue-reporting
Working copy of https://github.com/pointfreeco/swift-issue-reporting resolved at 2.1.2
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 603.0.2
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.5.0
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.19.6
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/603.0.2/swift-6.4.0-RELEASE-ubuntu_noble_x86_64-MacroSupport.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/603.0.2/swift-6.4.0-RELEASE-ubuntu_noble_x86_64-MacroSupport.tar.gz (0.16s)
Building for debugging...
[Provisioning 2 / 11]
[Pre-planning 1 / 270]
[Starting]
[67 / 117] TestData
[68 / 117] BinaryParsingMacros
[76 / 117] BinaryParsingMacros
[76 / 117] ArgumentParserToolInfo
[88 / 119] ArgumentParser
[91 / 128] ArgumentParser
[91 / 128] BinaryParsingMacros
[92 / 128] ArgumentParser
[94 / 128] ArgumentParser
[96 / 128] ArgumentParser
[103 / 129] BinaryParsingMacros
[109 / 130] ArgumentParser
[109 / 130] BinaryParsingMacros
[115 / 140] BinaryParsing
[117 / 140] BinaryParsing
[119 / 140] BinaryParsing
/host/spi-builder-workspace/Sources/BinaryParsing/Parser Types/Slicing.swift:195:18: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety\StrictMemorySafety]8;;\]
193 |     let rawSpan = try sliceSpan(byteCount: byteCount).bytes
194 |     do {
195 |       let span = Span<UInt8>(_bytes: rawSpan)
    |                  |         `- note: reference to unsafe initializer 'init(_bytes:)'
    |                  `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety\StrictMemorySafety]8;;\]
196 |       return try UTF8Span(validating: span)
197 |     } catch {
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
[120 / 141] BinaryParsing
/host/spi-builder-workspace/Sources/BinaryParsing/Parser Types/ParserSource.swift:165:18: warning: no unsafe operations occur within 'unsafe' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
163 |     _ body: (inout ParserSpan) throws(E) -> T
164 |   ) throws(E) -> T {
165 |     let result = unsafe self.withUnsafeBytes { rawBuffer in
    |                  `- warning: no unsafe operations occur within 'unsafe' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
166 |       var span = unsafe ParserSpan(_unsafeBytes: rawBuffer)
167 |       return Result<T, E> { () throws(E) in try body(&span) }
/host/spi-builder-workspace/Sources/BinaryParsing/Parser Types/ParserSource.swift:180:18: warning: no unsafe operations occur within 'unsafe' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
178 |     _ body: (inout ParserSpan) throws(E) -> T
179 |   ) throws(E) -> T {
180 |     let result = unsafe self.withUnsafeBytes { rawBuffer in
    |                  `- warning: no unsafe operations occur within 'unsafe' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
181 |       var span = unsafe ParserSpan(_unsafeBytes: rawBuffer)
182 |       return Result<T, E> { () throws(E) in try body(&span) }
/host/spi-builder-workspace/Sources/BinaryParsing/Parser Types/ParserSpan.swift:149:9: warning: no unsafe operations occur within 'unsafe' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
147 |     _ body: (UnsafeRawBufferPointer) throws(E) -> T
148 |   ) throws(E) -> T {
149 |     try unsafe _bytes.withUnsafeBytes { (fullBuffer) throws(E) in
    |         `- warning: no unsafe operations occur within 'unsafe' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
150 |       let buffer = unsafe UnsafeRawBufferPointer(
151 |         rebasing: fullBuffer[_lowerBound..<_upperBound])
[#UnnecessaryEffectMarker]: <https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker>
[#UnnecessaryUnsafe]: <https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe>
/host/spi-builder-workspace/Sources/BinaryParsing/Parser Types/ParserSpan.swift:149:9: warning: no unsafe operations occur within 'unsafe' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
147 |     _ body: (UnsafeRawBufferPointer) throws(E) -> T
148 |   ) throws(E) -> T {
149 |     try unsafe _bytes.withUnsafeBytes { (fullBuffer) throws(E) in
    |         `- warning: no unsafe operations occur within 'unsafe' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
150 |       let buffer = unsafe UnsafeRawBufferPointer(
151 |         rebasing: fullBuffer[_lowerBound..<_upperBound])
/host/spi-builder-workspace/Sources/BinaryParsing/Parser Types/Slicing.swift:195:18: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety\StrictMemorySafety]8;;\]
193 |     let rawSpan = try sliceSpan(byteCount: byteCount).bytes
194 |     do {
195 |       let span = Span<UInt8>(_bytes: rawSpan)
    |                  |         `- note: reference to unsafe initializer 'init(_bytes:)'
    |                  `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety\StrictMemorySafety]8;;\]
196 |       return try UTF8Span(validating: span)
197 |     } catch {
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
[#UnnecessaryEffectMarker]: <https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker>
[#UnnecessaryUnsafe]: <https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe>
[122 / 142] BinaryParsing
[140 / 152] ParserTest
[141 / 152] ParserTest
[149 / 155] parser-test-product
[153 / 156] parser-test-product
[157 / 157] parser-test-product
Build complete! (6.20 secs)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.8.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    },
    {
      "identity" : "swift-syntax",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "603.0.0",
            "upper_bound" : "604.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swiftlang/swift-syntax.git"
    },
    {
      "identity" : "swift-macro-testing",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.6.5",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pointfreeco/swift-macro-testing.git"
    },
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swiftlang/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "swift-binary-parsing",
  "name" : "swift-binary-parsing",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "BinaryParsing",
      "targets" : [
        "BinaryParsing"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "parser-test",
      "targets" : [
        "parser-test"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "BinaryParsingMacros",
      "targets" : [
        "BinaryParsingMacros"
      ],
      "type" : {
        "macro" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "parser_test",
      "module_type" : "SwiftTarget",
      "name" : "parser-test",
      "path" : "Sources/parser-test",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "parser-test"
      ],
      "sources" : [
        "ParserTest.swift"
      ],
      "target_dependencies" : [
        "BinaryParsing",
        "ParserTest"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "TestData",
      "module_type" : "SwiftTarget",
      "name" : "TestData",
      "path" : "Sources/TestData",
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/TestData/Data",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "LoadTestData.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ParserTest",
      "module_type" : "SwiftTarget",
      "name" : "ParserTest",
      "path" : "Examples",
      "product_memberships" : [
        "parser-test"
      ],
      "sources" : [
        "BPListParser/BinaryPList.swift",
        "BPListParser/Deferred.swift",
        "ELFParser/ELF+Parsing.swift",
        "ELFParser/ELF.swift",
        "LZ4Parser/LZ4.swift",
        "Misc.swift",
        "PCAPNGParser/Blocks/Block.swift",
        "PCAPNGParser/Blocks/BlockOption.swift",
        "PCAPNGParser/Blocks/EnhancedPacket.swift",
        "PCAPNGParser/Blocks/InterfaceDescription.swift",
        "PCAPNGParser/Blocks/SectionHeader.swift",
        "PCAPNGParser/PCAPNG.swift",
        "PNGParser/Chunks/Chunk.swift",
        "PNGParser/Chunks/Header.swift",
        "PNGParser/Chunks/InternationalText.swift",
        "PNGParser/Chunks/PixelDimensions.swift",
        "PNGParser/PNG.swift",
        "PNGParser/PNGParserState.swift",
        "QOIParser/QOI.swift",
        "RawParser/Raw.swift"
      ],
      "target_dependencies" : [
        "BinaryParsing"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ExampleParserTests",
      "module_type" : "SwiftTarget",
      "name" : "ExampleParserTests",
      "path" : "Tests/ExampleParserTests",
      "sources" : [
        "TestELF.swift",
        "TestLZ4.swift",
        "TestPCAP.swift",
        "TestPList.swift",
        "TestPNG.swift",
        "TestQOI.swift"
      ],
      "target_dependencies" : [
        "BinaryParsing",
        "ParserTest",
        "TestData"
      ],
      "type" : "test"
    },
    {
      "c99name" : "BinaryParsingTests",
      "module_type" : "SwiftTarget",
      "name" : "BinaryParsingTests",
      "path" : "Tests/BinaryParsingTests",
      "sources" : [
        "ArrayParsingTests.swift",
        "DataParsingTests.swift",
        "EndiannessTests.swift",
        "ExtractingTests.swift",
        "InlineArrayParsingTests.swift",
        "IntegerParsingTests.swift",
        "OptimizationTests.swift",
        "OptionalOperationsTests.swift",
        "RangeParsingTests.swift",
        "SeekingTests.swift",
        "SlicingTests.swift",
        "StringParsingTests.swift",
        "TestingSupport.swift",
        "ThrowingOperationsTests.swift"
      ],
      "target_dependencies" : [
        "BinaryParsing"
      ],
      "type" : "test"
    },
    {
      "c99name" : "BinaryParsingMacrosTests",
      "module_type" : "SwiftTarget",
      "name" : "BinaryParsingMacrosTests",
      "path" : "Tests/BinaryParsingMacrosTests",
      "product_dependencies" : [
        "SwiftSyntax",
        "SwiftSyntaxMacros",
        "SwiftSyntaxMacroExpansion",
        "SwiftCompilerPlugin",
        "MacroTesting"
      ],
      "sources" : [
        "ParserMacroTests.swift"
      ],
      "target_dependencies" : [
        "BinaryParsingMacros"
      ],
      "type" : "test"
    },
    {
      "c99name" : "BinaryParsingMacros",
      "module_type" : "SwiftTarget",
      "name" : "BinaryParsingMacros",
      "path" : "Sources/BinaryParsingMacros",
      "product_dependencies" : [
        "SwiftSyntax",
        "SwiftSyntaxMacros",
        "SwiftSyntaxBuilder",
        "SwiftCompilerPlugin"
      ],
      "product_memberships" : [
        "BinaryParsing",
        "parser-test",
        "BinaryParsingMacros"
      ],
      "sources" : [
        "Extensions.swift",
        "MagicNumberStringMacro.swift",
        "ParserMacro/ParserMacro.swift",
        "ParserMacro/ParserMacroRegexes.swift",
        "ParserMacro/ParserMacroRewriters.swift",
        "ParserMacro/ParserMacroVisitors.swift",
        "Plugin.swift",
        "SyntaxVisitorPredicate.swift"
      ],
      "type" : "macro"
    },
    {
      "c99name" : "BinaryParsing",
      "module_type" : "SwiftTarget",
      "name" : "BinaryParsing",
      "path" : "Sources/BinaryParsing",
      "product_memberships" : [
        "BinaryParsing",
        "parser-test"
      ],
      "sources" : [
        "Macros/Macros.swift",
        "Macros/MagicNumber.swift",
        "Operations/OptionalOperations.swift",
        "Operations/Optionators.swift",
        "Operations/ThrowingOperations.swift",
        "Parser Types/Endianness.swift",
        "Parser Types/ParserRange.swift",
        "Parser Types/ParserSource.swift",
        "Parser Types/ParserSpan.swift",
        "Parser Types/ParsingError.swift",
        "Parser Types/Seeking.swift",
        "Parser Types/Slicing.swift",
        "Parsers/Array.swift",
        "Parsers/Data.swift",
        "Parsers/InlineArray.swift",
        "Parsers/Integer.swift",
        "Parsers/IntegerProtocols.swift",
        "Parsers/Range.swift",
        "Parsers/String.swift",
        "Support/LinuxRNGSupport.swift"
      ],
      "target_dependencies" : [
        "BinaryParsingMacros"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.2"
}
linux-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:ef1451f51398a5019879493c5c492376e60274346858404d898204a8a77273d4
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.4-latest
Done.