The Swift Package Index logo.Swift Package Index

Build Information

Failed to build CompassCardDownloader with Swift 5.9 for Linux.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.33.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Nef10/CompassCardDownloader.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/Nef10/CompassCardDownloader
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at b77d0fe Bump setup-swift from 1.26.0 to 2.0.0
Cloned https://github.com/Nef10/CompassCardDownloader.git
Revision (git rev-parse @):
b77d0fe4f5e4f5d361d378c21fcb23156e778cf6
SUCCESS checkout https://github.com/Nef10/CompassCardDownloader.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $workDir
https://github.com/Nef10/CompassCardDownloader.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Unable to find image 'registry.gitlab.com/finestructure/spi-images:basic-5.9-latest' locally
basic-5.9-latest: Pulling from finestructure/spi-images
23828d760c7b: Already exists
c9d90eba6838: Already exists
95b35ff91631: Pulling fs layer
dd73e1bbb5e3: Pulling fs layer
02c9008fa56f: Pulling fs layer
1520ccd5be99: Pulling fs layer
1520ccd5be99: Waiting
dd73e1bbb5e3: Verifying Checksum
dd73e1bbb5e3: Download complete
1520ccd5be99: Verifying Checksum
1520ccd5be99: Download complete
02c9008fa56f: Verifying Checksum
02c9008fa56f: Download complete
95b35ff91631: Verifying Checksum
95b35ff91631: Download complete
95b35ff91631: Pull complete
dd73e1bbb5e3: Pull complete
02c9008fa56f: Pull complete
1520ccd5be99: Pull complete
Digest: sha256:11af9f4d4862bda19f66123d758fd9c470b11c53051c1829b829a16a56ac2218
Status: Downloaded newer image for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Fetching https://github.com/Nef10/SwiftScraper.git
[1/1227] Fetching swiftscraper
Fetched https://github.com/Nef10/SwiftScraper.git (0.25s)
Computing version for https://github.com/Nef10/SwiftScraper.git
Computed https://github.com/Nef10/SwiftScraper.git at 0.6.0 (0.90s)
Creating working copy for https://github.com/Nef10/SwiftScraper.git
Working copy of https://github.com/Nef10/SwiftScraper.git resolved at 0.6.0
Building for debugging...
[0/2] Copying CompassCardDownload.js
[0/2] Copying SwiftScraper.js
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/19] Emitting module SwiftScraper
/host/spi-builder-workspace/.build/checkouts/SwiftScraper/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
       ^
[4/21] Compiling SwiftScraper Browser.swift
/host/spi-builder-workspace/.build/checkouts/SwiftScraper/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
       ^
[5/21] Compiling SwiftScraper JavaScriptGenerator.swift
/host/spi-builder-workspace/.build/checkouts/SwiftScraper/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
       ^
[6/21] Compiling SwiftScraper StepRunner.swift
/host/spi-builder-workspace/.build/checkouts/SwiftScraper/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
       ^
[7/21] Compiling SwiftScraper StepFlowResult.swift
/host/spi-builder-workspace/.build/checkouts/SwiftScraper/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
       ^
[8/21] Compiling SwiftScraper DownloadStep.swift
/host/spi-builder-workspace/.build/checkouts/SwiftScraper/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
       ^
[9/21] Compiling SwiftScraper Step.swift
/host/spi-builder-workspace/.build/checkouts/SwiftScraper/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
       ^
[10/21] Compiling SwiftScraper StepCompletionCallback.swift
/host/spi-builder-workspace/.build/checkouts/SwiftScraper/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
       ^
[11/21] Compiling SwiftScraper OpenPageStep.swift
/host/spi-builder-workspace/.build/checkouts/SwiftScraper/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
       ^
[12/21] Compiling SwiftScraper PageChangeStep.swift
/host/spi-builder-workspace/.build/checkouts/SwiftScraper/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
       ^
[13/21] Compiling SwiftScraper WaitForConditionStep.swift
/host/spi-builder-workspace/.build/checkouts/SwiftScraper/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
       ^
[14/21] Compiling SwiftScraper WaitStep.swift
/host/spi-builder-workspace/.build/checkouts/SwiftScraper/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
       ^
