The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build MicroMaxOnAppleSilicon, reference v2.1.0 (5a1eef), with Swift 6.0 for Linux on 3 Dec 2024 11:14:19 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 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.58.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mesqueeb/MicroMaxOnAppleSilicon.git
Reference: v2.1.0
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/mesqueeb/MicroMaxOnAppleSilicon
 * tag               v2.1.0     -> FETCH_HEAD
HEAD is now at 5a1eefc 2.1.0
Cloned https://github.com/mesqueeb/MicroMaxOnAppleSilicon.git
Revision (git rev-parse @):
5a1eefc97dc6d17c9d1be6fc2bf7190a912a1e7e
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/mesqueeb/MicroMaxOnAppleSilicon.git at v2.1.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/mesqueeb/MicroMaxOnAppleSilicon.git
{
  "c_language_standard" : "gnu17",
  "cxx_language_standard" : "c++20",
  "dependencies" : [
    {
      "identity" : "asyncify",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.0.9",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/mesqueeb/Asyncify"
    }
  ],
  "manifest_display_name" : "MicroMaxOnAppleSilicon",
  "name" : "MicroMaxOnAppleSilicon",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "MicroMaxOnAppleSilicon",
      "targets" : [
        "MicroMaxCBridge",
        "MicroMaxCppBridge",
        "MicroMaxObjCBridge",
        "MicroMaxOnAppleSilicon"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MicroMaxOnAppleSiliconTests",
      "module_type" : "SwiftTarget",
      "name" : "MicroMaxOnAppleSiliconTests",
      "path" : "MicroMaxOnAppleSilicon/Tests",
      "sources" : [
        "MicroMaxOnAppleSiliconTests.swift"
      ],
      "target_dependencies" : [
        "MicroMaxCBridge",
        "MicroMaxCppBridge",
        "MicroMaxObjCBridge",
        "MicroMaxOnAppleSilicon"
      ],
      "type" : "test"
    },
    {
      "c99name" : "MicroMaxOnAppleSilicon",
      "module_type" : "SwiftTarget",
      "name" : "MicroMaxOnAppleSilicon",
      "path" : "MicroMaxOnAppleSilicon/Sources/SwiftBridge",
      "product_dependencies" : [
        "Asyncify"
      ],
      "product_memberships" : [
        "MicroMaxOnAppleSilicon"
      ],
      "sources" : [
        "Helpers.swift",
        "MicroMaxBridge.swift",
        "Types.swift"
      ],
      "target_dependencies" : [
        "MicroMaxObjCBridge"
      ],
      "type" : "library"
    },
    {
      "c99name" : "MicroMaxObjCBridge",
      "module_type" : "ClangTarget",
      "name" : "MicroMaxObjCBridge",
      "path" : "MicroMaxOnAppleSilicon/Sources/ObjCBridge",
      "product_memberships" : [
        "MicroMaxOnAppleSilicon"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/MicroMaxOnAppleSilicon/Sources/ObjCBridge/Resources/fmax.ini",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "EngineContext.m",
        "MicroMaxObjCBridge.mm"
      ],
      "target_dependencies" : [
        "MicroMaxCppBridge"
      ],
      "type" : "library"
    },
    {
      "c99name" : "MicroMaxCppBridge",
      "module_type" : "ClangTarget",
      "name" : "MicroMaxCppBridge",
      "path" : "MicroMaxOnAppleSilicon/Sources/CppBridge",
      "product_memberships" : [
        "MicroMaxOnAppleSilicon"
      ],
      "sources" : [
        "AbstractAdapter.cpp",
        "Bitboard/BBBook.cpp",
        "Bitboard/BBitboard.cpp",
        "Bitboard/BMovegen.cpp",
        "Bitboard/BPosition.cpp",
        "ChessCore.cpp",
        "MicroMaxBridge.cpp",
        "PThreadStaticLinker.cpp",
        "ProtocolParser.cpp",
        "Resources.cpp",
        "UnixAdapter.cpp",
        "UnixListener.cpp",
        "VirtualBoard.cpp",
        "WBProtocol.cpp",
        "WBProtocolParser.cpp",
        "engine.cpp",
        "io.cpp"
      ],
      "target_dependencies" : [
        "MicroMaxCBridge"
      ],
      "type" : "library"
    },
    {
      "c99name" : "MicroMaxCBridge",
      "module_type" : "ClangTarget",
      "name" : "MicroMaxCBridge",
      "path" : "MicroMaxOnAppleSilicon/Sources/CBridge",
      "product_memberships" : [
        "MicroMaxOnAppleSilicon"
      ],
      "sources" : [
        "EngineContext.c",
        "Fairymax/Fairymax.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
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 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/mesqueeb/Asyncify
[1/143] Fetching asyncify
Fetched https://github.com/mesqueeb/Asyncify from cache (0.23s)
Computing version for https://github.com/mesqueeb/Asyncify
Computed https://github.com/mesqueeb/Asyncify at 0.0.9 (0.47s)
Creating working copy for https://github.com/mesqueeb/Asyncify
Working copy of https://github.com/mesqueeb/Asyncify resolved at 0.0.9
Building for debugging...
[0/26] Copying fmax.ini
[0/26] Write sources
[2/26] Compiling MicroMaxCppBridge engine.cpp
In file included from /host/spi-builder-workspace/MicroMaxOnAppleSilicon/Sources/CppBridge/VirtualBoard.cpp:2:
In file included from /host/spi-builder-workspace/MicroMaxOnAppleSilicon/Sources/CppBridge/VirtualBoard.hpp:4:
In file included from /host/spi-builder-workspace/MicroMaxOnAppleSilicon/Sources/CppBridge/VirtualResponder.hpp:4:
/host/spi-builder-workspace/MicroMaxOnAppleSilicon/Sources/CppBridge/Core.hpp:31:40: error: no template named 'vector' in namespace 'std'
   31 |             virtual void getMoves(std::vector<VirtualMove>&, bool extended = false) const {}
      |                                   ~~~~~^
/host/spi-builder-workspace/MicroMaxOnAppleSilicon/Sources/CppBridge/Core.hpp:35:40: error: no template named 'vector' in namespace 'std'
   35 |                                   std::vector<VirtualMove> &,
      |                                   ~~~~~^
In file included from /host/spi-builder-workspace/MicroMaxOnAppleSilicon/Sources/CppBridge/VirtualBoard.cpp:2:
/host/spi-builder-workspace/MicroMaxOnAppleSilicon/Sources/CppBridge/VirtualBoard.hpp:21:26: error: no template named 'shared_ptr' in namespace 'std'
   21 |             virtual std::shared_ptr<Core> copy() const;
      |                     ~~~~~^
/host/spi-builder-workspace/MicroMaxOnAppleSilicon/Sources/CppBridge/VirtualBoard.cpp:18:6: error: no template named 'shared_ptr' in namespace 'std'
   18 | std::shared_ptr<Core> VirtualBoard::copy() const
      | ~~~~~^
4 errors generated.
[3/26] Compiling MicroMaxCppBridge VirtualBoard.cpp
[3/26] Compiling MicroMaxCppBridge io.cpp
[3/26] Compiling BBBook.cpp
[3/26] Compiling MicroMaxCppBridge WBProtocolParser.cpp
[3/26] Compiling BBitboard.cpp
[3/26] Compiling MicroMaxCppBridge WBProtocol.cpp
[3/26] Compiling MicroMaxCppBridge ChessCore.cpp
[3/26] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.0 linux