The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build swift-graphql, reference 5.1.3 (24a446), with Swift 6.0 for Linux on 1 Dec 2024 01:05:07 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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

Build Log

========================================
RunAll
========================================
Builder version: 4.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/maticzav/swift-graphql.git
Reference: 5.1.3
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
 * tag               5.1.3      -> FETCH_HEAD
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 5.1.3
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/maticzav/swift-graphql.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/daltoniam/Starscream.git
Fetching https://github.com/apple/swift-format
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/JohnSundell/Files
Fetching https://github.com/dominicegginton/Spinner
[1/1231] Fetching files
[51/2198] Fetching files, spinner
[1407/7100] Fetching files, spinner, starscream
[1702/10823] Fetching files, spinner, starscream, swift-log
[3906/21471] Fetching files, spinner, starscream, swift-log, swift-format
[5927/31407] Fetching files, spinner, starscream, swift-log, swift-format, yams
Fetched https://github.com/JohnSundell/Files from cache (0.31s)
[11071/30176] Fetching spinner, starscream, swift-log, swift-format, yams
Fetched https://github.com/dominicegginton/Spinner from cache (0.31s)
[10953/29209] Fetching starscream, swift-log, swift-format, yams
Fetching https://github.com/apple/swift-argument-parser
Fetched https://github.com/daltoniam/Starscream.git from cache (0.61s)
[21128/24307] Fetching swift-log, swift-format, yams
[24308/36702] Fetching swift-log, swift-format, yams, swift-argument-parser
Fetched https://github.com/apple/swift-log.git from cache (0.96s)
Fetched https://github.com/apple/swift-format from cache (0.96s)
Fetched https://github.com/jpsim/Yams.git from cache (1.00s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.75s)
Computing version for https://github.com/apple/swift-format
Computed https://github.com/apple/swift-format at 509.0.0 (0.49s)
Fetching https://github.com/apple/swift-markdown.git
Fetching https://github.com/apple/swift-syntax.git
[1/6321] Fetching swift-markdown
Fetched https://github.com/apple/swift-markdown.git from cache (0.45s)
[1/66685] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (3.76s)
Computing version for https://github.com/dominicegginton/Spinner
Computed https://github.com/dominicegginton/Spinner at 2.1.0 (0.42s)
Fetching https://github.com/IBM-Swift/BlueSignals.git
Fetching https://github.com/dominicegginton/Nanoseconds
Fetching https://github.com/onevcat/Rainbow
[1/201] Fetching nanoseconds
[202/855] Fetching nanoseconds, bluesignals
[366/1981] Fetching nanoseconds, bluesignals, rainbow
Fetched https://github.com/onevcat/Rainbow from cache (0.22s)
Fetched https://github.com/dominicegginton/Nanoseconds from cache (0.22s)
Fetched https://github.com/IBM-Swift/BlueSignals.git from cache (0.22s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.0.1 (1.79s)
Computing version for https://github.com/dominicegginton/Nanoseconds
Computed https://github.com/dominicegginton/Nanoseconds at 1.1.3 (0.42s)
Computing version for https://github.com/daltoniam/Starscream.git
Computed https://github.com/daltoniam/Starscream.git at 4.0.8 (0.44s)
Computing version for https://github.com/apple/swift-markdown.git
Computed https://github.com/apple/swift-markdown.git at 0.5.0 (0.47s)
Fetching https://github.com/apple/swift-cmark.git
[1/17912] Fetching swift-cmark
Fetched https://github.com/apple/swift-cmark.git from cache (0.75s)
Computing version for https://github.com/apple/swift-cmark.git
Computed https://github.com/apple/swift-cmark.git at 0.5.0 (0.43s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.1.1 (0.56s)
Computing version for https://github.com/JohnSundell/Files
Computed https://github.com/JohnSundell/Files at 4.2.0 (0.42s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.39s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.1.3 (0.43s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.2 (0.37s)
Computing version for https://github.com/IBM-Swift/BlueSignals.git
Computed https://github.com/IBM-Swift/BlueSignals.git at 1.0.200 (0.42s)
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.0.1
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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.2
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.1.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.5.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/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-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-cmark.git
Working copy of https://github.com/apple/swift-cmark.git resolved at 0.5.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/apple/swift-format
Working copy of https://github.com/apple/swift-format resolved at 509.0.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/JohnSundell/Files
Working copy of https://github.com/JohnSundell/Files resolved at 4.2.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 Format Source Code
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin Lint Source Code
Building for debugging...
[3/98] Write sources
[22/98] Compiling writer.c
[23/98] Compiling reader.c
[24/98] Compiling cmark-gfm-extensions tasklist.c
[25/98] Compiling parser.c
[26/98] Compiling cmark-gfm-extensions tagfilter.c
[27/98] Compiling api.c
[28/98] Compiling cmark-gfm-extensions strikethrough.c
[29/98] Compiling cmark-gfm-extensions ext_scanners.c
[30/98] Compiling cmark-gfm xml.c
[31/98] Compiling cmark-gfm-extensions core-extensions.c
[32/98] Compiling cmark-gfm-extensions table.c
[33/98] Compiling emitter.c
[34/98] Compiling cmark-gfm-extensions autolink.c
[35/98] Write swift-version-24593BA9C3E375BF.txt
[35/98] Compiling cmark-gfm syntax_extension.c
[37/98] Compiling cmark-gfm render.c
[38/98] Compiling scanner.c
[39/98] Compiling cmark-gfm registry.c
[40/98] Compiling cmark-gfm references.c
[41/98] Compiling cmark-gfm plugin.c
[42/98] Compiling cmark-gfm plaintext.c
[43/98] Compiling cmark-gfm utf8.c
[44/136] Compiling cmark-gfm scanners.c
[46/150] Emitting module Rainbow
[47/151] Compiling Logging LogHandler.swift
[48/151] Compiling Rainbow BackgroundColor.swift
[49/151] Compiling Rainbow CodesParser.swift
[50/151] Emitting module GraphQL
[51/151] Compiling GraphQL AnyCodable.swift
[52/151] Compiling Rainbow String+Rainbow.swift
[53/151] Compiling Rainbow StringGenerator.swift
[54/151] Compiling Rainbow ControlCode.swift
[55/151] Compiling Rainbow ModesExtractor.swift
[56/151] Emitting module GraphQLAST
[57/152] Compiling Yams Node.Scalar.swift
[58/152] Compiling Yams Node.Sequence.swift
[59/152] Compiling Rainbow Style.swift
[60/152] Emitting module Logging
[61/152] Compiling Logging Locks.swift
[62/152] Compiling Logging MetadataProvider.swift
[63/152] Compiling Logging Logging.swift
[65/155] Compiling Rainbow Color.swift
[66/155] Compiling Rainbow ColorApproximation.swift
[67/155] Compiling Signals Signals.swift
[68/155] Emitting module Signals
[69/156] Compiling GraphQL Execution.swift
[70/156] Emitting module Files
[71/156] Compiling Files Files.swift
[72/157] Compiling Nanoseconds TimeInterval.swift
[73/157] Emitting module Nanoseconds
[74/157] Compiling Nanoseconds Now.swift
[75/158] Compiling GraphQLAST Errors.swift
[76/158] Compiling GraphQLAST InvertedTypeRef.swift
[77/158] Compiling GraphQLAST Value.swift
[80/158] Compiling GraphQLAST Type.swift
[81/158] Compiling GraphQLAST TypeRef.swift
[82/158] Emitting module SwiftGraphQLUtils
[83/158] Compiling SwiftGraphQLUtils String+Case.swift
[84/158] 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()
[85/158] Compiling GraphQLAST Schema.swift
[86/158] Compiling Rainbow Rainbow.swift
[87/158] Compiling Yams String+Yams.swift
[88/158] Compiling Yams Tag.swift
[92/159] Compiling Rainbow OutputTarget.swift
[93/160] Compiling GraphQL AnyDecodable.swift
[93/160] Compiling cmark-gfm node.c
[94/160] Compiling GraphQL AnyEncodable.swift
BUILD FAILURE 6.0 linux