The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ignorio, reference master (f0fcd1), with Swift 6.1 for Wasm on 27 May 2025 06:27:19 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
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:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/josefdolezal/ignorio.git
https://github.com/josefdolezal/ignorio.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.2",
            "upper_bound" : "1.2.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    }
  ],
  "manifest_display_name" : "ignorio",
  "name" : "ignorio",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "IgnorioKit",
      "targets" : [
        "IgnorioKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ignorio",
      "targets" : [
        "ignorio"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ignorio",
      "module_type" : "SwiftTarget",
      "name" : "ignorio",
      "path" : "Sources/ignorio",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "ignorio"
      ],
      "sources" : [
        "Commands/Generate.swift",
        "Commands/List.swift",
        "Commands/Search.swift",
        "Ignorio.swift",
        "IgnorioError.swift"
      ],
      "target_dependencies" : [
        "IgnorioKit"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "IgnorioKitTests",
      "module_type" : "SwiftTarget",
      "name" : "IgnorioKitTests",
      "path" : "Tests/IgnorioKitTests",
      "sources" : [
        "APIActionsTests.swift",
        "ContentValidations/UnknownTypesValidatorTests.swift"
      ],
      "target_dependencies" : [
        "IgnorioKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "IgnorioKit",
      "module_type" : "SwiftTarget",
      "name" : "IgnorioKit",
      "path" : "Sources/IgnorioKit",
      "product_memberships" : [
        "IgnorioKit",
        "ignorio"
      ],
      "sources" : [
        "ContentValidations/UnknownTypesValidator.swift",
        "GitIgnoreIOService.swift",
        "HttpClient.swift",
        "IgnorioKitError.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-argument-parser
[1/15351] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.31s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.1.4 (2.23s)
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 ArgumentHelp.swift
[12/56] Compiling ArgumentParser ArgumentVisibility.swift
[13/56] Compiling ArgumentParser CompletionKind.swift
[14/56] Compiling ArgumentParser Errors.swift
[15/56] Compiling ArgumentParser Flag.swift
[16/60] Compiling IgnorioKit IgnorioKitError.swift
[17/60] Compiling IgnorioKit GitIgnoreIOService.swift
[18/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: add '@MainActor' to make static property 'live' part of global actor 'MainActor'
   |                       `- 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)
[19/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: add '@MainActor' to make static property 'live' part of global actor 'MainActor'
   |                       `- 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 |         }
[20/60] Compiling IgnorioKit UnknownTypesValidator.swift
[21/60] Compiling ArgumentParser Name.swift
[22/60] Compiling ArgumentParser Parsed.swift
[23/60] Compiling ArgumentParser ParsedValues.swift
[24/60] Compiling ArgumentParser ParserError.swift
[25/60] Compiling ArgumentParser SplitArguments.swift
[26/60] Compiling ArgumentParser DumpHelpGenerator.swift
[27/60] Compiling ArgumentParser HelpCommand.swift
[28/60] Compiling ArgumentParser HelpGenerator.swift
[29/60] Compiling ArgumentParser MessageInfo.swift
[30/60] Compiling ArgumentParser UsageGenerator.swift
[31/60] Emitting module ArgumentParser
[32/60] Compiling ArgumentParser BashCompletionsGenerator.swift
[33/60] Compiling ArgumentParser CompletionsGenerator.swift
[34/60] Compiling ArgumentParser FishCompletionsGenerator.swift
[35/60] Compiling ArgumentParser ZshCompletionsGenerator.swift
[36/60] Compiling ArgumentParser Argument.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 ArgumentParser NameSpecification.swift
[42/60] Compiling ArgumentParser Option.swift
[43/60] Compiling ArgumentParser OptionGroup.swift
[44/60] Compiling ArgumentParser AsyncParsableCommand.swift
[45/60] Compiling ArgumentParser CommandConfiguration.swift
[46/60] Compiling ArgumentParser EnumerableFlag.swift
[47/60] Compiling ArgumentParser ExpressibleByArgument.swift
[48/60] Compiling ArgumentParser ParsableArguments.swift
[49/60] Compiling ArgumentParser ParsableArgumentsValidation.swift
[50/60] Compiling ArgumentParser ParsableCommand.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin GenerateManualPlugin
Building for debugging...
[1/8] Write swift-version-24593BA9C3E375BF.txt
[3/15] Compiling IgnorioKit IgnorioKitError.swift
[4/15] Compiling IgnorioKit HttpClient.swift
/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)
[5/15] Compiling IgnorioKit UnknownTypesValidator.swift
[6/15] Emitting module IgnorioKit
/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 |         }
[7/15] Compiling IgnorioKit GitIgnoreIOService.swift
[8/15] Emitting module ArgumentParserToolInfo
BUILD FAILURE 6.1 wasm