Build Information
Failed to build WZDateSlider, reference main (d78fbc
), with Swift 5.10 for macOS (SPM) on 12 Jul 2024 17:54:57 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.46.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/wannabewize/WZDateSlider.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/wannabewize/WZDateSlider
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at d78fbc8 Merge tag 'handling-min,max-date-changing' into develop
Cloned https://github.com/wannabewize/WZDateSlider.git
Revision (git rev-parse @):
d78fbc81bb84c8b6cde340e689b21a9a42f96c41
SUCCESS checkout https://github.com/wannabewize/WZDateSlider.git at main
========================================
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": "wzdateslider",
"name": "WZDateSlider",
"url": "https://github.com/wannabewize/WZDateSlider.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/WZDateSlider",
"dependencies": [
]
}
]
}
Fetching https://github.com/wannabewize/WZDateSlider.git
[1/119] Fetching wzdateslider
Fetched https://github.com/wannabewize/WZDateSlider.git from cache (1.52s)
Creating working copy for https://github.com/wannabewize/WZDateSlider.git
Working copy of https://github.com/wannabewize/WZDateSlider.git resolved at main (d78fbc8)
warning: '.resolve-product-dependencies': dependency 'wzdateslider' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $workDir
https://github.com/wannabewize/WZDateSlider.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-33747A42983211AE.txt
[3/6] Compiling WZDateSlider Library.swift
[4/6] Emitting module WZDateSlider
[5/6] Compiling WZDateSlider WZSingleDateSlider.swift
/Users/admin/builder/spi-builder-workspace/Sources/WZDateSlider/WZSingleDateSlider.swift:70:14: error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
.onChange(of: value) { newValue in
^
/Users/admin/builder/spi-builder-workspace/Sources/WZDateSlider/WZSingleDateSlider.swift:70:14: note: add 'if #available' version check
.onChange(of: value) { newValue in
^
/Users/admin/builder/spi-builder-workspace/Sources/WZDateSlider/WZSingleDateSlider.swift:36:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/WZDateSlider/WZSingleDateSlider.swift:7:15: note: add @available attribute to enclosing struct
public struct WZSingleDateSlider: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/WZDateSlider/WZSingleDateSlider.swift:76:14: error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
.onChange(of: date) { newValue in
^
/Users/admin/builder/spi-builder-workspace/Sources/WZDateSlider/WZSingleDateSlider.swift:76:14: note: add 'if #available' version check
.onChange(of: date) { newValue in
^
/Users/admin/builder/spi-builder-workspace/Sources/WZDateSlider/WZSingleDateSlider.swift:36:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/WZDateSlider/WZSingleDateSlider.swift:7:15: note: add @available attribute to enclosing struct
public struct WZSingleDateSlider: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/WZDateSlider/WZSingleDateSlider.swift:79:14: error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
.onChange(of: minDate) { newValue in
^
/Users/admin/builder/spi-builder-workspace/Sources/WZDateSlider/WZSingleDateSlider.swift:79:14: note: add 'if #available' version check
.onChange(of: minDate) { newValue in
^
/Users/admin/builder/spi-builder-workspace/Sources/WZDateSlider/WZSingleDateSlider.swift:36:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/WZDateSlider/WZSingleDateSlider.swift:7:15: note: add @available attribute to enclosing struct
public struct WZSingleDateSlider: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/WZDateSlider/WZSingleDateSlider.swift:82:14: error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
.onChange(of: maxDate) { newValue in
^
/Users/admin/builder/spi-builder-workspace/Sources/WZDateSlider/WZSingleDateSlider.swift:82:14: note: add 'if #available' version check
.onChange(of: maxDate) { newValue in
^
/Users/admin/builder/spi-builder-workspace/Sources/WZDateSlider/WZSingleDateSlider.swift:36:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/WZDateSlider/WZSingleDateSlider.swift:7:15: note: add @available attribute to enclosing struct
public struct WZSingleDateSlider: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/WZDateSlider/WZSingleDateSlider.swift:85:14: error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
.onChange(of: distance) { newValue in
^
/Users/admin/builder/spi-builder-workspace/Sources/WZDateSlider/WZSingleDateSlider.swift:85:14: note: add 'if #available' version check
.onChange(of: distance) { newValue in
^
/Users/admin/builder/spi-builder-workspace/Sources/WZDateSlider/WZSingleDateSlider.swift:36:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/WZDateSlider/WZSingleDateSlider.swift:7:15: note: add @available attribute to enclosing struct
public struct WZSingleDateSlider: View {
^
[6/6] Compiling WZDateSlider WZDoubleDateSlider.swift
/Users/admin/builder/spi-builder-workspace/Sources/WZDateSlider/WZDoubleDateSlider.swift:134:14: error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
.onChange(of: lowValue) { newValue in
^
/Users/admin/builder/spi-builder-workspace/Sources/WZDateSlider/WZDoubleDateSlider.swift:134:14: note: add 'if #available' version check
.onChange(of: lowValue) { newValue in
^
/Users/admin/builder/spi-builder-workspace/Sources/WZDateSlider/WZDoubleDateSlider.swift:46:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/WZDateSlider/WZDoubleDateSlider.swift:7:15: note: add @available attribute to enclosing struct
public struct WZDoubleDateSlider: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/WZDateSlider/WZDoubleDateSlider.swift:140:14: error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
.onChange(of: highValue) { newValue in
^
/Users/admin/builder/spi-builder-workspace/Sources/WZDateSlider/WZDoubleDateSlider.swift:140:14: note: add 'if #available' version check
.onChange(of: highValue) { newValue in
^
/Users/admin/builder/spi-builder-workspace/Sources/WZDateSlider/WZDoubleDateSlider.swift:46:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/WZDateSlider/WZDoubleDateSlider.swift:7:15: note: add @available attribute to enclosing struct
public struct WZDoubleDateSlider: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/WZDateSlider/WZDoubleDateSlider.swift:146:14: error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
.onChange(of: lowDate) { newValue in
^
/Users/admin/builder/spi-builder-workspace/Sources/WZDateSlider/WZDoubleDateSlider.swift:146:14: note: add 'if #available' version check
.onChange(of: lowDate) { newValue in
^
/Users/admin/builder/spi-builder-workspace/Sources/WZDateSlider/WZDoubleDateSlider.swift:46:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/WZDateSlider/WZDoubleDateSlider.swift:7:15: note: add @available attribute to enclosing struct
public struct WZDoubleDateSlider: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/WZDateSlider/WZDoubleDateSlider.swift:149:14: error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
.onChange(of: highDate) { newValue in
^
/Users/admin/builder/spi-builder-workspace/Sources/WZDateSlider/WZDoubleDateSlider.swift:149:14: note: add 'if #available' version check
.onChange(of: highDate) { newValue in
^
/Users/admin/builder/spi-builder-workspace/Sources/WZDateSlider/WZDoubleDateSlider.swift:46:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/WZDateSlider/WZDoubleDateSlider.swift:7:15: note: add @available attribute to enclosing struct
public struct WZDoubleDateSlider: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/WZDateSlider/WZDoubleDateSlider.swift:152:14: error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
.onChange(of: minDate) { newValue in
^
/Users/admin/builder/spi-builder-workspace/Sources/WZDateSlider/WZDoubleDateSlider.swift:152:14: note: add 'if #available' version check
.onChange(of: minDate) { newValue in
^
/Users/admin/builder/spi-builder-workspace/Sources/WZDateSlider/WZDoubleDateSlider.swift:46:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/WZDateSlider/WZDoubleDateSlider.swift:7:15: note: add @available attribute to enclosing struct
public struct WZDoubleDateSlider: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/WZDateSlider/WZDoubleDateSlider.swift:155:14: error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
.onChange(of: maxDate) { newValue in
^
/Users/admin/builder/spi-builder-workspace/Sources/WZDateSlider/WZDoubleDateSlider.swift:155:14: note: add 'if #available' version check
.onChange(of: maxDate) { newValue in
^
/Users/admin/builder/spi-builder-workspace/Sources/WZDateSlider/WZDoubleDateSlider.swift:46:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/WZDateSlider/WZDoubleDateSlider.swift:7:15: note: add @available attribute to enclosing struct
public struct WZDoubleDateSlider: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/WZDateSlider/WZDoubleDateSlider.swift:158:14: error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
.onChange(of: distance) { newValue in
^
/Users/admin/builder/spi-builder-workspace/Sources/WZDateSlider/WZDoubleDateSlider.swift:158:14: note: add 'if #available' version check
.onChange(of: distance) { newValue in
^
/Users/admin/builder/spi-builder-workspace/Sources/WZDateSlider/WZDoubleDateSlider.swift:46:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/WZDateSlider/WZDoubleDateSlider.swift:7:15: note: add @available attribute to enclosing struct
public struct WZDoubleDateSlider: View {
^
error: fatalError
BUILD FAILURE 5.10 macosSpm