Build Information
Failed to build Radon with Swift 5.9 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.28.9
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/e-sites/Radon.git
Reference: 2.3.2
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
* tag 2.3.2 -> FETCH_HEAD
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 2.3.2
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
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.9-latest swift build 2>&1
Fetching https://github.com/basvankuijck/CommandLine.git
[1/846] Fetching commandline
Fetched https://github.com/basvankuijck/CommandLine.git (0.21s)
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 (0.25s)
Fetched https://github.com/IBM-Swift/BlueCryptor.git (0.25s)
Computing version for https://github.com/e-sites/Francium.git
Computed https://github.com/e-sites/Francium.git at 1.0.2 (1.07s)
Computing version for https://github.com/IBM-Swift/BlueCryptor.git
Computed https://github.com/IBM-Swift/BlueCryptor.git at 1.0.23 (1.15s)
Fetching https://github.com/IBM-Swift/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/IBM-Swift/OpenSSL.git (0.38s)
Computing version for https://github.com/IBM-Swift/OpenSSL.git
Computed https://github.com/IBM-Swift/OpenSSL.git at 2.3.1 (0.42s)
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
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
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
Building for debugging...
[1/25] Compiling Cryptor SSLPointerTricks.swift
[2/26] Emitting module Cryptor
[3/26] Compiling Cryptor Updatable.swift
[4/26] Compiling CommandLineKit Option.swift
[5/26] Compiling CommandLineKit StringExtensions.swift
[6/26] Compiling Francium File.swift
[7/26] Compiling Francium IOObject.swift
[8/26] Compiling Cryptor Utilities.swift
[9/26] Compiling Cryptor KeyDerivation.swift
[10/26] Compiling Cryptor Random.swift
[11/26] Compiling Francium Error.swift
[12/26] Compiling Francium Dir.swift
[13/26] Emitting module Francium
[14/27] Compiling Cryptor Crypto.swift
[15/27] Compiling Cryptor Cryptor.swift
[16/27] Compiling Cryptor Digest.swift
[17/27] Compiling Cryptor HMAC.swift
[20/28] Compiling Cryptor StreamCryptor.swift
[21/28] Compiling Cryptor Status.swift
[22/29] Emitting module CommandLineKit
[23/29] Compiling CommandLineKit CommandLine.swift
[27/32] Wrapping AST for Francium for debugging
[28/32] Wrapping AST for CommandLineKit for debugging
[29/32] Wrapping AST for Cryptor for debugging
[31/45] Compiling Radon Logger.swift
[32/45] Compiling Radon ObjStruct.swift
[33/46] Compiling Radon main.swift
[34/46] Compiling Radon Radon.swift
[35/46] 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: emit-module command failed with exit code 1 (use -v to see invocation)
[36/46] Emitting module Radon
/host/spi-builder-workspace/Sources/Watcher/FolderWatcher.swift:47:6: error: Objective-C interoperability is disabled
@objc
~^~~~
[37/46] Compiling Radon Generator.swift
[38/46] Compiling Radon ImageGenerator.swift
[39/46] Compiling Radon ColorsGenerator.swift
[40/46] Compiling Radon GeneralGenerator.swift
[41/46] Compiling Radon Sequence.swift
[42/46] Compiling Radon String.swift
[43/46] 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/46] 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 {
^
error: fatalError
[0/1] Planning build
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/4] Emitting module Radon
/host/spi-builder-workspace/Sources/Watcher/FolderWatcher.swift:47:6: error: Objective-C interoperability is disabled
@objc
~^~~~
[2/4] 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.9 linux