Build Information
Failed to build swift-graphql, reference main (24a446
), with Swift 6.1 for Linux on 28 Apr 2025 18:38:16 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/maticzav/swift-graphql.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/maticzav/swift-graphql
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 24a4462 Improve code generation (#204)
Cloned https://github.com/maticzav/swift-graphql.git
Revision (git rev-parse @):
24a4462a76442256ec88db2bf424fa39776b66ba
SUCCESS checkout https://github.com/maticzav/swift-graphql.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/maticzav/swift-graphql.git
https://github.com/maticzav/swift-graphql.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" : "swift-format",
"requirement" : {
"range" : [
{
"lower_bound" : "508.0.0",
"upper_bound" : "510.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-format"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
},
{
"identity" : "starscream",
"requirement" : {
"range" : [
{
"lower_bound" : "4.0.5",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/daltoniam/Starscream.git"
},
{
"identity" : "spinner",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/dominicegginton/Spinner"
},
{
"identity" : "files",
"requirement" : {
"range" : [
{
"lower_bound" : "4.0.0",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/JohnSundell/Files"
},
{
"identity" : "yams",
"requirement" : {
"range" : [
{
"lower_bound" : "5.0.0",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/jpsim/Yams.git"
}
],
"manifest_display_name" : "swift-graphql",
"name" : "swift-graphql",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "SwiftGraphQL",
"targets" : [
"SwiftGraphQL"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SwiftGraphQLClient",
"targets" : [
"SwiftGraphQLClient"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SwiftGraphQLCodegen",
"targets" : [
"SwiftGraphQLCodegen"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "swift-graphql",
"targets" : [
"SwiftGraphQLCLI"
],
"type" : {
"executable" : null
}
},
{
"name" : "GraphQL",
"targets" : [
"GraphQL"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "GraphQLAST",
"targets" : [
"GraphQLAST"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "GraphQLWebSocket",
"targets" : [
"GraphQLWebSocket"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftGraphQLUtils",
"module_type" : "SwiftTarget",
"name" : "SwiftGraphQLUtils",
"path" : "Sources/SwiftGraphQLUtils",
"product_memberships" : [
"SwiftGraphQL",
"SwiftGraphQLClient",
"SwiftGraphQLCodegen",
"swift-graphql"
],
"sources" : [
"Extensions/String+Case.swift"
],
"type" : "library"
},
{
"c99name" : "SwiftGraphQLTests",
"module_type" : "SwiftTarget",
"name" : "SwiftGraphQLTests",
"path" : "Tests",
"product_dependencies" : [
"Files"
],
"sources" : [
"GraphQLASTTests/ASTIntrospectionTests.swift",
"GraphQLASTTests/ASTTests.swift",
"GraphQLASTTests/ASTTypeRef+InvertedTests.swift",
"GraphQLASTTests/ASTTypeRefTests.swift",
"GraphQLASTTests/ASTTypeTests.swift",
"GraphQLASTTests/ASTValueTests.swift",
"GraphQLTests/AnyCodable/AnyCodableTests.swift",
"GraphQLTests/AnyCodable/AnyDecodableTests.swift",
"GraphQLTests/AnyCodable/AnyEncodableTests.swift",
"GraphQLTests/ExecutionTests.swift",
"GraphQLWebSocketTests/ClientTests.swift",
"SwiftGraphQLClientTests/AsyncClientTests.swift.swift",
"SwiftGraphQLClientTests/Exchanges/CacheExchangeTests.swift",
"SwiftGraphQLClientTests/Exchanges/ComposeExchangeTests.swift",
"SwiftGraphQLClientTests/Exchanges/DedupExchangeTests.swift",
"SwiftGraphQLClientTests/Exchanges/FallbackExchangeTests.swift",
"SwiftGraphQLClientTests/Exchanges/FetchExchangeTests.swift",
"SwiftGraphQLClientTests/Exchanges/WebSocketExchangeTests.swift",
"SwiftGraphQLClientTests/Extensions/Publishers+ExtensionsTests.swift",
"SwiftGraphQLClientTests/Utils/MockClient.swift",
"SwiftGraphQLClientTests/XCTest+Helpers.swift",
"SwiftGraphQLCodegenTests/Extensions/Context+Extensions.swift",
"SwiftGraphQLCodegenTests/Generator/EnumTests.swift",
"SwiftGraphQLCodegenTests/Generator/FieldTests.swift",
"SwiftGraphQLCodegenTests/Generator/InputObjectTests.swift",
"SwiftGraphQLCodegenTests/Integration/API.swift",
"SwiftGraphQLCodegenTests/Integration/Scalars.swift",
"SwiftGraphQLCodegenTests/Integration/Selection.swift",
"SwiftGraphQLCodegenTests/Utils/TestSnapshot.swift",
"SwiftGraphQLTests/Integration/HTTPTests.swift",
"SwiftGraphQLTests/Selection/SelectionDecodingTests.swift",
"SwiftGraphQLTests/Selection/SelectionEncodingTests.swift",
"SwiftGraphQLTests/Serialization/DocumentTests.swift",
"SwiftGraphQLTests/Serialization/OptionalArgumentTest.swift",
"SwiftGraphQLUtilsTests/Extensions/String+CaseTests.swift"
],
"target_dependencies" : [
"GraphQL",
"GraphQLAST",
"GraphQLWebSocket",
"SwiftGraphQLCodegen",
"SwiftGraphQL",
"SwiftGraphQLClient",
"SwiftGraphQLUtils"
],
"type" : "test"
},
{
"c99name" : "SwiftGraphQLCodegen",
"module_type" : "SwiftTarget",
"name" : "SwiftGraphQLCodegen",
"path" : "Sources/SwiftGraphQLCodegen",
"product_dependencies" : [
"SwiftFormat",
"SwiftFormatConfiguration"
],
"product_memberships" : [
"SwiftGraphQLCodegen",
"swift-graphql"
],
"sources" : [
"Context.swift",
"Error.swift",
"Extensions/Collection+Extensions.swift",
"Extensions/Schema+Extensions.swift",
"Extensions/String+Extensions.swift",
"Generator.swift",
"Generator/Codable.swift",
"Generator/Enum.swift",
"Generator/Field.swift",
"Generator/Fragments.swift",
"Generator/InputObject.swift",
"Generator/Interface.swift",
"Generator/Object.swift",
"Generator/Operation.swift",
"Generator/Scalar.swift",
"Generator/Union.swift"
],
"target_dependencies" : [
"GraphQLAST",
"SwiftGraphQLUtils"
],
"type" : "library"
},
{
"c99name" : "SwiftGraphQLClient",
"module_type" : "SwiftTarget",
"name" : "SwiftGraphQLClient",
"path" : "Sources/SwiftGraphQLClient",
"product_dependencies" : [
"Logging"
],
"product_memberships" : [
"SwiftGraphQLClient"
],
"sources" : [
"Client/Config.swift",
"Client/Core.swift",
"Client/Operation.swift",
"Client/Selection.swift",
"Client/Spec.swift",
"Exchange.swift",
"Exchanges/AuthExchange.swift",
"Exchanges/CacheExchange.swift",
"Exchanges/ComposeExchange.swift",
"Exchanges/DebugExchange.swift",
"Exchanges/DedupExchange.swift",
"Exchanges/ErrorExchange.swift",
"Exchanges/ExtensionsExchange.swift",
"Exchanges/FallbackExchange.swift",
"Exchanges/FetchExchange.swift",
"Exchanges/WebSocketExchange.swift",
"Extensions/Publishers+Extensions.swift",
"Extensions/Selection+Extensions.swift"
],
"target_dependencies" : [
"GraphQL",
"GraphQLWebSocket",
"SwiftGraphQL"
],
"type" : "library"
},
{
"c99name" : "SwiftGraphQLCLI",
"module_type" : "SwiftTarget",
"name" : "SwiftGraphQLCLI",
"path" : "Sources/SwiftGraphQLCLI",
"product_dependencies" : [
"ArgumentParser",
"Files",
"Spinner",
"Yams"
],
"product_memberships" : [
"swift-graphql"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"SwiftGraphQLCodegen"
],
"type" : "executable"
},
{
"c99name" : "SwiftGraphQL",
"module_type" : "SwiftTarget",
"name" : "SwiftGraphQL",
"path" : "Sources/SwiftGraphQL",
"product_memberships" : [
"SwiftGraphQL",
"SwiftGraphQLClient"
],
"sources" : [
"Document/Argument.swift",
"Document/Field.swift",
"Document/Scalar.swift",
"Extensions/CodingKey+Typename.swift",
"Extensions/Collection+UniqueBy.swift",
"Extensions/Int+Hash.swift",
"Extensions/String+Indent.swift",
"HTTP.swift",
"Selection/Operation.swift",
"Selection/Selection+Codable.swift",
"Selection/Selection+Transform.swift",
"Selection/Selection+Utils.swift",
"Selection/Selection.swift",
"Serialization/Document.swift",
"Serialization/OptionalArgument.swift",
"WS.swift"
],
"target_dependencies" : [
"GraphQL",
"SwiftGraphQLUtils"
],
"type" : "library"
},
{
"c99name" : "GraphQLWebSocket",
"module_type" : "SwiftTarget",
"name" : "GraphQLWebSocket",
"path" : "Sources/GraphQLWebSocket",
"product_dependencies" : [
"Logging",
"Starscream"
],
"product_memberships" : [
"SwiftGraphQLClient",
"GraphQLWebSocket"
],
"sources" : [
"Client.swift",
"Config.swift",
"Extensions/WebSocket+Extensions.swift",
"Spec.swift"
],
"target_dependencies" : [
"GraphQL"
],
"type" : "library"
},
{
"c99name" : "GraphQLAST",
"module_type" : "SwiftTarget",
"name" : "GraphQLAST",
"path" : "Sources/GraphQLAST",
"product_memberships" : [
"SwiftGraphQLCodegen",
"swift-graphql",
"GraphQLAST"
],
"sources" : [
"Errors.swift",
"Introspection.swift",
"InvertedTypeRef.swift",
"Schema.swift",
"Type.swift",
"TypeRef.swift",
"Value.swift"
],
"type" : "library"
},
{
"c99name" : "GraphQL",
"module_type" : "SwiftTarget",
"name" : "GraphQL",
"path" : "Sources/GraphQL",
"product_memberships" : [
"SwiftGraphQL",
"SwiftGraphQLClient",
"GraphQL",
"GraphQLWebSocket"
],
"sources" : [
"AnyCodable/AnyCodable.swift",
"AnyCodable/AnyDecodable.swift",
"AnyCodable/AnyEncodable.swift",
"Error.swift",
"Execution.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/dominicegginton/Spinner
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/daltoniam/Starscream.git
Fetching https://github.com/JohnSundell/Files
Fetching https://github.com/apple/swift-format
[1/1236] Fetching files
[1237/5072] Fetching files, swift-log
[1468/6039] Fetching files, swift-log, spinner
[1488/11072] Fetching files, swift-log, spinner, starscream
[3981/23043] Fetching files, swift-log, spinner, starscream, swift-format
[5586/33332] Fetching files, swift-log, spinner, starscream, swift-format, yams
Fetched https://github.com/JohnSundell/Files from cache (0.54s)
Fetching https://github.com/apple/swift-argument-parser
[27569/32096] Fetching swift-log, spinner, starscream, swift-format, yams
Fetched https://github.com/daltoniam/Starscream.git from cache (0.61s)
[22639/27063] Fetching swift-log, spinner, swift-format, yams
Fetched https://github.com/apple/swift-log.git from cache (0.84s)
Fetched https://github.com/dominicegginton/Spinner from cache (0.84s)
[19894/22260] Fetching swift-format, yams
[22261/37210] Fetching swift-format, yams, swift-argument-parser
Fetched https://github.com/apple/swift-format from cache (1.39s)
Fetched https://github.com/jpsim/Yams.git from cache (1.47s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.10s)
Computing version for https://github.com/apple/swift-format
Computed https://github.com/apple/swift-format at 509.0.0 (2.48s)
Fetching https://github.com/apple/swift-markdown.git
Fetching https://github.com/apple/swift-syntax.git
[1/6557] Fetching swift-markdown
[6558/76802] Fetching swift-markdown, swift-syntax
Fetched https://github.com/apple/swift-markdown.git from cache (4.66s)
Fetched https://github.com/apple/swift-syntax.git from cache (4.73s)
Computing version for https://github.com/dominicegginton/Spinner
Computed https://github.com/dominicegginton/Spinner at 2.1.0 (5.36s)
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/IBM-Swift/BlueSignals.git
Fetching https://github.com/dominicegginton/Nanoseconds
[1/1196] Fetching rainbow
[731/1397] Fetching rainbow, nanoseconds
[1375/2051] Fetching rainbow, nanoseconds, bluesignals
Fetched https://github.com/dominicegginton/Nanoseconds from cache (0.27s)
Fetched https://github.com/onevcat/Rainbow from cache (0.28s)
Fetched https://github.com/IBM-Swift/BlueSignals.git from cache (0.28s)
Computing version for https://github.com/dominicegginton/Nanoseconds
Computed https://github.com/dominicegginton/Nanoseconds at 1.1.3 (0.86s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.1.0 (3.15s)
Computing version for https://github.com/daltoniam/Starscream.git
Computed https://github.com/daltoniam/Starscream.git at 4.0.8 (0.93s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.1.1 (1.24s)
Computing version for https://github.com/apple/swift-markdown.git
Computed https://github.com/apple/swift-markdown.git at 0.6.0 (0.93s)
Fetching https://github.com/swiftlang/swift-cmark.git
[1/18018] Fetching swift-cmark
Fetched https://github.com/swiftlang/swift-cmark.git from cache (1.56s)
Computing version for https://github.com/swiftlang/swift-cmark.git
Computed https://github.com/swiftlang/swift-cmark.git at 0.6.0 (2.49s)
Computing version for https://github.com/JohnSundell/Files
Computed https://github.com/JohnSundell/Files at 4.2.0 (1.12s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.97s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.3.1 (1.07s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.89s)
Computing version for https://github.com/IBM-Swift/BlueSignals.git
Computed https://github.com/IBM-Swift/BlueSignals.git at 1.0.200 (1.00s)
Creating working copy for https://github.com/daltoniam/Starscream.git
Working copy of https://github.com/daltoniam/Starscream.git resolved at 4.0.8
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.3
Creating working copy for https://github.com/apple/swift-markdown.git
Working copy of https://github.com/apple/swift-markdown.git resolved at 0.6.0
Creating working copy for https://github.com/dominicegginton/Spinner
Working copy of https://github.com/dominicegginton/Spinner resolved at 2.1.0
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 509.1.1
Creating working copy for https://github.com/swiftlang/swift-cmark.git
Working copy of https://github.com/swiftlang/swift-cmark.git resolved at 0.6.0
Creating working copy for https://github.com/JohnSundell/Files
Working copy of https://github.com/JohnSundell/Files resolved at 4.2.0
Creating working copy for https://github.com/IBM-Swift/BlueSignals.git
Working copy of https://github.com/IBM-Swift/BlueSignals.git resolved at 1.0.200
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.3.1
Creating working copy for https://github.com/apple/swift-format
Working copy of https://github.com/apple/swift-format resolved at 509.0.0
Creating working copy for https://github.com/dominicegginton/Nanoseconds
Working copy of https://github.com/dominicegginton/Nanoseconds resolved at 1.1.3
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/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.1.0
warning: 'starscream': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Info.plist
[1/1] Compiling plugin Lint Source Code
[2/2] Compiling plugin Format Source Code
[3/3] Compiling plugin GenerateManual
Building for debugging...
[3/98] Write sources
[19/98] Compiling CAtomic CAtomic.c
[20/98] Compiling cmark-gfm-extensions tagfilter.c
[21/98] Compiling reader.c
[22/98] Compiling cmark-gfm-extensions tasklist.c
[23/98] Compiling parser.c
[24/98] Compiling api.c
[25/98] Compiling cmark-gfm-extensions strikethrough.c
[26/98] Compiling cmark-gfm-extensions table.c
[27/98] Compiling cmark-gfm-extensions ext_scanners.c
[28/98] Compiling cmark-gfm-extensions core-extensions.c
[29/98] Compiling emitter.c
[30/98] Compiling cmark-gfm-extensions autolink.c
[31/98] Compiling cmark-gfm syntax_extension.c
[32/98] Compiling cmark-gfm xml.c
[33/98] Compiling cmark-gfm render.c
[34/98] Compiling cmark-gfm registry.c
[35/98] Write swift-version-24593BA9C3E375BF.txt
[36/98] Compiling cmark-gfm plugin.c
[37/98] Compiling cmark-gfm references.c
[38/98] Compiling cmark-gfm map.c
[38/98] Compiling cmark-gfm plaintext.c
[40/98] Compiling cmark-gfm utf8.c
[41/98] Compiling cmark-gfm node.c
[42/98] Compiling cmark-gfm man.c
[43/100] Compiling cmark-gfm linked_list.c
[44/115] Compiling cmark-gfm scanners.c
[45/121] Compiling cmark-gfm iterator.c
[46/121] Compiling cmark-gfm latex.c
[47/121] Compiling cmark-gfm inlines.c
[48/121] Compiling cmark-gfm html.c
[49/121] Compiling cmark-gfm houdini_html_e.c
[50/123] Compiling cmark-gfm houdini_html_u.c
[51/123] Compiling cmark-gfm houdini_href_e.c
[52/123] Compiling cmark-gfm footnotes.c
[53/123] Compiling cmark-gfm commonmark.c
[54/123] Compiling cmark-gfm cmark_ctype.c
[55/123] Compiling cmark-gfm cmark.c
[56/123] Compiling cmark-gfm buffer.c
[57/123] Compiling cmark-gfm arena.c
[58/123] Write sources
[59/123] Compiling cmark-gfm blocks.c
[60/123] Write sources
[66/123] Copying PrivacyInfo.xcprivacy
[68/129] Emitting module SwiftSyntax509
error: emit-module command failed with exit code 1 (use -v to see invocation)
[69/145] Emitting module Starscream
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
28 |
29 | import Foundation
30 | import zlib
| `- error: no such module 'zlib'
31 |
32 | public class WSCompression: CompressionHandler {
[70/147] Emitting module Files
[71/147] Emitting module ArgumentParserToolInfo
[72/147] Compiling ArgumentParserToolInfo ToolInfo.swift
[73/148] Emitting module GraphQL
[74/148] Compiling SwiftSyntax509 Empty.swift
[75/149] Write sources
[79/162] Emitting module Signals
[80/162] Emitting module Logging
[81/162] Compiling Logging Locks.swift
[82/162] Compiling Logging Logging.swift
[83/162] Compiling Logging LogHandler.swift
[84/162] Compiling Logging MetadataProvider.swift
[85/163] Compiling GraphQL Execution.swift
[87/163] Compiling GraphQLAST Schema.swift
[88/163] Emitting module SwiftGraphQLUtils
[89/163] Compiling SwiftGraphQLUtils String+Case.swift
[90/164] Compiling GraphQL Error.swift
[91/164] Compiling GraphQL AnyEncodable.swift
[92/164] Compiling GraphQLAST Errors.swift
[93/164] Compiling GraphQLAST Introspection.swift
/host/spi-builder-workspace/Sources/GraphQLAST/Introspection.swift:149:19: error: cannot find 'URLRequest' in scope
147 | func fetch(from endpoint: URL, withHeaders headers: [String: String] = [:]) throws -> Data {
148 | /* Compose a request. */
149 | var request = URLRequest(url: endpoint)
| `- error: cannot find 'URLRequest' in scope
150 |
151 | for header in headers {
/host/spi-builder-workspace/Sources/GraphQLAST/Introspection.swift:175:16: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
173 |
174 | /* Load the schema. */
175 | URLSession.shared.dataTask(with: request) { data, response, error in
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
176 | /* Check for errors. */
177 | if let error = error {
/host/spi-builder-workspace/Sources/GraphQLAST/Introspection.swift:189:51: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
187 | }
188 |
189 | guard (200 ... 299).contains(httpResponse.statusCode) else {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
190 | result = .failure(.statusCode(httpResponse.statusCode))
191 | semaphore.signal()
[94/164] Emitting module GraphQLAST
[95/164] Compiling Starscream FoundationHTTPHandler.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
28 |
29 | import Foundation
30 | import zlib
| `- error: no such module 'zlib'
31 |
32 | public class WSCompression: CompressionHandler {
[96/164] Compiling Starscream FoundationHTTPServerHandler.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
28 |
29 | import Foundation
30 | import zlib
| `- error: no such module 'zlib'
31 |
32 | public class WSCompression: CompressionHandler {
[97/164] Compiling Starscream FrameCollector.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
28 |
29 | import Foundation
30 | import zlib
| `- error: no such module 'zlib'
31 |
32 | public class WSCompression: CompressionHandler {
[98/164] Compiling GraphQLAST InvertedTypeRef.swift
[99/164] Compiling Rainbow ColorApproximation.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
28 |
29 | import Foundation
30 | import zlib
| `- error: no such module 'zlib'
31 |
32 | public class WSCompression: CompressionHandler {
[100/164] Compiling Rainbow ControlCode.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
28 |
29 | import Foundation
30 | import zlib
| `- error: no such module 'zlib'
31 |
32 | public class WSCompression: CompressionHandler {
[101/164] Compiling Rainbow ModesExtractor.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
28 |
29 | import Foundation
30 | import zlib
| `- error: no such module 'zlib'
31 |
32 | public class WSCompression: CompressionHandler {
[102/164] Compiling Starscream Framer.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
28 |
29 | import Foundation
30 | import zlib
| `- error: no such module 'zlib'
31 |
32 | public class WSCompression: CompressionHandler {
[103/164] Compiling Starscream HTTPHandler.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
28 |
29 | import Foundation
30 | import zlib
| `- error: no such module 'zlib'
31 |
32 | public class WSCompression: CompressionHandler {
[104/164] Compiling Starscream StringHTTPHandler.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
28 |
29 | import Foundation
30 | import zlib
| `- error: no such module 'zlib'
31 |
32 | public class WSCompression: CompressionHandler {
[105/164] Compiling Starscream FoundationSecurity.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
28 |
29 | import Foundation
30 | import zlib
| `- error: no such module 'zlib'
31 |
32 | public class WSCompression: CompressionHandler {
[106/164] Compiling Starscream Security.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
28 |
29 | import Foundation
30 | import zlib
| `- error: no such module 'zlib'
31 |
32 | public class WSCompression: CompressionHandler {
[107/164] Compiling Starscream Server.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
28 |
29 | import Foundation
30 | import zlib
| `- error: no such module 'zlib'
31 |
32 | public class WSCompression: CompressionHandler {
[108/164] Compiling Files Files.swift
[109/164] Compiling Starscream FoundationTransport.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
28 |
29 | import Foundation
30 | import zlib
| `- error: no such module 'zlib'
31 |
32 | public class WSCompression: CompressionHandler {
[110/164] Compiling Starscream TCPTransport.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
28 |
29 | import Foundation
30 | import zlib
| `- error: no such module 'zlib'
31 |
32 | public class WSCompression: CompressionHandler {
[111/164] Compiling Starscream WebSocketServer.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
28 |
29 | import Foundation
30 | import zlib
| `- error: no such module 'zlib'
31 |
32 | public class WSCompression: CompressionHandler {
[112/164] Compiling Starscream WebSocket.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
28 |
29 | import Foundation
30 | import zlib
| `- error: no such module 'zlib'
31 |
32 | public class WSCompression: CompressionHandler {
[113/164] Compiling GraphQLAST TypeRef.swift
[114/165] Compiling GraphQLAST Type.swift
[115/165] Compiling Starscream Transport.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
28 |
29 | import Foundation
30 | import zlib
| `- error: no such module 'zlib'
31 |
32 | public class WSCompression: CompressionHandler {
[116/165] Compiling Starscream resource_bundle_accessor.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
28 |
29 | import Foundation
30 | import zlib
| `- error: no such module 'zlib'
31 |
32 | public class WSCompression: CompressionHandler {
[117/165] Compiling GraphQLAST Value.swift
[119/165] Compiling GraphQL AnyCodable.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
warning: 'starscream': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Info.plist
[0/1] Planning build
[1/1] Compiling plugin Lint Source Code
[2/2] Compiling plugin Format Source Code
[3/3] Compiling plugin GenerateManual
Building for debugging...
[3/32] Write sources
[6/33] Compiling writer.c
[7/33] Compiling scanner.c
[8/33] Write swift-version-24593BA9C3E375BF.txt
[10/97] Emitting module SwiftGraphQLUtils
[11/97] Emitting module SwiftSyntax509
[12/97] Compiling SwiftSyntax509 Empty.swift
[14/98] Compiling Nanoseconds Now.swift
[15/98] Emitting module Nanoseconds
[16/98] Compiling Nanoseconds TimeInterval.swift
[17/99] Compiling Starscream FoundationTransport.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
28 |
29 | import Foundation
30 | import zlib
| `- error: no such module 'zlib'
31 |
32 | public class WSCompression: CompressionHandler {
[18/99] Compiling Starscream TCPTransport.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
28 |
29 | import Foundation
30 | import zlib
| `- error: no such module 'zlib'
31 |
32 | public class WSCompression: CompressionHandler {
[19/101] Compiling SwiftGraphQLUtils String+Case.swift
[20/101] Compiling Starscream WebSocketServer.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
28 |
29 | import Foundation
30 | import zlib
| `- error: no such module 'zlib'
31 |
32 | public class WSCompression: CompressionHandler {
[21/101] Compiling Starscream WebSocket.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
28 |
29 | import Foundation
30 | import zlib
| `- error: no such module 'zlib'
31 |
32 | public class WSCompression: CompressionHandler {
[22/101] Compiling Logging MetadataProvider.swift
[23/102] Emitting module Signals
[24/102] Compiling Signals Signals.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[25/102] Emitting module Starscream
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
28 |
29 | import Foundation
30 | import zlib
| `- error: no such module 'zlib'
31 |
32 | public class WSCompression: CompressionHandler {
[26/103] Emitting module Logging
[27/103] Compiling Starscream Transport.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
28 |
29 | import Foundation
30 | import zlib
| `- error: no such module 'zlib'
31 |
32 | public class WSCompression: CompressionHandler {
[28/103] Compiling Starscream resource_bundle_accessor.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
28 |
29 | import Foundation
30 | import zlib
| `- error: no such module 'zlib'
31 |
32 | public class WSCompression: CompressionHandler {
[29/103] Compiling Starscream FoundationSecurity.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
28 |
29 | import Foundation
30 | import zlib
| `- error: no such module 'zlib'
31 |
32 | public class WSCompression: CompressionHandler {
[30/103] Compiling Starscream Security.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
28 |
29 | import Foundation
30 | import zlib
| `- error: no such module 'zlib'
31 |
32 | public class WSCompression: CompressionHandler {
[31/103] Compiling Starscream Server.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
28 |
29 | import Foundation
30 | import zlib
| `- error: no such module 'zlib'
31 |
32 | public class WSCompression: CompressionHandler {
[32/103] Compiling Logging Locks.swift
[36/224] Compiling GraphQLAST Errors.swift
[37/224] Compiling Logging LogHandler.swift
[38/224] Compiling Logging Logging.swift
[39/225] Compiling GraphQLAST InvertedTypeRef.swift
[40/225] Compiling GraphQLAST Introspection.swift
/host/spi-builder-workspace/Sources/GraphQLAST/Introspection.swift:149:19: error: cannot find 'URLRequest' in scope
147 | func fetch(from endpoint: URL, withHeaders headers: [String: String] = [:]) throws -> Data {
148 | /* Compose a request. */
149 | var request = URLRequest(url: endpoint)
| `- error: cannot find 'URLRequest' in scope
150 |
151 | for header in headers {
/host/spi-builder-workspace/Sources/GraphQLAST/Introspection.swift:175:16: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
173 |
174 | /* Load the schema. */
175 | URLSession.shared.dataTask(with: request) { data, response, error in
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
176 | /* Check for errors. */
177 | if let error = error {
/host/spi-builder-workspace/Sources/GraphQLAST/Introspection.swift:189:51: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
187 | }
188 |
189 | guard (200 ... 299).contains(httpResponse.statusCode) else {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
190 | result = .failure(.statusCode(httpResponse.statusCode))
191 | semaphore.signal()
[42/225] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
28 |
29 | import Foundation
30 | import zlib
| `- error: no such module 'zlib'
31 |
32 | public class WSCompression: CompressionHandler {
[43/225] Compiling SwiftSyntax Syntax.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
28 |
29 | import Foundation
30 | import zlib
| `- error: no such module 'zlib'
31 |
32 | public class WSCompression: CompressionHandler {
[44/225] Compiling SwiftSyntax SyntaxArena.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
28 |
29 | import Foundation
30 | import zlib
| `- error: no such module 'zlib'
31 |
32 | public class WSCompression: CompressionHandler {
[45/225] Compiling SwiftSyntax CommonAncestor.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
28 |
29 | import Foundation
30 | import zlib
| `- error: no such module 'zlib'
31 |
32 | public class WSCompression: CompressionHandler {
[46/225] Compiling SwiftSyntax Convenience.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
28 |
29 | import Foundation
30 | import zlib
| `- error: no such module 'zlib'
31 |
32 | public class WSCompression: CompressionHandler {
[47/225] Compiling SwiftSyntax MemoryLayout.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
28 |
29 | import Foundation
30 | import zlib
| `- error: no such module 'zlib'
31 |
32 | public class WSCompression: CompressionHandler {
[48/225] Compiling SwiftSyntax AbsolutePosition.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
28 |
29 | import Foundation
30 | import zlib
| `- error: no such module 'zlib'
31 |
32 | public class WSCompression: CompressionHandler {
[49/225] Compiling SwiftSyntax Assert.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
28 |
29 | import Foundation
30 | import zlib
| `- error: no such module 'zlib'
31 |
32 | public class WSCompression: CompressionHandler {
[50/225] Compiling SwiftSyntax BumpPtrAllocator.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
28 |
29 | import Foundation
30 | import zlib
| `- error: no such module 'zlib'
31 |
32 | public class WSCompression: CompressionHandler {
[51/225] Emitting module GraphQLAST
[52/225] Compiling GraphQLAST Schema.swift
[53/225] Compiling GraphQL Error.swift
[54/225] Emitting module GraphQL
[55/225] Compiling Markdown BasicBlockContainer.swift
[56/225] Compiling Markdown BasicInlineContainer.swift
[57/225] Compiling Markdown BlockContainer.swift
[58/225] Compiling Markdown BlockMarkup.swift
[59/225] Compiling Markdown InlineContainer.swift
[60/225] Compiling Markdown InlineMarkup.swift
[61/225] Compiling Markdown ListItemContainer.swift
[62/225] Compiling Markdown AtomicCounter.swift
[63/233] Compiling GraphQLAST Value.swift
[64/235] Compiling GraphQL Execution.swift
[65/235] Compiling GraphQL AnyCodable.swift
[66/235] Compiling GraphQL AnyEncodable.swift
[67/235] Compiling GraphQL AnyDecodable.swift
[68/235] Compiling GraphQLAST TypeRef.swift
[70/236] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[71/236] Compiling SwiftSyntax SyntaxBaseNodes.swift
[72/236] Compiling SwiftSyntax SyntaxVisitor.swift
[73/236] Compiling SwiftSyntax TokenKind.swift
[74/236] Compiling SwiftSyntax Tokens.swift
[75/236] Compiling SwiftSyntax TriviaPieces.swift
[76/236] Compiling SwiftSyntax RawSyntaxNodes.swift
[77/236] Compiling SwiftSyntax RawSyntaxValidation.swift
[78/236] Compiling Markdown Text.swift
[85/236] Compiling SwiftSyntax MissingNodeInitializers.swift
[86/242] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[87/242] Compiling SwiftSyntax RawSyntaxTokenView.swift
[88/242] Compiling SwiftSyntax SourceLength.swift
[89/242] Compiling SwiftSyntax SourceLocation.swift
[90/242] Compiling SwiftSyntax SourcePresence.swift
[94/242] Compiling SwiftSyntax SyntaxChildren.swift
[95/244] Compiling GraphQLAST Type.swift
[96/244] Emitting module Files
BUILD FAILURE 6.1 linux