Build Information
Failed to build Radon with Swift 5.8 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-1":/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: 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.8
Building package at path: $workDir
https://github.com/e-sites/Radon.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/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.23s)
Fetching https://github.com/e-sites/Francium.git
Fetching https://github.com/IBM-Swift/BlueCryptor.git
[1/118] Fetching francium
[119/1756] Fetching francium, bluecryptor
Fetched https://github.com/e-sites/Francium.git (0.23s)
Fetched https://github.com/IBM-Swift/BlueCryptor.git (0.23s)
Computing version for https://github.com/e-sites/Francium.git
Computed https://github.com/e-sites/Francium.git at 1.0.2 (0.92s)
Computing version for https://github.com/IBM-Swift/BlueCryptor.git
Computed https://github.com/IBM-Swift/BlueCryptor.git at 1.0.23 (0.91s)
Fetching https://github.com/IBM-Swift/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/IBM-Swift/OpenSSL.git (0.20s)
Computing version for https://github.com/IBM-Swift/OpenSSL.git
Computed https://github.com/IBM-Swift/OpenSSL.git at 2.3.1 (0.31s)
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/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
Creating working copy for https://github.com/basvankuijck/CommandLine.git
Working copy of https://github.com/basvankuijck/CommandLine.git resolved at master
Building for debugging...
[1/25] Emitting module Cryptor
[2/26] Compiling Cryptor Updatable.swift
[3/26] Compiling CommandLineKit Option.swift
[4/26] Compiling CommandLineKit StringExtensions.swift
[5/26] Compiling Francium IOObject.swift
[6/26] Compiling Francium File.swift
[7/26] Emitting module Francium
[8/26] Compiling Francium Dir.swift
[9/26] Compiling Francium Error.swift
[10/27] Emitting module CommandLineKit
[11/27] Compiling CommandLineKit CommandLine.swift
[12/28] Compiling Cryptor SSLPointerTricks.swift
[15/30] Compiling Cryptor Utilities.swift
[18/30] Compiling Cryptor Status.swift
[19/30] Compiling Cryptor StreamCryptor.swift
[20/30] Compiling Cryptor Crypto.swift
[21/30] Compiling Cryptor Cryptor.swift
[22/30] Compiling Cryptor Digest.swift
[23/30] Compiling Cryptor HMAC.swift
[24/30] Compiling Cryptor KeyDerivation.swift
[25/30] Compiling Cryptor Random.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 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)
^
[32/46] Compiling Radon main.swift
[33/46] Compiling Radon Radon.swift
[34/46] Compiling Radon Logger.swift
[35/46] Compiling Radon ObjStruct.swift
[36/46] Compiling Radon Generator.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[37/46] Compiling Radon ImageGenerator.swift
[38/46] Compiling Radon Sequence.swift
[39/46] Compiling Radon String.swift
[40/46] Compiling Radon ColorsGenerator.swift
[41/46] Compiling Radon GeneralGenerator.swift
[42/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 {
^
[43/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 {
^
[44/46] Emitting module Radon
/host/spi-builder-workspace/Sources/Watcher/FolderWatcher.swift:47:6: error: Objective-C interoperability is disabled
@objc
~^~~~
[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