The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build ProgressLine, reference main (3ef298), with Swift 6.1 for Android on 30 May 2025 04:52:53 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" 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.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kattouf/ProgressLine.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/kattouf/ProgressLine
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 3ef298a doc: fix github style gifs table layout
Cloned https://github.com/kattouf/ProgressLine.git
Revision (git rev-parse @):
3ef298aeb9d854a02bc8030b1defee44595d81b5
SUCCESS checkout https://github.com/kattouf/ProgressLine.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/kattouf/ProgressLine.git
https://github.com/kattouf/ProgressLine.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser.git"
    },
    {
      "identity" : "swift-tagged",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.10.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pointfreeco/swift-tagged.git"
    },
    {
      "identity" : "swift-concurrency-extras",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pointfreeco/swift-concurrency-extras.git"
    }
  ],
  "manifest_display_name" : "ProgressLine",
  "name" : "ProgressLine",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "progressline",
      "targets" : [
        "progressline"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "progressline",
      "module_type" : "SwiftTarget",
      "name" : "progressline",
      "path" : "Sources",
      "product_dependencies" : [
        "ArgumentParser",
        "TaggedTime",
        "ConcurrencyExtras"
      ],
      "product_memberships" : [
        "progressline"
      ],
      "sources" : [
        "ANSI.swift",
        "ActivityIndicator+CommandArgument.swift",
        "ActivityIndicator.swift",
        "ErrorMessage.swift",
        "FileHandler+AsyncStream.swift",
        "LogAllController.swift",
        "MatchesController.swift",
        "OriginalLogController.swift",
        "Printer.swift",
        "PrintersHolder.swift",
        "ProgressLine.swift",
        "ProgressLineController.swift",
        "ProgressLineFormatter.swift",
        "ProgressTracker.swift",
        "String+ANSI.swift",
        "Task+Periodic.swift",
        "UnderProgressLineLogger.swift",
        "Version.swift",
        "WindowSizeObserver.swift",
        "isTTY.swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.10"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" 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:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/pointfreeco/swift-concurrency-extras.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/pointfreeco/swift-tagged.git
[1/1162] Fetching swift-tagged
[443/2014] Fetching swift-tagged, swift-concurrency-extras
Fetched https://github.com/pointfreeco/swift-tagged.git from cache (0.32s)
Fetched https://github.com/pointfreeco/swift-concurrency-extras.git from cache (0.32s)
[1/15386] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.96s)
Computing version for https://github.com/pointfreeco/swift-tagged.git
Computed https://github.com/pointfreeco/swift-tagged.git at 0.10.0 (3.86s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (0.80s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras.git
Computed https://github.com/pointfreeco/swift-concurrency-extras.git at 1.3.1 (0.94s)
Creating working copy for https://github.com/pointfreeco/swift-concurrency-extras.git
Working copy of https://github.com/pointfreeco/swift-concurrency-extras.git resolved at 1.3.1
Creating working copy for https://github.com/pointfreeco/swift-tagged.git
Working copy of https://github.com/pointfreeco/swift-tagged.git resolved at 0.10.0
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.1
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/16] Write sources
[7/16] Write swift-version-24593BA9C3E375BF.txt
[9/32] Emitting module ConcurrencyExtras
<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
[10/33] Emitting module ArgumentParserToolInfo
[11/33] Compiling ArgumentParserToolInfo ToolInfo.swift
[12/34] Compiling ConcurrencyExtras UncheckedSendable.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
[13/34] Compiling ConcurrencyExtras Result.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
[14/34] Wrapping AST for ArgumentParserToolInfo for debugging
[16/72] Compiling ArgumentParser OptionGroup.swift
[17/72] Compiling ArgumentParser AsyncParsableCommand.swift
[18/72] Compiling ArgumentParser CommandConfiguration.swift
[19/72] Compiling ArgumentParser CommandGroup.swift
[20/72] Compiling ArgumentParser EnumerableFlag.swift
[21/77] Compiling ArgumentParser ArgumentVisibility.swift
[22/77] Compiling ArgumentParser CompletionKind.swift
[23/77] Compiling ArgumentParser Errors.swift
[24/77] Compiling ArgumentParser Flag.swift
[25/77] Compiling ArgumentParser NameSpecification.swift
[26/77] Compiling ArgumentParser Option.swift
[27/77] Compiling ArgumentParser Name.swift
[28/77] Compiling ArgumentParser Parsed.swift
[29/77] Compiling ArgumentParser ParsedValues.swift
[30/77] Compiling ArgumentParser ParserError.swift
[31/77] Compiling ArgumentParser SplitArguments.swift
[32/77] Emitting module ArgumentParser
[33/77] Compiling ArgumentParser BashCompletionsGenerator.swift
[34/77] Compiling ArgumentParser CompletionsGenerator.swift
[35/77] Compiling ArgumentParser FishCompletionsGenerator.swift
[36/77] Compiling ArgumentParser ZshCompletionsGenerator.swift
[37/77] Compiling ArgumentParser Argument.swift
[38/77] Compiling ArgumentParser ArgumentHelp.swift
[39/77] Compiling ArgumentParser ArgumentDefinition.swift
[40/77] Compiling ArgumentParser ArgumentSet.swift
[41/77] Compiling ArgumentParser CommandParser.swift
[42/77] Compiling ArgumentParser InputKey.swift
[43/77] Compiling ArgumentParser InputOrigin.swift
[44/77] Compiling ArgumentParser CollectionExtensions.swift
[45/77] Compiling ArgumentParser Platform.swift
[46/77] Compiling ArgumentParser SequenceExtensions.swift
[47/77] Compiling ArgumentParser StringExtensions.swift
[48/77] Compiling ArgumentParser Tree.swift
[49/77] Compiling ConcurrencyExtras LockIsolated.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
[50/77] Compiling ConcurrencyExtras MainSerialExecutor.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
[51/77] Compiling ConcurrencyExtras Task.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
<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
<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
[54/77] Compiling Tagged UUID.swift
[55/77] Compiling Tagged Tagged.swift
[56/77] Emitting module Tagged
<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
<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
<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
<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
[63/79] Compiling ArgumentParser ExpressibleByArgument.swift
[64/79] Compiling ArgumentParser ParsableArguments.swift
[65/79] Compiling ArgumentParser ParsableArgumentsValidation.swift
[66/79] Compiling ArgumentParser ParsableCommand.swift
[67/79] Compiling ArgumentParser ArgumentDecoder.swift
[68/79] Compiling ArgumentParser DumpHelpGenerator.swift
[69/79] Compiling ArgumentParser HelpCommand.swift
[70/79] Compiling ArgumentParser HelpGenerator.swift
[71/79] Compiling ArgumentParser MessageInfo.swift
[72/79] Compiling ArgumentParser UsageGenerator.swift
[72/80] Wrapping AST for Tagged for debugging
[74/80] Wrapping AST for ConcurrencyExtras for debugging
[76/82] Emitting module TaggedTime
[77/82] Compiling TaggedTime TaggedTime.swift
[78/83] Wrapping AST for ArgumentParser for debugging
[79/83] Wrapping AST for TaggedTime for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[81/102] Emitting module progressline
/host/spi-builder-workspace/Sources/isTTY.swift:3:13: error: cannot find 'isatty' in scope
1 | import Foundation
2 |
3 | let isTTY = isatty(STDOUT_FILENO) != 0
  |             `- error: cannot find 'isatty' in scope
4 |
/host/spi-builder-workspace/Sources/isTTY.swift:3:20: error: cannot find 'STDOUT_FILENO' in scope
1 | import Foundation
2 |
3 | let isTTY = isatty(STDOUT_FILENO) != 0
  |                    `- error: cannot find 'STDOUT_FILENO' in scope
