The Swift Package Index logo.Swift Package Index

Build Information

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

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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: 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/jmfieldman/phalanx
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
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-4606859-2":/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/apple/swift-cassandra-client.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/apple/swift-crypto.git
[1/685] Fetching swift-cassandra-client
[686/14621] Fetching swift-cassandra-client, swift-crypto
[1523/25278] Fetching swift-cassandra-client, swift-crypto, yams
[3769/40629] Fetching swift-cassandra-client, swift-crypto, yams, swift-argument-parser
Fetched https://github.com/apple/swift-cassandra-client.git from cache (3.70s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (3.71s)
Fetched https://github.com/apple/swift-crypto.git from cache (3.74s)
Fetched https://github.com/jpsim/Yams.git from cache (3.75s)
Computing version for https://github.com/apple/swift-cassandra-client.git
Computed https://github.com/apple/swift-cassandra-client.git at 0.5.0 (4.51s)
Fetching https://github.com/apple/swift-nio
Fetching https://github.com/apple/swift-atomics
Fetching https://github.com/apple/swift-log
Fetching https://github.com/apple/swift-nio-ssl
[1/3836] Fetching swift-log
[960/5546] Fetching swift-log, swift-atomics
[5547/20389] Fetching swift-log, swift-atomics, swift-nio-ssl
[5548/96473] Fetching swift-log, swift-atomics, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-atomics from cache (7.65s)
Fetched https://github.com/apple/swift-log from cache (7.66s)
Fetched https://github.com/apple/swift-nio-ssl from cache (7.69s)
Fetched https://github.com/apple/swift-nio from cache (7.79s)
Computing version for https://github.com/apple/swift-nio-ssl
Computed https://github.com/apple/swift-nio-ssl at 2.31.0 (8.52s)
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.22s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/4391] Fetching swift-system
[2197/20982] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.57s)
[4314/16591] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.43s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (1.99s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 2.6.0 (0.83s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (3.97s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.0 (1.06s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.94s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.3 (0.98s)
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-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/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-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-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-atomics
Working copy of https://github.com/apple/swift-atomics resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-nio
Working copy of https://github.com/apple/swift-nio resolved at 2.83.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
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/1035] Write sources
[9/1035] Compiling poly1305_arm.c
[9/1035] Write sources
[12/1035] Compiling _AtomicsShims.c
[12/1035] Write sources
[24/1035] Write swift-version-24593BA9C3E375BF.txt
[25/1035] Compiling a_strex.c
[26/1035] Compiling a_octet.c
[26/1035] Compiling a_i2d_fp.c
[28/1035] Compiling a_int.c
[29/1035] Compiling a_mbstr.c
[30/1035] Compiling a_object.c
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.
[31/1035] 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.
[31/1035] Compiling uv-data-getter-setters.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/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/1006] Compiling uv-data-getter-setters.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/1006] Compiling thread.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/1006] Compiling udp.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/1006] Compiling tty.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>  /[1/1006] Compiling uv-common.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-cassandra-client/Sources/Clibuv/libuv/src/unix/stream.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/1006] Compiling stream.c
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/1006] Compiling version.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/1006] Compiling tcp.c
BUILD FAILURE 6.1 wasm