Skip to content

fix(ci): allow OpenSSL license in cargo-deny and fix clippy iter_kv_map lint#359

Merged
zerosnacks merged 2 commits intomainfrom
fix/cargo-deny-openssl-license
Mar 17, 2026
Merged

fix(ci): allow OpenSSL license in cargo-deny and fix clippy iter_kv_map lint#359
zerosnacks merged 2 commits intomainfrom
fix/cargo-deny-openssl-license

Conversation

@zerosnacks
Copy link
Member

Summary

Fixes two CI failures on main:

1. cargo deny check — OpenSSL license rejection

aws-lc-sys uses the license expression ISC AND (Apache-2.0 OR ISC) AND OpenSSL. The OpenSSL license was not in the deny.toml allow list, causing the check to fail.

Fix: Add OpenSSL to the allowed licenses list. Also removes stale entries no longer present in the dependency tree:

  • Unicode-DFS-2016 license allowance
  • LicenseRef-ring / LicenseRef-webpki license allowances and clarifications
  • tiny-keccak CC0-1.0 exception

2. clippyiter_kv_map lint (nightly)

Two instances in crates/compilers/src/artifact_output/mod.rs iterate over map entries but discard the key.

Fix: Use .values() / .into_values() instead of .iter() / .into_iter() with unused keys.

zerosnacks and others added 2 commits March 17, 2026 14:56
`aws-lc-sys` uses the OpenSSL license (via `ISC AND (Apache-2.0 OR ISC) AND OpenSSL`),
which was not in the allow list, causing `cargo deny check` to fail.

Also removes stale entries no longer present in the dependency tree:
- `Unicode-DFS-2016` license allowance
- `LicenseRef-ring` / `LicenseRef-webpki` license allowances and clarifications
- `tiny-keccak` CC0-1.0 exception

Amp-Thread-ID: https://ampcode.com/threads/T-019cfc11-1f81-72f3-87c5-542e7e79d0e9
Co-authored-by: Amp <amp@ampcode.com>
Fixes `clippy::iter_kv_map` lint on nightly for the `artifacts` and
`into_artifacts` iterators.

Amp-Thread-ID: https://ampcode.com/threads/T-019cfc11-1f81-72f3-87c5-542e7e79d0e9
Co-authored-by: Amp <amp@ampcode.com>
@zerosnacks zerosnacks marked this pull request as draft March 17, 2026 14:01
@zerosnacks zerosnacks changed the title fix: allow OpenSSL license in cargo-deny and fix clippy iter_kv_map lint fix(ci): allow OpenSSL license in cargo-deny and fix clippy iter_kv_map lint Mar 17, 2026
@zerosnacks zerosnacks marked this pull request as ready for review March 17, 2026 14:13
@zerosnacks zerosnacks enabled auto-merge (squash) March 17, 2026 14:13
@zerosnacks zerosnacks merged commit aa06c1f into main Mar 17, 2026
18 checks passed
@zerosnacks zerosnacks deleted the fix/cargo-deny-openssl-license branch March 17, 2026 14:32
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

Successfully merging this pull request may close these issues.

2 participants