Build Information
Failed to build TMDB, reference 0.5.0 (cad88f
), with Swift 5.10 for Linux on 11 Aug 2025 20:21:19 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.65.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/igorcamilo/tmdb-swift.git
Reference: 0.5.0
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/igorcamilo/tmdb-swift
* tag 0.5.0 -> FETCH_HEAD
HEAD is now at cad88f3 Add Sonar and more data (#20)
Cloned https://github.com/igorcamilo/tmdb-swift.git
Revision (git rev-parse @):
cad88f358b0b81fd0b5417f004b2a8057c6000e6
SUCCESS checkout https://github.com/igorcamilo/tmdb-swift.git at 0.5.0
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $PWD
https://github.com/igorcamilo/tmdb-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-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:c30bb8beee7254e839cc0142f4ae78578b8fc8e8159324cc3637097cc1b395b6
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/30] Compiling TMDB PosterSize.swift
[4/30] Compiling TMDB TMDBClient+Configuration.swift
[5/30] Compiling TMDB Country.swift
[6/30] Compiling TMDB Genre.swift
[7/30] Compiling TMDB MovieCollection.swift
[8/30] Compiling TMDB MovieDetails.swift
[9/30] Compiling TMDB MovieDetailsAppendingOptions.swift
[10/30] Compiling TMDB MovieList.swift
[11/33] Compiling TMDB TVShowDetailsAppendingOptions.swift
[12/33] Compiling TMDB TVShowList.swift
[13/33] Compiling TMDB TrendingTimeWindow.swift
[14/33] Compiling TMDB TMDBClient+TVShows.swift
[15/33] Compiling TMDB TVShow.swift
[16/33] Compiling TMDB TVShowDetails.swift
[17/33] Compiling TMDB Response.swift
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:8:40: error: value of type 'URLSession' has no member 'data'
try await Response(URLSession.shared.data(for: request))
~~~~~~~~~~~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:15:7: warning: stored property 'decoder' of 'Sendable'-conforming class 'TMDBClient' has non-sendable type 'JSONDecoder'
let decoder = JSONDecoder()
^
Foundation.JSONDecoder:1:12: note: class 'JSONDecoder' does not conform to the 'Sendable' protocol
open class JSONDecoder {
^
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
[18/33] Compiling TMDB TMDBClient.swift
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:8:40: error: value of type 'URLSession' has no member 'data'
try await Response(URLSession.shared.data(for: request))
~~~~~~~~~~~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:15:7: warning: stored property 'decoder' of 'Sendable'-conforming class 'TMDBClient' has non-sendable type 'JSONDecoder'
let decoder = JSONDecoder()
^
Foundation.JSONDecoder:1:12: note: class 'JSONDecoder' does not conform to the 'Sendable' protocol
open class JSONDecoder {
^
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
[19/33] Compiling TMDB TMDBClientError.swift
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:8:40: error: value of type 'URLSession' has no member 'data'
try await Response(URLSession.shared.data(for: request))
~~~~~~~~~~~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:15:7: warning: stored property 'decoder' of 'Sendable'-conforming class 'TMDBClient' has non-sendable type 'JSONDecoder'
let decoder = JSONDecoder()
^
Foundation.JSONDecoder:1:12: note: class 'JSONDecoder' does not conform to the 'Sendable' protocol
open class JSONDecoder {
^
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
[20/33] Compiling TMDB TMDBError.swift
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:8:40: error: value of type 'URLSession' has no member 'data'
try await Response(URLSession.shared.data(for: request))
~~~~~~~~~~~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:15:7: warning: stored property 'decoder' of 'Sendable'-conforming class 'TMDBClient' has non-sendable type 'JSONDecoder'
let decoder = JSONDecoder()
^
Foundation.JSONDecoder:1:12: note: class 'JSONDecoder' does not conform to the 'Sendable' protocol
open class JSONDecoder {
^
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
[21/33] Compiling TMDB TMDBClient+Movies.swift
[22/33] Compiling TMDB Page.swift
[23/33] Compiling TMDB PosterPath.swift
[24/33] Compiling TMDB ProductionCompany.swift
[25/33] Compiling TMDB ImagePath.swift
[26/33] Compiling TMDB Keyword.swift
[27/33] Compiling TMDB Language.swift
[28/33] Compiling TMDB Movie.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[29/33] Emitting module TMDB
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:8:40: error: value of type 'URLSession' has no member 'data'
try await Response(URLSession.shared.data(for: request))
~~~~~~~~~~~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:15:7: warning: stored property 'decoder' of 'Sendable'-conforming class 'TMDBClient' has non-sendable type 'JSONDecoder'
let decoder = JSONDecoder()
^
Foundation.JSONDecoder:1:12: note: class 'JSONDecoder' does not conform to the 'Sendable' protocol
open class JSONDecoder {
^
/host/spi-builder-workspace/Sources/TMDB/TMDBClient.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
[30/33] Compiling TMDB BackdropPath.swift
[31/33] Compiling TMDB BackdropSize.swift
[32/33] Compiling TMDB Configuration.swift
[33/33] Compiling TMDB Images.swift
error: fatalError
BUILD FAILURE 5.10 linux