Build Information
Failed to build Apollo, reference 1.21.0 (6ecc75
), with Swift 6.0 for Linux on 30 Apr 2025 03:02:49 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apollographql/apollo-ios.git
Reference: 1.21.0
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/apollographql/apollo-ios
* tag 1.21.0 -> FETCH_HEAD
HEAD is now at 6ecc752 Release 1.21.0 (apollographql/apollo-ios-dev#639)
Cloned https://github.com/apollographql/apollo-ios.git
Revision (git rev-parse @):
6ecc75281dab2fa231cb0d5fed3a3713826fecae
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apollographql/apollo-ios.git at 1.21.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/apollographql/apollo-ios.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:9029076bb687edc160a3d5201c89e92dd9fa7309f33f090c4234365c83366c31
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
error: emit-module command failed with exit code 1 (use -v to see invocation)
/host/spi-builder-workspace/Plugins/InstallCLI/InstallCLIPluginCommand.swift:3:8: error: no such module 'os'
1 | import Foundation
2 | import PackagePlugin
3 | import os
| `- error: no such module 'os'
4 |
5 | @main
[1/1] Compiling plugin Install CLI
BUILD FAILURE 6.0 linux