Build Information
Failed to build Radon with Swift 5.8 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.8-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.8
Building package at path: $workDir
https://github.com/e-sites/Radon.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1
Fetching https://github.com/basvankuijck/CommandLine.git
[1/846] Fetching commandline
Fetched https://github.com/basvankuijck/CommandLine.git (0.24s)
Fetching https://github.com/IBM-Swift/BlueCryptor.git
Fetching https://github.com/e-sites/Francium.git
[1/118] Fetching francium
[95/1756] Fetching francium, bluecryptor
Fetched https://github.com/e-sites/Francium.git (0.21s)
[1638/1638] Fetching bluecryptor
Fetched https://github.com/IBM-Swift/BlueCryptor.git (0.26s)
Computing version for https://github.com/e-sites/Francium.git
Computed https://github.com/e-sites/Francium.git at 1.0.2 (1.14s)
Computing version for https://github.com/IBM-Swift/BlueCryptor.git
Computed https://github.com/IBM-Swift/BlueCryptor.git at 1.0.23 (1.24s)
Fetching https://github.com/IBM-Swift/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/IBM-Swift/OpenSSL.git (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.34s)
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/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/e-sites/Francium.git
Working copy of https://github.com/e-sites/Francium.git resolved at 1.0.2
Building for debugging...
[1/25] Emitting module CommandLineKit
[2/25] Compiling CommandLineKit Option.swift
[3/25] Compiling CommandLineKit StringExtensions.swift
[4/25] Emitting module Francium
[5/25] Compiling Francium Error.swift
[6/25] Compiling Cryptor Updatable.swift
[7/26] Compiling Francium IOObject.swift
[8/26] Compiling Francium File.swift
[9/26] Emitting module Cryptor
[10/26] Compiling Cryptor Crypto.swift
[11/26] Compiling Cryptor Cryptor.swift
[12/26] Compiling Francium Dir.swift
[15/28] Compiling Cryptor Status.swift
[16/28] Compiling CommandLineKit CommandLine.swift
[19/30] Compiling Cryptor Utilities.swift
[20/30] Compiling Cryptor SSLPointerTricks.swift
[21/30] Compiling Cryptor KeyDerivation.swift
[22/30] Compiling Cryptor Random.swift
[23/30] Compiling Cryptor Digest.swift
[24/30] Compiling Cryptor HMAC.swift
[25/30] Compiling Cryptor StreamCryptor.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 Generator.swift
[32/45] Compiling Radon ImageGenerator.swift
[33/46] Compiling Radon Logger.swift
[34/46] Compiling Radon ObjStruct.swift
[35/46] Compiling Radon main.swift
[36/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)
[37/46] Compiling Radon Sequence.swift
[38/46] Compiling Radon String.swift
[39/46] Compiling Radon ColorsGenerator.swift
[40/46] Compiling Radon GeneralGenerator.swift
[41/46] Emitting module Radon
/host/spi-builder-workspace/Sources/Watcher/FolderWatcher.swift:47:6: error: Objective-C interoperability is disabled
@objc
~^~~~
[42/46] Compiling Radon Radon.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 {
^
[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)
^
BUILD FAILURE 5.8 linux