vapor / console-kit

💻 APIs for creating interactive CLI tools.
MIT License
468 stars 53 forks source link

Concurrency warnings #189

Closed chibombo closed 11 months ago

chibombo commented 11 months ago

Describe the bug

We are having some warnings at the moment that we are building a vapor project

To Reproduce

Steps to reproduce the behavior:

Using the latest version 4.85.0, the displayed warnings are like this when we build:

.build/checkouts/console-kit/Sources/ConsoleKit/Activity/ActivityIndicator.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Dispatch'
import Dispatch
.build/checkouts/vapor/Sources/Vapor/Validation/Validators/CharacterSet.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation 
.build/checkouts/vapor/Sources/Vapor/Sessions/MemorySessions.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Dispatch'
import Foundation

Expected behavior

No warnings

Environment

Additional context

The context is this

0xTim commented 11 months ago

The Vapor warnings will be fixed in https://github.com/vapor/vapor/pull/3093