The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ignorio with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.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:             5.10
Building package at path:  $workDir
https://github.com/josefdolezal/ignorio.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/apple/swift-argument-parser
[1/11426] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.65s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.1.2 (0.41s)
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.2
Building for debugging...
[0/11] Write sources
[4/11] Write swift-version-24593BA9C3E375BF.txt
[6/18] Emitting module ArgumentParserToolInfo
[7/18] Compiling ArgumentParserToolInfo ToolInfo.swift
[8/19] Wrapping AST for ArgumentParserToolInfo for debugging
[10/55] Emitting module ArgumentParser
[11/59] Compiling IgnorioKit IgnorioKitError.swift
[12/59] Compiling IgnorioKit GitIgnoreIOService.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/59] Emitting module IgnorioKit
/host/spi-builder-workspace/Sources/IgnorioKit/HttpClient.swift:8:50: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
            let (data, _) = try await URLSession.shared.data(from: url)
                                      ~~~~~~~~~~ ^~~~~~
[14/59] Compiling IgnorioKit HttpClient.swift
/host/spi-builder-workspace/Sources/IgnorioKit/HttpClient.swift:8:50: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
            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'
            let (data, _) = try await URLSession.shared.data(from: url)
                                      ~~~~~~~~~~ ^~~~~~
[15/59] Compiling IgnorioKit UnknownTypesValidator.swift
error: fatalError
[0/1] Planning build
Building for debugging...
[0/7] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/44] Emitting module IgnorioKit
/host/spi-builder-workspace/Sources/IgnorioKit/HttpClient.swift:8:50: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
            let (data, _) = try await URLSession.shared.data(from: url)
                                      ~~~~~~~~~~ ^~~~~~
[3/44] Compiling IgnorioKit HttpClient.swift
/host/spi-builder-workspace/Sources/IgnorioKit/HttpClient.swift:8:50: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
            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'
            let (data, _) = try await URLSession.shared.data(from: url)
                                      ~~~~~~~~~~ ^~~~~~
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 1