Build Information
Failed to build AnimationStack with Swift 5.10 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/FlorianHubl/AnimationStack.git
Reference: main
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/FlorianHubl/AnimationStack
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 096fd21 updated
Cloned https://github.com/FlorianHubl/AnimationStack.git
Revision (git rev-parse @):
096fd211323e9231b713b0dd2144cb542f16eb13
SUCCESS checkout https://github.com/FlorianHubl/AnimationStack.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $workDir
https://github.com/FlorianHubl/AnimationStack.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--423B1241ED78D482.txt
[3/6] Compiling AnimationStack TupleViewExtention.swift
[4/6] Compiling AnimationStack AnimationStack.swift
[5/6] Emitting module AnimationStack
[6/6] Compiling AnimationStack ForEachAnimation.swift
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AnimationStack/ForEachAnimation.swift:76:14: error: 'onChange(of:initial:_:)' is only available in macOS 14.0 or newer
.onChange(of: data) { oldValue, newValue in
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AnimationStack/ForEachAnimation.swift:76:14: note: add 'if #available' version check
.onChange(of: data) { oldValue, newValue in
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AnimationStack/ForEachAnimation.swift:62:16: note: add @available attribute to enclosing property
public var body: some View {
^
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version--423B1241ED78D482.txt
[2/3] Compiling AnimationStack ForEachAnimation.swift
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AnimationStack/ForEachAnimation.swift:76:14: error: 'onChange(of:initial:_:)' is only available in macOS 14.0 or newer
.onChange(of: data) { oldValue, newValue in
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AnimationStack/ForEachAnimation.swift:76:14: note: add 'if #available' version check
.onChange(of: data) { oldValue, newValue in
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AnimationStack/ForEachAnimation.swift:62:16: note: add @available attribute to enclosing property
public var body: some View {
^
[3/3] Emitting module AnimationStack
error: fatalError
BUILD FAILURE 5.10 macosSpm