The Swift Package Index logo.Swift Package Index

Build Information

Successful build of LucyEngine, reference main (b3520d), with Swift 6.1 for Wasm on 29 May 2025 19:43:05 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Intron014/Lucy.git
Reference: main
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/Intron014/Lucy
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at b3520d9 Workflows for testing
Cloned https://github.com/Intron014/Lucy.git
Revision (git rev-parse @):
b3520d9f7e469ac569062e648b70f6962b796952
SUCCESS checkout https://github.com/Intron014/Lucy.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Intron014/Lucy.git
https://github.com/Intron014/Lucy.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "LucyEngine",
  "name" : "LucyEngine",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "LucyEngine",
      "targets" : [
        "LucyEngine"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "LucyCore",
      "targets" : [
        "LucyCore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "LucyEngine",
      "module_type" : "SwiftTarget",
      "name" : "LucyEngine",
      "path" : "Sources/LucyEngine",
      "product_memberships" : [
        "LucyEngine"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "LucyCore"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "LucyCore",
      "module_type" : "SwiftTarget",
      "name" : "LucyCore",
      "path" : "Sources/LucyCore",
      "product_memberships" : [
        "LucyEngine",
        "LucyCore"
      ],
      "sources" : [
        "Board.swift",
        "LucyEngine.swift",
        "Move.swift",
        "Piece.swift",
        "Searcher.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/7] Write sources
[2/7] Write swift-version-24593BA9C3E375BF.txt
[4/13] Compiling LucyCore Searcher.swift
/host/spi-builder-workspace/Sources/LucyCore/Searcher.swift:25:22: warning: result of call to 'makeMove' is unused
23 |         for move in moves {
24 |             var newBoard = board
25 |             newBoard.makeMove(move)
   |                      `- warning: result of call to 'makeMove' is unused
26 |             let (value, _) = minimax(board: newBoard, depth: depth - 1, maximizingPlayer: !maximizingPlayer)
27 |
[5/13] Compiling LucyCore Move.swift
[6/13] Compiling LucyCore Piece.swift
[7/13] Compiling LucyCore LucyEngine.swift
/host/spi-builder-workspace/Sources/LucyCore/LucyEngine.swift:56:23: warning: result of call to 'makeMove' is unused
 54 |         if let movesIndex = args.firstIndex(of: "moves") {
 55 |             for move in args[(movesIndex + 1)...] {
 56 |                 board.makeMove(Move(from: String(move)))
    |                       `- warning: result of call to 'makeMove' is unused
 57 |             }
 58 |         }
/host/spi-builder-workspace/Sources/LucyCore/LucyEngine.swift:76:21: warning: initialization of immutable value 'capturedType' was never used; consider replacing with assignment to '_' or removing it
 74 |             if let capturedPiece = captured {
 75 |                 let capturedColor = capturedPiece.color == .white ? "White" : "Black"
 76 |                 let capturedType = capturedPiece.type == .man ? "man" : "king"
    |                     `- warning: initialization of immutable value 'capturedType' was never used; consider replacing with assignment to '_' or removing it
 77 |                 let toPosition = formatPosition(move.to)
 78 |                 gameEvents.append("Move \(i): \(board.currentPlayer.description) captured a \(capturedColor) piece at \(toPosition)")
[8/13] Emitting module LucyCore
[9/13] Compiling LucyCore Board.swift
[10/14] Wrapping AST for LucyCore for debugging
[12/16] Emitting module LucyEngine
[13/16] Compiling LucyEngine main.swift
[14/17] Wrapping AST for LucyEngine for debugging
[15/17] Write Objects.LinkFileList
wasm-ld: warning: /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/wasi/lib_FoundationCollections.a: archive member '_FoundationCollections.autolink' is neither Wasm object file nor LLVM bitcode
wasm-ld: warning: /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/wasi/lib_FoundationCollections.a: archive member '_FoundationCollections.autolink' is neither Wasm object file nor LLVM bitcode
wasm-ld: warning: /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/wasi/lib_FoundationCollections.a: archive member '_FoundationCollections.autolink' is neither Wasm object file nor LLVM bitcode
wasm-ld: warning: /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/wasi/lib_FoundationCollections.a: archive member '_FoundationCollections.autolink' is neither Wasm object file nor LLVM bitcode
wasm-ld: warning: /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/wasi/lib_FoundationCollections.a: archive member '_FoundationCollections.autolink' is neither Wasm object file nor LLVM bitcode
wasm-ld: warning: /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/wasi/lib_FoundationCollections.a: archive member '_FoundationCollections.autolink' is neither Wasm object file nor LLVM bitcode
wasm-ld: warning: /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/wasi/libFoundation.a: archive member 'Foundation.autolink' is neither Wasm object file nor LLVM bitcode
wasm-ld: warning: /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/wasi/libFoundationEssentials.a: archive member 'FoundationEssentials.autolink' is neither Wasm object file nor LLVM bitcode
wasm-ld: warning: /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/wasi/libFoundationInternationalization.a: archive member 'FoundationInternationalization.autolink' is neither Wasm object file nor LLVM bitcode
[16/17] Linking LucyEngine.wasm
Build complete! (8.20s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "LucyEngine",
  "name" : "LucyEngine",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "LucyEngine",
      "targets" : [
        "LucyEngine"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "LucyCore",
      "targets" : [
        "LucyCore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "LucyEngine",
      "module_type" : "SwiftTarget",
      "name" : "LucyEngine",
      "path" : "Sources/LucyEngine",
      "product_memberships" : [
        "LucyEngine"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "LucyCore"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "LucyCore",
      "module_type" : "SwiftTarget",
      "name" : "LucyCore",
      "path" : "Sources/LucyCore",
      "product_memberships" : [
        "LucyEngine",
        "LucyCore"
      ],
      "sources" : [
        "Board.swift",
        "LucyEngine.swift",
        "Move.swift",
        "Piece.swift",
        "Searcher.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Done.