The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftLSPClient with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/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/ChimeHQ/SwiftLSPClient.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/ChimeHQ/SwiftLSPClient
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at efe7e13 remove twitter ref
Cloned https://github.com/ChimeHQ/SwiftLSPClient.git
Revision (git rev-parse @):
efe7e13b55ce81dc070d019990efb183b900f792
SUCCESS checkout https://github.com/ChimeHQ/SwiftLSPClient.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/ChimeHQ/SwiftLSPClient.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/ChimeHQ/JSONRPC
Fetching https://github.com/Flight-School/AnyCodable
Fetching https://github.com/g-mark/NullCodable
[1/756] Fetching anycodable
[757/786] Fetching anycodable, nullcodable
[787/1345] Fetching anycodable, nullcodable, jsonrpc
Fetched https://github.com/g-mark/NullCodable from cache (0.26s)
Fetched https://github.com/Flight-School/AnyCodable from cache (0.26s)
Fetched https://github.com/ChimeHQ/JSONRPC from cache (0.26s)
Computing version for https://github.com/ChimeHQ/JSONRPC
Computed https://github.com/ChimeHQ/JSONRPC at 0.2.1 (0.39s)
Computing version for https://github.com/Flight-School/AnyCodable
Computed https://github.com/Flight-School/AnyCodable at 0.6.1 (0.41s)
Computing version for https://github.com/g-mark/NullCodable
Computed https://github.com/g-mark/NullCodable at 1.1.0 (0.43s)
Creating working copy for https://github.com/ChimeHQ/JSONRPC
Working copy of https://github.com/ChimeHQ/JSONRPC resolved at 0.2.1
Creating working copy for https://github.com/g-mark/NullCodable
Working copy of https://github.com/g-mark/NullCodable resolved at 1.1.0
Creating working copy for https://github.com/Flight-School/AnyCodable
Working copy of https://github.com/Flight-School/AnyCodable resolved at 0.6.1
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/11] Emitting module AnyCodable
[7/11] Emitting module NullCodable
[8/11] Compiling NullCodable NullCodable.swift
[10/12] Compiling AnyCodable AnyDecodable.swift
[11/12] Compiling AnyCodable AnyCodable.swift
[12/12] Compiling AnyCodable AnyEncodable.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/20] Emitting module JSONRPC
/host/spi-builder-workspace/.build/checkouts/JSONRPC/JSONRPC/ProtocolTransport.swift:2:8: error: no such module 'os.log'
import os.log
       ^
[15/20] Compiling JSONRPC DataTransport.swift
/host/spi-builder-workspace/.build/checkouts/JSONRPC/JSONRPC/ProtocolTransport.swift:2:8: error: no such module 'os.log'
import os.log
       ^
[16/20] Compiling JSONRPC JSONRPCError.swift
/host/spi-builder-workspace/.build/checkouts/JSONRPC/JSONRPC/ProtocolTransport.swift:2:8: error: no such module 'os.log'
import os.log
       ^
[17/20] Compiling JSONRPC MessageTransport.swift
/host/spi-builder-workspace/.build/checkouts/JSONRPC/JSONRPC/ProtocolTransport.swift:2:8: error: no such module 'os.log'
import os.log
       ^
[18/20] Compiling JSONRPC ProtocolTransport.swift
/host/spi-builder-workspace/.build/checkouts/JSONRPC/JSONRPC/ProtocolTransport.swift:2:8: error: no such module 'os.log'
import os.log
       ^
[19/20] Compiling JSONRPC JSONId.swift
/host/spi-builder-workspace/.build/checkouts/JSONRPC/JSONRPC/ProtocolTransport.swift:2:8: error: no such module 'os.log'
import os.log
       ^
[20/20] Compiling JSONRPC Protocol.swift
/host/spi-builder-workspace/.build/checkouts/JSONRPC/JSONRPC/ProtocolTransport.swift:2:8: error: no such module 'os.log'
import os.log
       ^
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/8] Compiling JSONRPC JSONRPCError.swift
/host/spi-builder-workspace/.build/checkouts/JSONRPC/JSONRPC/ProtocolTransport.swift:2:8: error: no such module 'os.log'
import os.log
       ^
[3/8] Compiling JSONRPC DataTransport.swift
/host/spi-builder-workspace/.build/checkouts/JSONRPC/JSONRPC/ProtocolTransport.swift:2:8: error: no such module 'os.log'
import os.log
       ^
[4/8] Compiling JSONRPC JSONId.swift
/host/spi-builder-workspace/.build/checkouts/JSONRPC/JSONRPC/ProtocolTransport.swift:2:8: error: no such module 'os.log'
import os.log
       ^
[5/8] Compiling JSONRPC MessageTransport.swift
/host/spi-builder-workspace/.build/checkouts/JSONRPC/JSONRPC/ProtocolTransport.swift:2:8: error: no such module 'os.log'
import os.log
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/8] Emitting module JSONRPC
/host/spi-builder-workspace/.build/checkouts/JSONRPC/JSONRPC/ProtocolTransport.swift:2:8: error: no such module 'os.log'
import os.log
       ^
[7/8] Compiling JSONRPC ProtocolTransport.swift
/host/spi-builder-workspace/.build/checkouts/JSONRPC/JSONRPC/ProtocolTransport.swift:2:8: error: no such module 'os.log'
import os.log
       ^
[8/8] Compiling JSONRPC Protocol.swift
/host/spi-builder-workspace/.build/checkouts/JSONRPC/JSONRPC/ProtocolTransport.swift:2:8: error: no such module 'os.log'
import os.log
       ^
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 1