Build Information
Failed to build Radon with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-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: 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.10
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.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.25s)
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 from cache (0.61s)
Fetched https://github.com/IBM-Swift/BlueCryptor.git from cache (0.61s)
Computing version for https://github.com/e-sites/Francium.git
Computed https://github.com/e-sites/Francium.git at 1.0.2 (1.25s)
Computing version for https://github.com/IBM-Swift/BlueCryptor.git
Computed https://github.com/IBM-Swift/BlueCryptor.git at 1.0.23 (1.30s)
Fetching https://github.com/IBM-Swift/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/IBM-Swift/OpenSSL.git from cache (0.24s)
Computing version for https://github.com/IBM-Swift/OpenSSL.git
Computed https://github.com/IBM-Swift/OpenSSL.git at 2.3.1 (0.45s)
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
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)
Building for debugging...
[0/11] Write sources
[4/11] Write swift-version-24593BA9C3E375BF.txt
[6/31] Compiling Cryptor SSLPointerTricks.swift
[7/32] Compiling Cryptor Updatable.swift
[8/32] Compiling CommandLineKit Option.swift
[9/32] Compiling CommandLineKit StringExtensions.swift
[10/32] Compiling Cryptor Crypto.swift
[11/32] Compiling Cryptor Cryptor.swift
[12/32] Compiling Francium IOObject.swift
[13/32] Compiling Francium File.swift
[14/32] Compiling Cryptor Utilities.swift
[15/32] Compiling Francium Dir.swift
[16/32] Compiling Cryptor Status.swift
[17/32] Emitting module Francium
[18/32] Compiling Francium Error.swift
[19/33] Emitting module CommandLineKit
[20/33] Compiling CommandLineKit CommandLine.swift
[21/33] Compiling Cryptor KeyDerivation.swift
[22/33] Compiling Cryptor Random.swift
[24/34] Emitting module Cryptor
[25/34] Compiling Cryptor Digest.swift
[26/34] Compiling Cryptor HMAC.swift
[28/34] Compiling Cryptor StreamCryptor.swift
[28/35] Wrapping AST for CommandLineKit for debugging
[30/35] Wrapping AST for Francium for debugging
[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 Logger.swift
[37/49] Compiling Radon ObjStruct.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[38/49] Compiling Radon Sequence.swift
[39/49] Compiling Radon String.swift
[40/49] Emitting module Radon
/host/spi-builder-workspace/Sources/Watcher/FolderWatcher.swift:47:6: error: Objective-C interoperability is disabled
@objc
~^~~~
[41/49] Compiling Radon ColorsGenerator.swift
[42/49] Compiling Radon GeneralGenerator.swift
[43/49] Compiling Radon Generator.swift
[44/49] Compiling Radon ImageGenerator.swift
[45/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 {
^
[46/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 {
^
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