The Swift Package Index logo.Swift Package Index

Build Information

Failed to build MGUtils, reference 1.0.2 (6bae52), with Swift 6.0 for Linux on 29 Jul 2025 18:30:58 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dongzs0907/MGUtils.git
Reference: 1.0.2
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/dongzs0907/MGUtils
 * tag               1.0.2      -> FETCH_HEAD
HEAD is now at 6bae527 完善
Cloned https://github.com/dongzs0907/MGUtils.git
Revision (git rev-parse @):
6bae527ed7172d03720dd40b89f32af6882913f2
SUCCESS checkout https://github.com/dongzs0907/MGUtils.git at 1.0.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/dongzs0907/MGUtils.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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:f0ebbd71bee66c692411a61ab9a7ee6edc82316b7a7b4c6173cc06c00f20ed39
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
error: 'spi-builder-workspace': Invalid manifest (compiled with: ["/usr/bin/swiftc", "-vfsoverlay", "/tmp/TemporaryDirectory.6tLo09/vfs.yaml", "-L", "/usr/lib/swift/pm/ManifestAPI", "-lPackageDescription", "-Xlinker", "-rpath", "-Xlinker", "/usr/lib/swift/pm/ManifestAPI", "-swift-version", "5", "-I", "/usr/lib/swift/pm/ManifestAPI", "-package-description-version", "5.9.0", "/host/spi-builder-workspace/Package.swift", "-o", "/tmp/TemporaryDirectory.lemAAn/spi-builder-workspace-manifest"])
/host/spi-builder-workspace/Package.swift:25:9: error: unexpected ',' separator
23 |                 .linkedFramework("UIKit", .when(platforms: [.iOS])) // 关键:显式链接 UIKit[3,5](@ref)
24 |             ],
25 |         ),
   |         `- error: unexpected ',' separator
26 |
27 |         .testTarget(
error: 'spi-builder-workspace': Invalid manifest (compiled with: ["/usr/bin/swiftc", "-vfsoverlay", "/tmp/TemporaryDirectory.OlFhwq/vfs.yaml", "-L", "/usr/lib/swift/pm/ManifestAPI", "-lPackageDescription", "-Xlinker", "-rpath", "-Xlinker", "/usr/lib/swift/pm/ManifestAPI", "-swift-version", "5", "-I", "/usr/lib/swift/pm/ManifestAPI", "-package-description-version", "5.9.0", "/host/spi-builder-workspace/Package.swift", "-o", "/tmp/TemporaryDirectory.YLx2By/spi-builder-workspace-manifest"])
/host/spi-builder-workspace/Package.swift:25:9: error: unexpected ',' separator
23 |                 .linkedFramework("UIKit", .when(platforms: [.iOS])) // 关键:显式链接 UIKit[3,5](@ref)
24 |             ],
25 |         ),
   |         `- error: unexpected ',' separator
26 |
27 |         .testTarget(
BUILD FAILURE 6.0 linux