# Crowd source: Swift Language Modes in various environments

**URL:** <https://forums.swift.org/t/crowd-source-swift-language-modes-in-various-environments/76102>\
**Category:** Using Swift\
**Tags:** swift5, concurrency, swift6\
**Created:** [November 18, 2024, 7:42pm UTC](https://forums.swift.org/t/crowd-source-swift-language-modes-in-various-environments/76102 "2024-11-18T19:42:29Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![xwu](https://avatars.discourse-cdn.com/v4/letter/x/b487fb/32.png) [@xwu](https://forums.swift.org/u/xwu)\
**Post date:** [November 18, 2024, 9:40pm UTC](https://forums.swift.org/t/crowd-source-swift-language-modes-in-various-environments/76102/6 "2024-11-18T21:40:49Z")

</div>

Ah, I see what's going on.

Basically, there's more than one way to opt-in to the Swift 6 language mode, and you've done so without knowing it, as detailed in ["Enabling The Swift 6 Language Mode"](https://www.swift.org/migration/documentation/swift-6-concurrency-migration-guide/swift6mode/)—

> A `Package.swift` file that uses `swift-tools-version` of `6.0` will enable the Swift 6 language mode for all targets. You can still set the language mode for the package as a whole using the `swiftLanguageModes` property of `Package`.

This is why you have to opt your target back out of the Swift 6 language mode in your package manifest. You can instead downgrade the minimum tools version.

---

_[View the full topic](https://forums.swift.org/t/crowd-source-swift-language-modes-in-various-environments/76102)._
