The Swift Package Index logo.Swift Package Index

Build Information

Failed to build phalanx, reference 1.0.1 (fae5a0), with Swift 6.1 for Wasm on 28 May 2025 12:28:33 UTC.

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 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jmfieldman/phalanx.git
Reference: 1.0.1
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/jmfieldman/phalanx
 * tag               1.0.1      -> FETCH_HEAD
HEAD is now at fae5a04 Merge pull request #1 from jmfieldman/keyspace_placeholder
Cloned https://github.com/jmfieldman/phalanx.git
Revision (git rev-parse @):
fae5a0447a5982248b8c9b9fcac8f2186811d690
SUCCESS checkout https://github.com/jmfieldman/phalanx.git at 1.0.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/jmfieldman/phalanx.git
https://github.com/jmfieldman/phalanx.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-cassandra-client",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.2.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-cassandra-client.git"
    },
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser.git"
    },
    {
      "identity" : "swift-crypto",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.2.4",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-crypto.git"
    },
    {
      "identity" : "yams",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.0.0",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jpsim/Yams.git"
    }
  ],
  "manifest_display_name" : "phalanx",
  "name" : "phalanx",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "phalanx",
      "targets" : [
        "Phalanx"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PhalanxLibTests",
      "module_type" : "SwiftTarget",
      "name" : "PhalanxLibTests",
      "path" : "Tests/PhalanxLibTests",
      "product_dependencies" : [
        "CassandraClient"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/PhalanxLibTests/TestResources",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "BasicConfigTests.swift",
        "BasicKeyspaceTests.swift",
        "MigrationFileMetadataTests.swift",
        "MigrationTests.swift",
        "NegativeKeyspaceCreationTests.swift",
        "NegativeMigrationHashTests.swift",
        "XCTTestCase+Extensions.swift",
        "XCTTestCase+MigrationTestCase.swift"
      ],
      "target_dependencies" : [
        "PhalanxLib"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PhalanxLib",
      "module_type" : "SwiftTarget",
      "name" : "PhalanxLib",
      "path" : "Sources/PhalanxLib",
      "product_dependencies" : [
        "CassandraClient",
        "Crypto",
        "Yams"
      ],
      "product_memberships" : [
        "phalanx"
      ],
      "sources" : [
        "Config.swift",
        "InstalledMigrationState.swift",
        "InstalledMigrationVersion.swift",
        "MigrationEngine.swift",
        "MigrationFile.swift",
        "MigrationFileDescriptor.swift",
        "MigrationFileInternalMetadata.swift",
        "String+Extensions.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Phalanx",
      "module_type" : "SwiftTarget",
      "name" : "Phalanx",
      "path" : "Sources/Phalanx",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "phalanx"
      ],
      "sources" : [
        "Phalanx.swift"
      ],
      "target_dependencies" : [
        "PhalanxLib"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.7"
}
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
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/apple/swift-cassandra-client.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/685] Fetching swift-cassandra-client
[686/14621] Fetching swift-cassandra-client, swift-crypto
[1523/25278] Fetching swift-cassandra-client, swift-crypto, yams
[8483/40629] Fetching swift-cassandra-client, swift-crypto, yams, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.01s)
[17351/25278] Fetching swift-cassandra-client, swift-crypto, yams
Fetched https://github.com/apple/swift-cassandra-client.git from cache (1.59s)
Fetched https://github.com/apple/swift-crypto.git from cache (1.62s)
Fetched https://github.com/jpsim/Yams.git from cache (1.63s)
Computing version for https://github.com/apple/swift-cassandra-client.git
Computed https://github.com/apple/swift-cassandra-client.git at 0.5.0 (2.22s)
Fetching https://github.com/apple/swift-nio
Fetching https://github.com/apple/swift-nio-ssl
Fetching https://github.com/apple/swift-log
Fetching https://github.com/apple/swift-atomics
[1/3836] Fetching swift-log
[3837/5546] Fetching swift-log, swift-atomics
[5547/81630] Fetching swift-log, swift-atomics, swift-nio
[6308/96473] Fetching swift-log, swift-atomics, swift-nio, swift-nio-ssl
Fetched https://github.com/apple/swift-log from cache (0.50s)
Fetched https://github.com/apple/swift-atomics from cache (0.50s)
[3916/90927] Fetching swift-nio, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-ssl from cache (1.86s)
[57063/76084] Fetching swift-nio
Fetched https://github.com/apple/swift-nio from cache (5.27s)
Computing version for https://github.com/apple/swift-nio-ssl
Computed https://github.com/apple/swift-nio-ssl at 2.31.0 (8.45s)
Computing version for https://github.com/apple/swift-atomics
Computed https://github.com/apple/swift-atomics at 1.2.0 (0.60s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 2.83.0 (1.34s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/4391] Fetching swift-system
[4173/20982] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (1.09s)
Fetched https://github.com/apple/swift-collections.git from cache (1.11s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (1.58s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 2.6.0 (0.50s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.24s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.0 (0.56s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.91s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.3 (0.59s)
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-atomics
Working copy of https://github.com/apple/swift-atomics resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.6.3
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 2.6.0
Creating working copy for https://github.com/apple/swift-cassandra-client.git
Working copy of https://github.com/apple/swift-cassandra-client.git resolved at 0.5.0
Creating working copy for https://github.com/apple/swift-nio-ssl
Working copy of https://github.com/apple/swift-nio-ssl resolved at 2.31.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.2
Creating working copy for https://github.com/apple/swift-nio
Working copy of https://github.com/apple/swift-nio resolved at 2.83.0
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/1035] Write sources
[11/1035] Compiling _AtomicsShims.c
[12/1035] Write sources
[23/1035] Compiling printf.c
[24/1035] Compiling hexdump.c
[25/1035] Compiling fd.c
[26/1035] Compiling pair.c
[27/1035] Compiling buf.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-cassandra-client/Sources/Clibuv/libuv/src/uv-data-getter-setters.c:22:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-cassandra-client/Sources/Clibuv/include/uv.h:68:
/host/spi-builder-workspace/.build/checkouts/swift-cassandra-client/Sources/Clibuv/include/uv/unix.h:34:10: fatal error: 'netdb.h' file not found
   34 | #include <netdb.h>  /* MAXHOSTNAMELEN on Solaris */
      |          ^~~~~~~~~
