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 WZDateSlider, reference 1.0.2 (d78fbc), with Swift 5.8 for macOS (SPM) on 12 Jul 2024 17:54:33 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: 1.0.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/wannabewize/WZDateSlider
 * tag               1.0.2      -> FETCH_HEAD
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 1.0.2
========================================
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 Library.swift
[2/4] Emitting module WZDateSlider
[3/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#>
[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