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 0.0.5 (803b20), with Swift 6.0 (beta) for Linux on 14 Sep 2024 15:22:26 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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: 0.0.5
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
 * tag               0.0.5      -> FETCH_HEAD
HEAD is now at 803b20c Export NotificationToken (#5)
Cloned https://github.com/fummicc1/RealmSwiftMacro.git
Revision (git rev-parse @):
803b20c4665f3783b2c665aa50de96a9b3bdb3de
SUCCESS checkout https://github.com/fummicc1/RealmSwiftMacro.git at 0.0.5
========================================
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-4606859-0":/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/apple/swift-syntax.git
Fetching https://github.com/realm/realm-core.git
Fetching https://github.com/realm/realm-swift
[1/65059] Fetching swift-syntax
[10411/196339] Fetching swift-syntax, realm-swift
[71137/448516] Fetching swift-syntax, realm-swift, realm-core
Fetched https://github.com/apple/swift-syntax.git from cache (24.10s)
Fetched https://github.com/realm/realm-core.git from cache (31.86s)
Fetched https://github.com/realm/realm-swift from cache (31.87s)
Computing version for https://github.com/realm/realm-swift
error: Invalid manifest (compiled with: ["/usr/bin/swiftc", "-vfsoverlay", "/tmp/TemporaryDirectory.7m7UY5/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.UsKc3W/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 0x7f7920d18a3f... done ***
*** Program crashed: Illegal instruction at 0x00007f7920d18a3f ***
Thread 0 "realm-swift-man" crashed:
0      0x00007f7920d18a3f _assertionFailure(_:_:file:line:flags:) + 351 in libswiftCore.so
1 [ra] 0x00007f792043d007 Process.launch() + 534 in libFoundation.so
2 [ra] 0x000055d615fd061b runCommand() + 602 in realm-swift-manifest
3 [ra] 0x000055d615fd2641 main + 2544 in realm-swift-manifest
Thread 1:
0  0x00007f791fe41cce <unknown> in libc.so.6
Registers:
rax 0x0000000200000003  8589934595
rdx 0x00007f792060bb5e  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 0x000055d61658edb8  03 00 00 00 00 00 00 00 90 00 00 00 00 00 00 80  ················
rdi 0x000055d61657c010  01 00 01 00 02 00 02 00 01 00 01 00 01 00 01 00  ················
rbp 0x00007ffd692b0980  40 0a 2b 69 fd 7f 00 00 07 d0 43 20 79 7f 00 00  @·+iý····ÐC y···
rsp 0x00007ffd692b08e0  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ················
 r8 0x000055d61658f870  8f 65 61 5d 05 00 00 00 6d 2b 23 3c 56 7d 1d ba  ·ea]····m+#<V}·º
 r9 0x00007ffd692b0650  46 61 74 61 6c 20 65 72 72 6f 72 3a 20 45 72 72  Fatal error: Err
r10 0x0000000000000000  0
r11 0xba1d7d563c232b6d  13411013074708802413
r12 0x00007f7920609560  46 6f 75 6e 64 61 74 69 6f 6e 2f 50 72 6f 63 65  Foundation/Proce
r13 0x0000000000000044  68
r14 0x000055d61658edb0  50 d3 fe 20 79 7f 00 00 03 00 00 00 00 00 00 00  PÓþ y···········
r15 0x000000000000000b  11
rip 0x00007f7920d18a3f  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):
0x000055d615fcc000–0x000055d615fd87a0 <no build ID>                            realm-swift-manifest /tmp/TemporaryDirectory.UsKc3W/realm-swift-manifest
0x00007f791fd29000–0x00007f791fee5341 490fef8403240c91833978d494d39e537409b92e libc.so.6            /usr/lib/x86_64-linux-gnu/libc.so.6
0x00007f79200fc000–0x00007f79205be858 3d384981bc983a94ff9abf40473e8d56440d2a14 libFoundation.so     /usr/lib/swift/linux/libFoundation.so
0x00007f7920a36000–0x00007f7920fd2708 dd45db60240a3fd046733822ab13a21f61a13763 libswiftCore.so      /usr/lib/swift/linux/libswiftCore.so
Backtrace took 0.04s in https://github.com/realm/realm-swift
BUILD FAILURE 6.0 linux