Build Information
Failed to build Light-Swift-Untar, reference v1.0.4 (fcff1f), with Swift 6.3 for Linux on 21 Apr 2026 21:57:14 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/UInt2048/Light-Swift-Untar.git
Reference: v1.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/UInt2048/Light-Swift-Untar
* tag v1.0.4 -> FETCH_HEAD
HEAD is now at fcff1f1 Add support for UTF-8 encoded filenames (#3)
Cloned https://github.com/UInt2048/Light-Swift-Untar.git
Revision (git rev-parse @):
fcff1f1b82373ea64b9565a364f63ffe7fdecf9f
SUCCESS checkout https://github.com/UInt2048/Light-Swift-Untar.git at v1.0.4
========================================
Build
========================================
Selected platform: linux
Swift version: 6.3
Building package at path: $PWD
https://github.com/UInt2048/Light-Swift-Untar.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/4] Emitting module Light_Swift_Untar
[4/4] Compiling Light_Swift_Untar Light-Swift-Untar.swift
/host/spi-builder-workspace/Light-Swift-Untar.swift:96:7: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
94 | path: String) {
95 | if let data = object as? Data {
96 | createFile(atPath: path, contents: data.subdata(in: Int(_loc) ..< Int(_loc + _len)),
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
97 | attributes: nil)
98 | } else if let fileHandle = object as? FileHandle {
/host/spi-builder-workspace/Light-Swift-Untar.swift:106:11: error: cannot find 'autoreleasepool' in scope
104 | var length = _len, location = _loc
105 | while length > maxSize {
106 | autoreleasepool { // Needed to prevent heap overflow when reading large files
| `- error: cannot find 'autoreleasepool' in scope
107 | destinationFile.write(fileHandle.readData(ofLength: Int(maxSize)))
108 | }
/host/spi-builder-workspace/Light-Swift-Untar.swift:112:9: error: cannot find 'autoreleasepool' in scope
110 | length -= maxSize
111 | }
112 | autoreleasepool { // Needed to prevent heap overflow when reading large files
| `- error: cannot find 'autoreleasepool' in scope
113 | destinationFile.write(fileHandle.readData(ofLength: Int(length)))
114 | }
/host/spi-builder-workspace/Light-Swift-Untar.swift:125:14: error: cannot find 'autoreleasepool' in scope
123 | } else if let fileHandle = object as? FileHandle {
124 | fileHandle.seek(toFileOffset: location)
125 | return autoreleasepool { // Needed to prevent heap overflow when reading large files
| `- error: cannot find 'autoreleasepool' in scope
126 | fileHandle.readData(ofLength: Int(length))
127 | }
BUILD FAILURE 6.3 linux