The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Superhighway with Swift 5.7 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.7-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rhysforyou/Superhighway.git
Reference: 2.0.1
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 2.0.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.7
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.7-latest swift build 2>&1
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-docc-symbolkit
[1/1371] Fetching swift-docc-plugin
[673/3434] Fetching swift-docc-plugin, swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-symbolkit (0.35s)
Fetched https://github.com/apple/swift-docc-plugin (0.35s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.2.0 (0.25s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.26s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.2.0
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
Compiling plugin Swift-DocC...
Compiling plugin Swift-DocC Preview...
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)[1/3] Compiling Superhighway Endpoint.swift
[2/3] 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 {
       ^         ~~~~~~~~~~
[3/3] 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.7 linux

Build Machine: Linux 1