The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Reachability with Swift 5.8 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.34.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ashleymills/Reachability.swift.git
Reference: v5.2.2
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/ashleymills/Reachability.swift
 * tag               v5.2.2     -> FETCH_HEAD
HEAD is now at 57da4b1 Update ReachabilitySwift.podspec
Cloned https://github.com/ashleymills/Reachability.swift.git
Revision (git rev-parse @):
57da4b1270cab7c2228919eabc0e4e1bf93e48ea
SUCCESS checkout https://github.com/ashleymills/Reachability.swift.git at v5.2.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.8
Building package at path:  $workDir
https://github.com/ashleymills/Reachability.swift.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Tests/Info.plist
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/Info.plist
Building for debugging...
[0/1] Copying PrivacyInfo.xcprivacy
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/4] Emitting module Reachability
/host/spi-builder-workspace/Sources/Reachability.swift:28:8: error: no such module 'SystemConfiguration'
import SystemConfiguration
       ^
[3/4] Compiling Reachability Reachability.swift
/host/spi-builder-workspace/Sources/Reachability.swift:28:8: error: no such module 'SystemConfiguration'
import SystemConfiguration
       ^
[4/4] Compiling Reachability resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/Reachability.swift:28:8: error: no such module 'SystemConfiguration'
import SystemConfiguration
       ^
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Tests/Info.plist
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/Info.plist
[0/1] Planning build
Building for debugging...
[1/3] Compiling Reachability resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/Reachability.swift:28:8: error: no such module 'SystemConfiguration'
import SystemConfiguration
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/3] Emitting module Reachability
/host/spi-builder-workspace/Sources/Reachability.swift:28:8: error: no such module 'SystemConfiguration'
import SystemConfiguration
       ^
[3/3] Compiling Reachability Reachability.swift
/host/spi-builder-workspace/Sources/Reachability.swift:28:8: error: no such module 'SystemConfiguration'
import SystemConfiguration
       ^
BUILD FAILURE 5.8 linux

Build Machine: Linux 2