Build Information
Failed to build sls, reference main (17f4a8
), with Swift 6.1 for Android on 29 Aug 2025 13:12:53 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/maclong9/list.git
Reference: main
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/maclong9/list
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 17f4a8b Fix formatting and linting issues
Cloned https://github.com/maclong9/list.git
Revision (git rev-parse @):
17f4a8b8bf0f5650da6fecda08c617be90f4de36
SUCCESS checkout https://github.com/maclong9/list.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/maclong9/list.git
https://github.com/maclong9/list.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.1.0 but the installed version is 6.0.2
error: fatalError
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8106a39f56f5bb7aad9f0d9a94f1e5362f9a40b692f7bc17efe17b7b91dc65fc
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/apple/swift-argument-parser
[1/15689] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.19s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.1 (1.71s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.6.1
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/11] Write sources
[5/11] Write swift-version-24593BA9C3E375BF.txt
[7/13] Compiling ArgumentParserToolInfo ToolInfo.swift
[8/13] Emitting module ArgumentParserToolInfo
[9/14] Wrapping AST for ArgumentParserToolInfo for debugging
[11/58] Compiling ArgumentParser OptionGroup.swift
[12/58] Compiling ArgumentParser AsyncParsableCommand.swift
[13/58] Compiling ArgumentParser CommandConfiguration.swift
[14/58] Compiling ArgumentParser CommandGroup.swift
[15/58] Compiling ArgumentParser EnumerableFlag.swift
[16/58] Compiling ArgumentParser ExpressibleByArgument.swift
[17/64] Emitting module ArgumentParser
[18/64] Compiling ArgumentParser Tree.swift
[19/64] Compiling ArgumentParser CodingKeyValidator.swift
[20/64] Compiling ArgumentParser NonsenseFlagsValidator.swift
[21/64] Compiling ArgumentParser ParsableArgumentsValidation.swift
[22/64] Compiling ArgumentParser PositionalArgumentsValidator.swift
[23/64] Compiling ArgumentParser UniqueNamesValidator.swift
[24/64] Compiling ArgumentParser InputKey.swift
[25/64] Compiling ArgumentParser InputOrigin.swift
[26/64] Compiling ArgumentParser Name.swift
[27/64] Compiling ArgumentParser Parsed.swift
[28/64] Compiling ArgumentParser ParsedValues.swift
[29/64] Compiling ArgumentParser ParserError.swift
[30/64] Compiling ArgumentParser CollectionExtensions.swift
[31/64] Compiling ArgumentParser Mutex.swift
[32/64] Compiling ArgumentParser Platform.swift
[33/64] Compiling ArgumentParser SequenceExtensions.swift
[34/64] Compiling ArgumentParser StringExtensions.swift
[35/64] Compiling ArgumentParser SwiftExtensions.swift
[36/64] Compiling ArgumentParser ArgumentVisibility.swift
[37/64] Compiling ArgumentParser CompletionKind.swift
[38/64] Compiling ArgumentParser Errors.swift
[39/64] Compiling ArgumentParser Flag.swift
[40/64] Compiling ArgumentParser NameSpecification.swift
[41/64] Compiling ArgumentParser Option.swift
[42/64] Compiling ArgumentParser SplitArguments.swift
[43/64] Compiling ArgumentParser DumpHelpGenerator.swift
[44/64] Compiling ArgumentParser HelpCommand.swift
[45/64] Compiling ArgumentParser HelpGenerator.swift
[46/64] Compiling ArgumentParser MessageInfo.swift
[47/64] Compiling ArgumentParser UsageGenerator.swift
[48/64] Compiling ArgumentParser BashCompletionsGenerator.swift
[49/64] Compiling ArgumentParser CompletionsGenerator.swift
[50/64] Compiling ArgumentParser FishCompletionsGenerator.swift
[51/64] Compiling ArgumentParser ZshCompletionsGenerator.swift
[52/64] Compiling ArgumentParser Argument.swift
[53/64] Compiling ArgumentParser ArgumentDiscussion.swift
[54/64] Compiling ArgumentParser ArgumentHelp.swift
[55/64] Compiling ArgumentParser ParsableArguments.swift
[56/64] Compiling ArgumentParser ParsableCommand.swift
[57/64] Compiling ArgumentParser ArgumentDecoder.swift
[58/64] Compiling ArgumentParser ArgumentDefinition.swift
[59/64] Compiling ArgumentParser ArgumentSet.swift
[60/64] Compiling ArgumentParser CommandParser.swift
[61/65] Wrapping AST for ArgumentParser for debugging
[63/67] Emitting module sls
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[64/67] Compiling sls SwiftList.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/SwiftList.swift:52:17: error: cannot find 'winsize' in scope
50 | /// Returns the terminal width in characters.
51 | private static func terminalWidth() -> Int {
52 | var w = winsize()
| `- error: cannot find 'winsize' in scope
53 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w) == 0 else { return 80 }
54 | return Int(w.ws_col)
/host/spi-builder-workspace/Sources/SwiftList.swift:53:15: error: cannot find 'ioctl' in scope
51 | private static func terminalWidth() -> Int {
52 | var w = winsize()
53 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w) == 0 else { return 80 }
| `- error: cannot find 'ioctl' in scope
54 | return Int(w.ws_col)
55 | }
/host/spi-builder-workspace/Sources/SwiftList.swift:53:21: error: cannot find 'STDOUT_FILENO' in scope
51 | private static func terminalWidth() -> Int {
52 | var w = winsize()
53 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w) == 0 else { return 80 }
| `- error: cannot find 'STDOUT_FILENO' in scope
54 | return Int(w.ws_col)
55 | }
/host/spi-builder-workspace/Sources/SwiftList.swift:53:41: error: cannot find 'TIOCGWINSZ' in scope
51 | private static func terminalWidth() -> Int {
52 | var w = winsize()
53 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w) == 0 else { return 80 }
| `- error: cannot find 'TIOCGWINSZ' in scope
54 | return Int(w.ws_col)
55 | }
/host/spi-builder-workspace/Sources/SwiftList.swift:102:26: error: cannot find 'stat' in scope
100 | // Use lstat equivalent by checking if it's a symbolic link first
101 | var isSymbolicLink = false
102 | var statBuffer = stat()
| `- error: cannot find 'stat' in scope
103 | if lstat(path, &statBuffer) == 0 {
104 | isSymbolicLink = (statBuffer.st_mode & S_IFMT) == S_IFLNK
/host/spi-builder-workspace/Sources/SwiftList.swift:103:12: error: cannot find 'lstat' in scope
101 | var isSymbolicLink = false
102 | var statBuffer = stat()
103 | if lstat(path, &statBuffer) == 0 {
| `- error: cannot find 'lstat' in scope
104 | isSymbolicLink = (statBuffer.st_mode & S_IFMT) == S_IFLNK
105 | }
/host/spi-builder-workspace/Sources/SwiftList.swift:104:52: error: cannot find 'S_IFMT' in scope
102 | var statBuffer = stat()
103 | if lstat(path, &statBuffer) == 0 {
104 | isSymbolicLink = (statBuffer.st_mode & S_IFMT) == S_IFLNK
| `- error: cannot find 'S_IFMT' in scope
105 | }
106 |
/host/spi-builder-workspace/Sources/SwiftList.swift:104:63: error: cannot find 'S_IFLNK' in scope
102 | var statBuffer = stat()
103 | if lstat(path, &statBuffer) == 0 {
104 | isSymbolicLink = (statBuffer.st_mode & S_IFMT) == S_IFLNK
| `- error: cannot find 'S_IFLNK' in scope
105 | }
106 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8106a39f56f5bb7aad9f0d9a94f1e5362f9a40b692f7bc17efe17b7b91dc65fc
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/8] Write swift-version-24593BA9C3E375BF.txt
[4/10] Emitting module ArgumentParserToolInfo
[5/10] Compiling ArgumentParserToolInfo ToolInfo.swift
[7/54] Emitting module ArgumentParser
[8/60] Compiling ArgumentParser Tree.swift
[9/60] Compiling ArgumentParser CodingKeyValidator.swift
[10/60] Compiling ArgumentParser NonsenseFlagsValidator.swift
[11/60] Compiling ArgumentParser ParsableArgumentsValidation.swift
[12/60] Compiling ArgumentParser PositionalArgumentsValidator.swift
[13/60] Compiling ArgumentParser UniqueNamesValidator.swift
[14/60] Compiling ArgumentParser BashCompletionsGenerator.swift
[15/60] Compiling ArgumentParser CompletionsGenerator.swift
[16/60] Compiling ArgumentParser FishCompletionsGenerator.swift
[17/60] Compiling ArgumentParser ZshCompletionsGenerator.swift
[18/60] Compiling ArgumentParser Argument.swift
[19/60] Compiling ArgumentParser ArgumentDiscussion.swift
[20/60] Compiling ArgumentParser ArgumentHelp.swift
[21/60] Compiling ArgumentParser InputKey.swift
[22/60] Compiling ArgumentParser InputOrigin.swift
[23/60] Compiling ArgumentParser Name.swift
[24/60] Compiling ArgumentParser Parsed.swift
[25/60] Compiling ArgumentParser ParsedValues.swift
[26/60] Compiling ArgumentParser ParserError.swift
[27/60] Compiling ArgumentParser OptionGroup.swift
[28/60] Compiling ArgumentParser AsyncParsableCommand.swift
[29/60] Compiling ArgumentParser CommandConfiguration.swift
[30/60] Compiling ArgumentParser CommandGroup.swift
[31/60] Compiling ArgumentParser EnumerableFlag.swift
[32/60] Compiling ArgumentParser ExpressibleByArgument.swift
[33/60] Compiling ArgumentParser ParsableArguments.swift
[34/60] Compiling ArgumentParser ParsableCommand.swift
[35/60] Compiling ArgumentParser ArgumentDecoder.swift
[36/60] Compiling ArgumentParser ArgumentDefinition.swift
[37/60] Compiling ArgumentParser ArgumentSet.swift
[38/60] Compiling ArgumentParser CommandParser.swift
[39/60] Compiling ArgumentParser SplitArguments.swift
[40/60] Compiling ArgumentParser DumpHelpGenerator.swift
[41/60] Compiling ArgumentParser HelpCommand.swift
[42/60] Compiling ArgumentParser HelpGenerator.swift
[43/60] Compiling ArgumentParser MessageInfo.swift
[44/60] Compiling ArgumentParser UsageGenerator.swift
[45/60] Compiling ArgumentParser ArgumentVisibility.swift
[46/60] Compiling ArgumentParser CompletionKind.swift
[47/60] Compiling ArgumentParser Errors.swift
[48/60] Compiling ArgumentParser Flag.swift
[49/60] Compiling ArgumentParser NameSpecification.swift
[50/60] Compiling ArgumentParser Option.swift
[51/60] Compiling ArgumentParser CollectionExtensions.swift
[52/60] Compiling ArgumentParser Mutex.swift
[53/60] Compiling ArgumentParser Platform.swift
[54/60] Compiling ArgumentParser SequenceExtensions.swift
[55/60] Compiling ArgumentParser StringExtensions.swift
[56/60] Compiling ArgumentParser SwiftExtensions.swift
[58/62] Emitting module sls
[59/62] Compiling sls SwiftList.swift
/host/spi-builder-workspace/Sources/SwiftList.swift:52:17: error: cannot find 'winsize' in scope
50 | /// Returns the terminal width in characters.
51 | private static func terminalWidth() -> Int {
52 | var w = winsize()
| `- error: cannot find 'winsize' in scope
53 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w) == 0 else { return 80 }
54 | return Int(w.ws_col)
/host/spi-builder-workspace/Sources/SwiftList.swift:53:15: error: cannot find 'ioctl' in scope
51 | private static func terminalWidth() -> Int {
52 | var w = winsize()
53 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w) == 0 else { return 80 }
| `- error: cannot find 'ioctl' in scope
54 | return Int(w.ws_col)
55 | }
/host/spi-builder-workspace/Sources/SwiftList.swift:53:21: error: cannot find 'STDOUT_FILENO' in scope
51 | private static func terminalWidth() -> Int {
52 | var w = winsize()
53 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w) == 0 else { return 80 }
| `- error: cannot find 'STDOUT_FILENO' in scope
54 | return Int(w.ws_col)
55 | }
/host/spi-builder-workspace/Sources/SwiftList.swift:53:41: error: cannot find 'TIOCGWINSZ' in scope
51 | private static func terminalWidth() -> Int {
52 | var w = winsize()
53 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w) == 0 else { return 80 }
| `- error: cannot find 'TIOCGWINSZ' in scope
54 | return Int(w.ws_col)
55 | }
/host/spi-builder-workspace/Sources/SwiftList.swift:102:26: error: cannot find 'stat' in scope
100 | // Use lstat equivalent by checking if it's a symbolic link first
101 | var isSymbolicLink = false
102 | var statBuffer = stat()
| `- error: cannot find 'stat' in scope
103 | if lstat(path, &statBuffer) == 0 {
104 | isSymbolicLink = (statBuffer.st_mode & S_IFMT) == S_IFLNK
/host/spi-builder-workspace/Sources/SwiftList.swift:103:12: error: cannot find 'lstat' in scope
101 | var isSymbolicLink = false
102 | var statBuffer = stat()
103 | if lstat(path, &statBuffer) == 0 {
| `- error: cannot find 'lstat' in scope
104 | isSymbolicLink = (statBuffer.st_mode & S_IFMT) == S_IFLNK
105 | }
/host/spi-builder-workspace/Sources/SwiftList.swift:104:52: error: cannot find 'S_IFMT' in scope
102 | var statBuffer = stat()
103 | if lstat(path, &statBuffer) == 0 {
104 | isSymbolicLink = (statBuffer.st_mode & S_IFMT) == S_IFLNK
| `- error: cannot find 'S_IFMT' in scope
105 | }
106 |
/host/spi-builder-workspace/Sources/SwiftList.swift:104:63: error: cannot find 'S_IFLNK' in scope
102 | var statBuffer = stat()
103 | if lstat(path, &statBuffer) == 0 {
104 | isSymbolicLink = (statBuffer.st_mode & S_IFMT) == S_IFLNK
| `- error: cannot find 'S_IFLNK' in scope
105 | }
106 |
BUILD FAILURE 6.1 android