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 FluentMongo, reference master (76bc6e), with Swift 6.1 for Android on 29 May 2025 00:27:11 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/asensei/vapor-fluent-mongo.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/asensei/vapor-fluent-mongo
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 76bc6e5 test against mongo v7 (#28)
Cloned https://github.com/asensei/vapor-fluent-mongo.git
Revision (git rev-parse @):
76bc6e52ceb62cadb13aa39ac0ecd7920f31fbe2
SUCCESS checkout https://github.com/asensei/vapor-fluent-mongo.git at master
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/asensei/vapor-fluent-mongo.git
https://github.com/asensei/vapor-fluent-mongo.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "fluent-kit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.36.1",
            "upper_bound" : "1.37.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/fluent-kit.git"
    },
    {
      "identity" : "mongo-swift-driver",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/mongodb/mongo-swift-driver.git"
    }
  ],
  "manifest_display_name" : "FluentMongo",
  "name" : "FluentMongo",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "FluentMongo",
      "targets" : [
        "FluentMongo"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "FluentMongoTests",
      "module_type" : "SwiftTarget",
      "name" : "FluentMongoTests",
      "path" : "Tests/FluentMongoTests",
      "product_dependencies" : [
        "FluentBenchmark"
      ],
      "sources" : [
        "FluentBenchmarkTests.swift",
        "FluentMongoTests.swift",
        "Pet.swift",
        "PetToy.swift",
        "Toy.swift",
        "User.swift"
      ],
      "target_dependencies" : [
        "FluentMongo"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FluentMongo",
      "module_type" : "SwiftTarget",
      "name" : "FluentMongo",
      "path" : "Sources/FluentMongo",
      "product_dependencies" : [
        "FluentKit",
        "MongoSwift"
      ],
      "product_memberships" : [
        "FluentMongo"
      ],
      "sources" : [
        "BSONCoder+BSON.swift",
        "DatabaseQueryAggregate+Mongo.swift",
        "DatabaseQueryField+Mongo.swift",
        "DatabaseQueryFilter+Mongo.swift",
        "DatabaseQueryJoin+Mongo.swift",
        "DatabaseQueryLimit+Mongo.swift",
        "DatabaseQueryOffset+Mongo.swift",
        "DatabaseQuerySort+Mongo.swift",
        "DatabaseQueryValue+Mongo.swift",
        "DatabaseSchema+Mongo.swift",
        "Document+Nested.swift",
        "Error.swift",
        "Exports.swift",
        "Fluent+Additions.swift",
        "FluentMongoConfiguration.swift",
        "IndexBuilder.swift",
        "MongoConfiguration.swift",
        "MongoConnection.swift",
        "MongoConnectionSource.swift",
        "MongoDatabase.swift",
        "MongoDatabaseDriver.swift",
        "MongoDatabaseOutput.swift",
        "MongoQueryConverter.swift",
        "MongoSchemaConverter.swift",
        "QueryBuilder+Mongo.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/vapor/fluent-kit.git
Fetching https://github.com/mongodb/mongo-swift-driver.git
[1/13328] Fetching fluent-kit
[13329/53225] Fetching fluent-kit, mongo-swift-driver
Fetched https://github.com/vapor/fluent-kit.git from cache (4.38s)
Fetched https://github.com/mongodb/mongo-swift-driver.git from cache (4.44s)
Computing version for https://github.com/mongodb/mongo-swift-driver.git
Computed https://github.com/mongodb/mongo-swift-driver.git at 1.3.1 (4.99s)
Fetching https://github.com/apple/swift-atomics
Fetching https://github.com/mongodb/swift-bson
Fetching https://github.com/apple/swift-nio
Fetching https://github.com/Quick/Nimble.git
[1/3384] Fetching swift-bson
[408/5094] Fetching swift-bson, swift-atomics
[5010/24678] Fetching swift-bson, swift-atomics, nimble
[5487/100771] Fetching swift-bson, swift-atomics, nimble, swift-nio
Fetched https://github.com/Quick/Nimble.git from cache (2.69s)
Fetched https://github.com/apple/swift-atomics from cache (3.84s)
Fetched https://github.com/mongodb/swift-bson from cache (3.84s)
Fetched https://github.com/apple/swift-nio from cache (3.92s)
Computing version for https://github.com/vapor/fluent-kit.git
Computed https://github.com/vapor/fluent-kit.git at 1.36.1 (5.50s)
Fetching https://github.com/vapor/sql-kit.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/vapor/async-kit.git
[1/2370] Fetching async-kit
[2371/6206] Fetching async-kit, swift-log
[6207/12189] Fetching async-kit, swift-log, sql-kit
Fetched https://github.com/vapor/async-kit.git from cache (0.52s)
Fetched https://github.com/apple/swift-log.git from cache (0.52s)
Fetched https://github.com/vapor/sql-kit.git from cache (0.59s)
Computing version for https://github.com/mongodb/swift-bson
Computed https://github.com/mongodb/swift-bson at 3.1.0 (1.33s)
Fetching https://github.com/swift-extras/swift-extras-json
Fetching https://github.com/swift-extras/swift-extras-base64
[1/1056] Fetching swift-extras-json
[1057/1889] Fetching swift-extras-json, swift-extras-base64
Fetched https://github.com/swift-extras/swift-extras-json from cache (0.24s)
Fetched https://github.com/swift-extras/swift-extras-base64 from cache (0.27s)
Computing version for https://github.com/swift-extras/swift-extras-base64
Computed https://github.com/swift-extras/swift-extras-base64 at 0.5.0 (0.79s)
Computing version for https://github.com/swift-extras/swift-extras-json
Computed https://github.com/swift-extras/swift-extras-json at 0.6.0 (0.56s)
Computing version for https://github.com/apple/swift-atomics
Computed https://github.com/apple/swift-atomics at 1.2.0 (0.56s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.1.2 (0.51s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (1.46s)
Computing version for https://github.com/vapor/async-kit.git
Computed https://github.com/vapor/async-kit.git at 1.20.0 (0.52s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-algorithms.git
[1/5959] Fetching swift-algorithms
[5960/22550] Fetching swift-algorithms, swift-collections
Fetched https://github.com/apple/swift-algorithms.git from cache (1.62s)
Fetched https://github.com/apple/swift-collections.git from cache (1.64s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (2.38s)
Fetching https://github.com/apple/swift-numerics.git
[1/5706] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.43s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (1.64s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.69s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 2.83.0 (1.36s)
Fetching https://github.com/apple/swift-system.git
[1/4391] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.43s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (1.07s)
Computing version for https://github.com/vapor/sql-kit.git
Computed https://github.com/vapor/sql-kit.git at 3.33.0 (0.65s)
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 8.1.2
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.3
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.0
Creating working copy for https://github.com/vapor/async-kit.git
Working copy of https://github.com/vapor/async-kit.git resolved at 1.20.0
Creating working copy for https://github.com/mongodb/mongo-swift-driver.git
Working copy of https://github.com/mongodb/mongo-swift-driver.git resolved at 1.3.1
Creating working copy for https://github.com/vapor/fluent-kit.git
Working copy of https://github.com/vapor/fluent-kit.git resolved at 1.36.1
Creating working copy for https://github.com/swift-extras/swift-extras-json
Working copy of https://github.com/swift-extras/swift-extras-json resolved at 0.6.0
Creating working copy for https://github.com/vapor/sql-kit.git
Working copy of https://github.com/vapor/sql-kit.git resolved at 3.33.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-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/mongodb/swift-bson
Working copy of https://github.com/mongodb/swift-bson resolved at 3.1.0
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/apple/swift-nio
Working copy of https://github.com/apple/swift-nio resolved at 2.83.0
Creating working copy for https://github.com/swift-extras/swift-extras-base64
Working copy of https://github.com/swift-extras/swift-extras-base64 resolved at 0.5.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
Building for debugging...
[0/172] Write sources
[8/172] Compiling _NumericsShims _NumericsShims.c
[8/172] Write sources
[23/172] Compiling CNIOWindows shim.c
[24/172] Compiling _AtomicsShims.c
[25/172] Compiling CNIOWindows WSAStartup.c
[26/172] Compiling CNIOWASI CNIOWASI.c
[27/172] Compiling mongoc-write-concern.c
[28/172] Compiling mongoc-stream-gridfs-download.c
[29/172] Compiling mongoc-stream-buffered.c
[29/172] Compiling mongoc-stream-gridfs-upload.c
[31/172] Compiling CNIOLinux liburing_shims.c
[32/172] Compiling CNIODarwin shim.c
[33/172] Compiling mongoc-stream-file.c
[34/172] Write swift-version-24593BA9C3E375BF.txt
[35/172] Compiling CNIOLinux shim.c
[36/172] Compiling mongoc-version-functions.c
[37/172] Compiling mongoc-util.c
[38/172] Compiling mongoc-write-command-legacy.c
[39/172] Compiling mongoc-write-command.c
[40/193] Compiling mongoc-uri.c
[42/220] Emitting module ExtrasJSON
[42/221] Compiling c-nioatomics.c
[43/225] Compiling c-atomics.c
[44/225] Compiling mongoc-ts-pool.c
[46/225] Emitting module RealModule
[47/225] Compiling ExtrasJSON ArrayKey.swift
[48/225] Compiling ExtrasJSON JSONDecoder.swift
[49/226] Compiling ExtrasJSON JSONUnkeyedDecodingContainer.swift
[50/226] Compiling ExtrasJSON JSONEncoder.swift
[51/228] Compiling Logging LogHandler.swift
[52/229] Compiling _NIODataStructures _TinyArray.swift
[53/232] Compiling ExtrasJSON JSONUnkeyedEncodingContainer.swift
[54/232] Compiling ExtrasJSON JSONError+DecodingError.swift
[55/232] Compiling RealModule RealFunctions.swift
[56/232] Compiling _NIODataStructures PriorityQueue.swift
[57/232] Compiling InternalCollectionsUtilities Descriptions.swift
[58/232] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[59/232] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[60/232] Emitting module InternalCollectionsUtilities
[61/232] Compiling ExtrasJSON JSONParser.swift
[66/233] Compiling ExtrasJSON JSONKeyedEncodingContainer.swift
[67/233] Compiling ExtrasJSON JSONSingleValueEncodingContainer.swift
[70/233] Compiling ExtrasJSON JSONKeyedDecodingContainer.swift
[71/233] Compiling ExtrasJSON JSONSingleValueDecodingContainer.swift
[72/233] Compiling ExtrasJSON JSONValue.swift
[73/233] Compiling ExtrasJSON DocumentReader.swift
[74/233] Compiling RealModule Float16+Real.swift
[75/233] Compiling RealModule Float80+Real.swift
[76/233] Compiling RealModule Real.swift
[79/233] Compiling RealModule Float+Real.swift
[80/233] Compiling RealModule ElementaryFunctions.swift
[81/233] Compiling _NIOBase64 Base64.swift
[82/233] Emitting module _NIOBase64
[83/233] Emitting module _NIODataStructures
[84/234] Compiling _NIODataStructures Heap.swift
[93/237] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[96/237] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[97/238] Compiling NIOConcurrencyHelpers NIOLock.swift
[98/238] Compiling NIOConcurrencyHelpers lock.swift
[100/238] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[101/238] Emitting module NIOConcurrencyHelpers
[102/238] Compiling NIOConcurrencyHelpers atomics.swift
[102/239] Compiling mongoc-topology-description-apm.c
[104/240] Compiling mongoc-topology.c
[105/242] Compiling mongoc-topology-background-monitoring.c
[106/257] Compiling mongoc-topology-description.c
[107/263] Compiling mongoc-topology-scanner.c
[108/362] Compiling mongoc-timeout.c
[109/396] Compiling mongoc-stream.c
[111/460] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[112/460] Compiling HeapModule Heap+Invariants.swift
In file included from /host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/mongoc/mongoc-stream-tls.c:33:
/host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/mongoc/mongoc-openssl-private.h:23:10: fatal error: 'openssl/bio.h' file not found
   23 | #include <openssl/bio.h>
      |          ^~~~~~~~~~~~~~~
1 error generated.
[112/460] Compiling mongoc-stream-tls.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/121] Write sources
[4/122] Compiling mongoc-stream-tls-secure-channel.c
[5/122] Compiling mongoc-stream-tls-secure-transport.c
[6/122] Compiling mongoc-stream-tls-libressl.c
In file included from /host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/mongoc/mongoc-stream-tls.c:33:
/host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/mongoc/mongoc-openssl-private.h:23:10: fatal error: 'openssl/bio.h' file not found
   23 | #include <openssl/bio.h>
      |          ^~~~~~~~~~~~~~~
1 error generated.
[7/122] Compiling mongoc-stream-tls.c
[7/122] Compiling mongoc-ssl.c
[7/122] Compiling mongoc-stream-socket.c
[7/122] Compiling mongoc-stream-gridfs.c
[7/122] Compiling mongoc-stream-tls-openssl-bio.c
/host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/mongoc/mongoc-stream-tls-openssl.c:25:10: fatal error: 'openssl/bio.h' file not found
   25 | #include <openssl/bio.h>
      |          ^~~~~~~~~~~~~~~
[7/122] Compiling mongoc-stream-tls-openssl.c
[7/122] Compiling mongoc-sspi.c
[7/122] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 android