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 LogStream with Swift 5.8 for macOS (SPM).

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.36.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Wouter01/LogStream.git
Reference: 1.3.0
Initialized empty Git repository in /Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/Wouter01/LogStream
 * tag               1.3.0      -> FETCH_HEAD
HEAD is now at 6f83694 Fix 5.8 support
Cloned https://github.com/Wouter01/LogStream.git
Revision (git rev-parse @):
6f83694b2675dcf3b1cea0a52546ff4469c18282
SUCCESS checkout https://github.com/Wouter01/LogStream.git at 1.3.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.8
Building package at path:  $workDir
https://github.com/Wouter01/LogStream.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
Building for debugging...
[0/1] Compiling ExternalAppLoggerHeaders _.c
[2/6] Compiling LogStream ActivityStreamOptions.swift
[3/6] Emitting module LogStream
[4/6] Compiling LogStream LogMessage.swift
[5/6] Compiling LogStream LoggingSupport.swift
[6/6] Compiling LogStream LogStream.swift
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LogStream/LogStream.swift:34:38: error: generic parameter 'Element' could not be inferred
        let (stream, continuation) = AsyncStream.makeStream(of: LogMessage.self)
                                     ^
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LogStream/LogStream.swift:34:38: note: explicitly specify the generic arguments to fix this issue
        let (stream, continuation) = AsyncStream.makeStream(of: LogMessage.self)
                                     ^
                                                <Any>
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LogStream/LogStream.swift:34:50: error: type 'AsyncStream<Element>' has no member 'makeStream'
        let (stream, continuation) = AsyncStream.makeStream(of: LogMessage.self)
                                     ~~~~~~~~~~~ ^~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LogStream/LogStream.swift:38:40: error: unable to infer type of a closure parameter '_' in the current context
        continuation.onTermination = { _ in
                                       ^
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LogStream/LogStream.swift:65:38: error: generic parameter 'Element' could not be inferred
        let (stream, continuation) = AsyncStream.makeStream(of: LogMessage.self)
                                     ^
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LogStream/LogStream.swift:65:38: note: explicitly specify the generic arguments to fix this issue
        let (stream, continuation) = AsyncStream.makeStream(of: LogMessage.self)
                                     ^
                                                <Any>
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LogStream/LogStream.swift:65:50: error: type 'AsyncStream<Element>' has no member 'makeStream'
        let (stream, continuation) = AsyncStream.makeStream(of: LogMessage.self)
                                     ~~~~~~~~~~~ ^~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LogStream/LogStream.swift:71:40: error: unable to infer type of a closure parameter '_' in the current context
        continuation.onTermination = { _ in
                                       ^
[0/1] Planning build
Building for debugging...
[1/2] Emitting module LogStream
[2/2] Compiling LogStream LogStream.swift
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LogStream/LogStream.swift:34:38: error: generic parameter 'Element' could not be inferred
        let (stream, continuation) = AsyncStream.makeStream(of: LogMessage.self)
                                     ^
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LogStream/LogStream.swift:34:38: note: explicitly specify the generic arguments to fix this issue
        let (stream, continuation) = AsyncStream.makeStream(of: LogMessage.self)
                                     ^
                                                <Any>
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LogStream/LogStream.swift:34:50: error: type 'AsyncStream<Element>' has no member 'makeStream'
        let (stream, continuation) = AsyncStream.makeStream(of: LogMessage.self)
                                     ~~~~~~~~~~~ ^~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LogStream/LogStream.swift:38:40: error: unable to infer type of a closure parameter '_' in the current context
        continuation.onTermination = { _ in
                                       ^
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LogStream/LogStream.swift:65:38: error: generic parameter 'Element' could not be inferred
        let (stream, continuation) = AsyncStream.makeStream(of: LogMessage.self)
                                     ^
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LogStream/LogStream.swift:65:38: note: explicitly specify the generic arguments to fix this issue
        let (stream, continuation) = AsyncStream.makeStream(of: LogMessage.self)
                                     ^
                                                <Any>
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LogStream/LogStream.swift:65:50: error: type 'AsyncStream<Element>' has no member 'makeStream'
        let (stream, continuation) = AsyncStream.makeStream(of: LogMessage.self)
                                     ~~~~~~~~~~~ ^~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LogStream/LogStream.swift:71:40: error: unable to infer type of a closure parameter '_' in the current context
        continuation.onTermination = { _ in
                                       ^
BUILD FAILURE 5.8 macosSpm