Build Information
Failed to build composable-deep-link with Swift 5.9 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-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: 0.2.3
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
* tag 0.2.3 -> FETCH_HEAD
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 0.2.3
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
Building package at path: $workDir
https://github.com/xxKRASHxx/composable-deep-link.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Building for debugging...
[1/8] Compiling ComposableDeepLink Scheme.swift
[2/8] Compiling ComposableDeepLink ArrayBuilder.swift
[3/8] 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#>
[4/8] Compiling ComposableDeepLink Handle.swift
[5/8] Compiling ComposableDeepLink ComposableDeepLink.swift
[6/8] Compiling ComposableDeepLink DeepLinkProcessing.swift
[7/8] Emitting module ComposableDeepLink
[8/8] Compiling ComposableDeepLink Host.swift
error: fatalError
[0/1] Planning build
Building for debugging...
[1/2] Emitting module ComposableDeepLink
[2/2] 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.9 linux