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 Ospuze, reference master (2347d6), with Swift 6.1 for Linux on 1 May 2025 01:41:45 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.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Eisenhuth/Ospuze.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/Eisenhuth/Ospuze
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 2347d62 Season 6
Cloned https://github.com/Eisenhuth/Ospuze.git
Revision (git rev-parse @):
2347d62006692d9c3d0be1eadf4aa0fbce989734
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Eisenhuth/Ospuze.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Eisenhuth/Ospuze.git
https://github.com/Eisenhuth/Ospuze.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "yasu",
      "requirement" : {
        "exact" : [
          "1.0.1"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/eisenhuth/yasu.git"
    }
  ],
  "manifest_display_name" : "Ospuze",
  "name" : "Ospuze",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "Ospuze",
      "targets" : [
        "Ospuze"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Ospuze",
      "module_type" : "SwiftTarget",
      "name" : "Ospuze",
      "path" : "Sources/Ospuze",
      "product_dependencies" : [
        "YASU"
      ],
      "product_memberships" : [
        "Ospuze"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/Ospuze/Resources/CB1.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Ospuze/Resources/CB2.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Ospuze/Resources/OB.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Ospuze/Resources/S1_crossplay.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Ospuze/Resources/S1_psn.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Ospuze/Resources/S1_steam.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Ospuze/Resources/S1_xbox.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Ospuze/Resources/S2_crossplay.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Ospuze/Resources/S2_psn.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Ospuze/Resources/S2_steam.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Ospuze/Resources/S2_xbox.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Ospuze/Resources/S3_crossplay.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Ospuze/Resources/S3_worldtour.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Ospuze/Resources/S4_crossplay.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Ospuze/Resources/S4_sponsor.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Ospuze/Resources/S4_worldtour.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Ospuze/Resources/S5_crossplay.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Ospuze/Resources/S5_sponsor.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Ospuze/Resources/S5_worldtour.json",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Leaderboard/LeaderboardEntry.swift",
        "Leaderboard/LeaderboardEntryV2.swift",
        "Leaderboard/LeaderboardEntryV3.swift",
        "Leaderboard/Leaderboards.swift",
        "Leaderboard/Leagues.swift",
        "Ospuze.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-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.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/eisenhuth/yasu.git
[1/57] Fetching yasu
Fetched https://github.com/eisenhuth/yasu.git from cache (0.22s)
Computing version for https://github.com/eisenhuth/yasu.git
Computed https://github.com/eisenhuth/yasu.git at 1.0.1 (0.62s)
Creating working copy for https://github.com/eisenhuth/yasu.git
Working copy of https://github.com/eisenhuth/yasu.git resolved at 1.0.1
Building for debugging...
[0/22] Write sources
[0/22] Copying CB1.json
[0/22] Copying CB2.json
[0/22] Copying OB.json
[0/22] Copying S4_sponsor.json
[0/22] Copying S5_crossplay.json
[0/22] Copying S3_worldtour.json
[0/22] Copying S2_xbox.json
[0/22] Copying S4_crossplay.json
[0/22] Copying S3_crossplay.json
[0/22] Copying S2_steam.json
[0/22] Copying S2_psn.json
[0/22] Copying S1_xbox.json
[0/22] Write sources
[0/22] Copying S2_crossplay.json
[8/22] Copying S1_steam.json
[16/22] Copying S1_psn.json
[16/22] Copying S1_crossplay.json
[16/22] Copying S4_worldtour.json
[19/22] Copying S5_worldtour.json
[20/22] Copying S5_sponsor.json
[21/22] Write swift-version-24593BA9C3E375BF.txt
[23/25] Compiling YASU BundleExtension.swift
[24/25] Emitting module YASU
[25/25] Compiling YASU LoadData.swift
/host/spi-builder-workspace/.build/checkouts/yasu/Sources/YASU/Data/LoadData.swift:5:46: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 3 | public func loadData<T: Decodable>(_ url: URL) async -> T? {
 4 |     do{
 5 |         let (data, _) = try await URLSession.shared.data(from: url)
   |                                              `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 6 |         let decoder = JSONDecoder()
 7 |         let decoded = try decoder.decode(T.self, from: data)
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/4] Compiling YASU BundleExtension.swift
[3/4] Emitting module YASU
[4/4] Compiling YASU LoadData.swift
/host/spi-builder-workspace/.build/checkouts/yasu/Sources/YASU/Data/LoadData.swift:5:46: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 3 | public func loadData<T: Decodable>(_ url: URL) async -> T? {
 4 |     do{
 5 |         let (data, _) = try await URLSession.shared.data(from: url)
   |                                              `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 6 |         let decoder = JSONDecoder()
 7 |         let decoded = try decoder.decode(T.self, from: data)
BUILD FAILURE 6.1 linux