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 ChipLayout, reference master (351f54), with Swift 6.0 for macOS (SPM) on 16 Sep 2024 14:03:10 UTC.

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/VladimirCreator/ChipLayout.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/VladimirCreator/ChipLayout
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 351f54f test: initial snapshot
Cloned https://github.com/VladimirCreator/ChipLayout.git
Revision (git rev-parse @):
351f54f991c55c2f70c46e57b66ea3addc4d207d
SUCCESS checkout https://github.com/VladimirCreator/ChipLayout.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/VladimirCreator/ChipLayout.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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module ChipLayout
/Users/admin/builder/spi-builder-workspace/Sources/ChipLayout/Sources/ChipLayout.swift:24:40: error: 'ProposedViewSize' is only available in macOS 13.0 or newer
21 |
22 | @available(iOS 13.0.0, *)
23 | public struct NePridumalNazvanieLayout: Layout {
   |               `- note: add @available attribute to enclosing struct
24 |     public func sizeThatFits(proposal: ProposedViewSize, subviews: Subviews, cache: inout ()) -> CGSize {
   |                 |                      `- error: 'ProposedViewSize' is only available in macOS 13.0 or newer
   |                 `- note: add @available attribute to enclosing instance method
25 |         guard let availableWidth: CGFloat = proposal.width else { fatalError("`proposal.width` is `nil`") }
26 |
/Users/admin/builder/spi-builder-workspace/Sources/ChipLayout/Sources/ChipLayout.swift:40:60: error: 'ProposedViewSize' is only available in macOS 13.0 or newer
21 |
22 | @available(iOS 13.0.0, *)
23 | public struct NePridumalNazvanieLayout: Layout {
   |               `- note: add @available attribute to enclosing struct
24 |     public func sizeThatFits(proposal: ProposedViewSize, subviews: Subviews, cache: inout ()) -> CGSize {
25 |         guard let availableWidth: CGFloat = proposal.width else { fatalError("`proposal.width` is `nil`") }
   :
38 |     }
39 |
40 |     public func placeSubviews(in bounds: CGRect, proposal: ProposedViewSize, subviews: Subviews, cache: inout ()) {
   |                 |                                          `- error: 'ProposedViewSize' is only available in macOS 13.0 or newer
   |                 `- note: add @available attribute to enclosing instance method
41 |         var occupiedWidth: CGFloat = .zero
42 |         var occupiedHeight: CGFloat = .zero
[4/4] Compiling ChipLayout ChipLayout.swift
/Users/admin/builder/spi-builder-workspace/Sources/ChipLayout/Sources/ChipLayout.swift:24:40: error: 'ProposedViewSize' is only available in macOS 13.0 or newer
21 |
22 | @available(iOS 13.0.0, *)
23 | public struct NePridumalNazvanieLayout: Layout {
   |               `- note: add @available attribute to enclosing struct
24 |     public func sizeThatFits(proposal: ProposedViewSize, subviews: Subviews, cache: inout ()) -> CGSize {
   |                 |                      `- error: 'ProposedViewSize' is only available in macOS 13.0 or newer
   |                 `- note: add @available attribute to enclosing instance method
25 |         guard let availableWidth: CGFloat = proposal.width else { fatalError("`proposal.width` is `nil`") }
26 |
/Users/admin/builder/spi-builder-workspace/Sources/ChipLayout/Sources/ChipLayout.swift:40:60: error: 'ProposedViewSize' is only available in macOS 13.0 or newer
21 |
22 | @available(iOS 13.0.0, *)
23 | public struct NePridumalNazvanieLayout: Layout {
   |               `- note: add @available attribute to enclosing struct
24 |     public func sizeThatFits(proposal: ProposedViewSize, subviews: Subviews, cache: inout ()) -> CGSize {
25 |         guard let availableWidth: CGFloat = proposal.width else { fatalError("`proposal.width` is `nil`") }
   :
38 |     }
39 |
40 |     public func placeSubviews(in bounds: CGRect, proposal: ProposedViewSize, subviews: Subviews, cache: inout ()) {
   |                 |                                          `- error: 'ProposedViewSize' is only available in macOS 13.0 or newer
   |                 `- note: add @available attribute to enclosing instance method
41 |         var occupiedWidth: CGFloat = .zero
42 |         var occupiedHeight: CGFloat = .zero
BUILD FAILURE 6.0 macosSpm