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.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/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.10
Building package at path:  $workDir
https://github.com/ikhvorost/DLog.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
warning: 'spi-builder-workspace': ignoring target 'DLogTestsObjC' in package 'spi-builder-workspace'; C language in tests is not yet supported
Building for debugging...
[0/7] Write sources
[2/7] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/33] Emitting module DLog
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[5/36] Compiling DLog TraceProcess.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[6/36] Compiling DLog TraceStack.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[7/36] Compiling DLog TraceThread.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[8/36] Compiling DLog LogProtocol.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[9/36] Compiling DLog LogScope.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[10/36] Compiling DLog Mach.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[11/36] Compiling DLog LogInterval.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[12/36] Compiling DLog LogItem.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[13/36] Compiling DLog LogMessage.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[14/36] Compiling DLog Filter.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[15/36] Compiling DLog LogConfig.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[16/36] Compiling DLog LogFormat.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[17/36] Compiling DLog LogMetadata.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[18/36] Compiling DLog LogOutput.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[19/36] Compiling DLog LogPrivacy.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[20/36] Compiling DLog Net.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[21/36] Compiling DLog OSLog.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[22/36] Compiling DLog Standard.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[23/36] Compiling DLog Text.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[24/36] Compiling DLog Trace.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[25/36] Compiling DLog TraceFunc.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[26/36] Compiling DLog Atomic.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[27/36] Compiling DLog DLog.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[28/36] Compiling DLog Dynamic.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[29/36] Compiling DLog File.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[30/36] 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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[31/36] 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) {
                            ^~~~~~~~~~
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...
[0/5] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/31] Compiling NetConsole Arguments.swift
[3/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) {
                            ^~~~~~~~~~
[4/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
[5/31] Compiling DLog LogInterval.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[6/31] Compiling DLog LogItem.swift
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
[7/31] 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)
[8/34] Emitting module DLog
/host/spi-builder-workspace/Sources/DLog/Dynamic.swift:27:8: error: no such module 'os'
import os
       ^
BUILD FAILURE 5.10 linux