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 MeterReporter, reference main (537004), with Swift 5.8 for macOS (SPM) on 5 Jul 2024 22:30:44 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.45.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ChimeHQ/MeterReporter.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ChimeHQ/MeterReporter
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 5370040 Fix Badges
Cloned https://github.com/ChimeHQ/MeterReporter.git
Revision (git rev-parse @):
5370040cd8af14372555ed513cf89cea4aa2115b
SUCCESS checkout https://github.com/ChimeHQ/MeterReporter.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.8
Building package at path:  $workDir
https://github.com/ChimeHQ/MeterReporter.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
Building for debugging...
[0/9] Compiling BinaryImage BinaryImage.m
[2/16] Compiling Background Uploader.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Background/Sources/Background/URLSessionDelegateAdapter.swift:11:46: error: type 'AsyncStream<URLSessionDelegateAdapter.Event>' has no member 'makeStream'
        private let streamPair = AsyncStream<Event>.makeStream()
                                 ~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
[3/16] Compiling Background URLResponse+Utilities.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Background/Sources/Background/URLResponse+Utilities.swift:30:5: error: reference to member 'failure' cannot be resolved without a contextual type
                        .failure(error)
                        ~^~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Background/Sources/Background/URLResponse+Utilities.swift:32:5: error: reference to member 'success' cannot be resolved without a contextual type
                        .success(urlResponse)
                        ~^~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Background/Sources/Background/URLResponse+Utilities.swift:34:5: error: reference to member 'failure' cannot be resolved without a contextual type
                        .failure(NetworkResponseError.noResponseOrError)
                        ~^~~~~~~
[4/16] Compiling Background URLSessionDelegateAdapter.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Background/Sources/Background/URLSessionDelegateAdapter.swift:11:46: error: type 'AsyncStream<URLSessionDelegateAdapter.Event>' has no member 'makeStream'
        private let streamPair = AsyncStream<Event>.makeStream()
                                 ~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Background/Sources/Background/URLSessionDelegateAdapter.swift:20:23: error: cannot infer contextual base in reference to member 'didFinishEvents'
                streamPair.1.yield(.didFinishEvents)
                                   ~^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Background/Sources/Background/URLSessionDelegateAdapter.swift:26:23: error: cannot infer contextual base in reference to member 'taskComplete'
                streamPair.1.yield(.taskComplete(task, error))
                                   ~^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Background/Sources/Background/URLSessionDelegateAdapter.swift:32:23: error: cannot infer contextual base in reference to member 'downloadFinished'
                streamPair.1.yield(.downloadFinished(downloadTask, location))
                                   ~^~~~~~~~~~~~~~~~
[5/16] Compiling Background TaskScheduler.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/16] Compiling Background NetworkResponse.swift
[7/16] Compiling Background BackgroundTaskConfiguration.swift
[8/16] Compiling Background Downloader.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Background/Sources/Background/URLSessionDelegateAdapter.swift:11:46: error: type 'AsyncStream<URLSessionDelegateAdapter.Event>' has no member 'makeStream'
        private let streamPair = AsyncStream<Event>.makeStream()
                                 ~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
[9/16] Emitting module Background
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Background/Sources/Background/URLSessionDelegateAdapter.swift:11:46: error: type 'AsyncStream<URLSessionDelegateAdapter.Event>' has no member 'makeStream'
        private let streamPair = AsyncStream<Event>.makeStream()
                                 ~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
Fetching https://github.com/ChimeHQ/Wells
[3/208] Fetching wells
Fetched https://github.com/ChimeHQ/Wells (0.76s)
Fetching https://github.com/ChimeHQ/Background
[1/149] Fetching background
Fetched https://github.com/ChimeHQ/Background (0.76s)
Fetching https://github.com/ChimeHQ/Meter
[1/569] Fetching meter
Fetched https://github.com/ChimeHQ/Meter (0.85s)
Computing version for https://github.com/ChimeHQ/Meter
Computed https://github.com/ChimeHQ/Meter at 0.4.0 (3.20s)
Creating working copy for https://github.com/ChimeHQ/Wells
Working copy of https://github.com/ChimeHQ/Wells resolved at c31f833829083c5966adeff16832879acdcad214
Creating working copy for https://github.com/ChimeHQ/Meter
Working copy of https://github.com/ChimeHQ/Meter resolved at 0.4.0
Creating working copy for https://github.com/ChimeHQ/Background
Working copy of https://github.com/ChimeHQ/Background resolved at 11f1bc95a7ec88c275b522b12883ada9dbc062e6
BUILD FAILURE 5.8 macosSpm