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 RealmSwiftMacro, reference main (ad8252), with Swift 6.0 (beta) for Linux on 14 Sep 2024 15:22:05 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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 -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.53.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/fummicc1/RealmSwiftMacro.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/fummicc1/RealmSwiftMacro
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at ad82526 fix: remove unused param (#6)
Cloned https://github.com/fummicc1/RealmSwiftMacro.git
Revision (git rev-parse @):
ad82526cc08287d9b48895aef76fa7027621c464
SUCCESS checkout https://github.com/fummicc1/RealmSwiftMacro.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/fummicc1/RealmSwiftMacro.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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 -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:9d7dab235f2b0b46edadd73b1fb0c3b5323df02053420324a4a2f8ca89cb54a5
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/realm/realm-core.git
Fetching https://github.com/realm/realm-swift
Fetching https://github.com/apple/swift-syntax.git
[1/65059] Fetching swift-syntax
[10411/196339] Fetching swift-syntax, realm-swift
[76993/448516] Fetching swift-syntax, realm-swift, realm-core
Fetched https://github.com/apple/swift-syntax.git from cache (7.44s)
[238701/383457] Fetching realm-swift, realm-core
Fetched https://github.com/realm/realm-swift from cache (19.17s)
Computing version for https://github.com/realm/realm-swift
error: Invalid manifest (compiled with: ["/usr/bin/swiftc", "-vfsoverlay", "/tmp/TemporaryDirectory.Dz4Mzo/vfs.yaml", "-L", "/usr/lib/swift/pm/ManifestAPI", "-lPackageDescription", "-Xlinker", "-rpath", "-Xlinker", "/usr/lib/swift/pm/ManifestAPI", "-swift-version", "5", "-I", "/usr/lib/swift/pm/ManifestAPI", "-package-description-version", "5.7.0", "/Package.swift", "-o", "/tmp/TemporaryDirectory.7TqpEN/realm-swift-manifest"])
/Package.swift:104:10: warning: 'launchPath' is deprecated: renamed to 'executableURL'
102 |     task.standardOutput = pipe
103 |     task.standardError = pipe
104 |     task.launchPath = "/usr/sbin/ioreg"
    |          |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
    |          `- note: use 'executableURL' instead
105 |     task.arguments = ["-rd1", "-c", "IOPlatformExpertDevice"]
106 |     task.standardInput = nil
/Package.swift:107:10: warning: 'launch()' is deprecated: renamed to 'run'
105 |     task.arguments = ["-rd1", "-c", "IOPlatformExpertDevice"]
106 |     task.standardInput = nil
107 |     task.launch()
    |          |- warning: 'launch()' is deprecated: renamed to 'run'
    |          `- note: use 'run' instead
108 |
109 |     let data = pipe.fileHandleForReading.readDataToEndOfFile()Foundation/Process.swift:390: Fatal error: Error Domain=NSCocoaErrorDomain Code=260 "The file doesn’t exist."
*** Signal 4: Backtracing from 0x7f5530ed8a3f... done ***
*** Program crashed: Illegal instruction at 0x00007f5530ed8a3f ***
Thread 0 "realm-swift-man" crashed:
0      0x00007f5530ed8a3f _assertionFailure(_:_:file:line:flags:) + 351 in libswiftCore.so
1 [ra] 0x00007f55305fd007 Process.launch() + 534 in libFoundation.so
2 [ra] 0x0000559ac97f761b runCommand() + 602 in realm-swift-manifest
3 [ra] 0x0000559ac97f9641 main + 2544 in realm-swift-manifest
Thread 1:
0  0x00007f5530001cce <unknown> in libc.so.6
Registers:
rax 0x0000000200000003  8589934595
rdx 0x00007f55307cbb5e  46 61 74 61 6c 20 65 72 72 6f 72 00 5b 36 66 5d  Fatal error·[6f]
rcx 0xfffffffe00000000  18446744065119617024
rbx 0x0000000000000003  3
rsi 0x0000559acac92db8  03 00 00 00 00 00 00 00 90 00 00 00 00 00 00 80  ················
rdi 0x0000559acac80010  01 00 01 00 02 00 02 00 01 00 01 00 01 00 01 00  ················
rbp 0x00007fff10ad2b30  f0 2b ad 10 ff 7f 00 00 07 d0 5f 30 55 7f 00 00  ð+­·ÿ····Ð_0U···
rsp 0x00007fff10ad2a90  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ················
 r8 0x0000559acac93870  93 ac ac 59 05 00 00 00 42 15 3f 8d 3f a3 76 c6  ·¬¬Y····B·?·?£vÆ
 r9 0x00007fff10ad2800  46 61 74 61 6c 20 65 72 72 6f 72 3a 20 45 72 72  Fatal error: Err
r10 0x0000000000000000  0
r11 0xc676a33f8d3f1542  14300797160109577538
r12 0x00007f55307c9560  46 6f 75 6e 64 61 74 69 6f 6e 2f 50 72 6f 63 65  Foundation/Proce
r13 0x0000000000000044  68
r14 0x0000559acac92db0  50 d3 1a 31 55 7f 00 00 03 00 00 00 00 00 00 00  PÓ·1U···········
r15 0x000000000000000b  11
rip 0x00007f5530ed8a3f  0f 0b 48 83 ec 08 48 8d 05 24 21 2f 00 48 8d 3d  ··H·ì·H··$!/·H·=
rflags 0x0000000000010246  ZF PF
cs 0x0033  fs 0x0000  gs 0x0000
Images (17 omitted):
0x0000559ac97f3000–0x0000559ac97ff7a0 <no build ID>                            realm-swift-manifest /tmp/TemporaryDirectory.7TqpEN/realm-swift-manifest
0x00007f552fee9000–0x00007f55300a5341 490fef8403240c91833978d494d39e537409b92e libc.so.6            /usr/lib/x86_64-linux-gnu/libc.so.6
0x00007f55302bc000–0x00007f553077e858 3d384981bc983a94ff9abf40473e8d56440d2a14 libFoundation.so     /usr/lib/swift/linux/libFoundation.so
0x00007f5530bf6000–0x00007f5531192708 dd45db60240a3fd046733822ab13a21f61a13763 libswiftCore.so      /usr/lib/swift/linux/libswiftCore.so
Backtrace took 0.05s in https://github.com/realm/realm-swift
BUILD FAILURE 6.0 linux