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

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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: 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/heckj/formic
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
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-4609320-1":/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/swiftlang/swift-format.git
Fetching https://github.com/apple/swift-async-dns-resolver
Fetching https://github.com/pointfreeco/swift-dependencies
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/neallester/swift-log-testing.git
Fetching https://github.com/pointfreeco/swift-parsing
[1/69] Fetching swift-log-testing
[2/3905] Fetching swift-log-testing, swift-log
[81/4755] Fetching swift-log-testing, swift-log, swift-async-dns-resolver
[1241/16919] Fetching swift-log-testing, swift-log, swift-async-dns-resolver, swift-format
[4912/23168] Fetching swift-log-testing, swift-log, swift-async-dns-resolver, swift-format, swift-dependencies
Fetched https://github.com/pointfreeco/swift-dependencies from cache (1.53s)
Fetching https://github.com/apple/swift-argument-parser.git
[1/97881] Fetching swift-parsing
[12726/113267] Fetching swift-parsing, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (2.05s)
[34830/97881] Fetching swift-parsing
Fetched https://github.com/neallester/swift-log-testing.git from cache (11.72s)
Fetched https://github.com/apple/swift-log.git from cache (11.72s)
Fetched https://github.com/apple/swift-async-dns-resolver from cache (11.73s)
Fetched https://github.com/swiftlang/swift-format.git from cache (11.80s)
Fetched https://github.com/pointfreeco/swift-parsing from cache (12.01s)
Computing version for https://github.com/neallester/swift-log-testing.git
Computed https://github.com/neallester/swift-log-testing.git at 0.0.1 (15.83s)
Computing version for https://github.com/swiftlang/swift-format.git
Computed https://github.com/swiftlang/swift-format.git at 600.0.0 (1.29s)
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.11s)
[705/70496] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (9.77s)
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.87s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (1.21s)
Computing version for https://github.com/pointfreeco/swift-parsing
Computed https://github.com/pointfreeco/swift-parsing at 0.14.1 (1.02s)
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.50s)
Computing version for https://github.com/apple/swift-markdown.git
Computed https://github.com/apple/swift-markdown.git at 0.6.0 (1.77s)
Fetching https://github.com/swiftlang/swift-cmark.git
[1/18066] Fetching swift-cmark
Fetched https://github.com/swiftlang/swift-cmark.git from cache (1.87s)
Computing version for https://github.com/swiftlang/swift-cmark.git
Computed https://github.com/swiftlang/swift-cmark.git at 0.6.0 (3.15s)
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.02s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (1.11s)
Computing version for https://github.com/pointfreeco/swift-case-paths
Computed https://github.com/pointfreeco/swift-case-paths at 1.7.0 (3.74s)
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.06s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (2.12s)
Computing version for https://github.com/pointfreeco/swift-dependencies
Computed https://github.com/pointfreeco/swift-dependencies at 1.9.2 (1.06s)
Fetching https://github.com/pointfreeco/swift-concurrency-extras
Fetching https://github.com/pointfreeco/combine-schedulers
Fetching https://github.com/pointfreeco/swift-clocks
[1/1292] Fetching swift-clocks
[195/3702] Fetching swift-clocks, combine-schedulers
[559/4554] Fetching swift-clocks, combine-schedulers, swift-concurrency-extras
Fetched https://github.com/pointfreeco/swift-clocks from cache (0.82s)
Fetched https://github.com/pointfreeco/swift-concurrency-extras from cache (0.83s)
Fetched https://github.com/pointfreeco/combine-schedulers from cache (0.84s)
Computing version for https://github.com/pointfreeco/combine-schedulers
Computed https://github.com/pointfreeco/combine-schedulers at 1.0.3 (2.72s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 1.0.6 (1.08s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 1.3.1 (1.17s)
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/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/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/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/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/swift-parsing
Working copy of https://github.com/pointfreeco/swift-parsing resolved at 0.14.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
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/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/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/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/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/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/swiftlang/swift-format.git
Working copy of https://github.com/swiftlang/swift-format.git resolved at 600.0.0
[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
[29/111] Compiling _SwiftSyntaxCShims dummy.c
[30/111] Compiling ares_version.c
[31/111] Compiling bitncmp.c
[32/111] Compiling windows_port.c
[33/111] Compiling inet_ntop.c
[34/111] Compiling inet_net_pton.c
[35/111] Compiling ares_writev.c
[36/111] Compiling ares_timeout.c
[37/111] Compiling ares_strsplit.c
[38/111] Compiling ares_strdup.c
[39/111] Compiling ares_strerror.c
[40/111] Compiling ares_send.c
[41/111] Compiling ares_strcasecmp.c
[42/111] Compiling ares_rand.c
[43/111] Compiling ares_query.c
[44/111] Compiling ares_search.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.
[45/111] Compiling ares_parse_txt_reply.c
[45/111] Compiling ares_parse_ptr_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>
      |            ^~~~~~~~~
[45/111] Compiling ares_process.c
[45/111] Compiling ares_platform.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>
      |            ^~~~~~~~~
[45/111] Compiling ares_parse_srv_reply.c
[45/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_soa_reply.c:24:12: fatal error: 'netdb.h' file not found
   24 | #  include <netdb.h>
      |            ^~~~~~~~~
[45/111] Compiling ares_parse_soa_reply.c
[45/111] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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...
[3/69] Write sources
[4/69] Compiling ares_platform.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>
      |            ^~~~~~~~~
1 error generated.
[5/69] 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: 'netdb.h' file not found
   24 | #  include <netdb.h>
      |            ^~~~~~~~~
1 error generated.
[5/69] Compiling ares_parse_txt_reply.c
[5/69] Compiling ares_parse_srv_reply.c
[5/69] Compiling ares_parse_ns_reply.c
[5/69] Compiling ares_parse_ptr_reply.c
[5/69] Compiling ares_parse_soa_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.
[5/69] Compiling ares_process.c
[5/69] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm