The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PaperMC, reference main (19ae5a), with Swift 6.4 for Linux on 28 Sep 2026 04:04:05 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344845-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/OrzMC/PaperMC.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/OrzMC/PaperMC
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 19ae5af chore: add Apache-2.0 LICENSE
Cloned https://github.com/OrzMC/PaperMC.git
Revision (git rev-parse @):
19ae5af4452d04d84342f83748aa873a8e2de3f0
SUCCESS checkout https://github.com/OrzMC/PaperMC.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.4
Building package at path:  $PWD
https://github.com/OrzMC/PaperMC.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
warning: 'spi-builder-workspace': /host/spi-builder-workspace/Package.swift:13:19: warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
11 |         .iOS(.v12),
12 |         .tvOS(.v12),
13 |         .watchOS(.v4),
   |                   `- warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
14 |         .visionOS(.v1),
15 |     ],
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Fetching https://github.com/apple/swift-openapi-urlsession.git
Fetching https://github.com/apple/swift-openapi-generator.git
Fetching https://github.com/apple/swift-openapi-runtime.git
[1/1183] Fetching swift-openapi-urlsession
Fetched https://github.com/apple/swift-openapi-urlsession.git (0.49s)
[1/6958] Fetching swift-openapi-runtime
Fetched https://github.com/apple/swift-openapi-runtime.git (0.61s)
[1/18436] Fetching swift-openapi-generator
Fetched https://github.com/apple/swift-openapi-generator.git (0.89s)
Computing version for https://github.com/apple/swift-openapi-urlsession.git
Computed https://github.com/apple/swift-openapi-urlsession.git at 1.3.1 (2.02s)
Fetching https://github.com/apple/swift-collections
Fetching https://github.com/apple/swift-http-types
[1/1939] Fetching swift-http-types
[1940/29718] Fetching swift-http-types, swift-collections
Fetched https://github.com/apple/swift-http-types (1.20s)
Fetched https://github.com/apple/swift-collections (1.21s)
Computing version for https://github.com/apple/swift-openapi-runtime.git
Computed https://github.com/apple/swift-openapi-runtime.git at 1.12.1 (1.40s)
Computing version for https://github.com/apple/swift-openapi-generator.git
Computed https://github.com/apple/swift-openapi-generator.git at 1.13.1 (0.24s)
Fetching https://github.com/apple/swift-algorithms
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/mattpolzin/OpenAPIKit
[1/11861] Fetching yams
[239/18020] Fetching yams, swift-algorithms
[6615/36967] Fetching yams, swift-algorithms, swift-argument-parser
Fetched https://github.com/apple/swift-algorithms (1.13s)
Fetched https://github.com/apple/swift-argument-parser (1.13s)
Fetched https://github.com/jpsim/Yams (1.14s)
[1/175167] Fetching openapikit
Fetched https://github.com/mattpolzin/OpenAPIKit (5.50s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.2.1 (6.57s)
Fetching https://github.com/apple/swift-numerics.git
[1/6640] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git (0.62s)
Computing version for https://github.com/mattpolzin/OpenAPIKit
Computed https://github.com/mattpolzin/OpenAPIKit at 6.4.0 (0.79s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.15s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.8.0 (0.20s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.16s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.7.1 (0.32s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 6.2.2 (0.15s)
Creating working copy for https://github.com/mattpolzin/OpenAPIKit
Working copy of https://github.com/mattpolzin/OpenAPIKit resolved at 6.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.8.2
Creating working copy for https://github.com/apple/swift-openapi-runtime.git
Working copy of https://github.com/apple/swift-openapi-runtime.git resolved at 1.12.1
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.7.1
Creating working copy for https://github.com/apple/swift-algorithms
Working copy of https://github.com/apple/swift-algorithms resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-http-types
Working copy of https://github.com/apple/swift-http-types resolved at 1.8.0
Creating working copy for https://github.com/apple/swift-openapi-generator.git
Working copy of https://github.com/apple/swift-openapi-generator.git resolved at 1.13.1
Creating working copy for https://github.com/apple/swift-openapi-urlsession.git
Working copy of https://github.com/apple/swift-openapi-urlsession.git resolved at 1.3.1
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 6.2.2
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 746]
[Planning deferred tasks]
[Starting]
[139 / 288]
[153 / 329] CYaml
[154 / 338] CYaml
[157 / 338] ArgumentParserToolInfo
[165 / 338] Yams
[166 / 338] RealModule
[168 / 338] RealModule
[178 / 338] HTTPTypes
[185 / 338] HTTPTypes
[194 / 338] Yams-product
[196 / 338] Yams-product
[198 / 338] RealModule
[199 / 338] RealModule-product
[200 / 338] RealModule-product
[201 / 338] RealModule-product
[204 / 338] OpenAPIKitCore
[205 / 339] RealModule
[208 / 339] RealModule
[212 / 339] OpenAPIKitCore
[214 / 339] Yams
[216 / 340] Yams
[218 / 340] Yams
[221 / 340] InternalCollectionsUtilities
[224 / 340] HTTPTypes-product
[225 / 340] HTTPTypes-product
[228 / 341] OpenAPIRuntime
[231 / 341] OpenAPIKitCore
[233 / 341] ArgumentParserToolInfo
[234 / 341] _NumericsShims
[237 / 346] RealModule
[240 / 346] SpanPreview
[249 / 349] DequeModule
[253 / 351] SpanPreview
[255 / 353] RealModule
[259 / 363] OpenAPIRuntime
[263 / 399] OpenAPIKit
[263 / 400] OpenAPIKit30
[264 / 400] OpenAPIRuntime
[267 / 400] OpenAPIKit30
[276 / 400] OpenAPIRuntime-product
[283 / 400] OpenAPIRuntime
[284 / 400] OpenAPIKit
[287 / 400] OpenAPIKit
[291 / 400] OpenAPIKit30-product
[293 / 400] Algorithms
[295 / 400] Algorithms
[300 / 400] OpenAPIKit30
[301 / 400] OpenAPIKit30
[302 / 401] OpenAPIRuntime
[304 / 401] OpenAPIKit30
[306 / 401] OpenAPIKit
[307 / 401] OpenAPIKitCompat
[309 / 401] OpenAPIKit-product
[311 / 401] OpenAPIKit
[312 / 401] HTTPTypes
[314 / 402] HTTPTypes
[317 / 402] OpenAPIKit30
[319 / 402] ArgumentParser
[320 / 402] ArgumentParserToolInfo
[321 / 402] ArgumentParserToolInfo
[323 / 402] ArgumentParserToolInfo
[324 / 402] OpenAPIKit
[326 / 402] ArgumentParser
[327 / 402] ArgumentParser
[328 / 402] Algorithms
[329 / 402] Algorithms
[329 / 402] OpenAPIKit
[331 / 402] Algorithms
[332 / 402] Algorithms
[334 / 402] Algorithms-product
[335 / 402] Algorithms-product
[336 / 403] Algorithms
[337 / 403] HTTPTypes
[341 / 412] Algorithms
[342 / 412] DequeModule
[345 / 412] DequeModule
[347 / 414] OpenAPIKit
[353 / 416] OpenAPIKitCompat
[355 / 419] OpenAPIKit
[357 / 419] OpenAPIKit
[366 / 420]
[369 / 425] OpenAPIKit
[372 / 434] Common
error: SwiftCompile normal x86_64 /host/spi-builder-workspace/Sources/Common/SimpleDownloader.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile SimpleDownloader.swift
/host/spi-builder-workspace/Sources/Common/SimpleDownloader.swift:3:50: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 1 | import Foundation
 2 | public func downloadFileWithBuffer(from url: URL, bufferSize: Int = 512 * 1024) async throws -> (stream: AsyncStream<Result<Data, Error>>, size: Int64) {
 3 |     let (bytes, response) = try await URLSession.shared.bytes(from: url)
   |                                                  `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 4 |
 5 |     guard let httpResponse = response as? HTTPURLResponse,
