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

outputs warnings on Linux (5.1 & 5.2) #84

Closed
weissi opened this issue Mar 16, 2020 · 0 comments
Closed

outputs warnings on Linux (5.1 & 5.2) #84

weissi opened this issue Mar 16, 2020 · 0 comments

Comments

@weissi
Copy link
Member

weissi commented Mar 16, 2020

5.1.5

$ docker run -it --rm --privileged -w /Users/johannes/devel/swift-argument-parser -v /Users/johannes/devel/swift-argument-parser:/Users/johannes/devel/swift-argument-parser swift:5.1.5 swift build -c release --enable-test-discovery
/Users/johannes/devel/swift-argument-parser/Sources/ArgumentParserTestHelpers/TestHelpers.swift:154:13: warning: 'launchPath' is deprecated: renamed to 'executableURL'
    process.launchPath = commandURL.path
            ^
/Users/johannes/devel/swift-argument-parser/Sources/ArgumentParserTestHelpers/TestHelpers.swift:154:13: note: use 'executableURL' instead
    process.launchPath = commandURL.path
            ^~~~~~~~~~
            executableURL
/Users/johannes/devel/swift-argument-parser/Sources/ArgumentParserTestHelpers/TestHelpers.swift:162:13: warning: 'launch()' is deprecated: renamed to 'run'
    process.launch()
            ^
/Users/johannes/devel/swift-argument-parser/Sources/ArgumentParserTestHelpers/TestHelpers.swift:162:13: note: use 'run' instead
    process.launch()
            ^~~~~~
            run
[8/8] Linking math

5.2

$ docker run -it --rm --privileged -w /Users/johannes/devel/swift-argument-parser -v /Users/johannes/devel/swift-argument-parser:/Users/johannes/devel/swift-argument-parser swiftlang/swift:nightly-5.2-bionic swift build -c release --enable-test-discovery
/Users/johannes/devel/swift-argument-parser/Sources/ArgumentParserTestHelpers/TestHelpers.swift:154:13: warning: 'launchPath' is deprecated: renamed to 'executableURL'
    process.launchPath = commandURL.path
            ^
/Users/johannes/devel/swift-argument-parser/Sources/ArgumentParserTestHelpers/TestHelpers.swift:154:13: note: use 'executableURL' instead
    process.launchPath = commandURL.path
            ^~~~~~~~~~
            executableURL
/Users/johannes/devel/swift-argument-parser/Sources/ArgumentParserTestHelpers/TestHelpers.swift:162:13: warning: 'launch()' is deprecated: renamed to 'run'
    process.launch()
            ^
/Users/johannes/devel/swift-argument-parser/Sources/ArgumentParserTestHelpers/TestHelpers.swift:162:13: note: use 'run' instead
    process.launch()
            ^~~~~~
            run
[8/8] Linking math
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

No branches or pull requests

1 participant