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 ViewState, reference 2.0.1 (8d07d9), with Swift 5.9 for macOS (SPM) on 23 Sep 2024 04:37:19 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.54.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/heroesofcode/ViewState.git
Reference: 2.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/heroesofcode/ViewState
 * tag               2.0.1      -> FETCH_HEAD
HEAD is now at 8d07d9f Bump version to 2.0.1
Cloned https://github.com/heroesofcode/ViewState.git
Revision (git rev-parse @):
8d07d9fc74b8840c62dc8a2a1a64c7c878374890
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/heroesofcode/ViewState.git at 2.0.1
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $PWD
https://github.com/heroesofcode/ViewState.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[1/4] Emitting module ViewState
[2/4] Compiling ViewState ObserverProtocol.swift
[3/4] Compiling ViewState Observable.swift
[4/4] Compiling ViewState ViewState.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewState/ViewState.swift:27:51: warning: variable 'self' was written to, but never read
        successBehavior.addObserver(self) { [weak self] data in
                                                  ^
/Users/admin/builder/spi-builder-workspace/Sources/ViewState/ViewState.swift:40:51: warning: variable 'self' was written to, but never read
        loadingBehavior.addObserver(self) { [weak self] _ in
                                                  ^
/Users/admin/builder/spi-builder-workspace/Sources/ViewState/ViewState.swift:52:49: warning: variable 'self' was written to, but never read
        errorBehavior.addObserver(self) { [weak self] errorMessage in
                                                ^
Build complete! (5.49s)
Build complete.
Done.