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 DiasporaNodeInfo with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.41.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/shadone/DiasporaNodeInfo.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/shadone/DiasporaNodeInfo
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 48bfb66 Updated changelog
Cloned https://github.com/shadone/DiasporaNodeInfo.git
Revision (git rev-parse @):
48bfb66429fa4db7dbab033e1cdfbfeedecc0d4e
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/shadone/DiasporaNodeInfo.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/shadone/DiasporaNodeInfo.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Fetching https://github.com/apple/swift-argument-parser
[1/11861] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.74s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.4.0 (0.38s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.4.0
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/13] Write sources
[1/13] Copying PrivacyInfo.xcprivacy
[2/13] Write sources
[6/13] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/40] Emitting module DiasporaNodeInfo
/host/spi-builder-workspace/Sources/DiasporaNodeInfo/NodeInfoManager.swift:38:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private let session: URLSession
                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DiasporaNodeInfo/NodeInfoManager.swift:45:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public init(session: URLSession = .shared) {
                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DiasporaNodeInfo/NodeInfoManager.swift:45:40: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    public init(session: URLSession = .shared) {
                                      ~^~~~~~
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/DiasporaNodeInfo.build/DerivedSources/resource_bundle_accessor.swift:4:16: warning: static property 'module' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
    static let module: Bundle = {
               ^
[9/43] Emitting module ArgumentParserToolInfo
[10/43] Compiling ArgumentParserToolInfo ToolInfo.swift
[11/44] Wrapping AST for ArgumentParserToolInfo for debugging
[13/81] Compiling ArgumentParser BashCompletionsGenerator.swift
[14/81] Compiling ArgumentParser CompletionsGenerator.swift
[15/81] Compiling ArgumentParser FishCompletionsGenerator.swift
[16/81] Compiling ArgumentParser ZshCompletionsGenerator.swift
[17/81] Compiling ArgumentParser ParsedValues.swift
[18/81] Compiling ArgumentParser ParserError.swift
[19/81] Compiling ArgumentParser SplitArguments.swift
[20/81] Compiling ArgumentParser Errors.swift
[21/81] Compiling ArgumentParser Flag.swift
[22/81] Compiling ArgumentParser NameSpecification.swift
[23/81] Compiling ArgumentParser ExpressibleByArgument.swift
[24/81] Compiling ArgumentParser Argument.swift
[25/81] Compiling ArgumentParser ArgumentHelp.swift
[26/81] Compiling ArgumentParser ArgumentVisibility.swift
[27/81] Compiling ArgumentParser CompletionKind.swift
[28/81] Compiling ArgumentParser CommandConfiguration.swift
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/DiasporaNodeInfo.build/DerivedSources/resource_bundle_accessor.swift:4:16: warning: static property 'module' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
    static let module: Bundle = {
               ^
[29/81] Compiling ArgumentParser EnumerableFlag.swift
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/DiasporaNodeInfo.build/DerivedSources/resource_bundle_accessor.swift:4:16: warning: static property 'module' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
    static let module: Bundle = {
               ^
[30/81] Compiling ArgumentParser ArgumentDefinition.swift
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/DiasporaNodeInfo.build/DerivedSources/resource_bundle_accessor.swift:4:16: warning: static property 'module' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
    static let module: Bundle = {
               ^
[31/81] Compiling ArgumentParser Option.swift
/host/spi-builder-workspace/Sources/DiasporaNodeInfo/NodeInfoManager.swift:38:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private let session: URLSession
                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DiasporaNodeInfo/NodeInfoManager.swift:45:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public init(session: URLSession = .shared) {
                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DiasporaNodeInfo/NodeInfoManager.swift:45:40: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    public init(session: URLSession = .shared) {
                                      ~^~~~~~
/host/spi-builder-workspace/Sources/DiasporaNodeInfo/NodeInfoManager.swift:59:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: url)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/DiasporaNodeInfo/NodeInfoManager.swift:64:57: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
            let (data, urlResponse) = try await session.data(for: request)
                                                ~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/DiasporaNodeInfo/NodeInfoManager.swift:116:67: error: cannot infer key path type from context; consider explicitly specifying a root type
            let allSupportedSchemas = wellKnownNodeInfo.links.map(\.rel)
                                                                  ^
                                                                   <#Root#>
/host/spi-builder-workspace/Sources/DiasporaNodeInfo/NodeInfoManager.swift:131:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: nodeInfoUrl)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/DiasporaNodeInfo/NodeInfoManager.swift:141:53: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
        let (data, urlResponse) = try await session.data(for: request)
                                            ~~~~~~~ ^~~~
[32/81] Compiling ArgumentParser OptionGroup.swift
/host/spi-builder-workspace/Sources/DiasporaNodeInfo/NodeInfoManager.swift:38:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private let session: URLSession
                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DiasporaNodeInfo/NodeInfoManager.swift:45:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public init(session: URLSession = .shared) {
                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DiasporaNodeInfo/NodeInfoManager.swift:45:40: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    public init(session: URLSession = .shared) {
                                      ~^~~~~~
/host/spi-builder-workspace/Sources/DiasporaNodeInfo/NodeInfoManager.swift:59:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: url)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/DiasporaNodeInfo/NodeInfoManager.swift:64:57: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
            let (data, urlResponse) = try await session.data(for: request)
                                                ~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/DiasporaNodeInfo/NodeInfoManager.swift:116:67: error: cannot infer key path type from context; consider explicitly specifying a root type
            let allSupportedSchemas = wellKnownNodeInfo.links.map(\.rel)
                                                                  ^
                                                                   <#Root#>
/host/spi-builder-workspace/Sources/DiasporaNodeInfo/NodeInfoManager.swift:131:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: nodeInfoUrl)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/DiasporaNodeInfo/NodeInfoManager.swift:141:53: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
        let (data, urlResponse) = try await session.data(for: request)
                                            ~~~~~~~ ^~~~
[33/81] Compiling ArgumentParser AsyncParsableCommand.swift
/host/spi-builder-workspace/Sources/DiasporaNodeInfo/NodeInfoManager.swift:38:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private let session: URLSession
                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DiasporaNodeInfo/NodeInfoManager.swift:45:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public init(session: URLSession = .shared) {
                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DiasporaNodeInfo/NodeInfoManager.swift:45:40: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    public init(session: URLSession = .shared) {
                                      ~^~~~~~
/host/spi-builder-workspace/Sources/DiasporaNodeInfo/NodeInfoManager.swift:59:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: url)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/DiasporaNodeInfo/NodeInfoManager.swift:64:57: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
            let (data, urlResponse) = try await session.data(for: request)
                                                ~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/DiasporaNodeInfo/NodeInfoManager.swift:116:67: error: cannot infer key path type from context; consider explicitly specifying a root type
            let allSupportedSchemas = wellKnownNodeInfo.links.map(\.rel)
                                                                  ^
                                                                   <#Root#>
/host/spi-builder-workspace/Sources/DiasporaNodeInfo/NodeInfoManager.swift:131:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: nodeInfoUrl)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/DiasporaNodeInfo/NodeInfoManager.swift:141:53: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
        let (data, urlResponse) = try await session.data(for: request)
                                            ~~~~~~~ ^~~~
[34/81] Compiling ArgumentParser ArgumentDecoder.swift
[35/81] Compiling ArgumentParser Name.swift
[36/81] Compiling ArgumentParser Parsed.swift
[37/81] Compiling ArgumentParser ParsableArguments.swift
[38/81] Compiling ArgumentParser ParsableArgumentsValidation.swift
[39/81] Compiling ArgumentParser ParsableCommand.swift
error: fatalError
BUILD FAILURE 5.10 linux