4 |
[82/104] Compiling progressline UnderProgressLineLogger.swift
[83/104] Compiling progressline Version.swift
[84/104] Compiling progressline String+ANSI.swift
[85/104] Compiling progressline Task+Periodic.swift
[86/104] Compiling progressline ProgressLineFormatter.swift
/host/spi-builder-workspace/Sources/ProgressLineFormatter.swift:101:13: error: cannot find 'durationFormatter' in scope
 99 |             duration.rawValue.formattedDuration()
100 |         #else
101 |             durationFormatter.string(from: duration.rawValue)!
    |             `- error: cannot find 'durationFormatter' in scope
102 |         #endif
103 |     }
[87/104] Compiling progressline ProgressTracker.swift
/host/spi-builder-workspace/Sources/ProgressLineFormatter.swift:101:13: error: cannot find 'durationFormatter' in scope
 99 |             duration.rawValue.formattedDuration()
100 |         #else
101 |             durationFormatter.string(from: duration.rawValue)!
    |             `- error: cannot find 'durationFormatter' in scope
102 |         #endif
103 |     }
[88/104] Compiling progressline WindowSizeObserver.swift
/host/spi-builder-workspace/Sources/isTTY.swift:3:13: error: cannot find 'isatty' in scope
1 | import Foundation
2 |
3 | let isTTY = isatty(STDOUT_FILENO) != 0
  |             `- error: cannot find 'isatty' in scope
4 |
/host/spi-builder-workspace/Sources/isTTY.swift:3:20: error: cannot find 'STDOUT_FILENO' in scope
1 | import Foundation
2 |
3 | let isTTY = isatty(STDOUT_FILENO) != 0
  |                    `- error: cannot find 'STDOUT_FILENO' in scope
