The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Auth, reference 2.0.4 (e6f61b), with Swift 6.1 for macOS (SPM) on 14 Dec 2025 08:17:21 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vapor/authentication.git
Reference: 2.0.4
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/vapor/authentication
 * tag               2.0.4      -> FETCH_HEAD
HEAD is now at e6f61b4 session middleware short circuit (#69)
Cloned https://github.com/vapor/authentication.git
Revision (git rev-parse @):
e6f61b403727ec124214beb3e57deff579f31d00
SUCCESS checkout https://github.com/vapor/authentication.git at 2.0.4
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/vapor/authentication.git
https://github.com/vapor/authentication.git
{
  "dependencies" : [
    {
      "identity" : "core",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/core.git"
    },
    {
      "identity" : "crypto",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/crypto.git"
    },
    {
      "identity" : "http",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.1.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/http.git"
    },
    {
      "identity" : "fluent",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.0-",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/fluent.git"
    },
    {
      "identity" : "service",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/service.git"
    },
    {
      "identity" : "vapor",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.2.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/vapor.git"
    },
    {
      "identity" : "fluent-sqlite",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/fluent-sqlite.git"
    }
  ],
  "manifest_display_name" : "Auth",
  "name" : "Auth",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Authentication",
      "targets" : [
        "Authentication"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AuthenticationTests",
      "module_type" : "SwiftTarget",
      "name" : "AuthenticationTests",
      "path" : "Tests/AuthenticationTests",
      "product_dependencies" : [
        "FluentSQLite",
        "Vapor"
      ],
      "sources" : [
        "AuthenticationTests.swift",
        "User.swift"
      ],
      "target_dependencies" : [
        "Authentication"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Authentication",
      "module_type" : "SwiftTarget",
      "name" : "Authentication",
      "path" : "Sources/Authentication",
      "product_dependencies" : [
        "Async",
        "Bits",
        "Crypto",
        "Debugging",
        "Fluent",
        "HTTP",
        "Service",
        "Vapor"
      ],
      "product_memberships" : [
        "Authentication"
      ],
      "sources" : [
        "Authenticatable.swift",
        "AuthenticationCache.swift",
        "AuthenticationProvider.swift",
        "Basic/BasicAuthenticatable.swift",
        "Basic/BasicAuthenticationMiddleware.swift",
        "Bearer/BearerAuthenticatable.swift",
        "Bearer/BearerAuthenticationMiddleware.swift",
        "Exports.swift",
        "Password/PasswordAuthenticatable.swift",
        "Password/PasswordVerifier.swift",
        "Persist/AuthenticationSessionsMiddleware.swift",
        "Persist/RedirectMiddleware.swift",
        "Persist/SessionAuthenticatable.swift",
        "Token/TokenAuthenticatable.swift",
        "Token/TokenAuthenticationMiddleware.swift",
        "Utilities/AuthenticationError.swift",
        "Utilities/GuardMiddleware.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/44] Write sources
[27/44] Write swift-version-2F0A5646E1D333AE.txt
[28/44] Compiling CNIOLinux shim.c
[28/44] Compiling CNIOLinux ifaddrs-android.c
[28/44] Compiling CNIOZlib empty.c
In file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/crypto/Sources/CCryptoOpenSSL/shim.c:1:
/Users/admin/builder/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>
      |          ^~~~~~~~~~~~~~~~
1 error generated.
[31/44] Compiling CCryptoOpenSSL shim.c
In file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOOpenSSL/shims.c:16:
/Users/admin/builder/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>
      |          ^~~~~~~~~~~~~~~~
[31/44] Compiling CNIODarwin shim.c
[31/44] Compiling CNIOOpenSSL shims.c
In file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOOpenSSL/helpers.c:14:
/Users/admin/builder/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>
      |          ^~~~~~~~~~~~~~~~
[31/44] Compiling CNIOOpenSSL helpers.c
[31/44] Compiling CNIOHTTPParser c_nio_http_parser.c
[31/44] Compiling CNIOSHA1 c_nio_sha1.c
[31/44] Compiling c-atomics.c
Fetching https://github.com/vapor/fluent-sqlite.git
Fetching https://github.com/vapor/core.git
Fetching https://github.com/vapor/crypto.git
Fetching https://github.com/vapor/vapor.git
Fetching https://github.com/vapor/service.git
Fetching https://github.com/vapor/http.git
Fetching https://github.com/vapor/fluent.git
[1/2786] Fetching crypto
[2/4133] Fetching crypto, fluent-sqlite
[196/5052] Fetching crypto, fluent-sqlite, service
[325/25195] Fetching crypto, fluent-sqlite, service, core
[353/50662] Fetching crypto, fluent-sqlite, service, core, http
[4736/64146] Fetching crypto, fluent-sqlite, service, core, http, fluent
[22447/140549] Fetching crypto, fluent-sqlite, service, core, http, fluent, vapor
Fetched https://github.com/vapor/fluent-sqlite.git from cache (1.66s)
Fetched https://github.com/vapor/crypto.git from cache (1.65s)
Fetched https://github.com/vapor/core.git from cache (1.66s)
Fetched https://github.com/vapor/http.git from cache (1.67s)
Fetched https://github.com/vapor/fluent.git from cache (1.67s)
[20020/77322] Fetching service, vapor
Fetched https://github.com/vapor/vapor.git from cache (2.55s)
Fetched https://github.com/vapor/service.git from cache (2.55s)
Computing version for https://github.com/vapor/fluent-sqlite.git
Computed https://github.com/vapor/fluent-sqlite.git at 3.0.0 (3.18s)
Fetching https://github.com/vapor/sqlite.git
[1/2134] Fetching sqlite
Fetched https://github.com/vapor/sqlite.git from cache (1.24s)
Computing version for https://github.com/vapor/service.git
Computed https://github.com/vapor/service.git at 1.0.2 (1.81s)
Computing version for https://github.com/vapor/sqlite.git
Computed https://github.com/vapor/sqlite.git at 3.3.0 (0.60s)
Fetching https://github.com/vapor/sql.git
Fetching https://github.com/vapor/database-kit.git
[1/1181] Fetching database-kit
[190/7329] Fetching database-kit, sql
Fetched https://github.com/vapor/sql.git from cache (1.20s)
Fetched https://github.com/vapor/database-kit.git from cache (1.20s)
Computing version for https://github.com/vapor/database-kit.git
Computed https://github.com/vapor/database-kit.git at 1.3.3 (1.77s)
Computing version for https://github.com/vapor/sql.git
Computed https://github.com/vapor/sql.git at 2.3.2 (0.64s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 3.3.3 (0.57s)
Fetching https://github.com/vapor/validation.git
Fetching https://github.com/vapor/websocket.git
Fetching https://github.com/vapor/routing.git
Fetching https://github.com/vapor/template-kit.git
Fetching https://github.com/vapor/url-encoded-form.git
Fetching https://github.com/vapor/console.git
Fetching https://github.com/vapor/multipart.git
[1/579] Fetching validation
[42/1861] Fetching validation, template-kit
[413/2242] Fetching validation, template-kit, url-encoded-form
[528/5858] Fetching validation, template-kit, url-encoded-form, multipart
[782/8490] Fetching validation, template-kit, url-encoded-form, multipart, websocket
[924/29846] Fetching validation, template-kit, url-encoded-form, multipart, websocket, routing
Fetched https://github.com/vapor/url-encoded-form.git from cache (0.78s)
[1878/29465] Fetching validation, template-kit, multipart, websocket, routing
[2661/35966] Fetching validation, template-kit, multipart, websocket, routing, console
Fetched https://github.com/vapor/routing.git from cache (2.60s)
Fetched https://github.com/vapor/validation.git from cache (2.60s)
Fetched https://github.com/vapor/websocket.git from cache (2.60s)
Fetched https://github.com/vapor/multipart.git from cache (2.60s)
Fetched https://github.com/vapor/console.git from cache (2.60s)
Fetched https://github.com/vapor/template-kit.git from cache (2.60s)
Computing version for https://github.com/vapor/http.git
Computed https://github.com/vapor/http.git at 3.4.0 (3.22s)
Fetching https://github.com/apple/swift-nio.git from cache
Fetching https://github.com/apple/swift-nio-ssl.git from cache
Fetched https://github.com/apple/swift-nio-ssl.git from cache (2.40s)
Fetched https://github.com/apple/swift-nio.git from cache (2.46s)
Computing version for https://github.com/vapor/validation.git
Computed https://github.com/vapor/validation.git at 2.1.1 (3.10s)
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.55s)
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.18s)
Computing version for https://github.com/vapor/routing.git
Computed https://github.com/vapor/routing.git at 3.1.0 (0.60s)
Computing version for https://github.com/vapor/websocket.git
Computed https://github.com/vapor/websocket.git at 1.1.2 (0.60s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 1.4.0 (0.59s)
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 (0.53s)
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.12s)
Computing version for https://github.com/vapor/crypto.git
Computed https://github.com/vapor/crypto.git at 3.4.1 (0.59s)
Computing version for https://github.com/vapor/console.git
Computed https://github.com/vapor/console.git at 3.1.1 (0.58s)
Computing version for https://github.com/vapor/fluent.git
Computed https://github.com/vapor/fluent.git at 3.2.1 (0.56s)
Computing version for https://github.com/vapor/url-encoded-form.git
Computed https://github.com/vapor/url-encoded-form.git at 1.1.0 (0.57s)
Computing version for https://github.com/vapor/template-kit.git
Computed https://github.com/vapor/template-kit.git at 1.5.0 (0.58s)
Computing version for https://github.com/vapor/multipart.git
Computed https://github.com/vapor/multipart.git at 3.1.3 (0.61s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.10.1 (0.61s)
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/vapor/fluent-sqlite.git
Working copy of https://github.com/vapor/fluent-sqlite.git resolved at 3.0.0
Creating working copy for https://github.com/vapor/multipart.git
Working copy of https://github.com/vapor/multipart.git resolved at 3.1.3
Creating working copy for https://github.com/vapor/vapor.git
Working copy of https://github.com/vapor/vapor.git resolved at 3.3.3
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/fluent.git
Working copy of https://github.com/vapor/fluent.git resolved at 3.2.1
Creating working copy for https://github.com/vapor/crypto.git
Working copy of https://github.com/vapor/crypto.git resolved at 3.4.1
Creating working copy for https://github.com/vapor/http.git
Working copy of https://github.com/vapor/http.git resolved at 3.4.0
Creating working copy for https://github.com/vapor/validation.git
Working copy of https://github.com/vapor/validation.git resolved at 2.1.1
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/sqlite.git
Working copy of https://github.com/vapor/sqlite.git resolved at 3.3.0
Creating working copy for https://github.com/vapor/template-kit.git
Working copy of https://github.com/vapor/template-kit.git resolved at 1.5.0
Creating working copy for https://github.com/vapor/url-encoded-form.git
Working copy of https://github.com/vapor/url-encoded-form.git resolved at 1.1.0
Creating working copy for https://github.com/vapor/websocket.git
Working copy of https://github.com/vapor/websocket.git resolved at 1.1.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/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.git
Working copy of https://github.com/apple/swift-nio.git resolved at 1.14.4
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-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/routing.git
Working copy of https://github.com/vapor/routing.git resolved at 3.1.0
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
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: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: couldn't find pc file for zlib
warning: you may be able to install openssl using your system-packager:
    brew install libressl
warning: couldn't find pc file for zlib
warning: you may be able to install openssl using your system-packager:
    brew install libressl
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
In file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/crypto/Sources/CCryptoOpenSSL/shim.c:1:
/Users/admin/builder/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>
      |          ^~~~~~~~~~~~~~~~
1 error generated.
[0/14] Compiling CCryptoOpenSSL shim.c
[0/14] Compiling CBcrypt blf.c
[0/14] Compiling CNIOSHA1 c_nio_sha1.c
In file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOOpenSSL/shims.c:16:
/Users/admin/builder/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>
      |          ^~~~~~~~~~~~~~~~
[0/14] Compiling CNIOOpenSSL shims.c
[0/14] Compiling CBase32 base32.c
[0/14] Compiling CNIODarwin shim.c
[0/14] Compiling CBcrypt bcrypt.c
In file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOOpenSSL/helpers.c:14:
/Users/admin/builder/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>
      |          ^~~~~~~~~~~~~~~~
[0/14] Compiling CNIOOpenSSL helpers.c
[0/14] Compiling CNIOHTTPParser c_nio_http_parser.c
[0/14] Compiling c-atomics.c
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: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: couldn't find pc file for zlib
warning: you may be able to install openssl using your system-packager:
    brew install libressl
warning: couldn't find pc file for zlib
warning: you may be able to install openssl using your system-packager:
    brew install libressl
BUILD FAILURE 6.1 macosSpm