Build Information
Failed to build SwiftScraper, reference main (6d4daf
), with Swift 5.9 for Linux on 16 Apr 2025 08:57:43 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" 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.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Nef10/SwiftScraper.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/SwiftScraper
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 6d4daf9 Bump swift-actions/setup-swift from 2.2.0 to 2.3.0
Cloned https://github.com/Nef10/SwiftScraper.git
Revision (git rev-parse @):
6d4daf90817501b84665bcf51ed4ca7c6206f36c
SUCCESS checkout https://github.com/Nef10/SwiftScraper.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
Building package at path: $PWD
https://github.com/Nef10/SwiftScraper.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:93fe18f778ec94e026baa8cc68b2ae87de241b204c49ca7a3a12cf55897227aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Building for debugging...
[0/1] Copying SwiftScraper.js
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/18] Emitting module SwiftScraper
/host/spi-builder-workspace/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
^
[3/20] Compiling SwiftScraper SwiftScraperError.swift
/host/spi-builder-workspace/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
^
[4/20] Compiling SwiftScraper resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
^
[5/20] Compiling SwiftScraper Browser.swift
/host/spi-builder-workspace/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
^
[6/20] Compiling SwiftScraper JavaScriptGenerator.swift
/host/spi-builder-workspace/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
^
[7/20] Compiling SwiftScraper StepRunner.swift
/host/spi-builder-workspace/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
^
[8/20] Compiling SwiftScraper WaitForConditionStep.swift
/host/spi-builder-workspace/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
^
[9/20] Compiling SwiftScraper WaitStep.swift
/host/spi-builder-workspace/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
^
[10/20] Compiling SwiftScraper StepFlowResult.swift
/host/spi-builder-workspace/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
^
[11/20] Compiling SwiftScraper DownloadStep.swift
/host/spi-builder-workspace/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
^
[12/20] Compiling SwiftScraper ProcessStep.swift
/host/spi-builder-workspace/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
^
[13/20] Compiling SwiftScraper ScriptStep.swift
/host/spi-builder-workspace/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
^
[14/20] Compiling SwiftScraper AsyncProcessStep.swift
/host/spi-builder-workspace/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
^
[15/20] Compiling SwiftScraper AsyncScriptStep.swift
/host/spi-builder-workspace/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
^
[16/20] Compiling SwiftScraper NavigableStep.swift
/host/spi-builder-workspace/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
^
[17/20] Compiling SwiftScraper Step.swift
/host/spi-builder-workspace/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
^
[18/20] Compiling SwiftScraper StepCompletionCallback.swift
/host/spi-builder-workspace/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
^
[19/20] Compiling SwiftScraper OpenPageStep.swift
/host/spi-builder-workspace/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
^
[20/20] Compiling SwiftScraper PageChangeStep.swift
/host/spi-builder-workspace/Sources/SwiftScraper/Browser.swift:10:8: error: no such module 'os'
import os
^
error: fatalError
BUILD FAILURE 5.9 linux