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: main
Initialized empty Git repository in /Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/Wouter01/LogStream
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
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/5] Compiling LogStream LogMessage.swift
[3/5] Emitting module LogStream
[4/5] Compiling LogStream ActivityStreamOptions.swift
[5/5] Compiling LogStream LogStream.swift
/Users/admin/builds/vMd7uqzK/0/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/admin/builds/vMd7uqzK/0/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/admin/builds/vMd7uqzK/0/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/admin/builds/vMd7uqzK/0/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/admin/builds/vMd7uqzK/0/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/admin/builds/vMd7uqzK/0/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/admin/builds/vMd7uqzK/0/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/admin/builds/vMd7uqzK/0/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
                                       ^
[6/6] Compiling LogStream LoggingSupport.swift
[0/1] Planning build
Building for debugging...
[1/2] Emitting module LogStream
[2/2] Compiling LogStream LogStream.swift
/Users/admin/builds/vMd7uqzK/0/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/admin/builds/vMd7uqzK/0/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/admin/builds/vMd7uqzK/0/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/admin/builds/vMd7uqzK/0/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/admin/builds/vMd7uqzK/0/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/admin/builds/vMd7uqzK/0/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/admin/builds/vMd7uqzK/0/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/admin/builds/vMd7uqzK/0/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