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 Formic, reference 0.3.0 (ff3048), with Swift 6.1 for Wasm on 30 May 2025 10:59:11 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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/heckj/formic.git
Reference: 0.3.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/heckj/formic
 * tag               0.3.0      -> FETCH_HEAD
HEAD is now at ff3048d clean up package.swift formatting with swift-format
Cloned https://github.com/heckj/formic.git
Revision (git rev-parse @):
ff3048d32ae44f748da991fdfca1c86bec3bcaed
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/heckj/formic.git at 0.3.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/heckj/formic.git
https://github.com/heckj/formic.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser.git"
    },
    {
      "identity" : "swift-async-dns-resolver",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-async-dns-resolver"
    },
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    },
    {
      "identity" : "swift-parsing",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.13.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pointfreeco/swift-parsing"
    },
    {
      "identity" : "swift-dependencies",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pointfreeco/swift-dependencies"
    },
    {
      "identity" : "swift-format",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "600.0.0",
            "upper_bound" : "601.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swiftlang/swift-format.git"
    },
    {
      "identity" : "swift-log-testing",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.0.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/neallester/swift-log-testing.git"
    }
  ],
  "manifest_display_name" : "Formic",
  "name" : "Formic",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    }
  ],
  "products" : [
    {
      "name" : "Formic",
      "targets" : [
        "Formic"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "6"
  ],
  "targets" : [
    {
      "c99name" : "FormicTests",
      "module_type" : "SwiftTarget",
      "name" : "FormicTests",
      "path" : "Tests",
      "product_dependencies" : [
        "SwiftLogTesting"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/formicTests/Fixtures/id_ed25519",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/formicTests/Fixtures/id_ed25519.pub",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "formicTests/BackoffTests.swift",
        "formicTests/CommandExecutionOutputTests.swift",
        "formicTests/CommandInvokerTests.swift",
        "formicTests/CommandOutputTests.swift",
        "formicTests/Commands/AnyCommandTests.swift",
        "formicTests/Commands/CopyFromTests.swift",
        "formicTests/Commands/CopyIntoTests.swift",
        "formicTests/Commands/ShellCommandTests.swift",
        "formicTests/Commands/VerifyAccessCommandTests.swift",
        "formicTests/EngineTests.swift",
        "formicTests/HostTests.swift",
        "formicTests/IPv4AddressTests.swift",
        "formicTests/IntegrationTests/CIIntegrationTests.swift",
        "formicTests/NetworkAddressTests.swift",
        "formicTests/Resources/OperatingSystemTests.swift",
        "formicTests/Resources/PackagesTests.swift",
        "formicTests/Resources/SwarmInitTests.swift",
        "formicTests/SSHAccessCredentialsTests.swift",
        "formicTests/TestDependencies.swift",
        "formicTests/TestError.swift",
        "formicTests/TestTags.swift"
      ],
      "target_dependencies" : [
        "Formic"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Formic",
      "module_type" : "SwiftTarget",
      "name" : "Formic",
      "path" : "Sources/Formic",
      "product_dependencies" : [
        "ArgumentParser",
        "AsyncDNSResolver",
        "Parsing",
        "Dependencies",
        "Logging"
      ],
      "product_memberships" : [
        "Formic"
      ],
      "sources" : [
        "Backoff.swift",
        "Command.swift",
        "CommandError.swift",
        "CommandOutput.swift",
        "Commands/AnyCommand.swift",
        "Commands/CopyFrom.swift",
        "Commands/CopyInto.swift",
        "Commands/SSHCommand.swift",
        "Commands/ShellCommand.swift",
        "Commands/VerifyAccess.swift",
        "DependencyProxies/CommandInvoker.swift",
        "DependencyProxies/LocalSystemAccess.swift",
        "DependencyProxies/ProcessCommandInvoker.swift",
        "Engine/CommandExecutionResult.swift",
        "Engine/CommandOutputDetail.swift",
        "Engine/Engine.swift",
        "IPv4Address.swift",
        "NetworkAddress.swift",
        "RemoteHost.swift",
        "ResourceTypes/Dpkg+Parsers.swift",
        "ResourceTypes/Dpkg.swift",
        "ResourceTypes/OperatingSystem.swift",
        "ResourceTypes/Swarm+Parsers.swift",
        "Resources/CollectionResource.swift",
        "Resources/Resource.swift",
        "Resources/ResourceError.swift",
        "Resources/SingularResource.swift",
        "Resources/StatefulResource.swift",
        "SSHAccessCredentials.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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 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-async-dns-resolver
Fetching https://github.com/swiftlang/swift-format.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/neallester/swift-log-testing.git
Fetching https://github.com/pointfreeco/swift-dependencies
Fetching https://github.com/pointfreeco/swift-parsing
[1/69] Fetching swift-log-testing
[70/919] Fetching swift-log-testing, swift-async-dns-resolver
[104/4755] Fetching swift-log-testing, swift-async-dns-resolver, swift-log
[547/16919] Fetching swift-log-testing, swift-async-dns-resolver, swift-log, swift-format
Fetched https://github.com/neallester/swift-log-testing.git from cache (0.51s)
[1849/16850] Fetching swift-async-dns-resolver, swift-log, swift-format
Fetching https://github.com/apple/swift-argument-parser.git
[4741/23099] Fetching swift-async-dns-resolver, swift-log, swift-format, swift-dependencies
Fetched https://github.com/apple/swift-log.git from cache (0.91s)
[17377/19263] Fetching swift-async-dns-resolver, swift-format, swift-dependencies
[19264/34649] Fetching swift-async-dns-resolver, swift-format, swift-dependencies, swift-argument-parser
[27265/132530] Fetching swift-async-dns-resolver, swift-format, swift-dependencies, swift-argument-parser, swift-parsing
[35506/131680] Fetching swift-format, swift-dependencies, swift-argument-parser, swift-parsing
Fetched https://github.com/apple/swift-async-dns-resolver from cache (1.65s)
Fetched https://github.com/swiftlang/swift-format.git from cache (1.65s)
[23803/119516] Fetching swift-dependencies, swift-argument-parser, swift-parsing
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.75s)
[18974/104130] Fetching swift-dependencies, swift-parsing
Fetched https://github.com/pointfreeco/swift-dependencies from cache (9.81s)
Fetched https://github.com/pointfreeco/swift-parsing from cache (9.99s)
Computing version for https://github.com/neallester/swift-log-testing.git
Computed https://github.com/neallester/swift-log-testing.git at 0.0.1 (13.88s)
Computing version for https://github.com/swiftlang/swift-format.git
Computed https://github.com/swiftlang/swift-format.git at 600.0.0 (1.27s)
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/apple/swift-markdown.git
[1/6756] Fetching swift-markdown
[6757/77252] Fetching swift-markdown, swift-syntax
Fetched https://github.com/apple/swift-markdown.git from cache (1.09s)
[705/70496] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (9.20s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (10.35s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (1.50s)
Computing version for https://github.com/pointfreeco/swift-parsing
Computed https://github.com/pointfreeco/swift-parsing at 0.14.1 (1.20s)
Fetching https://github.com/pointfreeco/swift-case-paths
[1/4375] Fetching swift-case-paths
Fetched https://github.com/pointfreeco/swift-case-paths from cache (0.54s)
Computing version for https://github.com/apple/swift-markdown.git
Computed https://github.com/apple/swift-markdown.git at 0.6.0 (1.89s)
Fetching https://github.com/swiftlang/swift-cmark.git
[1/18066] Fetching swift-cmark
Fetched https://github.com/swiftlang/swift-cmark.git from cache (1.83s)
Computing version for https://github.com/swiftlang/swift-cmark.git
Computed https://github.com/swiftlang/swift-cmark.git at 0.6.0 (3.72s)
Computing version for https://github.com/apple/swift-async-dns-resolver
Computed https://github.com/apple/swift-async-dns-resolver at 0.4.0 (1.24s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (1.00s)
Computing version for https://github.com/pointfreeco/swift-case-paths
Computed https://github.com/pointfreeco/swift-case-paths at 1.7.0 (4.09s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5458] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.15s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (2.18s)
Computing version for https://github.com/pointfreeco/swift-dependencies
Computed https://github.com/pointfreeco/swift-dependencies at 1.9.2 (1.14s)
Fetching https://github.com/pointfreeco/swift-concurrency-extras
Fetching https://github.com/pointfreeco/swift-clocks
Fetching https://github.com/pointfreeco/combine-schedulers
[1/2410] Fetching combine-schedulers
[26/3262] Fetching combine-schedulers, swift-concurrency-extras
[1021/4554] Fetching combine-schedulers, swift-concurrency-extras, swift-clocks
Fetched https://github.com/pointfreeco/combine-schedulers from cache (1.14s)
Fetched https://github.com/pointfreeco/swift-clocks from cache (1.14s)
Fetched https://github.com/pointfreeco/swift-concurrency-extras from cache (1.15s)
Computing version for https://github.com/pointfreeco/combine-schedulers
Computed https://github.com/pointfreeco/combine-schedulers at 1.0.3 (2.36s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 1.0.6 (1.05s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 1.3.1 (1.03s)
Creating working copy for https://github.com/apple/swift-async-dns-resolver
Working copy of https://github.com/apple/swift-async-dns-resolver resolved at 0.4.0
Creating working copy for https://github.com/pointfreeco/swift-parsing
Working copy of https://github.com/pointfreeco/swift-parsing resolved at 0.14.1
Creating working copy for https://github.com/pointfreeco/swift-clocks
Working copy of https://github.com/pointfreeco/swift-clocks resolved at 1.0.6
Creating working copy for https://github.com/pointfreeco/combine-schedulers
Working copy of https://github.com/pointfreeco/combine-schedulers resolved at 1.0.3
Creating working copy for https://github.com/swiftlang/swift-cmark.git
Working copy of https://github.com/swiftlang/swift-cmark.git resolved at 0.6.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.1
Creating working copy for https://github.com/pointfreeco/swift-case-paths
Working copy of https://github.com/pointfreeco/swift-case-paths resolved at 1.7.0
Creating working copy for https://github.com/apple/swift-markdown.git
Working copy of https://github.com/apple/swift-markdown.git resolved at 0.6.0
Creating working copy for https://github.com/pointfreeco/swift-dependencies
Working copy of https://github.com/pointfreeco/swift-dependencies resolved at 1.9.2
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/neallester/swift-log-testing.git
Working copy of https://github.com/neallester/swift-log-testing.git resolved at 0.0.1
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 600.0.1
Creating working copy for https://github.com/swiftlang/swift-format.git
Working copy of https://github.com/swiftlang/swift-format.git resolved at 600.0.0
Creating working copy for https://github.com/pointfreeco/swift-concurrency-extras
Working copy of https://github.com/pointfreeco/swift-concurrency-extras resolved at 1.3.1
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.5.2
[1/1] Compiling plugin Lint Source Code
[2/2] Compiling plugin Format Source Code
[3/3] Compiling plugin GenerateManual
Building for debugging...
[3/111] Write sources
[31/111] Compiling ares_android.c
[32/111] Compiling _SwiftSyntaxCShims dummy.c
[33/111] Compiling inet_ntop.c
[34/111] Compiling windows_port.c
[35/111] Compiling ares__timeval.c
[36/111] Compiling bitncmp.c
[37/111] Compiling ares_version.c
[38/111] Compiling ares_writev.c
[39/111] Compiling inet_net_pton.c
[40/111] Compiling ares_strsplit.c
[41/111] Compiling ares_timeout.c
[42/111] Compiling ares_strerror.c
[43/111] Compiling ares_strdup.c
[44/111] Compiling ares_strcasecmp.c
[45/111] Compiling ares_send.c
[46/111] Compiling ares_rand.c
[46/111] Compiling ares_query.c
[48/111] Compiling ares_search.c
[49/111] Compiling ares_platform.c
/host/spi-builder-workspace/.build/checkouts/swift-async-dns-resolver/Sources/CAsyncDNSResolver/c-ares/src/lib/ares_process.c:30:12: fatal error: 'netdb.h' file not found
   30 | #  include <netdb.h>
      |            ^~~~~~~~~
1 error generated.
[50/111] Compiling ares_process.c
/host/spi-builder-workspace/.build/checkouts/swift-async-dns-resolver/Sources/CAsyncDNSResolver/c-ares/src/lib/ares_parse_srv_reply.c:24:12: fatal error: 'netdb.h' file not found
   24 | #  include <netdb.h>
      |            ^~~~~~~~~
[50/111] Compiling ares_parse_srv_reply.c
[50/111] Compiling ares_parse_soa_reply.c
[50/111] Compiling ares_parse_ptr_reply.c
/host/spi-builder-workspace/.build/checkouts/swift-async-dns-resolver/Sources/CAsyncDNSResolver/c-ares/src/lib/ares_parse_uri_reply.c:24:12: fatal error: 'netdb.h' file not found
   24 | #  include <netdb.h>
      |            ^~~~~~~~~
[50/111] Compiling ares_parse_uri_reply.c
/host/spi-builder-workspace/.build/checkouts/swift-async-dns-resolver/Sources/CAsyncDNSResolver/c-ares/src/lib/ares_parse_txt_reply.c:24:12: fatal error: [50/111] Compiling ares_parse_txt_reply.c
[50/111] Compiling ares_parse_ns_reply.c
[50/111] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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 Lint Source Code
[2/2] Compiling plugin Format Source Code
[3/3] Compiling plugin GenerateManual
Building for debugging...
/host/spi-builder-workspace/.build/checkouts/swift-async-dns-resolver/Sources/CAsyncDNSResolver/c-ares/src/lib/ares_parse_uri_reply.c:24:12: fatal error: 'netdb.h' file not found
   24 | #  include <netdb.h>
      |            ^~~~~~~~~
1 error generated.
[3/64] Compiling ares_parse_uri_reply.c
/host/spi-builder-workspace/.build/checkouts/swift-async-dns-resolver/Sources/CAsyncDNSResolver/c-ares/src/lib/ares_parse_soa_reply.c:24:12: fatal error: 'netdb.h' file not found
   24 | #  include <netdb.h>
      |            ^~~~~~~~~
[3/64] Compiling ares_parse_soa_reply.c
[3/64] Compiling ares_parse_ptr_reply.c
/host/spi-builder-workspace/.build/checkouts/swift-async-dns-resolver/Sources/CAsyncDNSResolver/c-ares/src/lib/ares_parse_txt_reply.c:24:12: fatal error: 'netdb.h' file not found
   24 | #  include <netdb.h>
      |            ^~~~~~~~~
1 error generated.
[3/64] Compiling ares_parse_txt_reply.c
[3/64] Compiling ares_parse_ns_reply.c
/host/spi-builder-workspace/.build/checkouts/swift-async-dns-resolver/Sources/CAsyncDNSResolver/c-ares/src/lib/ares_process.c:30:12: fatal error: 'netdb.h' file not found
   30 | #  include <netdb.h>
      |            ^~~~~~~~~
1 error generated.
[3/64] Compiling ares_process.c
/host/spi-builder-workspace/.build/checkouts/swift-async-dns-resolver/Sources/CAsyncDNSResolver/c-ares/src/lib/ares_parse_srv_reply.c:24:12: fatal error: 'netdb.h' file not found
   24 | #  include <netdb.h>
      |            ^~~~~~~~~
[3/64] Compiling ares_parse_srv_reply.c
[3/64] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm