The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PaperMC, reference 0.0.9 (5ed83c), with Swift 6.4 for Linux on 28 Sep 2026 04:04:04 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344845-0":/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: 0.0.9
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
 * tag               0.0.9      -> FETCH_HEAD
HEAD is now at 5ed83c8 format code and change download plugin to file unit test;
Cloned https://github.com/OrzMC/PaperMC.git
Revision (git rev-parse @):
5ed83c80d6a3fef34deae4bac2a5734a1db62cf1
SUCCESS checkout https://github.com/OrzMC/PaperMC.git at 0.0.9
========================================
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-0":/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-runtime.git
Fetching https://github.com/apple/swift-openapi-generator.git
[1/1183] Fetching swift-openapi-urlsession
[1184/8141] Fetching swift-openapi-urlsession, swift-openapi-runtime
Fetched https://github.com/apple/swift-openapi-urlsession.git (0.59s)
[1/18436] Fetching swift-openapi-generator
Fetched https://github.com/apple/swift-openapi-runtime.git (0.94s)
Fetched https://github.com/apple/swift-openapi-generator.git (0.95s)
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.11s)
Fetching https://github.com/apple/swift-http-types
Fetching https://github.com/apple/swift-collections
[1/1939] Fetching swift-http-types
[1940/29718] Fetching swift-http-types, swift-collections
Fetched https://github.com/apple/swift-http-types (1.24s)
Fetched https://github.com/apple/swift-collections (1.25s)
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.46s)
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.25s)
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-algorithms
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/mattpolzin/OpenAPIKit
[1/6159] Fetching swift-algorithms
[6160/18020] Fetching swift-algorithms, yams
[11972/36967] Fetching swift-algorithms, yams, swift-argument-parser
[36968/212134] Fetching swift-algorithms, yams, swift-argument-parser, openapikit
Fetched https://github.com/apple/swift-algorithms (5.23s)
Fetched https://github.com/apple/swift-argument-parser (5.24s)
Fetched https://github.com/jpsim/Yams (5.25s)
Fetched https://github.com/mattpolzin/OpenAPIKit (5.30s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.2.1 (6.64s)
Fetching https://github.com/apple/swift-numerics.git
[1/6640] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git (0.56s)
Computing version for https://github.com/mattpolzin/OpenAPIKit
Computed https://github.com/mattpolzin/OpenAPIKit at 6.4.0 (0.74s)
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.21s)
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.28s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 6.2.2 (0.14s)
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-algorithms
Working copy of https://github.com/apple/swift-algorithms resolved at 1.2.1
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/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-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.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/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 6.2.2
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
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 746]
[Planning deferred tasks]
[146 / 293] CYaml
[154 / 338] CYaml
[159 / 338] Yams
[159 / 338] RealModule
[171 / 338] Yams
[172 / 338] InternalCollectionsUtilities
[188 / 338] Yams-product
[190 / 338] HTTPTypes
[192 / 338] HTTPTypes
[196 / 338] RealModule-product
[198 / 338] RealModule
[201 / 338] RealModule
[203 / 338] OpenAPIKitCore
[205 / 339] RealModule
[206 / 339] RealModule
[210 / 339] OpenAPIKitCore
[214 / 340] Yams
[217 / 340] Yams
[220 / 340] InternalCollectionsUtilities
[222 / 340] InternalCollectionsUtilities
[224 / 340] HTTPTypes
[226 / 340] HTTPTypes-product
[228 / 341] OpenAPIKitCore
[229 / 341] OpenAPIRuntime
[231 / 341] OpenAPIRuntime
[232 / 341] CYaml
[233 / 341] ArgumentParserToolInfo
[234 / 341]
[236 / 342] RealModule
[239 / 346] SpanPreview
[246 / 347] CYaml
[250 / 359] OpenAPIRuntime
[255 / 368] OpenAPIRuntime
[256 / 377] OpenAPIKit
[258 / 379] OpenAPIRuntime
[259 / 380] OpenAPIRuntime
[266 / 380] OpenAPIKit30
[272 / 380] OpenAPIKit30
[273 / 380] OpenAPIKit30
[273 / 380] OpenAPIRuntime
[278 / 380] OpenAPIKit
[283 / 380] OpenAPIKit30
[284 / 380] OpenAPIKit30
[285 / 380] OpenAPIKit
[286 / 381] OpenAPIRuntime
[288 / 381] OpenAPIRuntime
[290 / 381] OpenAPIKit30
[291 / 381] OpenAPIKit30
[293 / 381] OpenAPIKit
[294 / 381] OpenAPIKit
[295 / 381] InternalCollectionsUtilities
[297 / 381] InternalCollectionsUtilities
[300 / 381] HTTPTypes
[303 / 381]
[306 / 387] ArgumentParser
[309 / 387] OpenAPIKitCompat
[317 / 406] Algorithms
[319 / 406] ArgumentParser
[321 / 406] OpenAPIKit30
[325 / 407] ArgumentParser
[331 / 407] ArgumentParser
[332 / 407] OpenAPIKitCompat
[333 / 407] ArgumentParser-product
[334 / 407] ArgumentParser
[336 / 407] Algorithms
[337 / 407] Algorithms
[337 / 407] ArgumentParser
[340 / 407] Algorithms
[342 / 407] Algorithms
[347 / 408] ArgumentParser
[349 / 408] Algorithms-product
[350 / 409] OpenAPIKit30
[351 / 418] OpenAPIKit30
[353 / 418] Algorithms
[355 / 418] DequeModule
[356 / 418] DequeModule
[357 / 418] DequeModule
[359 / 418] DequeModule
[359 / 418] ArgumentParserToolInfo
[362 / 424] _OpenAPIGeneratorCore
[365 / 424] Common
[371 / 434] _OpenAPIGeneratorCore
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