Build Information
Failed to build composable-deep-link with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.29.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/xxKRASHxx/composable-deep-link.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/xxKRASHxx/composable-deep-link
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at d800251 main - fix for swift 5.9
Cloned https://github.com/xxKRASHxx/composable-deep-link.git
Revision (git rev-parse @):
d800251195fcaa4323470b20ea2a7d566e44c2b1
SUCCESS checkout https://github.com/xxKRASHxx/composable-deep-link.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $workDir
https://github.com/xxKRASHxx/composable-deep-link.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/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/10] Compiling ComposableDeepLink ArrayBuilder.swift
[4/10] Compiling ComposableDeepLink DeepLinkProcessing.swift
[5/10] Emitting module ComposableDeepLink
[6/10] Compiling ComposableDeepLink ComposableDeepLink.swift
[7/10] Compiling ComposableDeepLink Handle.swift
[8/10] Compiling ComposableDeepLink Scheme.swift
[9/10] Compiling ComposableDeepLink Host.swift
[10/10] Compiling ComposableDeepLink Path.swift
/host/spi-builder-workspace/Sources/ComposableDeepLink/Features/Path.swift:28:35: error: cannot call value of non-function type 'String'
guard let match = url.path().firstMatch(of: urlParams) else { return nil }
^ ~~
/host/spi-builder-workspace/Sources/ComposableDeepLink/Features/Path.swift:31:26: error: generic parameter 'Sequence2' could not be inferred
raw: zip(path.arguments, match.output.dropFirst().map(\.value))
^
Swift.zip:1:24: note: in call to function 'zip'
@inlinable public func zip<Sequence1, Sequence2>(_ sequence1: Sequence1, _ sequence2: Sequence2) -> Zip2Sequence<Sequence1, Sequence2> where Sequence1 : Sequence, Sequence2 : Sequence
^
/host/spi-builder-workspace/Sources/ComposableDeepLink/Features/Path.swift:31:75: error: cannot infer key path type from context; consider explicitly specifying a root type
raw: zip(path.arguments, match.output.dropFirst().map(\.value))
^
<#Root#>
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/3] Emitting module ComposableDeepLink
[3/3] Compiling ComposableDeepLink Path.swift
/host/spi-builder-workspace/Sources/ComposableDeepLink/Features/Path.swift:28:35: error: cannot call value of non-function type 'String'
guard let match = url.path().firstMatch(of: urlParams) else { return nil }
^ ~~
/host/spi-builder-workspace/Sources/ComposableDeepLink/Features/Path.swift:31:26: error: generic parameter 'Sequence2' could not be inferred
raw: zip(path.arguments, match.output.dropFirst().map(\.value))
^
Swift.zip:1:24: note: in call to function 'zip'
@inlinable public func zip<Sequence1, Sequence2>(_ sequence1: Sequence1, _ sequence2: Sequence2) -> Zip2Sequence<Sequence1, Sequence2> where Sequence1 : Sequence, Sequence2 : Sequence
^
/host/spi-builder-workspace/Sources/ComposableDeepLink/Features/Path.swift:31:75: error: cannot infer key path type from context; consider explicitly specifying a root type
raw: zip(path.arguments, match.output.dropFirst().map(\.value))
^
<#Root#>
error: fatalError
BUILD FAILURE 5.10 linux