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 swift-log-data, reference main (a7232e), with Swift 6.0 for Linux on 23 Dec 2024 08:54:53 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.60.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/AreroKetahi/swift-log-data.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/AreroKetahi/swift-log-data
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at a7232e9 Create README.md
Cloned https://github.com/AreroKetahi/swift-log-data.git
Revision (git rev-parse @):
a7232e9c362433a4b22c33dbe88e74613891cde3
SUCCESS checkout https://github.com/AreroKetahi/swift-log-data.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/AreroKetahi/swift-log-data.git
https://github.com/AreroKetahi/swift-log-data.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log"
    }
  ],
  "manifest_display_name" : "swift-log-data",
  "name" : "swift-log-data",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "17.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "17.0"
    },
    {
      "name" : "macos",
      "version" : "14.0"
    },
    {
      "name" : "tvos",
      "version" : "17.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    },
    {
      "name" : "watchos",
      "version" : "10.0"
    }
  ],
  "products" : [
    {
      "name" : "DataLogger",
      "targets" : [
        "DataLogger"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "swift_log_dataTests",
      "module_type" : "SwiftTarget",
      "name" : "swift-log-dataTests",
      "path" : "Tests/swift-log-dataTests",
      "product_dependencies" : [
        "Logging"
      ],
      "sources" : [
        "swift_log_dataTests.swift"
      ],
      "target_dependencies" : [
        "DataLogger"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DataLogger",
      "module_type" : "SwiftTarget",
      "name" : "DataLogger",
      "path" : "Sources",
      "product_dependencies" : [
        "Logging"
      ],
      "product_memberships" : [
        "DataLogger"
      ],
      "sources" : [
        "swift-log-data/Container.swift",
        "swift-log-data/LogHandler.swift",
        "swift-log-data/LogModel.swift",
        "swift-log-data/LoggingModelActor.swift",
        "swift-log-data/SwiftUI Intergration/Environment.swift",
        "swift-log-data/SwiftUI Intergration/SwiftUIModifier.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-log
[1/3732] Fetching swift-log
Fetched https://github.com/apple/swift-log from cache (0.36s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.2 (0.57s)
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.6.2
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/8] Emitting module Logging
[5/8] Compiling Logging Locks.swift
[6/8] Compiling Logging LogHandler.swift
[7/8] Compiling Logging Logging.swift
[8/8] Compiling Logging MetadataProvider.swift
[10/16] Compiling DataLogger Environment.swift
/host/spi-builder-workspace/Sources/swift-log-data/Container.swift:8:8: error: no such module 'SwiftData'
 6 | //
 7 |
 8 | import SwiftData
   |        `- error: no such module 'SwiftData'
 9 | import Foundation
10 |
[11/16] Compiling DataLogger SwiftUIModifier.swift
/host/spi-builder-workspace/Sources/swift-log-data/Container.swift:8:8: error: no such module 'SwiftData'
 6 | //
 7 |
 8 | import SwiftData
   |        `- error: no such module 'SwiftData'
 9 | import Foundation
10 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/16] Emitting module DataLogger
/host/spi-builder-workspace/Sources/swift-log-data/Container.swift:8:8: error: no such module 'SwiftData'
 6 | //
 7 |
 8 | import SwiftData
   |        `- error: no such module 'SwiftData'
 9 | import Foundation
10 |
[13/16] Compiling DataLogger LogHandler.swift
/host/spi-builder-workspace/Sources/swift-log-data/Container.swift:8:8: error: no such module 'SwiftData'
 6 | //
 7 |
 8 | import SwiftData
   |        `- error: no such module 'SwiftData'
 9 | import Foundation
10 |
[14/16] Compiling DataLogger Container.swift
/host/spi-builder-workspace/Sources/swift-log-data/Container.swift:8:8: error: no such module 'SwiftData'
 6 | //
 7 |
 8 | import SwiftData
   |        `- error: no such module 'SwiftData'
 9 | import Foundation
10 |
[15/16] Compiling DataLogger LoggingModelActor.swift
/host/spi-builder-workspace/Sources/swift-log-data/Container.swift:8:8: error: no such module 'SwiftData'
 6 | //
 7 |
 8 | import SwiftData
   |        `- error: no such module 'SwiftData'
 9 | import Foundation
10 |
[16/16] Compiling DataLogger LogModel.swift
/host/spi-builder-workspace/Sources/swift-log-data/Container.swift:8:8: error: no such module 'SwiftData'
 6 | //
 7 |
 8 | import SwiftData
   |        `- error: no such module 'SwiftData'
 9 | import Foundation
10 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/6] Compiling Logging Locks.swift
[3/6] Emitting module Logging
[4/6] Compiling Logging MetadataProvider.swift
[5/6] Compiling Logging Logging.swift
[6/6] Compiling Logging LogHandler.swift
[8/14] Compiling DataLogger Environment.swift
/host/spi-builder-workspace/Sources/swift-log-data/Container.swift:8:8: error: no such module 'SwiftData'
 6 | //
 7 |
 8 | import SwiftData
   |        `- error: no such module 'SwiftData'
 9 | import Foundation
10 |
[9/14] Compiling DataLogger SwiftUIModifier.swift
/host/spi-builder-workspace/Sources/swift-log-data/Container.swift:8:8: error: no such module 'SwiftData'
 6 | //
 7 |
 8 | import SwiftData
   |        `- error: no such module 'SwiftData'
 9 | import Foundation
10 |
[10/14] Compiling DataLogger LoggingModelActor.swift
/host/spi-builder-workspace/Sources/swift-log-data/Container.swift:8:8: error: no such module 'SwiftData'
 6 | //
 7 |
 8 | import SwiftData
   |        `- error: no such module 'SwiftData'
 9 | import Foundation
10 |
[11/14] Compiling DataLogger LogModel.swift
/host/spi-builder-workspace/Sources/swift-log-data/Container.swift:8:8: error: no such module 'SwiftData'
 6 | //
 7 |
 8 | import SwiftData
   |        `- error: no such module 'SwiftData'
 9 | import Foundation
10 |
[12/14] Compiling DataLogger LogHandler.swift
/host/spi-builder-workspace/Sources/swift-log-data/Container.swift:8:8: error: no such module 'SwiftData'
 6 | //
 7 |
 8 | import SwiftData
   |        `- error: no such module 'SwiftData'
 9 | import Foundation
10 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/14] Emitting module DataLogger
/host/spi-builder-workspace/Sources/swift-log-data/Container.swift:8:8: error: no such module 'SwiftData'
 6 | //
 7 |
 8 | import SwiftData
   |        `- error: no such module 'SwiftData'
 9 | import Foundation
10 |
[14/14] Compiling DataLogger Container.swift
/host/spi-builder-workspace/Sources/swift-log-data/Container.swift:8:8: error: no such module 'SwiftData'
 6 | //
 7 |
 8 | import SwiftData
   |        `- error: no such module 'SwiftData'
 9 | import Foundation
10 |
BUILD FAILURE 6.0 linux