1 error generated.
[28/1035] Compiling uv-data-getter-setters.c
[28/1035] Compiling file.c
[28/1035] Compiling version.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-cassandra-client/Sources/Clibuv/libuv/src/unix/thread.c:22:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-cassandra-client/Sources/Clibuv/include/uv.h:68:
/host/spi-builder-workspace/.build/checkouts/swift-cassandra-client/Sources/Clibuv/include/uv/unix.h:34:10: fatal error: 'netdb.h' file not found
   34 | #include <netdb.h>  /* MAXHOSTNAMELEN on Solaris */
      |          ^~~~~~~~~
[28/1035] Compiling thread.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-cassandra-client/Sources/Clibuv/libuv/src/unix/tty.c:22:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-cassandra-client/Sources/Clibuv/include/uv.h:68:
/host/spi-builder-workspace/.build/checkouts/swift-cassandra-client/Sources/Clibuv/include/uv/unix.h:34:10: fatal error: 'netdb.h' file not found
   34 | #include <netdb.h>  /* MAXHOSTNAMELEN on Solaris */
      |          ^~~~~~~~~
[28/1035] Compiling tty.c
[28/1035] Compiling uv-common.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-cassandra-client/Sources/Clibuv/libuv/src/unix/udp.c:22:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-cassandra-client/Sources/Clibuv/include/uv.h:68:
/host/spi-builder-workspace/.build/checkouts/swift-cassandra-client/Sources/Clibuv/include/uv/unix.h:34:10: fatal error: 'netdb.h' file not found
   34 | #include <netdb.h>  /* MAXHOSTNAMELEN on Solaris */
      |          ^~~~~~~~~
