Build Information
Failed to build lametric-swift, reference 0.4.0 (454d62), with Swift 6.1 for Android on 25 Aug 2025 18:07:57 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/natanrolnik/Lametric-Swift.git
Reference: 0.4.0
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/natanrolnik/Lametric-Swift
* tag 0.4.0 -> FETCH_HEAD
HEAD is now at 454d62d Better verbose output in the CLI
Cloned https://github.com/natanrolnik/Lametric-Swift.git
Revision (git rev-parse @):
454d62dc9e7e8a54da80e5439328b133ec7935ab
SUCCESS checkout https://github.com/natanrolnik/Lametric-Swift.git at 0.4.0
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/natanrolnik/Lametric-Swift.git
https://github.com/natanrolnik/Lametric-Swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "async-http-client",
"requirement" : {
"range" : [
{
"lower_bound" : "1.26.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swift-server/async-http-client.git"
},
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.5.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
},
{
"identity" : "swift-http-types",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-http-types.git"
},
{
"identity" : "swift-pretty-print",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.2",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/SwiftToolkit/swift-pretty-print"
},
{
"identity" : "colorizeswift",
"requirement" : {
"range" : [
{
"lower_bound" : "1.7.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/mtynior/ColorizeSwift.git"
}
],
"manifest_display_name" : "lametric-swift",
"name" : "lametric-swift",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
},
{
"name" : "ios",
"version" : "16.0"
}
],
"products" : [
{
"name" : "lametric",
"targets" : [
"lametric-cli"
],
"type" : {
"executable" : null
}
},
{
"name" : "Lametric",
"targets" : [
"Lametric"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "LametricFoundation",
"targets" : [
"LametricFoundation"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "lametric_cli",
"module_type" : "SwiftTarget",
"name" : "lametric-cli",
"path" : "Sources/lametric-cli",
"product_dependencies" : [
"ArgumentParser",
"PrettyPrint",
"ColorizeSwift"
],
"product_memberships" : [
"lametric"
],
"sources" : [
"Commands/Apps.swift",
"Commands/Device.swift",
"Commands/Display.swift",
"Commands/ListEndpoints.swift",
"Commands/Notifications.swift",
"LametricCLI+Options.swift",
"LametricCLI.swift"
],
"target_dependencies" : [
"Lametric"
],
"type" : "executable"
},
{
"c99name" : "LametricFoundation",
"module_type" : "SwiftTarget",
"name" : "LametricFoundation",
"path" : "Sources/LametricFoundation",
"product_memberships" : [
"lametric",
"Lametric",
"LametricFoundation"
],
"sources" : [
"Codable.swift",
"Models/App.swift",
"Models/AppAction.swift",
"Models/DeviceState.swift",
"Models/Display.swift",
"Models/Frame.swift",
"Models/Model.swift",
"Models/Notification.swift",
"Models/Sound.swift"
],
"type" : "library"
},
{
"c99name" : "Lametric",
"module_type" : "SwiftTarget",
"name" : "Lametric",
"path" : "Sources/Lametric",
"product_dependencies" : [
"AsyncHTTPClient",
"HTTPTypes",
"ColorizeSwift"
],
"product_memberships" : [
"lametric",
"Lametric"
],
"sources" : [
"Client/HTTPExecutor/AsyncHTTPClientExecutor.swift",
"Client/HTTPExecutor/HTTPExecutor.swift",
"Client/HTTPExecutor/URLSessionExecutor.swift",
"Client/LametricClient+Actions.swift",
"Client/LametricClient+Apps.swift",
"Client/LametricClient+Device.swift",
"Client/LametricClient+Display.swift",
"Client/LametricClient+Notifications.swift",
"Client/LametricClient.swift",
"Client/Responses/AppsResponse.swift",
"Client/Responses/DeviceResponse.swift",
"Client/Responses/DisplayResponse.swift",
"Client/Responses/ListEndpointsResponse.swift",
"Client/Responses/NotificationResponse.swift",
"Client/Responses/Success.swift",
"Endpoint.swift",
"Endpoints/Apps.swift",
"Endpoints/Device.swift",
"Endpoints/DisplayState.swift",
"Endpoints/List.swift",
"Endpoints/Notifications.swift",
"Error.swift",
"Response.swift"
],
"target_dependencies" : [
"LametricFoundation"
],
"type" : "library"
}
],
"tools_version" : "5.10"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/mtynior/ColorizeSwift.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/SwiftToolkit/swift-pretty-print
[1/43] Fetching swift-pretty-print
[44/334] Fetching swift-pretty-print, colorizeswift
[335/1251] Fetching swift-pretty-print, colorizeswift, swift-http-types
Fetched https://github.com/SwiftToolkit/swift-pretty-print from cache (0.30s)
[1/14119] Fetching async-http-client
[3672/29808] Fetching async-http-client, swift-argument-parser
Fetched https://github.com/apple/swift-http-types.git from cache (0.95s)
Fetched https://github.com/swift-server/async-http-client.git from cache (0.96s)
Fetched https://github.com/mtynior/ColorizeSwift.git from cache (1.00s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.01s)
Computing version for https://github.com/mtynior/ColorizeSwift.git
Computed https://github.com/mtynior/ColorizeSwift.git at 1.7.0 (3.24s)
Computing version for https://github.com/SwiftToolkit/swift-pretty-print
Computed https://github.com/SwiftToolkit/swift-pretty-print at 0.1.2 (0.48s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.26.1 (0.55s)
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/2701] Fetching swift-nio-transport-services
[191/4509] Fetching swift-nio-transport-services, swift-atomics
[543/10636] Fetching swift-nio-transport-services, swift-atomics, swift-nio-extras
[1782/14533] Fetching swift-nio-transport-services, swift-atomics, swift-nio-extras, swift-log
[3244/20501] Fetching swift-nio-transport-services, swift-atomics, swift-nio-extras, swift-log, swift-algorithms
[15790/32162] Fetching swift-nio-transport-services, swift-atomics, swift-nio-extras, swift-log, swift-algorithms, swift-nio-http2
Fetched https://github.com/apple/swift-algorithms.git from cache (10.51s)
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (10.51s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (10.51s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetched https://github.com/apple/swift-atomics.git from cache (10.52s)
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/apple/swift-log.git from cache (10.52s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (10.54s)
[1/15068] Fetching swift-nio-ssl
[2714/92732] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.97s)
[51259/77664] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (4.96s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.25.1 (15.99s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.38.0 (0.56s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.1 (0.89s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (5.51s)
Fetching https://github.com/apple/swift-numerics.git
[1/6342] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.74s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.33.0 (2.40s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.86.0 (1.59s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/4900] Fetching swift-system
[3088/22254] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (2.50s)
Fetched https://github.com/apple/swift-collections.git from cache (2.54s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (3.16s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.54s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.50s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.29.0 (1.16s)
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-http-structured-headers.git
[1/1176] Fetching swift-http-structured-headers
[1177/7636] Fetching swift-http-structured-headers, swift-certificates
[2534/10069] Fetching swift-http-structured-headers, swift-certificates, swift-service-lifecycle
[2535/11698] Fetching swift-http-structured-headers, swift-certificates, swift-service-lifecycle, swift-asn1
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.57s)
[9037/10522] Fetching swift-certificates, swift-service-lifecycle, swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.63s)
Fetching https://github.com/apple/swift-async-algorithms.git
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.88s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.90s)
[1/5133] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.72s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.8.0 (2.36s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.4 (1.18s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.4.0 (0.90s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.4.0 (4.30s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.12.0 (1.06s)
Fetching https://github.com/apple/swift-crypto.git
[1/16276] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (2.93s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.4.0 (4.09s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.2 (1.15s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.14.0 (3.16s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (1.18s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.1
Creating working copy for https://github.com/SwiftToolkit/swift-pretty-print
Working copy of https://github.com/SwiftToolkit/swift-pretty-print resolved at 0.1.2
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.0.4
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.2
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.8.0
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.25.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.4
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.38.0
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.33.0
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.3
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.4.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.6.1
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.12.0
Creating working copy for https://github.com/swift-server/async-http-client.git
Working copy of https://github.com/swift-server/async-http-client.git resolved at 1.26.1
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.29.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.86.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.14.0
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/mtynior/ColorizeSwift.git
Working copy of https://github.com/mtynior/ColorizeSwift.git resolved at 1.7.0
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/21] Write sources
[10/21] Write swift-version-24593BA9C3E375BF.txt
[12/56] Compiling HTTPTypes ISOLatin1String.swift
[13/56] Compiling HTTPTypes HTTPField.swift
[14/56] Emitting module HTTPTypes
[15/57] Compiling HTTPTypes HTTPParsedFields.swift
[16/57] Emitting module ArgumentParserToolInfo
[17/57] Compiling ArgumentParserToolInfo ToolInfo.swift
[18/57] Compiling HTTPTypes HTTPRequest.swift
[19/57] Compiling HTTPTypes HTTPResponse.swift
[20/58] Wrapping AST for ArgumentParserToolInfo for debugging
[22/102] Compiling HTTPTypes NIOLock.swift
[23/102] Compiling ArgumentParser InputKey.swift
[24/102] Compiling ArgumentParser InputOrigin.swift
[25/102] Compiling ArgumentParser Name.swift
[26/102] Compiling ArgumentParser Parsed.swift
[27/102] Compiling ArgumentParser ParsedValues.swift
[28/102] Compiling ArgumentParser ParserError.swift
[29/108] Emitting module ArgumentParser
[30/108] Compiling LametricFoundation Notification.swift
[31/108] Compiling LametricFoundation Frame.swift
[32/108] Compiling LametricFoundation Model.swift
[33/109] Compiling ArgumentParser FishCompletionsGenerator.swift
[34/109] Compiling ArgumentParser ZshCompletionsGenerator.swift
[35/109] Compiling ArgumentParser CompletionKind.swift
[36/109] Compiling ArgumentParser Errors.swift
[37/110] Compiling LametricFoundation Display.swift
[38/110] Compiling PrettyPrint PrettyPrintable.swift
[39/110] Compiling ArgumentParser Tree.swift
[40/110] Compiling ArgumentParser CodingKeyValidator.swift
[41/110] Compiling ArgumentParser NonsenseFlagsValidator.swift
[42/110] Compiling ArgumentParser ParsableArgumentsValidation.swift
[43/110] Compiling ArgumentParser PositionalArgumentsValidator.swift
[44/110] Compiling ArgumentParser UniqueNamesValidator.swift
[45/110] Emitting module ColorizeSwift
[46/110] Compiling ColorizeSwift ColorizeSwift.swift
[47/111] Emitting module LametricFoundation
[48/111] Compiling ArgumentParser ArgumentHelp.swift
[49/111] Compiling ArgumentParser ArgumentVisibility.swift
[50/111] Compiling ArgumentParser Flag.swift
[51/111] Compiling ArgumentParser NameSpecification.swift
[52/111] Compiling ArgumentParser Argument.swift
[53/111] Compiling ArgumentParser ArgumentDiscussion.swift
[54/111] Compiling PrettyPrint PrettyPrint.swift
[55/111] Compiling LametricFoundation AppAction.swift
[56/111] Compiling ArgumentParser BashCompletionsGenerator.swift
[57/111] Compiling ArgumentParser CompletionsGenerator.swift
[58/111] Compiling LametricFoundation DeviceState.swift
[59/111] Emitting module PrettyPrint
[62/112] Compiling ArgumentParser CollectionExtensions.swift
[63/112] Compiling ArgumentParser Mutex.swift
[64/112] Compiling ArgumentParser Platform.swift
[65/112] Compiling ArgumentParser SequenceExtensions.swift
[66/112] Compiling ArgumentParser StringExtensions.swift
[67/112] Compiling ArgumentParser SwiftExtensions.swift
[76/112] Wrapping AST for ColorizeSwift for debugging
[77/112] Wrapping AST for PrettyPrint for debugging
[79/112] Compiling LametricFoundation Sound.swift
[80/113] Wrapping AST for LametricFoundation for debugging
[82/113] Compiling ArgumentParser SplitArguments.swift
[83/113] Compiling ArgumentParser DumpHelpGenerator.swift
[84/113] Compiling ArgumentParser HelpCommand.swift
[85/113] Compiling ArgumentParser HelpGenerator.swift
[86/113] Compiling ArgumentParser MessageInfo.swift
[87/113] Compiling ArgumentParser UsageGenerator.swift
[88/113] Compiling ArgumentParser ParsableArguments.swift
[89/113] Compiling ArgumentParser ParsableCommand.swift
[90/113] Compiling ArgumentParser ArgumentDecoder.swift
[91/113] Compiling ArgumentParser ArgumentDefinition.swift
[92/113] Compiling ArgumentParser ArgumentSet.swift
[93/113] Compiling ArgumentParser CommandParser.swift
[94/113] Compiling ArgumentParser OptionGroup.swift
[95/113] Compiling ArgumentParser AsyncParsableCommand.swift
[96/113] Compiling ArgumentParser CommandConfiguration.swift
[97/113] Compiling ArgumentParser CommandGroup.swift
[98/113] Compiling ArgumentParser EnumerableFlag.swift
[99/113] Compiling ArgumentParser ExpressibleByArgument.swift
[105/113] Compiling ArgumentParser Option.swift
[107/114] Compiling HTTPTypes HTTPFields.swift
[108/114] Compiling HTTPTypes HTTPFieldName.swift
[109/115] Wrapping AST for ArgumentParser for debugging
[110/115] Wrapping AST for HTTPTypes for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[112/137] Emitting module Lametric
/host/spi-builder-workspace/Sources/Lametric/Client/HTTPExecutor/URLSessionExecutor.swift:61:64: error: cannot find type 'URLRequest' in scope
59 | }
60 |
61 | private func makeRequest(for endpoint: Endpoint) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
62 | var urlString = baseURLString
63 |
[113/139] Compiling Lametric AsyncHTTPClientExecutor.swift
/host/spi-builder-workspace/Sources/Lametric/Client/HTTPExecutor/URLSessionExecutor.swift:61:64: error: cannot find type 'URLRequest' in scope
59 | }
60 |
61 | private func makeRequest(for endpoint: Endpoint) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
62 | var urlString = baseURLString
63 |
/host/spi-builder-workspace/Sources/Lametric/Client/HTTPExecutor/URLSessionExecutor.swift:40:57: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
38 |
39 | do {
40 | let (data, response) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
41 |
42 | guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/Lametric/Client/HTTPExecutor/URLSessionExecutor.swift:74:23: error: cannot find 'URLRequest' in scope
72 | }
73 |
74 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
75 | request.httpMethod = endpoint.method.rawValue.uppercased()
76 |
[114/139] Compiling Lametric HTTPExecutor.swift
/host/spi-builder-workspace/Sources/Lametric/Client/HTTPExecutor/URLSessionExecutor.swift:61:64: error: cannot find type 'URLRequest' in scope
59 | }
60 |
61 | private func makeRequest(for endpoint: Endpoint) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
62 | var urlString = baseURLString
63 |
/host/spi-builder-workspace/Sources/Lametric/Client/HTTPExecutor/URLSessionExecutor.swift:40:57: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
38 |
39 | do {
40 | let (data, response) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
41 |
42 | guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/Lametric/Client/HTTPExecutor/URLSessionExecutor.swift:74:23: error: cannot find 'URLRequest' in scope
72 | }
73 |
74 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
75 | request.httpMethod = endpoint.method.rawValue.uppercased()
76 |
[115/139] Compiling Lametric URLSessionExecutor.swift
/host/spi-builder-workspace/Sources/Lametric/Client/HTTPExecutor/URLSessionExecutor.swift:61:64: error: cannot find type 'URLRequest' in scope
59 | }
60 |
61 | private func makeRequest(for endpoint: Endpoint) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
62 | var urlString = baseURLString
63 |
/host/spi-builder-workspace/Sources/Lametric/Client/HTTPExecutor/URLSessionExecutor.swift:40:57: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
38 |
39 | do {
40 | let (data, response) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
41 |
42 | guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/Lametric/Client/HTTPExecutor/URLSessionExecutor.swift:74:23: error: cannot find 'URLRequest' in scope
72 | }
73 |
74 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
75 | request.httpMethod = endpoint.method.rawValue.uppercased()
76 |
[116/139] Compiling Lametric LametricClient+Display.swift
[117/139] Compiling Lametric LametricClient+Notifications.swift
[118/139] Compiling Lametric LametricClient.swift
[119/139] Compiling Lametric Endpoint.swift
[120/139] Compiling Lametric Apps.swift
[121/139] Compiling Lametric Device.swift
[122/139] Compiling Lametric DisplayState.swift
[123/139] Compiling Lametric List.swift
[124/139] Compiling Lametric Notifications.swift
[125/139] Compiling Lametric LametricClient+Actions.swift
[126/139] Compiling Lametric LametricClient+Apps.swift
[127/139] Compiling Lametric LametricClient+Device.swift
[128/139] Compiling Lametric Error.swift
[129/139] Compiling Lametric Response.swift
[130/139] Compiling Lametric AppsResponse.swift
[131/139] Compiling Lametric DeviceResponse.swift
[132/139] Compiling Lametric DisplayResponse.swift
[133/139] Compiling Lametric ListEndpointsResponse.swift
[134/139] Compiling Lametric NotificationResponse.swift
[135/139] Compiling Lametric Success.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/13] Write swift-version-24593BA9C3E375BF.txt
[4/48] Compiling PrettyPrint URL+PrettyPrintable.swift
[5/48] Compiling PrettyPrint UUID+PrettyPrintable.swift
[6/49] Compiling PrettyPrint PrettyPrint.swift
[7/49] Emitting module PrettyPrint
[8/49] Compiling PrettyPrint Set+PrettyPrintable.swift
[9/49] Compiling PrettyPrint String+PrettyPrintable.swift
[10/49] Compiling PrettyPrint Numeric+PrettyPrintable.swift
[11/49] Compiling PrettyPrint Optional+PrettyPrintable.swift
[12/49] Compiling LametricFoundation Codable.swift
[13/49] Compiling LametricFoundation App.swift
[14/49] Compiling PrettyPrint PrettyPrintable.swift
[15/49] Compiling LametricFoundation Frame.swift
[16/50] Compiling LametricFoundation Model.swift
[17/50] Compiling LametricFoundation Notification.swift
[18/50] Compiling LametricFoundation AppAction.swift
[19/50] Compiling HTTPTypes ISOLatin1String.swift
[20/51] Emitting module LametricFoundation
[21/51] Compiling HTTPTypes HTTPField.swift
[22/51] Compiling HTTPTypes HTTPFieldName.swift
[23/51] Emitting module HTTPTypes
[24/51] Compiling PrettyPrint Bool+PrettyPrintable.swift
[25/51] Compiling PrettyPrint Date+PrettyPrintable.swift
[26/51] Compiling PrettyPrint Dictionary+PrettyPrintable.swift
[27/51] Compiling PrettyPrint MirrorBasedPrintable.swift
[29/52] Compiling LametricFoundation Sound.swift
[30/52] Compiling ColorizeSwift ColorizeSwift.swift
[31/52] Emitting module ColorizeSwift
[31/53] Wrapping AST for PrettyPrint for debugging
[34/52] Compiling HTTPTypes NIOLock.swift
[35/52] Compiling HTTPTypes HTTPRequest.swift
[36/52] Compiling HTTPTypes HTTPParsedFields.swift
[37/52] Compiling HTTPTypes HTTPResponse.swift
[38/52] Compiling LametricFoundation DeviceState.swift
[41/52] Compiling LametricFoundation Display.swift
[43/53] Compiling HTTPTypes HTTPFields.swift
[44/54] Emitting module ArgumentParserToolInfo
[45/54] Compiling ArgumentParserToolInfo ToolInfo.swift
[48/118] Compiling ArgumentParser Errors.swift
[49/118] Compiling ArgumentParser Flag.swift
[50/118] Compiling ArgumentParser NameSpecification.swift
[51/120] Compiling ArgumentParser ParserError.swift
[52/120] Compiling ArgumentParser OptionGroup.swift
[53/120] Compiling ArgumentParser AsyncParsableCommand.swift
[54/120] Compiling ArgumentParser ArgumentHelp.swift
[55/120] Compiling ArgumentParser ArgumentVisibility.swift
[56/120] Compiling ArgumentParser CompletionKind.swift
[57/120] Compiling ArgumentParser Option.swift
[58/120] Compiling ArgumentParser InputKey.swift
[59/120] Compiling ArgumentParser InputOrigin.swift
[60/120] Compiling ArgumentParser Name.swift
[61/120] Compiling ArgumentParser Parsed.swift
[62/120] Compiling ArgumentParser ParsedValues.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[63/120] Emitting module Lametric
/host/spi-builder-workspace/Sources/Lametric/Client/HTTPExecutor/URLSessionExecutor.swift:61:64: error: cannot find type 'URLRequest' in scope
59 | }
60 |
61 | private func makeRequest(for endpoint: Endpoint) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
62 | var urlString = baseURLString
63 |
[64/120] Compiling ArgumentParser BashCompletionsGenerator.swift
[65/120] Compiling ArgumentParser CompletionsGenerator.swift
[66/120] Compiling ArgumentParser FishCompletionsGenerator.swift
[67/120] Compiling ArgumentParser ZshCompletionsGenerator.swift
/host/spi-builder-workspace/Sources/Lametric/Client/HTTPExecutor/URLSessionExecutor.swift:61:64: error: cannot find type 'URLRequest' in scope
59 | }
60 |
61 | private func makeRequest(for endpoint: Endpoint) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
62 | var urlString = baseURLString
63 |
/host/spi-builder-workspace/Sources/Lametric/Client/HTTPExecutor/URLSessionExecutor.swift:40:57: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
38 |
39 | do {
40 | let (data, response) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
41 |
42 | guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/Lametric/Client/HTTPExecutor/URLSessionExecutor.swift:74:23: error: cannot find 'URLRequest' in scope
72 | }
73 |
74 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
75 | request.httpMethod = endpoint.method.rawValue.uppercased()
76 |
[68/120] Compiling ArgumentParser Argument.swift
/host/spi-builder-workspace/Sources/Lametric/Client/HTTPExecutor/URLSessionExecutor.swift:61:64: error: cannot find type 'URLRequest' in scope
59 | }
60 |
61 | private func makeRequest(for endpoint: Endpoint) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
62 | var urlString = baseURLString
63 |
/host/spi-builder-workspace/Sources/Lametric/Client/HTTPExecutor/URLSessionExecutor.swift:40:57: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
38 |
39 | do {
40 | let (data, response) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
41 |
42 | guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/Lametric/Client/HTTPExecutor/URLSessionExecutor.swift:74:23: error: cannot find 'URLRequest' in scope
72 | }
73 |
74 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
75 | request.httpMethod = endpoint.method.rawValue.uppercased()
76 |
[69/120] Compiling ArgumentParser ArgumentDiscussion.swift
/host/spi-builder-workspace/Sources/Lametric/Client/HTTPExecutor/URLSessionExecutor.swift:61:64: error: cannot find type 'URLRequest' in scope
59 | }
60 |
61 | private func makeRequest(for endpoint: Endpoint) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
62 | var urlString = baseURLString
63 |
/host/spi-builder-workspace/Sources/Lametric/Client/HTTPExecutor/URLSessionExecutor.swift:40:57: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
38 |
39 | do {
40 | let (data, response) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
41 |
42 | guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/Lametric/Client/HTTPExecutor/URLSessionExecutor.swift:74:23: error: cannot find 'URLRequest' in scope
72 | }
73 |
74 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
75 | request.httpMethod = endpoint.method.rawValue.uppercased()
76 |
[70/120] Compiling Lametric Error.swift
[71/120] Compiling Lametric Response.swift
BUILD FAILURE 6.1 android