The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build AppRemoteConfig, reference main (13d7fa), with Swift 5.9 for Linux on 18 Sep 2024 13:14:25 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.54.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/egeniq/app-remote-config.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/egeniq/app-remote-config
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 13d7fab Sendable
Cloned https://github.com/egeniq/app-remote-config.git
Revision (git rev-parse @):
13d7fab57b522d05b5fc540a6f784c9fb461de67
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/egeniq/app-remote-config.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $PWD
https://github.com/egeniq/app-remote-config.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:66706f89ac15d55dcb11e8d3274e2fe11925b5da93d240b09d5a1eb775db6cc2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Building for debugging...
[1/10] Compiling AppRemoteConfig Schedule.swift
/host/spi-builder-workspace/Sources/AppRemoteConfig/Schedule.swift:15:16: error: expected 'var' keyword in property declaration
    nonisolated(unsafe) static let dateFormatter = ISO8601DateFormatter()
               ^
               var
/host/spi-builder-workspace/Sources/AppRemoteConfig/Schedule.swift:15:24: error: consecutive declarations on a line must be separated by ';'
    nonisolated(unsafe) static let dateFormatter = ISO8601DateFormatter()
                       ^
                       ;
/host/spi-builder-workspace/Sources/AppRemoteConfig/Schedule.swift:15:17: error: type annotation missing in pattern
    nonisolated(unsafe) static let dateFormatter = ISO8601DateFormatter()
                ^
/host/spi-builder-workspace/Sources/AppRemoteConfig/Schedule.swift:15:5: error: 'nonisolated' can not be applied to stored properties
    nonisolated(unsafe) static let dateFormatter = ISO8601DateFormatter()
    ^~~~~~~~~~~

/host/spi-builder-workspace/Sources/AppRemoteConfig/Schedule.swift:15:17: warning: stored property 'unsafe' of 'Sendable'-conforming struct 'Schedule' has non-sendable type '<<error type>>'
    nonisolated(unsafe) static let dateFormatter = ISO8601DateFormatter()
                ^
[2/11] Compiling AppRemoteConfig Version.swift
[3/11] Compiling AppRemoteConfig Platform.swift
[4/11] Compiling AppRemoteConfig Override.swift
/host/spi-builder-workspace/Sources/AppRemoteConfig/Schedule.swift:15:16: error: expected 'var' keyword in property declaration
    nonisolated(unsafe) static let dateFormatter = ISO8601DateFormatter()
               ^
               var
/host/spi-builder-workspace/Sources/AppRemoteConfig/Schedule.swift:15:24: error: consecutive declarations on a line must be separated by ';'
    nonisolated(unsafe) static let dateFormatter = ISO8601DateFormatter()
                       ^
                       ;
/host/spi-builder-workspace/Sources/AppRemoteConfig/Schedule.swift:15:17: error: type annotation missing in pattern
    nonisolated(unsafe) static let dateFormatter = ISO8601DateFormatter()
                ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/11] Compiling AppRemoteConfig BuildVariant.swift
[6/11] Compiling AppRemoteConfig Condition.swift
[7/11] Compiling AppRemoteConfig Error.swift
[8/11] Emitting module AppRemoteConfig
/host/spi-builder-workspace/Sources/AppRemoteConfig/Schedule.swift:15:16: error: expected 'var' keyword in property declaration
    nonisolated(unsafe) static let dateFormatter = ISO8601DateFormatter()
               ^
               var
/host/spi-builder-workspace/Sources/AppRemoteConfig/Schedule.swift:15:24: error: consecutive declarations on a line must be separated by ';'
    nonisolated(unsafe) static let dateFormatter = ISO8601DateFormatter()
                       ^
                       ;
/host/spi-builder-workspace/Sources/AppRemoteConfig/Schedule.swift:15:17: error: type annotation missing in pattern
    nonisolated(unsafe) static let dateFormatter = ISO8601DateFormatter()
                ^
/host/spi-builder-workspace/Sources/AppRemoteConfig/Schedule.swift:15:5: error: 'nonisolated' can not be applied to stored properties
    nonisolated(unsafe) static let dateFormatter = ISO8601DateFormatter()
    ^~~~~~~~~~~

/host/spi-builder-workspace/Sources/AppRemoteConfig/Schedule.swift:15:17: warning: stored property 'unsafe' of 'Sendable'-conforming struct 'Schedule' has non-sendable type '<<error type>>'
    nonisolated(unsafe) static let dateFormatter = ISO8601DateFormatter()
                ^
[9/11] Compiling AppRemoteConfig Config+Resolve.swift
/host/spi-builder-workspace/Sources/AppRemoteConfig/Schedule.swift:15:16: error: expected 'var' keyword in property declaration
    nonisolated(unsafe) static let dateFormatter = ISO8601DateFormatter()
               ^
               var
/host/spi-builder-workspace/Sources/AppRemoteConfig/Schedule.swift:15:24: error: consecutive declarations on a line must be separated by ';'
    nonisolated(unsafe) static let dateFormatter = ISO8601DateFormatter()
                       ^
                       ;
[10/11] Compiling AppRemoteConfig Config.swift
/host/spi-builder-workspace/Sources/AppRemoteConfig/Schedule.swift:15:16: error: expected 'var' keyword in property declaration
    nonisolated(unsafe) static let dateFormatter = ISO8601DateFormatter()
               ^
               var
/host/spi-builder-workspace/Sources/AppRemoteConfig/Schedule.swift:15:24: error: consecutive declarations on a line must be separated by ';'
    nonisolated(unsafe) static let dateFormatter = ISO8601DateFormatter()
                       ^
                       ;
[11/11] Compiling AppRemoteConfig VersionRange.swift
error: fatalError
BUILD FAILURE 5.9 linux