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 5.9 for macOS (SPM) on 24 Jul 2024 21:56:46 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.48.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:             5.9
Building package at path:  $PWD
https://github.com/VladimirCreator/ChipLayout.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/2] 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
    public func sizeThatFits(proposal: ProposedViewSize, subviews: Subviews, cache: inout ()) -> CGSize {
                                       ^
/Users/admin/builder/spi-builder-workspace/Sources/ChipLayout/Sources/ChipLayout.swift:24:17: note: add @available attribute to enclosing instance method
    public func sizeThatFits(proposal: ProposedViewSize, subviews: Subviews, cache: inout ()) -> CGSize {
                ^
/Users/admin/builder/spi-builder-workspace/Sources/ChipLayout/Sources/ChipLayout.swift:23:15: note: add @available attribute to enclosing struct
public struct NePridumalNazvanieLayout: Layout {
              ^
/Users/admin/builder/spi-builder-workspace/Sources/ChipLayout/Sources/ChipLayout.swift:40:60: error: 'ProposedViewSize' is only available in macOS 13.0 or newer
    public func placeSubviews(in bounds: CGRect, proposal: ProposedViewSize, subviews: Subviews, cache: inout ()) {
                                                           ^
/Users/admin/builder/spi-builder-workspace/Sources/ChipLayout/Sources/ChipLayout.swift:40:17: note: add @available attribute to enclosing instance method
    public func placeSubviews(in bounds: CGRect, proposal: ProposedViewSize, subviews: Subviews, cache: inout ()) {
                ^
/Users/admin/builder/spi-builder-workspace/Sources/ChipLayout/Sources/ChipLayout.swift:23:15: note: add @available attribute to enclosing struct
public struct NePridumalNazvanieLayout: Layout {
              ^
[2/2] 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
    public func sizeThatFits(proposal: ProposedViewSize, subviews: Subviews, cache: inout ()) -> CGSize {
                                       ^
/Users/admin/builder/spi-builder-workspace/Sources/ChipLayout/Sources/ChipLayout.swift:24:17: note: add @available attribute to enclosing instance method
    public func sizeThatFits(proposal: ProposedViewSize, subviews: Subviews, cache: inout ()) -> CGSize {
                ^
/Users/admin/builder/spi-builder-workspace/Sources/ChipLayout/Sources/ChipLayout.swift:23:15: note: add @available attribute to enclosing struct
public struct NePridumalNazvanieLayout: Layout {
              ^
/Users/admin/builder/spi-builder-workspace/Sources/ChipLayout/Sources/ChipLayout.swift:40:60: error: 'ProposedViewSize' is only available in macOS 13.0 or newer
    public func placeSubviews(in bounds: CGRect, proposal: ProposedViewSize, subviews: Subviews, cache: inout ()) {
                                                           ^
/Users/admin/builder/spi-builder-workspace/Sources/ChipLayout/Sources/ChipLayout.swift:40:17: note: add @available attribute to enclosing instance method
    public func placeSubviews(in bounds: CGRect, proposal: ProposedViewSize, subviews: Subviews, cache: inout ()) {
                ^
/Users/admin/builder/spi-builder-workspace/Sources/ChipLayout/Sources/ChipLayout.swift:23:15: note: add @available attribute to enclosing struct
public struct NePridumalNazvanieLayout: Layout {
              ^
error: fatalError
BUILD FAILURE 5.9 macosSpm