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 SwiftDataSugar, reference main (dff69b), with Swift 5.10 for Linux on 7 Aug 2024 03:10:56 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.48.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mesqueeb/SwiftDataSugar.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/mesqueeb/SwiftDataSugar
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at dff69b0 chore: bump
Cloned https://github.com/mesqueeb/SwiftDataSugar.git
Revision (git rev-parse @):
dff69b0125b3927792a914786c521db4a5e15803
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/mesqueeb/SwiftDataSugar.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $PWD
https://github.com/mesqueeb/SwiftDataSugar.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
2ec76a50fe7c: Pulling fs layer
031194576cad: Pulling fs layer
f49f3db6a794: Pulling fs layer
099074009041: Pulling fs layer
d35aeb5a67de: Pulling fs layer
28482f6aa6cc: Pulling fs layer
099074009041: Waiting
d35aeb5a67de: Waiting
28482f6aa6cc: Waiting
2ec76a50fe7c: Verifying Checksum
2ec76a50fe7c: Download complete
099074009041: Verifying Checksum
099074009041: Download complete
2ec76a50fe7c: Pull complete
031194576cad: Verifying Checksum
031194576cad: Download complete
28482f6aa6cc: Verifying Checksum
28482f6aa6cc: Download complete
d35aeb5a67de: Verifying Checksum
d35aeb5a67de: Download complete
f49f3db6a794: Verifying Checksum
f49f3db6a794: Download complete
031194576cad: Pull complete
f49f3db6a794: Pull complete
099074009041: Pull complete
d35aeb5a67de: Pull complete
28482f6aa6cc: Pull complete
Digest: sha256:f0b51be07fbc8a0d4d15ad969175777a256c8ed4ef7ff1497c5f9d7800160a18
Status: Downloaded newer image for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/8] Emitting module SwiftDataSugar
/host/spi-builder-workspace/SwiftDataSugar/Sources/DbCollection.swift:2:8: error: no such module 'SwiftData'
import SwiftData
       ^
[4/8] Compiling SwiftDataSugar DbCollection.swift
/host/spi-builder-workspace/SwiftDataSugar/Sources/DbCollection.swift:2:8: error: no such module 'SwiftData'
import SwiftData
       ^
[5/8] Compiling SwiftDataSugar Types.swift
/host/spi-builder-workspace/SwiftDataSugar/Sources/DbCollection.swift:2:8: error: no such module 'SwiftData'
import SwiftData
       ^
[6/8] Compiling SwiftDataSugar ModelContainer.swift
/host/spi-builder-workspace/SwiftDataSugar/Sources/DbCollection.swift:2:8: error: no such module 'SwiftData'
import SwiftData
       ^
[7/8] Compiling SwiftDataSugar MigrationHelpers.swift
/host/spi-builder-workspace/SwiftDataSugar/Sources/DbCollection.swift:2:8: error: no such module 'SwiftData'
import SwiftData
       ^
[8/8] Compiling SwiftDataSugar DbQuery.swift
/host/spi-builder-workspace/SwiftDataSugar/Sources/DbCollection.swift:2:8: error: no such module 'SwiftData'
import SwiftData
       ^
error: fatalError
BUILD FAILURE 5.10 linux