Build Information
Failed to build swift-declarative-configuration with Swift 6.0 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/capturecontext/swift-declarative-configuration.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/capturecontext/swift-declarative-configuration
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at caa1f60 feat: Inlining and API cleanup
Cloned https://github.com/capturecontext/swift-declarative-configuration.git
Revision (git rev-parse @):
caa1f605f8e36effd14c13b7f9631fc17787959b
SUCCESS checkout https://github.com/capturecontext/swift-declarative-configuration.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $workDir
https://github.com/capturecontext/swift-declarative-configuration.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Building for debugging...
[0/7] Write sources
[6/7] Write swift-version-24593BA9C3E375BF.txt
[8/14] Compiling FunctionalClosures Handler.swift
[9/14] Compiling FunctionalClosures DataSource.swift
[10/14] Compiling FunctionalClosures Assign.swift
[11/14] Emitting module FunctionalClosures
[13/15] Compiling FunctionalModification Reduce.swift
[14/15] Compiling FunctionalModification Modification.swift
[15/15] Emitting module FunctionalModification
[17/18] Emitting module FunctionalKeyPath
[18/18] Compiling FunctionalKeyPath FunctionalKeyPath.swift
[20/24] Compiling FunctionalConfigurator Modification.swift
[21/24] Compiling FunctionalConfigurator Configurator.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[22/24] Emitting module FunctionalConfigurator
/host/spi-builder-workspace/Sources/FunctionalConfigurator/ConfigIntializable.swift:44:10: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
42 | @inlinable
43 | public init(config configurator: Config) {
44 | self.init()
| `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
45 | configurator.configure(self)
46 | }
Foundation.NSObject:2:12: note: selected non-required initializer 'init()'
1 | open class NSObject : NSObjectProtocol, Equatable, Hashable {
2 | public init()
| `- note: selected non-required initializer 'init()'
3 | open func copy() -> Any
4 | open func mutableCopy() -> Any
[23/24] Compiling FunctionalConfigurator ConfigIntializable.swift
/host/spi-builder-workspace/Sources/FunctionalConfigurator/ConfigIntializable.swift:44:10: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
42 | @inlinable
43 | public init(config configurator: Config) {
44 | self.init()
| `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
45 | configurator.configure(self)
46 | }
Foundation.NSObject:2:12: note: selected non-required initializer 'init()'
1 | open class NSObject : NSObjectProtocol, Equatable, Hashable {
2 | public init()
| `- note: selected non-required initializer 'init()'
3 | open func copy() -> Any
4 | open func mutableCopy() -> Any
[24/24] Compiling FunctionalConfigurator CustomConfigurable.swift
BUILD FAILURE 6.0 linux