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-4609320-1":/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: master
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
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
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 master
========================================
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-4609320-1":/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] Compiling NetConsole Arguments.swift
[2/29] 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)
                             ~^~~~~~~~~~~~~~~~~~~~
[3/29] 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) {
                            ^~~~~~~~~~
[4/29] Compiling DLog Filter.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[5/29] Compiling DLog LogConfig.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[6/29] Compiling DLog LogFormat.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[7/29] Compiling DLog LogInterval.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[8/29] Compiling DLog LogItem.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[9/29] 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)
[10/32] Emitting module DLog
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[11/32] Compiling DLog LogMetadata.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[12/32] Compiling DLog LogOutput.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[13/32] Compiling DLog LogPrivacy.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[14/32] Compiling DLog Atomic.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[15/32] Compiling DLog DLog.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[16/32] Compiling DLog Dynamic.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[17/32] Compiling DLog File.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
error: fatalError
/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 LogInterval.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[2/28] Compiling DLog LogItem.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[3/28] Compiling DLog LogMessage.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[4/28] Compiling DLog Net.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[5/28] Compiling DLog OSLog.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[6/28] Compiling DLog Standard.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)
[7/31] Emitting module DLog
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[8/31] Compiling DLog Filter.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[9/31] Compiling DLog LogConfig.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[10/31] Compiling DLog LogFormat.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[11/31] Compiling DLog Atomic.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[12/31] Compiling DLog DLog.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[13/31] Compiling DLog Dynamic.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[14/31] Compiling DLog File.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[15/31] Compiling DLog LogProtocol.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[16/31] Compiling DLog LogScope.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[17/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)
[18/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) {
                            ^~~~~~~~~~
[19/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