[15/21] Compiling SwiftScraper AsyncProcessStep.swift
/host/spi-builder-workspace/.build/checkouts/SwiftScraper/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
       ^
[16/21] Compiling SwiftScraper AsyncScriptStep.swift
/host/spi-builder-workspace/.build/checkouts/SwiftScraper/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
       ^
[17/21] Compiling SwiftScraper NavigableStep.swift
/host/spi-builder-workspace/.build/checkouts/SwiftScraper/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
       ^
[18/21] Compiling SwiftScraper ProcessStep.swift
/host/spi-builder-workspace/.build/checkouts/SwiftScraper/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
       ^
[19/21] Compiling SwiftScraper ScriptStep.swift
/host/spi-builder-workspace/.build/checkouts/SwiftScraper/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
       ^
[20/21] Compiling SwiftScraper SwiftScraperError.swift
/host/spi-builder-workspace/.build/checkouts/SwiftScraper/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
       ^
[21/21] Compiling SwiftScraper resource_bundle_accessor.swift
/host/spi-builder-workspace/.build/checkouts/SwiftScraper/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
       ^
error: fatalError
[0/1] Planning build
Building for debugging...
[1/17] Compiling SwiftScraper AsyncProcessStep.swift
/host/spi-builder-workspace/.build/checkouts/SwiftScraper/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
       ^
[2/17] Compiling SwiftScraper AsyncScriptStep.swift
/host/spi-builder-workspace/.build/checkouts/SwiftScraper/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
       ^
[3/17] Compiling SwiftScraper NavigableStep.swift
/host/spi-builder-workspace/.build/checkouts/SwiftScraper/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/19] Emitting module SwiftScraper
/host/spi-builder-workspace/.build/checkouts/SwiftScraper/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
       ^
[5/19] Compiling SwiftScraper StepFlowResult.swift
/host/spi-builder-workspace/.build/checkouts/SwiftScraper/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
       ^
[6/19] Compiling SwiftScraper DownloadStep.swift
/host/spi-builder-workspace/.build/checkouts/SwiftScraper/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
       ^
[7/19] Compiling SwiftScraper OpenPageStep.swift
/host/spi-builder-workspace/.build/checkouts/SwiftScraper/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
       ^
[8/19] Compiling SwiftScraper PageChangeStep.swift
/host/spi-builder-workspace/.build/checkouts/SwiftScraper/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
       ^
[9/19] Compiling SwiftScraper Step.swift
/host/spi-builder-workspace/.build/checkouts/SwiftScraper/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
       ^
[10/19] Compiling SwiftScraper StepCompletionCallback.swift
/host/spi-builder-workspace/.build/checkouts/SwiftScraper/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
       ^
[11/19] Compiling SwiftScraper ProcessStep.swift
/host/spi-builder-workspace/.build/checkouts/SwiftScraper/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
       ^
[12/19] Compiling SwiftScraper ScriptStep.swift
/host/spi-builder-workspace/.build/checkouts/SwiftScraper/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
       ^
[13/19] Compiling SwiftScraper WaitForConditionStep.swift
/host/spi-builder-workspace/.build/checkouts/SwiftScraper/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
       ^
[14/19] Compiling SwiftScraper WaitStep.swift
/host/spi-builder-workspace/.build/checkouts/SwiftScraper/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
       ^
[15/19] Compiling SwiftScraper Browser.swift
/host/spi-builder-workspace/.build/checkouts/SwiftScraper/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
       ^
[16/19] Compiling SwiftScraper JavaScriptGenerator.swift
/host/spi-builder-workspace/.build/checkouts/SwiftScraper/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
       ^
[17/19] Compiling SwiftScraper StepRunner.swift
/host/spi-builder-workspace/.build/checkouts/SwiftScraper/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
       ^
[18/19] Compiling SwiftScraper SwiftScraperError.swift
/host/spi-builder-workspace/.build/checkouts/SwiftScraper/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
       ^
[19/19] Compiling SwiftScraper resource_bundle_accessor.swift
/host/spi-builder-workspace/.build/checkouts/SwiftScraper/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
       ^
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 1