4 |
/host/spi-builder-workspace/Sources/WindowSizeObserver.swift:32:26: error: cannot find 'SIG_IGN' in scope
30 |
31 |         let signalHandler = DispatchSource.makeSignalSource(signal: sigwinch)
32 |         signal(sigwinch, SIG_IGN)
   |                          `- error: cannot find 'SIG_IGN' in scope
33 |
34 |         signalHandler.setEventHandler { [weak self] in
/host/spi-builder-workspace/Sources/WindowSizeObserver.swift:51:17: error: cannot find 'winsize' in scope
49 |
50 |     static func getTerminalSize() -> Size {
51 |         var w = winsize()
   |                 `- error: cannot find 'winsize' in scope
52 |         #if os(Linux)
53 |             _ = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
/host/spi-builder-workspace/Sources/WindowSizeObserver.swift:55:17: error: cannot find 'ioctl' in scope
53 |             _ = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
54 |         #else
55 |             _ = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
   |                 `- error: cannot find 'ioctl' in scope
56 |         #endif
57 |         return Size(width: Int(w.ws_col), height: Int(w.ws_row))
/host/spi-builder-workspace/Sources/WindowSizeObserver.swift:55:23: error: cannot find 'STDOUT_FILENO' in scope
53 |             _ = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
54 |         #else
55 |             _ = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
   |                       `- error: cannot find 'STDOUT_FILENO' in scope
56 |         #endif
57 |         return Size(width: Int(w.ws_col), height: Int(w.ws_row))
/host/spi-builder-workspace/Sources/WindowSizeObserver.swift:55:38: error: cannot find 'TIOCGWINSZ' in scope
53 |             _ = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
54 |         #else
55 |             _ = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
   |                                      `- error: cannot find 'TIOCGWINSZ' in scope
56 |         #endif
57 |         return Size(width: Int(w.ws_col), height: Int(w.ws_row))
[89/104] Compiling progressline isTTY.swift
/host/spi-builder-workspace/Sources/isTTY.swift:3:13: error: cannot find 'isatty' in scope
1 | import Foundation
2 |
3 | let isTTY = isatty(STDOUT_FILENO) != 0
  |             `- error: cannot find 'isatty' in scope
4 |
/host/spi-builder-workspace/Sources/isTTY.swift:3:20: error: cannot find 'STDOUT_FILENO' in scope
1 | import Foundation
2 |
3 | let isTTY = isatty(STDOUT_FILENO) != 0
  |                    `- error: cannot find 'STDOUT_FILENO' in scope
4 |
/host/spi-builder-workspace/Sources/WindowSizeObserver.swift:32:26: error: cannot find 'SIG_IGN' in scope
30 |
31 |         let signalHandler = DispatchSource.makeSignalSource(signal: sigwinch)
32 |         signal(sigwinch, SIG_IGN)
   |                          `- error: cannot find 'SIG_IGN' in scope