[28/1035] Compiling udp.c
[28/1035] Write swift-version-24593BA9C3E375BF.txt
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 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
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
Building for debugging...
In file included from /host/spi-builder-workspace/.build/checkouts/swift-cassandra-client/Sources/Clibuv/libuv/src/version.c:22:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-cassandra-client/Sources/Clibuv/include/uv.h:68:
/host/spi-builder-workspace/.build/checkouts/swift-cassandra-client/Sources/Clibuv/include/uv/unix.h:34:10: fatal error: 'netdb.h' file not found
   34 | #include <netdb.h>  /* MAXHOSTNAMELEN on Solaris */
      |          ^~~~~~~~~
1 error generated.
[1/1008] Compiling version.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-cassandra-client/Sources/Clibuv/libuv/src/uv-data-getter-setters.c:22:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-cassandra-client/Sources/Clibuv/include/uv.h:68:
/host/spi-builder-workspace/.build/checkouts/swift-cassandra-client/Sources/Clibuv/include/uv/unix.h:34:10: fatal error: 'netdb.h' file not found
   34 | #include <netdb.h>  /* MAXHOSTNAMELEN on Solaris */
      |          ^~~~~~~~~
1 error generated.
[1/1008] Compiling uv-data-getter-setters.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-cassandra-client/Sources/Clibuv/libuv/src/unix/tcp.c:22:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-cassandra-client/Sources/Clibuv/include/uv.h:68:
/host/spi-builder-workspace/.build/checkouts/swift-cassandra-client/Sources/Clibuv/include/uv/unix.h:34:10: fatal error: 'netdb.h' file not found
   34 | #include <netdb.h>  /* MAXHOSTNAMELEN on Solaris */
      |          ^~~~~~~~~
[1/1008] Compiling tcp.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-cassandra-client/Sources/Clibuv/libuv/src/unix/thread.c:22:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-cassandra-client/Sources/Clibuv/include/uv.h:68:
/host/spi-builder-workspace/.build/checkouts/swift-cassandra-client/Sources/Clibuv/include/uv/unix.h:34:10: fatal error: 'netdb.h' file not found
   34 | #include <netdb.h>  /* MAXHOSTNAMELEN on Solaris */
      |          ^~~~~~~~~
[1/1008] Compiling thread.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-cassandra-client/Sources/Clibuv/libuv/src/unix/tty.c:22:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-cassandra-client/Sources/Clibuv/include/uv.h:68:
/host/spi-builder-workspace/.build/checkouts/swift-cassandra-client/Sources/Clibuv/include/uv/unix.h:34:10: fatal error: 'netdb.h' file not found
   34 | #include <netdb.h>  /* MAXHOSTNAMELEN on Solaris */
      |          ^~~~~~~~~
[1/1008] Compiling tty.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-cassandra-client/Sources/Clibuv/libuv/src/unix/udp.c:22:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-cassandra-client/Sources/Clibuv/include/uv.h:68:
/host/spi-builder-workspace/.build/checkouts/swift-cassandra-client/Sources/Clibuv/include/uv/unix.h:34:10: fatal error: 'netdb.h' file not found
   34 | #include <netdb.h>  /* MAXHOSTNAMELEN on Solaris */
      |          ^~~~~~~~~
[1/1008] Compiling udp.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-cassandra-client/Sources/Clibuv/libuv/src/uv-common.c:22:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-cassandra-client/Sources/Clibuv/include/uv.h:68:
/host/spi-builder-workspace/.build/checkouts/swift-cassandra-client/Sources/Clibuv/include/uv/unix.h:34:10: fatal error: 'netdb.h' file not found
   34 | #include <netdb.h>  /* MAXHOSTNAMELEN on Solaris */
      |          ^~~~~~~~~
[1/1008] Compiling uv-common.c
[1/1008] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm