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.0 for Linux on 21 Mar 2025 06:31:52 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
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.0
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-4606859-2":/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:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/eisenhuth/yasu.git
[1/57] Fetching yasu
Fetched https://github.com/eisenhuth/yasu.git from cache (0.32s)
Computing version for https://github.com/eisenhuth/yasu.git
Computed https://github.com/eisenhuth/yasu.git at 1.0.1 (1.44s)
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
[2/22] Copying S5_sponsor.json
[3/22] Copying S4_sponsor.json
[4/22] Copying S4_crossplay.json
[5/22] Copying S3_worldtour.json
[5/22] Copying S2_steam.json
[7/22] Copying S2_psn.json
[8/22] Copying S1_xbox.json
[9/22] Copying S5_crossplay.json
[9/22] Copying S2_xbox.json
[9/22] Copying S4_worldtour.json
[9/22] Copying S1_psn.json
[13/22] Copying OB.json
[14/22] Copying S1_crossplay.json
[15/22] Copying S5_worldtour.json
[16/22] Copying S2_crossplay.json
[17/22] Copying CB1.json
[17/22] Copying S1_steam.json
[17/22] Copying CB2.json
[20/22] Copying S3_crossplay.json
[21/22] Write swift-version-24593BA9C3E375BF.txt
[23/25] Emitting module YASU
[24/25] Compiling YASU BundleExtension.swift
[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-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-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.0 linux