33 |
34 |         signalHandler.setEventHandler { [weak self] in
/host/spi-builder-workspace/Sources/WindowSizeObserver.swift:51:17: error: cannot find 'winsize' in scope
49 |
50 |     static func getTerminalSize() -> Size {
51 |         var w = winsize()
   |                 `- error: cannot find 'winsize' in scope
52 |         #if os(Linux)
53 |             _ = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
/host/spi-builder-workspace/Sources/WindowSizeObserver.swift:55:17: error: cannot find 'ioctl' in scope
53 |             _ = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
54 |         #else
55 |             _ = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
   |                 `- error: cannot find 'ioctl' in scope
56 |         #endif
57 |         return Size(width: Int(w.ws_col), height: Int(w.ws_row))
/host/spi-builder-workspace/Sources/WindowSizeObserver.swift:55:23: error: cannot find 'STDOUT_FILENO' in scope
53 |             _ = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
54 |         #else
55 |             _ = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
   |                       `- error: cannot find 'STDOUT_FILENO' in scope
56 |         #endif
57 |         return Size(width: Int(w.ws_col), height: Int(w.ws_row))
/host/spi-builder-workspace/Sources/WindowSizeObserver.swift:55:38: error: cannot find 'TIOCGWINSZ' in scope
53 |             _ = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
54 |         #else
55 |             _ = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
   |                                      `- error: cannot find 'TIOCGWINSZ' in scope
56 |         #endif
57 |         return Size(width: Int(w.ws_col), height: Int(w.ws_row))
[90/104] Compiling progressline MatchesController.swift
[91/104] Compiling progressline OriginalLogController.swift
[92/104] Compiling progressline Printer.swift
[93/104] Compiling progressline ANSI.swift
/host/spi-builder-workspace/Sources/isTTY.swift:3:13: error: cannot find 'isatty' in scope
1 | import Foundation
2 |
3 | let isTTY = isatty(STDOUT_FILENO) != 0
  |             `- error: cannot find 'isatty' in scope
4 |
/host/spi-builder-workspace/Sources/isTTY.swift:3:20: error: cannot find 'STDOUT_FILENO' in scope
1 | import Foundation
2 |
3 | let isTTY = isatty(STDOUT_FILENO) != 0
  |                    `- error: cannot find 'STDOUT_FILENO' in scope
4 |
[94/104] Compiling progressline ActivityIndicator+CommandArgument.swift
/host/spi-builder-workspace/Sources/isTTY.swift:3:13: error: cannot find 'isatty' in scope
1 | import Foundation
2 |
3 | let isTTY = isatty(STDOUT_FILENO) != 0
  |             `- error: cannot find 'isatty' in scope
4 |
/host/spi-builder-workspace/Sources/isTTY.swift:3:20: error: cannot find 'STDOUT_FILENO' in scope
1 | import Foundation
2 |
3 | let isTTY = isatty(STDOUT_FILENO) != 0
  |                    `- error: cannot find 'STDOUT_FILENO' in scope
4 |
[95/104] Compiling progressline ActivityIndicator.swift
/host/spi-builder-workspace/Sources/isTTY.swift:3:13: error: cannot find 'isatty' in scope
1 | import Foundation
2 |
3 | let isTTY = isatty(STDOUT_FILENO) != 0
  |             `- error: cannot find 'isatty' in scope
4 |
/host/spi-builder-workspace/Sources/isTTY.swift:3:20: error: cannot find 'STDOUT_FILENO' in scope
1 | import Foundation
2 |
3 | let isTTY = isatty(STDOUT_FILENO) != 0
  |                    `- error: cannot find 'STDOUT_FILENO' in scope
4 |
[96/104] Compiling progressline PrintersHolder.swift
[97/104] Compiling progressline ProgressLine.swift
[98/104] Compiling progressline ProgressLineController.swift
[99/104] Compiling progressline ErrorMessage.swift
[100/104] Compiling progressline FileHandler+AsyncStream.swift
[101/104] Compiling progressline LogAllController.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" 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:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
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
Building for debugging...
[1/10] Write swift-version-24593BA9C3E375BF.txt
[3/26] Compiling Tagged UUID.swift
[4/26] Compiling ConcurrencyExtras Task.swift
[5/27] Compiling ConcurrencyExtras Result.swift
[6/27] Compiling ConcurrencyExtras MainSerialExecutor.swift
[7/27] Compiling ConcurrencyExtras Locking.swift
[8/27] Compiling ConcurrencyExtras UncheckedBox.swift
[9/27] Compiling ConcurrencyExtras LockIsolated.swift
[10/27] Compiling ConcurrencyExtras ActorIsolated.swift
[11/27] Compiling ConcurrencyExtras AnyHashableSendable.swift
[12/27] Compiling ConcurrencyExtras AsyncStream.swift
[13/27] Compiling ConcurrencyExtras AsyncThrowingStream.swift
[14/27] Emitting module ConcurrencyExtras
[15/27] Emitting module Tagged
[16/27] Compiling Tagged Tagged.swift
[17/28] Compiling ConcurrencyExtras UncheckedSendable.swift
[18/29] Compiling ArgumentParserToolInfo ToolInfo.swift
[19/29] Emitting module ArgumentParserToolInfo
[22/28] Wrapping AST for ConcurrencyExtras for debugging
[24/68] Emitting module TaggedTime
[25/68] Compiling TaggedTime TaggedTime.swift
[27/68] Emitting module ArgumentParser
[28/73] Compiling ArgumentParser OptionGroup.swift
[29/73] Compiling ArgumentParser AsyncParsableCommand.swift
[30/73] Compiling ArgumentParser CommandConfiguration.swift
[31/73] Compiling ArgumentParser CommandGroup.swift
[32/73] Compiling ArgumentParser EnumerableFlag.swift
[33/73] Compiling ArgumentParser ArgumentVisibility.swift
[34/73] Compiling ArgumentParser CompletionKind.swift
[35/73] Compiling ArgumentParser Errors.swift
[36/73] Compiling ArgumentParser Flag.swift
[37/73] Compiling ArgumentParser NameSpecification.swift
[38/73] Compiling ArgumentParser Option.swift
[39/73] Compiling ArgumentParser BashCompletionsGenerator.swift
[40/73] Compiling ArgumentParser CompletionsGenerator.swift
[41/73] Compiling ArgumentParser FishCompletionsGenerator.swift
[42/73] Compiling ArgumentParser ZshCompletionsGenerator.swift
[43/73] Compiling ArgumentParser Argument.swift
[44/73] Compiling ArgumentParser ArgumentHelp.swift
[45/73] Compiling ArgumentParser ArgumentDefinition.swift
[46/73] Compiling ArgumentParser ArgumentSet.swift
[47/73] Compiling ArgumentParser CommandParser.swift
[48/73] Compiling ArgumentParser InputKey.swift
[49/73] Compiling ArgumentParser InputOrigin.swift
[50/73] Compiling ArgumentParser ExpressibleByArgument.swift
[51/73] Compiling ArgumentParser ParsableArguments.swift
[52/73] Compiling ArgumentParser ParsableArgumentsValidation.swift
[53/73] Compiling ArgumentParser ParsableCommand.swift
[54/73] Compiling ArgumentParser ArgumentDecoder.swift
[55/73] Compiling ArgumentParser CollectionExtensions.swift
[56/73] Compiling ArgumentParser Platform.swift
[57/73] Compiling ArgumentParser SequenceExtensions.swift
[58/73] Compiling ArgumentParser StringExtensions.swift
[59/73] Compiling ArgumentParser Tree.swift
[60/73] Compiling ArgumentParser Name.swift
[61/73] Compiling ArgumentParser Parsed.swift
[62/73] Compiling ArgumentParser ParsedValues.swift
[63/73] Compiling ArgumentParser ParserError.swift
[64/73] Compiling ArgumentParser SplitArguments.swift
[65/73] Compiling ArgumentParser DumpHelpGenerator.swift
[66/73] Compiling ArgumentParser HelpCommand.swift
[67/73] Compiling ArgumentParser HelpGenerator.swift
[68/73] Compiling ArgumentParser MessageInfo.swift
[69/73] Compiling ArgumentParser UsageGenerator.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[71/92] Emitting module progressline
/host/spi-builder-workspace/Sources/isTTY.swift:3:13: error: cannot find 'isatty' in scope
1 | import Foundation
2 |
3 | let isTTY = isatty(STDOUT_FILENO) != 0
  |             `- error: cannot find 'isatty' in scope
4 |
/host/spi-builder-workspace/Sources/isTTY.swift:3:20: error: cannot find 'STDOUT_FILENO' in scope
1 | import Foundation
2 |
3 | let isTTY = isatty(STDOUT_FILENO) != 0
  |                    `- error: cannot find 'STDOUT_FILENO' in scope
4 |
[72/94] Compiling progressline UnderProgressLineLogger.swift
[73/94] Compiling progressline Version.swift
[74/94] Compiling progressline String+ANSI.swift
[75/94] Compiling progressline Task+Periodic.swift
[76/94] Compiling progressline WindowSizeObserver.swift
/host/spi-builder-workspace/Sources/isTTY.swift:3:13: error: cannot find 'isatty' in scope
1 | import Foundation
2 |
3 | let isTTY = isatty(STDOUT_FILENO) != 0
  |             `- error: cannot find 'isatty' in scope
4 |
/host/spi-builder-workspace/Sources/isTTY.swift:3:20: error: cannot find 'STDOUT_FILENO' in scope
1 | import Foundation
2 |
3 | let isTTY = isatty(STDOUT_FILENO) != 0
  |                    `- error: cannot find 'STDOUT_FILENO' in scope
4 |
/host/spi-builder-workspace/Sources/WindowSizeObserver.swift:32:26: error: cannot find 'SIG_IGN' in scope
30 |
31 |         let signalHandler = DispatchSource.makeSignalSource(signal: sigwinch)
32 |         signal(sigwinch, SIG_IGN)
   |                          `- error: cannot find 'SIG_IGN' in scope
33 |
34 |         signalHandler.setEventHandler { [weak self] in
/host/spi-builder-workspace/Sources/WindowSizeObserver.swift:51:17: error: cannot find 'winsize' in scope
49 |
50 |     static func getTerminalSize() -> Size {
51 |         var w = winsize()
   |                 `- error: cannot find 'winsize' in scope
52 |         #if os(Linux)
53 |             _ = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
/host/spi-builder-workspace/Sources/WindowSizeObserver.swift:55:17: error: cannot find 'ioctl' in scope
53 |             _ = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
54 |         #else
55 |             _ = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
   |                 `- error: cannot find 'ioctl' in scope
56 |         #endif
57 |         return Size(width: Int(w.ws_col), height: Int(w.ws_row))
/host/spi-builder-workspace/Sources/WindowSizeObserver.swift:55:23: error: cannot find 'STDOUT_FILENO' in scope
53 |             _ = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
54 |         #else
55 |             _ = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
   |                       `- error: cannot find 'STDOUT_FILENO' in scope
56 |         #endif
57 |         return Size(width: Int(w.ws_col), height: Int(w.ws_row))
/host/spi-builder-workspace/Sources/WindowSizeObserver.swift:55:38: error: cannot find 'TIOCGWINSZ' in scope
53 |             _ = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
54 |         #else
55 |             _ = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
   |                                      `- error: cannot find 'TIOCGWINSZ' in scope
56 |         #endif
57 |         return Size(width: Int(w.ws_col), height: Int(w.ws_row))
[77/94] Compiling progressline isTTY.swift
/host/spi-builder-workspace/Sources/isTTY.swift:3:13: error: cannot find 'isatty' in scope
1 | import Foundation
2 |
3 | let isTTY = isatty(STDOUT_FILENO) != 0
  |             `- error: cannot find 'isatty' in scope
4 |
/host/spi-builder-workspace/Sources/isTTY.swift:3:20: error: cannot find 'STDOUT_FILENO' in scope
1 | import Foundation
2 |
3 | let isTTY = isatty(STDOUT_FILENO) != 0
  |                    `- error: cannot find 'STDOUT_FILENO' in scope
4 |
/host/spi-builder-workspace/Sources/WindowSizeObserver.swift:32:26: error: cannot find 'SIG_IGN' in scope
30 |
31 |         let signalHandler = DispatchSource.makeSignalSource(signal: sigwinch)
32 |         signal(sigwinch, SIG_IGN)
   |                          `- error: cannot find 'SIG_IGN' in scope
33 |
34 |         signalHandler.setEventHandler { [weak self] in
/host/spi-builder-workspace/Sources/WindowSizeObserver.swift:51:17: error: cannot find 'winsize' in scope
49 |
50 |     static func getTerminalSize() -> Size {
51 |         var w = winsize()
   |                 `- error: cannot find 'winsize' in scope
52 |         #if os(Linux)
53 |             _ = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
/host/spi-builder-workspace/Sources/WindowSizeObserver.swift:55:17: error: cannot find 'ioctl' in scope
53 |             _ = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
54 |         #else
55 |             _ = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
   |                 `- error: cannot find 'ioctl' in scope
56 |         #endif
57 |         return Size(width: Int(w.ws_col), height: Int(w.ws_row))
/host/spi-builder-workspace/Sources/WindowSizeObserver.swift:55:23: error: cannot find 'STDOUT_FILENO' in scope
53 |             _ = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
54 |         #else
55 |             _ = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
   |                       `- error: cannot find 'STDOUT_FILENO' in scope
56 |         #endif
57 |         return Size(width: Int(w.ws_col), height: Int(w.ws_row))
/host/spi-builder-workspace/Sources/WindowSizeObserver.swift:55:38: error: cannot find 'TIOCGWINSZ' in scope
53 |             _ = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
54 |         #else
55 |             _ = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
   |                                      `- error: cannot find 'TIOCGWINSZ' in scope
56 |         #endif
57 |         return Size(width: Int(w.ws_col), height: Int(w.ws_row))
[78/94] Compiling progressline ErrorMessage.swift
[79/94] Compiling progressline FileHandler+AsyncStream.swift
[80/94] Compiling progressline LogAllController.swift
[81/94] Compiling progressline MatchesController.swift
[82/94] Compiling progressline OriginalLogController.swift
[83/94] Compiling progressline Printer.swift
[84/94] Compiling progressline ANSI.swift
/host/spi-builder-workspace/Sources/isTTY.swift:3:13: error: cannot find 'isatty' in scope
1 | import Foundation
2 |
3 | let isTTY = isatty(STDOUT_FILENO) != 0
  |             `- error: cannot find 'isatty' in scope
4 |
/host/spi-builder-workspace/Sources/isTTY.swift:3:20: error: cannot find 'STDOUT_FILENO' in scope
1 | import Foundation
2 |
3 | let isTTY = isatty(STDOUT_FILENO) != 0
  |                    `- error: cannot find 'STDOUT_FILENO' in scope
4 |
[85/94] Compiling progressline ActivityIndicator+CommandArgument.swift
/host/spi-builder-workspace/Sources/isTTY.swift:3:13: error: cannot find 'isatty' in scope
1 | import Foundation
2 |
3 | let isTTY = isatty(STDOUT_FILENO) != 0
  |             `- error: cannot find 'isatty' in scope
4 |
/host/spi-builder-workspace/Sources/isTTY.swift:3:20: error: cannot find 'STDOUT_FILENO' in scope
1 | import Foundation
2 |
3 | let isTTY = isatty(STDOUT_FILENO) != 0
  |                    `- error: cannot find 'STDOUT_FILENO' in scope
4 |
[86/94] Compiling progressline ActivityIndicator.swift
/host/spi-builder-workspace/Sources/isTTY.swift:3:13: error: cannot find 'isatty' in scope
1 | import Foundation
2 |
3 | let isTTY = isatty(STDOUT_FILENO) != 0
  |             `- error: cannot find 'isatty' in scope
4 |
/host/spi-builder-workspace/Sources/isTTY.swift:3:20: error: cannot find 'STDOUT_FILENO' in scope
1 | import Foundation
2 |
3 | let isTTY = isatty(STDOUT_FILENO) != 0
  |                    `- error: cannot find 'STDOUT_FILENO' in scope
4 |
[87/94] Compiling progressline PrintersHolder.swift
[88/94] Compiling progressline ProgressLine.swift
[89/94] Compiling progressline ProgressLineController.swift
[90/94] Compiling progressline ProgressLineFormatter.swift
/host/spi-builder-workspace/Sources/ProgressLineFormatter.swift:101:13: error: cannot find 'durationFormatter' in scope
 99 |             duration.rawValue.formattedDuration()
100 |         #else
101 |             durationFormatter.string(from: duration.rawValue)!
    |             `- error: cannot find 'durationFormatter' in scope
102 |         #endif
103 |     }
[91/94] Compiling progressline ProgressTracker.swift
/host/spi-builder-workspace/Sources/ProgressLineFormatter.swift:101:13: error: cannot find 'durationFormatter' in scope
 99 |             duration.rawValue.formattedDuration()
100 |         #else
101 |             durationFormatter.string(from: duration.rawValue)!
    |             `- error: cannot find 'durationFormatter' in scope
102 |         #endif
103 |     }
BUILD FAILURE 6.1 android