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 Radon with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/e-sites/Radon.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/e-sites/Radon
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at b89b013 Option to hide the date in the header of the generated swift files
Cloned https://github.com/e-sites/Radon.git
Revision (git rev-parse @):
b89b0138fa1a3ff68e274579e40c0d659c7a54d9
SUCCESS checkout https://github.com/e-sites/Radon.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/e-sites/Radon.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/basvankuijck/CommandLine.git
[1/846] Fetching commandline
Fetched https://github.com/basvankuijck/CommandLine.git from cache (0.24s)
Fetching https://github.com/IBM-Swift/BlueCryptor.git
Fetching https://github.com/e-sites/Francium.git
[1/118] Fetching francium
[119/1756] Fetching francium, bluecryptor
Fetched https://github.com/e-sites/Francium.git from cache (0.25s)
[115/1638] Fetching bluecryptor
Fetched https://github.com/IBM-Swift/BlueCryptor.git from cache (0.30s)
Computing version for https://github.com/e-sites/Francium.git
Computed https://github.com/e-sites/Francium.git at 1.0.2 (1.01s)
Computing version for https://github.com/IBM-Swift/BlueCryptor.git
Computed https://github.com/IBM-Swift/BlueCryptor.git at 1.0.23 (1.05s)
Fetching https://github.com/IBM-Swift/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/IBM-Swift/OpenSSL.git from cache (0.22s)
Computing version for https://github.com/IBM-Swift/OpenSSL.git
Computed https://github.com/IBM-Swift/OpenSSL.git at 2.3.1 (0.38s)
Creating working copy for https://github.com/IBM-Swift/BlueCryptor.git
Working copy of https://github.com/IBM-Swift/BlueCryptor.git resolved at 1.0.23
Creating working copy for https://github.com/basvankuijck/CommandLine.git
Working copy of https://github.com/basvankuijck/CommandLine.git resolved at master (b83f09a)
Creating working copy for https://github.com/e-sites/Francium.git
Working copy of https://github.com/e-sites/Francium.git resolved at 1.0.2
Creating working copy for https://github.com/IBM-Swift/OpenSSL.git
Working copy of https://github.com/IBM-Swift/OpenSSL.git resolved at 2.3.1
Building for debugging...
[0/11] Write sources
[4/11] Write swift-version-24593BA9C3E375BF.txt
[6/31] Emitting module CommandLineKit
[7/31] Compiling Cryptor Updatable.swift
[8/32] Compiling Francium IOObject.swift
[9/32] Compiling Francium File.swift
[10/32] Compiling Francium Error.swift
[11/32] Emitting module Francium
[12/32] Compiling Francium Dir.swift
[13/33] Emitting module Cryptor
[15/33] Compiling CommandLineKit Option.swift
[16/33] Compiling CommandLineKit CommandLine.swift
[17/33] Compiling CommandLineKit StringExtensions.swift
[18/33] Compiling Cryptor StreamCryptor.swift
[19/34] Wrapping AST for Francium for debugging
[21/34] Compiling Cryptor SSLPointerTricks.swift
[22/34] Compiling Cryptor KeyDerivation.swift
[23/34] Compiling Cryptor Random.swift
[24/34] Compiling Cryptor Digest.swift
[25/34] Compiling Cryptor HMAC.swift
[26/34] Compiling Cryptor Crypto.swift
[27/34] Compiling Cryptor Cryptor.swift
[28/34] Compiling Cryptor Status.swift
[28/34] Wrapping AST for CommandLineKit for debugging
[30/34] Compiling Cryptor Utilities.swift
[31/35] Wrapping AST for Cryptor for debugging
[33/48] Compiling Radon FolderWatcher.swift
/host/spi-builder-workspace/Sources/Watcher/FolderWatcher.swift:47:6: error: Objective-C interoperability is disabled
    @objc
    ~^~~~

/host/spi-builder-workspace/Sources/Watcher/FolderWatcher.swift:43:65: error: '#selector' can only be used with the Objective-C runtime
        _timer = Timer(timeInterval: 1, target: self, selector: #selector(_scan), userInfo: nil, repeats: false)
                                                                ^
[34/49] Compiling Radon main.swift
[35/49] Compiling Radon Radon.swift
[36/49] Compiling Radon Generator.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[37/49] Compiling Radon ImageGenerator.swift
[38/49] Compiling Radon Sequence.swift
[39/49] Compiling Radon String.swift
[40/49] Compiling Radon ColorsGenerator.swift
[41/49] Compiling Radon GeneralGenerator.swift
[42/49] Emitting module Radon
/host/spi-builder-workspace/Sources/Watcher/FolderWatcher.swift:47:6: error: Objective-C interoperability is disabled
    @objc
    ~^~~~

[43/49] Compiling Radon LocalizeGenerator.swift
/host/spi-builder-workspace/Sources/Generators/LocalizeGenerator.swift:109:32: warning: 'init(contentsOf:)' is deprecated
        guard let dictionary = NSDictionary(contentsOf: url) as? Dictionary<String, Any> else {
                               ^
[44/49] Compiling Radon Folder.swift
/host/spi-builder-workspace/Sources/Generators/LocalizeGenerator.swift:109:32: warning: 'init(contentsOf:)' is deprecated
        guard let dictionary = NSDictionary(contentsOf: url) as? Dictionary<String, Any> else {
                               ^
[45/49] Compiling Radon Logger.swift
[46/49] Compiling Radon ObjStruct.swift
error: fatalError
[0/1] Planning build
Building for debugging...
[0/7] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/6] Emitting module Radon
/host/spi-builder-workspace/Sources/Watcher/FolderWatcher.swift:47:6: error: Objective-C interoperability is disabled
    @objc
    ~^~~~

[3/6] Compiling Radon FolderWatcher.swift
/host/spi-builder-workspace/Sources/Watcher/FolderWatcher.swift:47:6: error: Objective-C interoperability is disabled
    @objc
    ~^~~~

/host/spi-builder-workspace/Sources/Watcher/FolderWatcher.swift:43:65: error: '#selector' can only be used with the Objective-C runtime
        _timer = Timer(timeInterval: 1, target: self, selector: #selector(_scan), userInfo: nil, repeats: false)
                                                                ^
error: fatalError
BUILD FAILURE 5.10 linux