The Swift Package Index logo.Swift Package Index

Build Information

Failed to build FluentPostGIS, reference master (ee2427), with Swift 6.1 for Wasm on 27 May 2025 10:17:07 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/plarson/fluent-postgis.git
Reference: master
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/plarson/fluent-postgis
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at ee24270 GeometryCollectable
Cloned https://github.com/plarson/fluent-postgis.git
Revision (git rev-parse @):
ee2427042beadb1c28d7b36a2130c9f1ab8692f0
SUCCESS checkout https://github.com/plarson/fluent-postgis.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/plarson/fluent-postgis.git
https://github.com/plarson/fluent-postgis.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "fluent",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/fluent.git"
    },
    {
      "identity" : "fluent-postgresql",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/fluent-postgresql.git"
    },
    {
      "identity" : "wkcodable",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/plarson/WKCodable"
    }
  ],
  "manifest_display_name" : "FluentPostGIS",
  "name" : "FluentPostGIS",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "FluentPostGIS",
      "targets" : [
        "FluentPostGIS"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "FluentPostGISTests",
      "module_type" : "SwiftTarget",
      "name" : "FluentPostGISTests",
      "path" : "Tests/FluentPostGISTests",
      "product_dependencies" : [
        "FluentBenchmark"
      ],
      "sources" : [
        "GeometryTests.swift",
        "QueryTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "FluentPostGIS"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FluentPostGIS",
      "module_type" : "SwiftTarget",
      "name" : "FluentPostGIS",
      "path" : "Sources/FluentPostGIS",
      "product_dependencies" : [
        "FluentPostgreSQL",
        "WKCodable"
      ],
      "product_memberships" : [
        "FluentPostGIS"
      ],
      "sources" : [
        "Geometry/GeographicGeometryCollection2D.swift",
        "Geometry/GeographicLineString2D.swift",
        "Geometry/GeographicMultiLineString2D.swift",
        "Geometry/GeographicMultiPoint2D.swift",
        "Geometry/GeographicMultiPolygon2D.swift",
        "Geometry/GeographicPoint2D.swift",
        "Geometry/GeographicPolygon2D.swift",
        "Geometry/GeometricGeometryCollection2D.swift",
        "Geometry/GeometricLineString2D.swift",
        "Geometry/GeometricMultiLineString2D.swift",
        "Geometry/GeometricMultiPoint2D.swift",
        "Geometry/GeometricMultiPolygon2D.swift",
        "Geometry/GeometricPoint2D.swift",
        "Geometry/GeometricPolygon2D.swift",
        "Geometry/GeometryConvertible.swift",
        "Geometry/PostgreSQLDataType+PostGIS.swift",
        "Queries/QueryBuilder+Contains.swift",
        "Queries/QueryBuilder+Crosses.swift",
        "Queries/QueryBuilder+Disjoint.swift",
        "Queries/QueryBuilder+Distance.swift",
        "Queries/QueryBuilder+DistanceWithin.swift",
        "Queries/QueryBuilder+Equals.swift",
        "Queries/QueryBuilder+Intersects.swift",
        "Queries/QueryBuilder+Overlaps.swift",
        "Queries/QueryBuilder+Touches.swift",
        "Queries/QueryBuilder+Within.swift",
        "Queries/QuerySupporting+Geometry.swift",
        "Support/EnablePostGISMigration.swift",
        "Support/FluentPostGISProvider.swift",
        "Support/PostGISDataTypeCode.swift",
        "Support/PostGISError.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.1"
}
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 -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:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/plarson/WKCodable
Fetching https://github.com/vapor/fluent-postgresql.git
Fetching https://github.com/vapor/fluent.git
[1/2659] Fetching fluent-postgresql
[879/2954] Fetching fluent-postgresql, wkcodable
[2796/16375] Fetching fluent-postgresql, wkcodable, fluent
Fetched https://github.com/plarson/WKCodable from cache (0.29s)
Fetched https://github.com/vapor/fluent-postgresql.git from cache (0.29s)
[5369/13421] Fetching fluent
Fetched https://github.com/vapor/fluent.git from cache (1.51s)
Computing version for https://github.com/plarson/WKCodable
Computed https://github.com/plarson/WKCodable at 0.1.1 (2.34s)
Computing version for https://github.com/vapor/fluent-postgresql.git
Computed https://github.com/vapor/fluent-postgresql.git at 1.0.1 (0.66s)
Fetching https://github.com/vapor/core.git
Fetching https://github.com/vapor/postgresql.git
[1/20143] Fetching core
[4433/25498] Fetching core, postgresql
Fetched https://github.com/vapor/postgresql.git from cache (1.42s)
Fetched https://github.com/vapor/core.git from cache (1.44s)
Computing version for https://github.com/vapor/fluent.git
Computed https://github.com/vapor/fluent.git at 3.2.1 (2.52s)
Fetching https://github.com/vapor/service.git
Fetching https://github.com/vapor/database-kit.git
Fetching https://github.com/vapor/sql.git
Fetching https://github.com/vapor/console.git
[1/1181] Fetching database-kit
[214/6758] Fetching database-kit, console
[902/7677] Fetching database-kit, console, service
[6173/13660] Fetching database-kit, console, service, sql
Fetched https://github.com/vapor/service.git from cache (0.39s)
Fetched https://github.com/vapor/console.git from cache (0.39s)
Fetched https://github.com/vapor/database-kit.git from cache (0.45s)
Fetched https://github.com/vapor/sql.git from cache (0.46s)
Computing version for https://github.com/vapor/service.git
Computed https://github.com/vapor/service.git at 1.0.2 (1.05s)
Computing version for https://github.com/vapor/database-kit.git
Computed https://github.com/vapor/database-kit.git at 1.3.3 (1.61s)
Computing version for https://github.com/vapor/console.git
Computed https://github.com/vapor/console.git at 3.1.1 (0.67s)
Computing version for https://github.com/vapor/sql.git
Computed https://github.com/vapor/sql.git at 2.3.2 (0.81s)
Computing version for https://github.com/vapor/postgresql.git
Computed https://github.com/vapor/postgresql.git at 1.7.0 (0.61s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/vapor/crypto.git
[1/2786] Fetching crypto
[2787/78828] Fetching crypto, swift-nio
[4308/93671] Fetching crypto, swift-nio, swift-nio-ssl
Fetched https://github.com/vapor/crypto.git from cache (5.14s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (5.17s)
Fetched https://github.com/apple/swift-nio.git from cache (5.25s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 1.4.0 (6.05s)
Fetching https://github.com/apple/swift-nio-ssl-support.git
[1/16] Fetching swift-nio-ssl-support
Fetched https://github.com/apple/swift-nio-ssl-support.git from cache (1.15s)
Computing version for https://github.com/apple/swift-nio-ssl-support.git
Computed https://github.com/apple/swift-nio-ssl-support.git at 1.0.0 (1.86s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (0.62s)
Fetching https://github.com/apple/swift-nio-zlib-support.git
[1/15] Fetching swift-nio-zlib-support
Fetched https://github.com/apple/swift-nio-zlib-support.git from cache (0.70s)
Computing version for https://github.com/apple/swift-nio-zlib-support.git
Computed https://github.com/apple/swift-nio-zlib-support.git at 1.0.0 (1.26s)
Computing version for https://github.com/vapor/crypto.git
Computed https://github.com/vapor/crypto.git at 3.4.1 (0.58s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.10.1 (0.56s)
Creating working copy for https://github.com/vapor/core.git
Working copy of https://github.com/vapor/core.git resolved at 3.10.1
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 1.14.4
Creating working copy for https://github.com/vapor/fluent.git
Working copy of https://github.com/vapor/fluent.git resolved at 3.2.1
Creating working copy for https://github.com/apple/swift-nio-zlib-support.git
Working copy of https://github.com/apple/swift-nio-zlib-support.git resolved at 1.0.0
Creating working copy for https://github.com/vapor/service.git
Working copy of https://github.com/vapor/service.git resolved at 1.0.2
Creating working copy for https://github.com/plarson/WKCodable
Working copy of https://github.com/plarson/WKCodable resolved at 0.1.1
Creating working copy for https://github.com/vapor/console.git
Working copy of https://github.com/vapor/console.git resolved at 3.1.1
Creating working copy for https://github.com/vapor/postgresql.git
Working copy of https://github.com/vapor/postgresql.git resolved at 1.7.0
Creating working copy for https://github.com/vapor/fluent-postgresql.git
Working copy of https://github.com/vapor/fluent-postgresql.git resolved at 1.0.1
Creating working copy for https://github.com/apple/swift-nio-ssl-support.git
Working copy of https://github.com/apple/swift-nio-ssl-support.git resolved at 1.0.0
Creating working copy for https://github.com/vapor/sql.git
Working copy of https://github.com/vapor/sql.git resolved at 2.3.2
Creating working copy for https://github.com/vapor/database-kit.git
Working copy of https://github.com/vapor/database-kit.git resolved at 1.3.3
Creating working copy for https://github.com/vapor/crypto.git
Working copy of https://github.com/vapor/crypto.git resolved at 3.4.1
warning: 'swift-nio-ssl-support': ignoring declared target(s) 'swift-nio-ssl-support' in the system package
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
warning: couldn't find pc file for openssl
warning: couldn't find pc file for openssl
Building for debugging...
[0/37] Write sources
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOOpenSSL/shims.c:16:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOOpenSSL/include/c_nio_openssl.h:17:10: fatal error: 'openssl/conf.h' file not found
   17 | #include <openssl/conf.h>
      |          ^~~~~~~~~~~~~~~~
1 error generated.
[23/37] Compiling CNIOOpenSSL shims.c
[23/37] Compiling CNIOLinux ifaddrs-android.c
[23/37] Compiling CNIOLinux shim.c
[23/37] Compiling CNIODarwin shim.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOOpenSSL/helpers.c:14:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOOpenSSL/include/c_nio_openssl.h:17:10: fatal error: 'openssl/conf.h' file not found
   17 | #include <openssl/conf.h>
      |          ^~~~~~~~~~~~~~~~
1 error generated.
[23/37] Compiling CNIOOpenSSL helpers.c
[23/37] Compiling c-atomics.c
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOSHA1/c_nio_sha1.c:47:10: fatal error: 'sys/cdefs.h' file not found
   47 | #include <sys/cdefs.h>
      |          ^~~~~~~~~~~~~
[23/37] Compiling CNIOSHA1 c_nio_sha1.c
[23/37] 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:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
warning: 'swift-nio-ssl-support': ignoring declared target(s) 'swift-nio-ssl-support' in the system package
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
warning: couldn't find pc file for openssl
warning: couldn't find pc file for openssl
[0/1] Planning build
Building for debugging...
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOOpenSSL/shims.c:16:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOOpenSSL/include/c_nio_openssl.h:17:10: fatal error: 'openssl/conf.h' file not found
   17 | #include <openssl/conf.h>
      |          ^~~~~~~~~~~~~~~~
1 error generated.
[0/14] Compiling CNIOOpenSSL shims.c
[0/14] Compiling CNIOLinux shim.c
[0/14] Compiling CNIOLinux ifaddrs-android.c
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOSHA1/c_nio_sha1.c:47:10: fatal error: 'sys/cdefs.h' file not found
   47 | #include <sys/cdefs.h>
      |          ^~~~~~~~~~~~~
[0/14] Compiling CNIOSHA1 c_nio_sha1.c
In file included from /host/spi-builder-workspace/.build/checkouts/crypto/Sources/CCryptoOpenSSL/shim.c:1:
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/CCryptoOpenSSL/include/c_crypto_openssl.h:4:10: fatal error: 'openssl/conf.h' file not found
    4 | #include <openssl/conf.h>
      |          ^~~~~~~~~~~~~~~~
[0/14] Compiling CCryptoOpenSSL shim.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOOpenSSL/helpers.c:14:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOOpenSSL/include/c_nio_openssl.h:17:10: fatal error: 'openssl/conf.h' file not found
   17 | #include <openssl/conf.h>
      |          ^~~~~~~~~~~~~~~~
1 error generated.
[0/14] Compiling CNIOOpenSSL helpers.c
[0/14] Write swift-version-24593BA9C3E375BF.txt
[0/14] Compiling CBcrypt blf.c
BUILD FAILURE 6.1 wasm