Can't use package with traits disabled.
Linux Mint 22.2, Swift 6.2.3
Project: https://github.com/Cyberbeni/auth.home.arpa/tree/12831fccf5e953b62ae668bcf138c40c0dea92cf
Changes:
```diff
diff --git a/Package.swift b/Package.swift
index 1d0aab5..fd45e91 100644
--- a/Package.swift
+++ b/Package.swift
@@ -22,7 +22,7 @@ let package = Package(
],
dependencies: [
.package(url: "https://github.com/Cyberbeni/CBLogging", from: "1.3.1"),
- .package(url: "https://github.com/hummingbird-project/hummingbird", from: "2.18.3"),
+ .package(url: "https://github.com/hummingbird-project/hummingbird", from: "2.19.0", traits: []),
.package(url: "https://github.com/hummingbird-community/hummingbird-elementary", from: "0.4.2"),
.package(url: "https://github.com/sliemeobn/elementary-htmx", from: "0.5.1"),
// Plugins:
```
(This also makes Package.resolved update, which will sometimes include swift-configuration, sometimes not.)
Running `swift build` produces this error:
```console
error: 'hummingbird': product 'Configuration' required by package 'hummingbird' target 'HummingbirdTLS' not found in package 'swift-configuration'.
error: ExitCode(rawValue: 1)
[0/1] Planning build
```
edit: I retried it with also updating the version (already reflected in the code above) and the first build succeeded but subsequent incremental builds failed with the same error.
7 条评论