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 Rester, reference main (9015e6), with Swift 6.1 for Android on 28 May 2025 04:10:47 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/finestructure/Rester.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/finestructure/Rester
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 9015e6f Merge pull request #108 from finestructure/pretty-print-log-json
Cloned https://github.com/finestructure/Rester.git
Revision (git rev-parse @):
9015e6fcffc8b1bd45fad82b38522700439d23f5
SUCCESS checkout https://github.com/finestructure/Rester.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/finestructure/Rester.git
https://github.com/finestructure/Rester.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    },
    {
      "identity" : "regex",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/crossroadlabs/Regex.git"
    },
    {
      "identity" : "valuecodable",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/finestructure/ValueCodable"
    },
    {
      "identity" : "yams",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jpsim/Yams.git"
    },
    {
      "identity" : "legibleerror",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/mxcl/LegibleError.git"
    },
    {
      "identity" : "path.swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.0.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/mxcl/Path.swift.git"
    },
    {
      "identity" : "rainbow",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/onevcat/Rainbow.git"
    },
    {
      "identity" : "swift-gen",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.2.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pointfreeco/swift-gen.git"
    },
    {
      "identity" : "swift-snapshot-testing",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.8.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pointfreeco/swift-snapshot-testing.git"
    }
  ],
  "manifest_display_name" : "Rester",
  "name" : "Rester",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "rester",
      "targets" : [
        "Rester"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "ResterCore",
      "targets" : [
        "ResterCore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ResterTests",
      "module_type" : "SwiftTarget",
      "name" : "ResterTests",
      "path" : "Tests/ResterTests",
      "product_dependencies" : [
        "SnapshotTesting"
      ],
      "sources" : [
        "Dictionary+extTests.swift",
        "ExampleTests.swift",
        "IssuesTests.swift",
        "LaunchTests.swift",
        "MatcherTests.swift",
        "ParameterTests.swift",
        "PathTests.swift",
        "RequestLoggingTests.swift",
        "RequestTests.swift",
        "RequestValidationTests.swift",
        "ResponseTests.swift",
        "ResterTests.swift",
        "RestfileTests.swift",
        "StatsTests.swift",
        "SubstitutableTests.swift",
        "TempDir.swift",
        "TestUtils.swift",
        "TestUtilsTests.swift",
        "UtilsTests.swift",
        "ValidationTests.swift",
        "ValueTests.swift"
      ],
      "target_dependencies" : [
        "ResterCore"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ResterCore",
      "module_type" : "SwiftTarget",
      "name" : "ResterCore",
      "path" : "Sources/ResterCore",
      "product_dependencies" : [
        "ArgumentParser",
        "Gen",
        "LegibleError",
        "Path",
        "Rainbow",
        "Regex",
        "ValueCodable",
        "Yams"
      ],
      "product_memberships" : [
        "rester",
        "ResterCore"
      ],
      "sources" : [
        "App.swift",
        "Body.swift",
        "Console.swift",
        "Extensions/Array+ext.swift",
        "Extensions/Collection+ext.swift",
        "Extensions/Data+ext.swift",
        "Extensions/Dictionary+ext.swift",
        "Extensions/Double+ext.swift",
        "Extensions/KeyedDecodingContainer+ext.swift",
        "Extensions/Numeric+ext.swift",
        "Extensions/Path+ext.swift",
        "Extensions/Sequence+async.swift",
        "Extensions/String+ext.swift",
        "Extensions/Value+ext.swift",
        "Matcher.swift",
        "Method.swift",
        "Multipart.swift",
        "OrderedDict.swift",
        "Parameter.swift",
        "Request.swift",
        "Response.swift",
        "Rester.swift",
        "ResterError.swift",
        "Restfile.swift",
        "Runner.swift",
        "Stats.swift",
        "StringCodingKeys.swift",
        "Substitutable.swift",
        "TestResult.swift",
        "URLEncoding.swift",
        "Utils.swift",
        "Validation.swift",
        "ValidationResult.swift",
        "Version.swift",
        "World.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Rester",
      "module_type" : "SwiftTarget",
      "name" : "Rester",
      "path" : "Sources/Rester",
      "product_memberships" : [
        "rester"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "ResterCore"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.5"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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-gen.git
Fetching https://github.com/mxcl/Path.swift.git
Fetching https://github.com/mxcl/LegibleError.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/onevcat/Rainbow.git
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git
[1/1059] Fetching path.swift
[12/1771] Fetching path.swift, swift-gen
[1772/2967] Fetching path.swift, swift-gen, rainbow
[2909/3145] Fetching path.swift, swift-gen, rainbow, legibleerror
Fetched https://github.com/pointfreeco/swift-gen.git from cache (0.32s)
Fetching https://github.com/finestructure/ValueCodable
Fetched https://github.com/mxcl/LegibleError.git from cache (0.33s)
Fetched https://github.com/mxcl/Path.swift.git from cache (0.33s)
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/crossroadlabs/Regex.git
[1/10657] Fetching yams
[5650/23839] Fetching yams, swift-snapshot-testing
[6046/24014] Fetching yams, swift-snapshot-testing, valuecodable
[6591/25310] Fetching yams, swift-snapshot-testing, valuecodable, regex
Fetched https://github.com/finestructure/ValueCodable from cache (0.28s)
[7818/25135] Fetching yams, swift-snapshot-testing, regex
Fetched https://github.com/crossroadlabs/Regex.git from cache (0.30s)
[6735/23839] Fetching yams, swift-snapshot-testing
[10211/39190] Fetching yams, swift-snapshot-testing, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.19s)
[21862/23839] Fetching yams, swift-snapshot-testing
Fetched https://github.com/onevcat/Rainbow.git from cache (2.06s)
Fetched https://github.com/jpsim/Yams.git from cache (2.12s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (2.14s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 2.0.0 (2.64s)
Computing version for https://github.com/crossroadlabs/Regex.git
Computed https://github.com/crossroadlabs/Regex.git at 1.2.0 (3.61s)
Computing version for https://github.com/finestructure/ValueCodable
Computed https://github.com/finestructure/ValueCodable at 0.2.0 (1.07s)
Computing version for https://github.com/pointfreeco/swift-gen.git
Computed https://github.com/pointfreeco/swift-gen.git at 0.4.0 (0.93s)
Computing version for https://github.com/mxcl/LegibleError.git
Computed https://github.com/mxcl/LegibleError.git at 1.0.6 (0.70s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 3.2.0 (0.69s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.45s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.18.4 (0.46s)
Fetching https://github.com/pointfreeco/swift-custom-dump
Fetching https://github.com/swiftlang/swift-syntax
[1/4581] Fetching swift-custom-dump
[4582/75029] Fetching swift-custom-dump, swift-syntax
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (5.16s)
Fetched https://github.com/swiftlang/swift-syntax from cache (5.22s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (6.20s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5458] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.61s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 601.0.1 (1.27s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (0.47s)
Computing version for https://github.com/mxcl/Path.swift.git
Computed https://github.com/mxcl/Path.swift.git at 0.16.3 (2.00s)
Creating working copy for https://github.com/onevcat/Rainbow.git
Working copy of https://github.com/onevcat/Rainbow.git resolved at 3.2.0
Creating working copy for https://github.com/finestructure/ValueCodable
Working copy of https://github.com/finestructure/ValueCodable resolved at 0.2.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.0
Creating working copy for https://github.com/mxcl/Path.swift.git
Working copy of https://github.com/mxcl/Path.swift.git resolved at 0.16.3
Creating working copy for https://github.com/pointfreeco/swift-gen.git
Working copy of https://github.com/pointfreeco/swift-gen.git resolved at 0.4.0
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing.git
Working copy of https://github.com/pointfreeco/swift-snapshot-testing.git resolved at 1.18.4
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 601.0.1
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.5.2
Creating working copy for https://github.com/crossroadlabs/Regex.git
Working copy of https://github.com/crossroadlabs/Regex.git resolved at 1.2.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.3.3
Creating working copy for https://github.com/mxcl/LegibleError.git
Working copy of https://github.com/mxcl/LegibleError.git resolved at 1.0.6
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 2.0.0
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/32] Write sources
[12/32] Compiling writer.c
[13/32] Compiling reader.c
[14/32] Write swift-version-24593BA9C3E375BF.txt
[15/32] Compiling parser.c
[16/32] Compiling api.c
[17/32] Compiling emitter.c
[18/32] Compiling scanner.c
[20/89] Compiling Gen Xoshiro.swift
[21/89] Compiling Gen Zip.swift
[22/89] Compiling ArgumentParserToolInfo ToolInfo.swift
[23/89] Emitting module ArgumentParserToolInfo
[24/90] Compiling Gen AnyRandomNumberGenerator.swift
[26/90] Compiling Gen LCRNG.swift
[27/90] Compiling Gen Gen.swift
[28/90] Emitting module Gen
[29/90] Compiling Gen UIKit.swift
[31/91] Compiling Rainbow Color.swift
[32/91] Compiling Rainbow ControlCode.swift
[33/91] Compiling Rainbow Style.swift
[34/92] Compiling Rainbow StringGenerator.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[35/92] Compiling Rainbow BackgroundColor.swift
[36/92] Compiling Rainbow CodesParser.swift
[37/92] Emitting module Rainbow
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:57:58: error: cannot find 'isatty' in scope
55 |         // Check if we are in any term env and the output is a tty.
56 |         let termType = getEnvValue("TERM")
57 |         if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
   |                                                          `- error: cannot find 'isatty' in scope
58 |             return .console
59 |         }
[38/92] Emitting module ValueCodable
[38/92] Wrapping AST for ArgumentParserToolInfo for debugging
[40/92] Compiling Rainbow String+Rainbow.swift
[40/93] Wrapping AST for Gen for debugging
[42/130] Compiling Rainbow XcodeColorsSupport.swift
[43/130] Emitting module ArgumentParser
[44/135] Compiling ArgumentParser Name.swift
[45/135] Compiling ArgumentParser Parsed.swift
[46/135] Compiling ArgumentParser ParsedValues.swift
[47/135] Compiling ArgumentParser ParserError.swift
[48/135] Compiling ArgumentParser SplitArguments.swift
[49/135] Compiling ArgumentParser ArgumentVisibility.swift
[50/135] Compiling ArgumentParser CompletionKind.swift
[51/135] Compiling ArgumentParser Errors.swift
[52/135] Compiling ArgumentParser Flag.swift
[53/135] Compiling ArgumentParser NameSpecification.swift
[54/135] Compiling ArgumentParser Option.swift
[55/135] Compiling ArgumentParser CollectionExtensions.swift
[56/135] Compiling ArgumentParser Platform.swift
[57/135] Compiling ArgumentParser SequenceExtensions.swift
[58/135] Compiling ArgumentParser StringExtensions.swift
[59/135] Compiling ArgumentParser Tree.swift
[60/135] Compiling ValueCodable Value.swift
[61/135] Compiling Regex String+Regex.swift
[62/135] Compiling Regex PlatformTypes.swift
[63/136] Compiling ValueCodable Utils.swift
[65/137] Compiling ArgumentParser Argument.swift
[66/137] Compiling ArgumentParser ArgumentHelp.swift
[67/137] Compiling ArgumentParser CommandConfiguration.swift
[68/137] Compiling ArgumentParser CommandGroup.swift
[69/137] Compiling ArgumentParser OptionGroup.swift
[70/137] Compiling ArgumentParser AsyncParsableCommand.swift
[71/139] Compiling ArgumentParser EnumerableFlag.swift
[72/139] Compiling ArgumentParser ExpressibleByArgument.swift
[73/139] Compiling Path Path+CommonDirectories.swift
/host/spi-builder-workspace/.build/checkouts/Path.swift/Sources/Path->Bool.swift:5:8: error: no such module 'Darwin'
 3 | import func Glibc.access
 4 | #else
 5 | import Darwin
   |        `- error: no such module 'Darwin'
 6 | #endif
 7 |
[74/139] Compiling Path Path+FileManager.swift
/host/spi-builder-workspace/.build/checkouts/Path.swift/Sources/Path->Bool.swift:5:8: error: no such module 'Darwin'
 3 | import func Glibc.access
 4 | #else
 5 | import Darwin
   |        `- error: no such module 'Darwin'
 6 | #endif
 7 |
[74/139] Wrapping AST for ValueCodable for debugging
[76/140] Compiling ArgumentParser ArgumentDefinition.swift
[77/140] Compiling ArgumentParser ArgumentSet.swift
[78/140] Compiling ArgumentParser CommandParser.swift
[79/140] Compiling ArgumentParser InputKey.swift
[80/140] Compiling ArgumentParser InputOrigin.swift
[86/140] Emitting module LegibleError
[87/140] Compiling LegibleError LegibleError.swift
/host/spi-builder-workspace/.build/checkouts/LegibleError/Sources/LegibleError.swift:63:45: error: cannot find 'object_getClassName' in scope
61 |         let foo: Any = self
62 |         let nativeClassNames = ["_SwiftNativeNSError", "__SwiftNativeNSError"]
63 |         let selfClassName = String(cString: object_getClassName(self))
   |                                             `- error: cannot find 'object_getClassName' in scope
64 |         let isNSError = !nativeClassNames.contains(selfClassName) && foo is NSObject
65 |         // ^^ ∵ otherwise implicit bridging implicitly casts as for other tests
[89/140] Compiling ArgumentParser ParsableArguments.swift
[90/140] Compiling ArgumentParser ParsableArgumentsValidation.swift
[91/140] Compiling Yams YamlError.swift
[92/140] Compiling Yams shim.swift
[93/140] Compiling ArgumentParser BashCompletionsGenerator.swift
[94/140] Compiling ArgumentParser CompletionsGenerator.swift
[95/140] Compiling ArgumentParser FishCompletionsGenerator.swift
[96/140] Compiling ArgumentParser ZshCompletionsGenerator.swift
[99/140] Compiling ArgumentParser DumpHelpGenerator.swift
[100/140] Compiling ArgumentParser HelpCommand.swift
[101/140] Compiling ArgumentParser HelpGenerator.swift
[102/140] Compiling ArgumentParser MessageInfo.swift
[103/140] Compiling ArgumentParser UsageGenerator.swift
[104/140] Compiling Path Path+ls.swift
/host/spi-builder-workspace/.build/checkouts/Path.swift/Sources/Path->Bool.swift:5:8: error: no such module 'Darwin'
 3 | import func Glibc.access
 4 | #else
 5 | import Darwin
   |        `- error: no such module 'Darwin'
 6 | #endif
 7 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/15] Write swift-version-24593BA9C3E375BF.txt
[3/72] Compiling Gen Zip.swift
[4/72] Emitting module LegibleError
[5/72] Compiling LegibleError LegibleError.swift
/host/spi-builder-workspace/.build/checkouts/LegibleError/Sources/LegibleError.swift:63:45: error: cannot find 'object_getClassName' in scope
61 |         let foo: Any = self
62 |         let nativeClassNames = ["_SwiftNativeNSError", "__SwiftNativeNSError"]
63 |         let selfClassName = String(cString: object_getClassName(self))
   |                                             `- error: cannot find 'object_getClassName' in scope
64 |         let isNSError = !nativeClassNames.contains(selfClassName) && foo is NSObject
65 |         // ^^ ∵ otherwise implicit bridging implicitly casts as for other tests
BUILD FAILURE 6.1 android