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

Successful build of lib0-swift, reference main (001958), with Swift 6.0 for macOS (SPM) on 14 Sep 2024 05:14:24 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.53.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ObuchiYuki/lib0-swift.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ObuchiYuki/lib0-swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 001958e add swift integration
Cloned https://github.com/ObuchiYuki/lib0-swift.git
Revision (git rev-parse @):
001958e8384591bf11ad5f494cc525bb2367d5b7
SUCCESS checkout https://github.com/ObuchiYuki/lib0-swift.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/ObuchiYuki/lib0-swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-117DEE11B69C53C9.txt
[3/11] Compiling lib0 Observable.swift
[4/11] Compiling lib0 LZObservableObject.swift
[5/11] Compiling lib0 LZEncoder+Swift.swift
[6/11] Compiling lib0 LZDecoderError.swift
[7/11] Compiling lib0 LZDecoder.swift
[8/11] Compiling lib0 LZDecoder+Swift.swift
/Users/admin/builder/spi-builder-workspace/Sources/lib0/Coder/LZDecoder+Swift.swift:97:17: warning: initialization of immutable value 'refID' was never used; consider replacing with assignment to '_' or removing it
 95 |         self.reserveCapacity(count)
 96 |         for _ in 0..<count {
 97 |             let refID = decoder.readUInt8()
    |                 `- warning: initialization of immutable value 'refID' was never used; consider replacing with assignment to '_' or removing it
 98 |             self.append(try Element(fromVariadic: decoder))
 99 |         }
[9/11] Compiling lib0 LZCoder+Swift.swift
[10/11] Emitting module lib0
[11/11] Compiling lib0 LZEncoder.swift
Build complete! (8.80s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "lib0-swift",
  "name" : "lib0-swift",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "lib0",
      "targets" : [
        "lib0"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "lib0_Tests",
      "module_type" : "SwiftTarget",
      "name" : "lib0-Tests",
      "path" : "Tests/lib0-Tests",
      "sources" : [
        "lib0_CoderTests.swift"
      ],
      "target_dependencies" : [
        "lib0"
      ],
      "type" : "test"
    },
    {
      "c99name" : "lib0",
      "module_type" : "SwiftTarget",
      "name" : "lib0",
      "path" : "Sources/lib0",
      "product_memberships" : [
        "lib0"
      ],
      "sources" : [
        "Coder/LZCoder+Swift.swift",
        "Coder/LZDecoder+Swift.swift",
        "Coder/LZDecoder.swift",
        "Coder/LZDecoderError.swift",
        "Coder/LZEncoder+Swift.swift",
        "Coder/LZEncoder.swift",
        "LZObservableObject.swift",
        "Observable.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Done.