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 DLog with Swift 5.9 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.28.7
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ikhvorost/DLog.git
Reference: 1.5.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/ikhvorost/DLog
 * tag               1.5.0      -> FETCH_HEAD
HEAD is now at 42db6f0 Readme: removed auto for privacy, shields, traces
Cloned https://github.com/ikhvorost/DLog.git
Revision (git rev-parse @):
42db6f0dcda36c68e6e5d1db9f3aa352fa6f9b15
SUCCESS checkout https://github.com/ikhvorost/DLog.git at 1.5.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $PWD/checkout
https://github.com/ikhvorost/DLog.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
warning: 'spi-builder-workspace': ignoring target 'DLogTestsObjC' in package 'spi-builder-workspace'; C language in tests is not yet supported
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/29] Emitting module DLog
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[2/32] Compiling DLog Text.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[3/32] Compiling DLog Trace.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[4/32] Compiling DLog TraceFunc.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[5/32] Compiling DLog TraceProcess.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[6/32] Compiling DLog TraceStack.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[7/32] Compiling DLog TraceThread.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[8/32] Compiling DLog Net.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[9/32] Compiling DLog OSLog.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[10/32] Compiling DLog Standard.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[11/32] Compiling DLog Atomic.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[12/32] Compiling DLog DLog.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[13/32] Compiling DLog Dynamic.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[14/32] Compiling DLog File.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[15/32] Compiling DLog Filter.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[16/32] Compiling DLog LogConfig.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[17/32] Compiling DLog LogFormat.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[18/32] Compiling DLog LogInterval.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[19/32] Compiling DLog LogItem.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[20/32] Compiling DLog LogMessage.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[21/32] Compiling NetConsole Arguments.swift
[22/32] Emitting module NetConsole
/host/spi-builder-workspace/Sources/NetConsole/main.swift:49:16: error: cannot find type 'NetService' in scope
  let service: NetService
               ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NetConsole/main.swift:83:21: error: cannot find type 'NetServiceDelegate' in scope
extension Service : NetServiceDelegate {
                    ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NetConsole/main.swift:85:39: error: cannot find type 'NetService' in scope
  func netServiceDidPublish(_ sender: NetService) {
                                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NetConsole/main.swift:89:29: error: cannot find type 'NetService' in scope
  func netService(_ sender: NetService, didNotPublish errorDict: [String : NSNumber]) {
                            ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NetConsole/main.swift:93:29: error: cannot find type 'NetService' in scope
  func netService(_ sender: NetService, didAcceptConnectionWith inputStream: InputStream, outputStream: OutputStream) {
                            ^~~~~~~~~~
[23/32] Compiling NetConsole main.swift
/host/spi-builder-workspace/Sources/NetConsole/main.swift:49:16: error: cannot find type 'NetService' in scope
  let service: NetService
               ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NetConsole/main.swift:83:21: error: cannot find type 'NetServiceDelegate' in scope
extension Service : NetServiceDelegate {
                    ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NetConsole/main.swift:85:39: error: cannot find type 'NetService' in scope
  func netServiceDidPublish(_ sender: NetService) {
                                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NetConsole/main.swift:89:29: error: cannot find type 'NetService' in scope
  func netService(_ sender: NetService, didNotPublish errorDict: [String : NSNumber]) {
                            ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NetConsole/main.swift:93:29: error: cannot find type 'NetService' in scope
  func netService(_ sender: NetService, didAcceptConnectionWith inputStream: InputStream, outputStream: OutputStream) {
                            ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NetConsole/main.swift:64:15: error: cannot find 'NetService' in scope
    service = NetService(domain: "local.", type:"_dlog._tcp.", name: name, port: 0)
              ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NetConsole/main.swift:68:31: error: cannot infer contextual base in reference to member 'listenForConnections'
    service.publish(options: .listenForConnections)
                             ~^~~~~~~~~~~~~~~~~~~~
error: fatalError
[24/32] Compiling DLog LogMetadata.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[25/32] Compiling DLog LogOutput.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[26/32] Compiling DLog LogPrivacy.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[27/32] Compiling DLog LogProtocol.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[28/32] Compiling DLog LogScope.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[29/32] Compiling DLog Mach.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
warning: 'spi-builder-workspace': ignoring target 'DLogTestsObjC' in package 'spi-builder-workspace'; C language in tests is not yet supported
[0/1] Planning build
Building for debugging...
[1/28] Compiling DLog Atomic.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[2/28] Compiling DLog DLog.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[3/28] Compiling DLog Dynamic.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[4/28] Compiling DLog File.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[5/31] Compiling DLog LogProtocol.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[6/31] Compiling DLog LogScope.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[7/31] Compiling DLog Mach.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/31] Emitting module DLog
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[9/31] Compiling DLog LogInterval.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[10/31] Compiling DLog LogItem.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[11/31] Compiling DLog LogMessage.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[12/31] Compiling DLog LogMetadata.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[13/31] Compiling DLog LogOutput.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[14/31] Compiling DLog LogPrivacy.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/31] Emitting module NetConsole
/host/spi-builder-workspace/Sources/NetConsole/main.swift:49:16: error: cannot find type 'NetService' in scope
  let service: NetService
               ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NetConsole/main.swift:83:21: error: cannot find type 'NetServiceDelegate' in scope
extension Service : NetServiceDelegate {
                    ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NetConsole/main.swift:85:39: error: cannot find type 'NetService' in scope
  func netServiceDidPublish(_ sender: NetService) {
                                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NetConsole/main.swift:89:29: error: cannot find type 'NetService' in scope
  func netService(_ sender: NetService, didNotPublish errorDict: [String : NSNumber]) {
                            ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NetConsole/main.swift:93:29: error: cannot find type 'NetService' in scope
  func netService(_ sender: NetService, didAcceptConnectionWith inputStream: InputStream, outputStream: OutputStream) {
                            ^~~~~~~~~~
[16/31] Compiling NetConsole main.swift
/host/spi-builder-workspace/Sources/NetConsole/main.swift:49:16: error: cannot find type 'NetService' in scope
  let service: NetService
               ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NetConsole/main.swift:83:21: error: cannot find type 'NetServiceDelegate' in scope
extension Service : NetServiceDelegate {
                    ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NetConsole/main.swift:85:39: error: cannot find type 'NetService' in scope
  func netServiceDidPublish(_ sender: NetService) {
                                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NetConsole/main.swift:89:29: error: cannot find type 'NetService' in scope
  func netService(_ sender: NetService, didNotPublish errorDict: [String : NSNumber]) {
                            ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NetConsole/main.swift:93:29: error: cannot find type 'NetService' in scope
  func netService(_ sender: NetService, didAcceptConnectionWith inputStream: InputStream, outputStream: OutputStream) {
                            ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NetConsole/main.swift:64:15: error: cannot find 'NetService' in scope
    service = NetService(domain: "local.", type:"_dlog._tcp.", name: name, port: 0)
              ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NetConsole/main.swift:68:31: error: cannot infer contextual base in reference to member 'listenForConnections'
    service.publish(options: .listenForConnections)
                             ~^~~~~~~~~~~~~~~~~~~~
error: fatalError
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
BUILD FAILURE 5.9 linux