Build Information
Failed to build SQLiteMigrationManager.swift, reference main (c46cc4), with Swift 6.2 for Linux on 21 Jun 2025 19:03:15 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/garriguv/SQLiteMigrationManager.swift.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/garriguv/SQLiteMigrationManager.swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at c46cc45 Update SQLite checkout
Submodule path 'Carthage/Checkouts/SQLite.swift': checked out 'a95fc6df17d108bd99210db5e8a9bac90fe984b8'
Submodule 'Carthage/Checkouts/SQLite.swift' (https://github.com/stephencelis/SQLite.swift.git) registered for path 'Carthage/Checkouts/SQLite.swift'
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/SQLite.swift'...
Cloned https://github.com/garriguv/SQLiteMigrationManager.swift.git
Revision (git rev-parse @):
c46cc4566ea3d2bb73d34fe620131f0f64589a2d
SUCCESS checkout https://github.com/garriguv/SQLiteMigrationManager.swift.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.2
Building package at path: $PWD
https://github.com/garriguv/SQLiteMigrationManager.swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/stephencelis/SQLite.swift.git
[1/9851] Fetching sqlite.swift
Fetched https://github.com/stephencelis/SQLite.swift.git from cache (1.52s)
Computing version for https://github.com/stephencelis/SQLite.swift.git
Computed https://github.com/stephencelis/SQLite.swift.git at 0.15.4 (3.85s)
Fetching https://github.com/swiftlang/swift-toolchain-sqlite
[1/136] Fetching swift-toolchain-sqlite
Fetched https://github.com/swiftlang/swift-toolchain-sqlite from cache (2.21s)
Computing version for https://github.com/swiftlang/swift-toolchain-sqlite
Computed https://github.com/swiftlang/swift-toolchain-sqlite at 1.0.4 (2.81s)
Creating working copy for https://github.com/swiftlang/swift-toolchain-sqlite
Working copy of https://github.com/swiftlang/swift-toolchain-sqlite resolved at 1.0.4
Creating working copy for https://github.com/stephencelis/SQLite.swift.git
Working copy of https://github.com/stephencelis/SQLite.swift.git resolved at 0.15.4
warning: 'sqlite.swift': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/.build/checkouts/SQLite.swift/Sources/SQLite/PrivacyInfo.xcprivacy
Building for debugging...
[0/4] Write sources
[2/4] Compiling SwiftToolchainCSQLite sqlite3.c
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/37] Compiling SQLite Backup.swift
[6/37] Compiling SQLite Blob.swift
[7/37] Compiling SQLite Connection+Aggregation.swift
[8/37] Compiling SQLite Connection+Attach.swift
[9/37] Compiling SQLite Connection+Pragmas.swift
[10/37] Compiling SQLite Connection.swift
[11/37] Compiling SQLite Errors.swift
[12/37] Compiling SQLite Result.swift
[13/37] Compiling SQLite SQLiteFeature.swift
[14/37] Compiling SQLite SQLiteVersion.swift
[15/37] Emitting module SQLite
[16/41] Compiling SQLite FTS5.swift
[17/41] Compiling SQLite RTree.swift
[18/41] Compiling SQLite Foundation.swift
[19/41] Compiling SQLite Helpers.swift
[20/41] Compiling SQLite Connection+Schema.swift
[21/41] Compiling SQLite DateAndTimeFunctions.swift
[22/41] Compiling SQLite Expression.swift
[23/41] Compiling SQLite Operators.swift
[24/41] Compiling SQLite Query+with.swift
[25/41] Compiling SQLite SchemaChanger.swift
[26/41] Compiling SQLite SchemaDefinitions.swift
[27/41] Compiling SQLite SchemaReader.swift
[28/41] Compiling SQLite AggregateFunctions.swift
[29/41] Compiling SQLite Statement.swift
[30/41] Compiling SQLite URIQueryParameter.swift
[31/41] Compiling SQLite Value.swift
[32/41] Compiling SQLite Cipher.swift
[33/41] Compiling SQLite FTS4.swift
[34/41] Compiling SQLite Coding.swift
[35/41] Compiling SQLite Collation.swift
[36/41] Compiling SQLite CoreFunctions.swift
[37/41] Compiling SQLite CustomFunctions.swift
[38/41] Compiling SQLite Query.swift
[39/41] Compiling SQLite Schema.swift
[40/41] Compiling SQLite Setter.swift
[41/41] Compiling SQLite WindowFunctions.swift
[43/44] Emitting module SQLiteMigrationManager
[44/44] Compiling SQLiteMigrationManager SQLiteMigrationManager.swift
/host/spi-builder-workspace/Sources/SQLiteMigrationManager.swift:185:51: error: 'NSURL' is not implicitly convertible to 'URL'; did you mean to use 'as' to explicitly convert?
183 | fileprivate func migrations() -> [Migration] {
184 | if let urls = urls(forResourcesWithExtension: "sql", subdirectory: nil) {
185 | return urls.compactMap { FileMigration(url: $0) }
| `- error: 'NSURL' is not implicitly convertible to 'URL'; did you mean to use 'as' to explicitly convert?
186 | } else {
187 | return []
BUILD FAILURE 6.2 linux