Build Information
Failed to build WZDateSlider, reference main (d78fbc
), with Swift 5.8 for macOS (SPM) on 12 Jul 2024 17:57:24 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.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
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.8
Building package at path: $workDir
https://github.com/wannabewize/WZDateSlider.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
Building for debugging...
[1/4] Compiling WZDateSlider WZSingleDateSlider.swift
/Users/admin/builder/spi-builder-workspace/Sources/WZDateSlider/WZSingleDateSlider.swift:37:27: error: cannot infer return type for closure with multiple statements; add explicit type to disambiguate
let dragGesture = { (width: CGFloat, lowLimit: Int, highLimit: Int) in
^
-> <#Result#>
[2/4] Compiling WZDateSlider Library.swift
[3/4] Emitting module WZDateSlider
[4/4] Compiling WZDateSlider WZDoubleDateSlider.swift
/Users/admin/builder/spi-builder-workspace/Sources/WZDateSlider/WZDoubleDateSlider.swift:48:30: error: cannot infer return type for closure with multiple statements; add explicit type to disambiguate
let lowDragGesture = { (width: CGFloat, topLimit: Int, bottomLimit: Int) in
^
-> <#Result#>
BUILD FAILURE 5.8 macosSpm