The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build TibberSwift 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.38.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ppeelen/TibberSwift.git
Reference: 1.0.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/ppeelen/TibberSwift
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at c76d36a Added workflow for creating documentation pages (#7)
Cloned https://github.com/ppeelen/TibberSwift.git
Revision (git rev-parse @):
c76d36ac0b9e4dc00dde751f5a47d1466d25fa52
SUCCESS checkout https://github.com/ppeelen/TibberSwift.git at 1.0.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $workDir
https://github.com/ppeelen/TibberSwift.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
Building for debugging...
[0/3] Copying Homes.graphql
[0/3] Copying Consumption.graphql
[0/3] Copying LoggedInUser.graphql
[4/16] Compiling TibberSwift TibberSwift.swift
/host/spi-builder-workspace/Sources/TibberSwift/TibberSwift.swift:5:8: error: no such module 'os.log'
import os.log
       ^
[5/17] Compiling TibberSwift ConsumptionOperation.swift
/host/spi-builder-workspace/Sources/TibberSwift/TibberSwift.swift:5:8: error: no such module 'os.log'
import os.log
       ^
[6/17] Compiling TibberSwift HomesOperation.swift
/host/spi-builder-workspace/Sources/TibberSwift/TibberSwift.swift:5:8: error: no such module 'os.log'
import os.log
       ^
[7/17] Compiling TibberSwift resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/TibberSwift/TibberSwift.swift:5:8: error: no such module 'os.log'
import os.log
       ^
[8/17] Compiling TibberSwift LoggedInUserOperation.swift
/host/spi-builder-workspace/Sources/TibberSwift/TibberSwift.swift:5:8: error: no such module 'os.log'
import os.log
       ^
[9/17] Compiling TibberSwift ConsumptionInput.swift
/host/spi-builder-workspace/Sources/TibberSwift/TibberSwift.swift:5:8: error: no such module 'os.log'
import os.log
       ^
[10/17] Compiling TibberSwift EmptyInput.swift
/host/spi-builder-workspace/Sources/TibberSwift/TibberSwift.swift:5:8: error: no such module 'os.log'
import os.log
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/17] Emitting module TibberSwift
/host/spi-builder-workspace/Sources/TibberSwift/TibberSwift.swift:5:8: error: no such module 'os.log'
import os.log
       ^
[12/17] Compiling TibberSwift Consumption.swift
/host/spi-builder-workspace/Sources/TibberSwift/TibberSwift.swift:5:8: error: no such module 'os.log'
import os.log
       ^
[13/17] Compiling TibberSwift Home.swift
/host/spi-builder-workspace/Sources/TibberSwift/TibberSwift.swift:5:8: error: no such module 'os.log'
import os.log
       ^
[14/17] Compiling TibberSwift GraphQLOperation.swift
/host/spi-builder-workspace/Sources/TibberSwift/TibberSwift.swift:5:8: error: no such module 'os.log'
import os.log
       ^
[15/17] Compiling TibberSwift GraphQLResult.swift
/host/spi-builder-workspace/Sources/TibberSwift/TibberSwift.swift:5:8: error: no such module 'os.log'
import os.log
       ^
[16/17] Compiling TibberSwift LoggedInUser.swift
/host/spi-builder-workspace/Sources/TibberSwift/TibberSwift.swift:5:8: error: no such module 'os.log'
import os.log
       ^
[17/17] Compiling TibberSwift JSONDecoder+Date.swift
/host/spi-builder-workspace/Sources/TibberSwift/TibberSwift.swift:5:8: error: no such module 'os.log'
import os.log
       ^
error: fatalError
BUILD FAILURE 5.9 linux