Failed frontend command:
/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/Common/ISO8601DateTranscoder.swift -primary-file /host/spi-builder-workspace/Sources/Common/SimpleDownloader.swift /host/spi-builder-workspace/Sources/Common/TimestampParser.swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/PaperMC.build/Debug-linux-x86_64/Common-t.build/Objects-normal/x86_64/SimpleDownloader.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/PaperMC.build/Debug-linux-x86_64/Common-t.build/Objects-normal/x86_64/SimpleDownloader.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/PaperMC.build/Debug-linux-x86_64/Common-t.build/Objects-normal/x86_64/SimpleDownloader.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/PaperMC.build/Debug-linux-x86_64/Common-t.build/Objects-normal/x86_64/SimpleDownloader.dia -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/PaperMC.build/Debug-linux-x86_64/Common-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/PaperMC.build/Debug-linux-x86_64/Common-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/PaperMC.build/Debug-linux-x86_64/Common-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Common -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/PaperMC.build/Debug-linux-x86_64/Common-t.build/Objects-normal/x86_64/Common_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/PaperMC.build/Debug-linux-x86_64/Common-t.build/Objects-normal/x86_64/SimpleDownloader.o -index-unit-output-path /PaperMC.build/Debug-linux-x86_64/Common-t.build/Objects-normal/x86_64/SimpleDownloader.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 linux