Build Information
Failed to build ChipLayout, reference master (351f54
), with Swift 6.0 for macOS (SPM) on 1 Dec 2024 10:37:04 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.58.1
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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "chiplayout",
"name": "ChipLayout",
"url": "https://github.com/VladimirCreator/ChipLayout.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ChipLayout",
"dependencies": [
]
}
]
}
Fetching https://github.com/VladimirCreator/ChipLayout.git
[1/128] Fetching chiplayout
Fetched https://github.com/VladimirCreator/ChipLayout.git from cache (1.91s)
Creating working copy for https://github.com/VladimirCreator/ChipLayout.git
Working copy of https://github.com/VladimirCreator/ChipLayout.git resolved at master (351f54f)
warning: '.resolve-product-dependencies': dependency 'chiplayout' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/VladimirCreator/ChipLayout.git
{
"dependencies" : [
],
"manifest_display_name" : "ChipLayout",
"name" : "ChipLayout",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "ChipLayout",
"targets" : [
"ChipLayout"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ChipLayoutTest",
"module_type" : "SwiftTarget",
"name" : "ChipLayoutTest",
"path" : "Tests",
"sources" : [
"ChipLayoutTests/ChipLayoutTests.swift"
],
"target_dependencies" : [
"ChipLayout"
],
"type" : "test"
},
{
"c99name" : "ChipLayout",
"module_type" : "SwiftTarget",
"name" : "ChipLayout",
"path" : "Sources/ChipLayout",
"product_memberships" : [
"ChipLayout"
],
"sources" : [
"Sources/ChipLayout.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.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