Build Information
Failed to build Inject with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/MaximBazarov/Inject.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/MaximBazarov/Inject
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 94c4d40 Update README.md
Cloned https://github.com/MaximBazarov/Inject.git
Revision (git rev-parse @):
94c4d40a5e09606f078720c4cc6aa194defb5d3d
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/MaximBazarov/Inject.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $workDir
https://github.com/MaximBazarov/Inject.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/14] Compiling Inject Strategy.swift
/host/spi-builder-workspace/Sources/Telemetry/Telemetry.swift:16:8: error: no such module 'OSLog'
import OSLog
^
[4/14] Compiling Inject Context.swift
/host/spi-builder-workspace/Sources/Telemetry/Telemetry.swift:16:8: error: no such module 'OSLog'
import OSLog
^
[5/15] Compiling Inject Scope.swift
/host/spi-builder-workspace/Sources/Telemetry/Telemetry.swift:16:8: error: no such module 'OSLog'
import OSLog
^
[6/15] Compiling Inject Injection.swift
/host/spi-builder-workspace/Sources/Telemetry/Telemetry.swift:16:8: error: no such module 'OSLog'
import OSLog
^
[7/15] Compiling Inject Injected-PropertyWrapper.swift
/host/spi-builder-workspace/Sources/Telemetry/Telemetry.swift:16:8: error: no such module 'OSLog'
import OSLog
^
[8/15] Compiling Inject Lifespan.swift
/host/spi-builder-workspace/Sources/Telemetry/Telemetry.swift:16:8: error: no such module 'OSLog'
import OSLog
^
[9/15] Compiling Inject Telemetry.swift
/host/spi-builder-workspace/Sources/Telemetry/Telemetry.swift:16:8: error: no such module 'OSLog'
import OSLog
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/15] Emitting module Inject
/host/spi-builder-workspace/Sources/Telemetry/Telemetry.swift:16:8: error: no such module 'OSLog'
import OSLog
^
[11/15] Compiling Inject DependencyKey.swift
/host/spi-builder-workspace/Sources/Telemetry/Telemetry.swift:16:8: error: no such module 'OSLog'
import OSLog
^
[12/15] Compiling Inject Injectable.swift
/host/spi-builder-workspace/Sources/Telemetry/Telemetry.swift:16:8: error: no such module 'OSLog'
import OSLog
^
[13/15] Compiling Inject DefaultValues.swift
/host/spi-builder-workspace/Sources/Telemetry/Telemetry.swift:16:8: error: no such module 'OSLog'
import OSLog
^
[14/15] Compiling Inject Dependency.swift
/host/spi-builder-workspace/Sources/Telemetry/Telemetry.swift:16:8: error: no such module 'OSLog'
import OSLog
^
[15/15] Compiling Inject Instance.swift
/host/spi-builder-workspace/Sources/Telemetry/Telemetry.swift:16:8: error: no such module 'OSLog'
import OSLog
^
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/13] Compiling Inject Instance.swift
/host/spi-builder-workspace/Sources/Telemetry/Telemetry.swift:16:8: error: no such module 'OSLog'
import OSLog
^
[3/14] Compiling Inject Context.swift
/host/spi-builder-workspace/Sources/Telemetry/Telemetry.swift:16:8: error: no such module 'OSLog'
import OSLog
^
[4/14] Compiling Inject Strategy.swift
/host/spi-builder-workspace/Sources/Telemetry/Telemetry.swift:16:8: error: no such module 'OSLog'
import OSLog
^
[5/14] Compiling Inject DependencyKey.swift
/host/spi-builder-workspace/Sources/Telemetry/Telemetry.swift:16:8: error: no such module 'OSLog'
import OSLog
^
[6/14] Compiling Inject Injectable.swift
/host/spi-builder-workspace/Sources/Telemetry/Telemetry.swift:16:8: error: no such module 'OSLog'
import OSLog
^
[7/14] Compiling Inject Injected-PropertyWrapper.swift
/host/spi-builder-workspace/Sources/Telemetry/Telemetry.swift:16:8: error: no such module 'OSLog'
import OSLog
^
[8/14] Compiling Inject Lifespan.swift
/host/spi-builder-workspace/Sources/Telemetry/Telemetry.swift:16:8: error: no such module 'OSLog'
import OSLog
^
[9/14] Compiling Inject Scope.swift
/host/spi-builder-workspace/Sources/Telemetry/Telemetry.swift:16:8: error: no such module 'OSLog'
import OSLog
^
[10/14] Compiling Inject Injection.swift
/host/spi-builder-workspace/Sources/Telemetry/Telemetry.swift:16:8: error: no such module 'OSLog'
import OSLog
^
[11/14] Compiling Inject DefaultValues.swift
/host/spi-builder-workspace/Sources/Telemetry/Telemetry.swift:16:8: error: no such module 'OSLog'
import OSLog
^
[12/14] Compiling Inject Dependency.swift
/host/spi-builder-workspace/Sources/Telemetry/Telemetry.swift:16:8: error: no such module 'OSLog'
import OSLog
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/14] Emitting module Inject
/host/spi-builder-workspace/Sources/Telemetry/Telemetry.swift:16:8: error: no such module 'OSLog'
import OSLog
^
[14/14] Compiling Inject Telemetry.swift
/host/spi-builder-workspace/Sources/Telemetry/Telemetry.swift:16:8: error: no such module 'OSLog'
import OSLog
^
error: fatalError
BUILD FAILURE 5.10 linux