-
Notifications
You must be signed in to change notification settings - Fork 357
Open
Description
Compile failed with swfit 5.9 on latest release 1.7.0.
ArgumentParser version: 1.7.0
Swift version: 5.9
Checklist
- If possible, I've reproduced the issue using the
mainbranch of this package - I've searched for existing GitHub issues
Steps to Reproduce
We got following compile error with latest release 1.7.0 (https://github.com/apple/swift-argument-parser/releases/tag/1.7.0)
[305/390] Compiling ArgumentParser ArgumentSet.swift
--
/private/tmp/codebuild-6ded34a5-c198-4684-8596-425fb8e3f0a8/output/src204/src/github.com/awslabs/aws-crt-swift/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:18:17: remark: '@preconcurrency' attribute on module 'Dispatch' is unused
@preconcurrency import class Dispatch.DispatchSemaphore
~~~~~~~~~~~~~~~~^
[306/390] Compiling ArgumentParser CommandParser.swift
/private/tmp/codebuild-6ded34a5-c198-4684-8596-425fb8e3f0a8/output/src204/src/github.com/awslabs/aws-crt-swift/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:18:17: remark: '@preconcurrency' attribute on module 'Dispatch' is unused
@preconcurrency import class Dispatch.DispatchSemaphore
~~~~~~~~~~~~~~~~^
[307/390] Compiling ArgumentParser InputKey.swift
/private/tmp/codebuild-6ded34a5-c198-4684-8596-425fb8e3f0a8/output/src204/src/github.com/awslabs/aws-crt-swift/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:18:17: remark: '@preconcurrency' attribute on module 'Dispatch' is unused
@preconcurrency import class Dispatch.DispatchSemaphore
~~~~~~~~~~~~~~~~^
Expected behavior
Compiled properly with swift 5.7+, which is declared as the minimal supported version.
Actual behavior
Failed to compile with swift 5.9.
Metadata
Metadata
Assignees
Labels
No labels