The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Superhighway with Swift 5.8 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.21.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rhysforyou/Superhighway.git
Reference: main
Cloned https://github.com/rhysforyou/Superhighway.git into spi-builder-workspace
SPI manifest file found: spi-builder-workspace/.spi.yml
SUCCESS checkout https://github.com/rhysforyou/Superhighway.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.8
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-docc-symbolkit
[1/139] Fetching swift-http-types
[140/2233] Fetching swift-http-types, swift-docc-symbolkit
[182/3656] Fetching swift-http-types, swift-docc-symbolkit, swift-docc-plugin
Fetched https://github.com/apple/swift-docc-symbolkit (0.34s)
Fetched https://github.com/apple/swift-http-types.git (0.38s)
Fetched https://github.com/apple/swift-docc-plugin (0.39s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.3.0 (0.28s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 0.2.0 (0.26s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.30s)
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.0.0
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 0.2.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.3.0
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[3/12] Compiling HTTPTypes ISOLatin1String.swift
[4/12] Emitting module HTTPTypes
[5/12] Compiling HTTPTypes HTTPResponse.swift
[6/12] Compiling HTTPTypes HTTPRequest.swift
[7/12] Compiling HTTPTypes HTTPFieldName.swift
[8/12] Compiling HTTPTypes HTTPField.swift
[9/12] Compiling HTTPTypes HTTPFields.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/14] Compiling Superhighway Endpoint.swift
[13/14] Emitting module Superhighway
/host/spi-builder-workspace/Sources/Superhighway/URLSession+Endpoint.swift:3:8: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
public extension URLSession {
       ^         ~~~~~~~~~~
[14/14] Compiling Superhighway URLSession+Endpoint.swift
/host/spi-builder-workspace/Sources/Superhighway/URLSession+Endpoint.swift:3:8: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
public extension URLSession {
       ^         ~~~~~~~~~~
BUILD FAILURE 5.8 linux

Build Machine: Linux 1