The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build ignorio, reference master (f0fcd1), with Swift 6.0 for Linux on 26 Nov 2024 08:42:46 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/josefdolezal/ignorio.git
Reference: master
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/josefdolezal/ignorio
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at f0fcd1e Remove badges
Cloned https://github.com/josefdolezal/ignorio.git
Revision (git rev-parse @):
f0fcd1e3ffb28aeb917098abd89ac0ea4daba747
SUCCESS checkout https://github.com/josefdolezal/ignorio.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/josefdolezal/ignorio.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-argument-parser
[1/12395] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.70s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.1.4 (0.47s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.1.4
[1/1] Compiling plugin GenerateManualPlugin
Building for debugging...
[1/12] Write sources
[5/12] Write swift-version-24593BA9C3E375BF.txt
[7/19] Emitting module ArgumentParserToolInfo
[8/19] Compiling ArgumentParserToolInfo ToolInfo.swift
[9/20] Wrapping AST for ArgumentParserToolInfo for debugging
[11/56] Compiling ArgumentParser NameSpecification.swift
[12/56] Compiling ArgumentParser Option.swift
[13/56] Compiling ArgumentParser OptionGroup.swift
[14/56] Compiling ArgumentParser AsyncParsableCommand.swift
[15/56] Compiling ArgumentParser CommandConfiguration.swift
[16/60] Compiling ArgumentParser Name.swift
[17/60] Compiling ArgumentParser Parsed.swift
[18/60] Compiling ArgumentParser ParsedValues.swift
[19/60] Compiling ArgumentParser ParserError.swift
[20/60] Compiling ArgumentParser SplitArguments.swift
[21/60] Compiling ArgumentParser ArgumentHelp.swift
[22/60] Compiling ArgumentParser ArgumentVisibility.swift
[23/60] Compiling ArgumentParser CompletionKind.swift
[24/60] Compiling ArgumentParser Errors.swift
[25/60] Compiling ArgumentParser Flag.swift
[26/60] Emitting module ArgumentParser
[27/60] Compiling ArgumentParser BashCompletionsGenerator.swift
[28/60] Compiling ArgumentParser CompletionsGenerator.swift
[29/60] Compiling ArgumentParser FishCompletionsGenerator.swift
[30/60] Compiling ArgumentParser ZshCompletionsGenerator.swift
[31/60] Compiling ArgumentParser Argument.swift
[32/60] Compiling ArgumentParser EnumerableFlag.swift
[33/60] Compiling ArgumentParser ExpressibleByArgument.swift
[34/60] Compiling ArgumentParser ParsableArguments.swift
[35/60] Compiling ArgumentParser ParsableArgumentsValidation.swift
[36/60] Compiling ArgumentParser ParsableCommand.swift
[37/60] Compiling ArgumentParser CollectionExtensions.swift
[38/60] Compiling ArgumentParser SequenceExtensions.swift
[39/60] Compiling ArgumentParser StringExtensions.swift
[40/60] Compiling ArgumentParser Tree.swift
[41/60] Compiling IgnorioKit IgnorioKitError.swift
[42/60] Compiling IgnorioKit HttpClient.swift
/host/spi-builder-workspace/Sources/IgnorioKit/HttpClient.swift:6:23: warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'HttpClient' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct HttpClient {
   |               `- note: consider making struct 'HttpClient' conform to the 'Sendable' protocol
 4 |     public var get: (_ url: URL) async throws -> Data
 5 |
 6 |     public static let live: HttpClient = .init(
   |                       |- warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'HttpClient' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'live' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 7 |         get: { url in
 8 |             let (data, _) = try await URLSession.shared.data(from: url)
/host/spi-builder-workspace/Sources/IgnorioKit/HttpClient.swift:8:50: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 6 |     public static let live: HttpClient = .init(
 7 |         get: { url in
 8 |             let (data, _) = try await URLSession.shared.data(from: url)
   |                                                  `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 9 |             return data
10 |         }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[43/60] Compiling IgnorioKit GitIgnoreIOService.swift
/host/spi-builder-workspace/Sources/IgnorioKit/HttpClient.swift:6:23: warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'HttpClient' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct HttpClient {
   |               `- note: consider making struct 'HttpClient' conform to the 'Sendable' protocol
 4 |     public var get: (_ url: URL) async throws -> Data
 5 |
 6 |     public static let live: HttpClient = .init(
   |                       |- warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'HttpClient' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'live' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 7 |         get: { url in
 8 |             let (data, _) = try await URLSession.shared.data(from: url)
[44/60] Emitting module IgnorioKit
/host/spi-builder-workspace/Sources/IgnorioKit/HttpClient.swift:6:23: warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'HttpClient' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct HttpClient {
   |               `- note: consider making struct 'HttpClient' conform to the 'Sendable' protocol
 4 |     public var get: (_ url: URL) async throws -> Data
 5 |
 6 |     public static let live: HttpClient = .init(
   |                       |- warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'HttpClient' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'live' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 7 |         get: { url in
 8 |             let (data, _) = try await URLSession.shared.data(from: url)
/host/spi-builder-workspace/Sources/IgnorioKit/HttpClient.swift:8:50: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 6 |     public static let live: HttpClient = .init(
 7 |         get: { url in
 8 |             let (data, _) = try await URLSession.shared.data(from: url)
   |                                                  `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 9 |             return data
10 |         }
[45/60] Compiling IgnorioKit UnknownTypesValidator.swift
[46/60] Compiling ArgumentParser DumpHelpGenerator.swift
[47/60] Compiling ArgumentParser HelpCommand.swift
[48/60] Compiling ArgumentParser HelpGenerator.swift
[49/60] Compiling ArgumentParser MessageInfo.swift
[50/60] Compiling ArgumentParser UsageGenerator.swift
BUILD FAILURE 6.0 linux