The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Marshal 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/utahiosmac/Marshal.git
Reference: 1.2.8
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/utahiosmac/Marshal
 * tag               1.2.8      -> FETCH_HEAD
HEAD is now at bbd811b update Package.swift for tools version 5
Cloned https://github.com/utahiosmac/Marshal.git
Revision (git rev-parse @):
bbd811be9b78352e74970d1c2c652e87c83ce51b
SUCCESS checkout https://github.com/utahiosmac/Marshal.git at 1.2.8
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/utahiosmac/Marshal.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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/14] Compiling Marshal Migration.swift
[4/14] Compiling Marshal Operators.swift
[5/15] Compiling Marshal Error.swift
[6/15] Compiling Marshal JSON.swift
[7/15] Emitting module Marshal
[8/15] Compiling Marshal MarshaledObject.swift
[9/15] Compiling Marshal Marshaling.swift
[10/15] Compiling Marshal KeyType.swift
/host/spi-builder-workspace/Sources/MarshalDictionary.swift:35:42: error: incorrect argument label in call (have 'forKeyPath:', expected 'forKey:')
        guard let value: Any = self.value(forKeyPath: key.stringValue) else {
                                         ^~~~~~~~~~~
                                          forKey
[11/15] Compiling Marshal MarshalDictionary.swift
/host/spi-builder-workspace/Sources/MarshalDictionary.swift:35:42: error: incorrect argument label in call (have 'forKeyPath:', expected 'forKey:')
        guard let value: Any = self.value(forKeyPath: key.stringValue) else {
                                         ^~~~~~~~~~~
                                          forKey
[12/15] Compiling Marshal Unmarshaling.swift
[13/15] Compiling Marshal UnmarshalUpdating.swift
[14/15] Compiling Marshal UnmarshalingWithContext.swift
[15/15] Compiling Marshal ValueType.swift
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/4] Compiling Marshal KeyType.swift
[3/4] Emitting module Marshal
[4/4] Compiling Marshal MarshalDictionary.swift
/host/spi-builder-workspace/Sources/MarshalDictionary.swift:35:42: error: incorrect argument label in call (have 'forKeyPath:', expected 'forKey:')
        guard let value: Any = self.value(forKeyPath: key.stringValue) else {
                                         ^~~~~~~~~~~
                                          forKey
[5/13] Compiling Marshal Unmarshaling.swift
[6/13] Compiling Marshal UnmarshalingWithContext.swift
[7/13] Compiling Marshal UnmarshalUpdating.swift
[8/13] Compiling Marshal Operators.swift
[9/13] Compiling Marshal ValueType.swift
[10/13] Compiling Marshal Migration.swift
[11/13] Compiling Marshal MarshaledObject.swift
[12/13] Compiling Marshal Error.swift
[13/13] Compiling Marshal JSON.swift
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 2