Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix compile error preventing Docker image to be built #12

Open
ErikSchierboom opened this issue Apr 9, 2021 · 1 comment
Open

Fix compile error preventing Docker image to be built #12

ErikSchierboom opened this issue Apr 9, 2021 · 1 comment

Comments

@ErikSchierboom
Copy link
Member

I tried to test the test runner using the following command:

./bin/run-in-docker.sh multiple-single-fail /home/erik/exercism-repos/swift-test-runner/test/multiple-tests-single-fail /home/erik/exercism-repos/swift-test-runner/test/multiple-tests-single-fail

This results in a compile error:

 > [builder 4/4] RUN swift build --configuration release:
#11 2.685 Fetching https://github.com/apple/swift-argument-parser
#11 4.763 Cloning https://github.com/apple/swift-argument-parser
#11 4.816 Resolving https://github.com/apple/swift-argument-parser at 0.4.1
#11 23.95 [1/2] Compiling ArgumentParser BashCompletionsGenerator.swift
#11 24.56 [2/3] Compiling TestRunner Parser.swift
#11 24.56 /Sources/TestRunner/main.swift:20:4: error: 'init()' is unavailable: A default value must be provided unless the value type is supported by Flag.
#11 24.56   @Flag()
#11 24.56    ^~~~
#11 24.56 /.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Flag.swift:62:10: note: 'init()' has been explicitly marked unavailable here
#11 24.56   public init() {
#11 24.56          ^
------
executor failed running [/bin/sh -c swift build --configuration release]: exit code: 1
@ErikSchierboom
Copy link
Member Author

@wneumann Would you perhaps be willing to take a look? I'm hoping it is an easy fix for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant