Commit 3d622d5
Run
In addition to updating lockfiles, this PR updates `sdk-lockfiles` tool
to
1. renew the contents of `false-positives.txt`
2. update audit error message so it displays which crate uses the
offending dependency
For 1, `chacha20` is flagged as not contained in SDK lockfile. Running
`cargo tree -i chacha20` in `smithy-rs/rust-runtime` gives
```
chacha20 v0.10.0
└── rand v0.10.0
└── uuid v1.22.0
├── aws-smithy-http-server v0.66.3 (/Users/awsaito/src/smithy-rs/rust-runtime/aws-smithy-http-server)
│ └── aws-smithy-http-server-metrics v0.1.2 (/Users/awsaito/src/smithy-rs/rust-runtime/aws-smithy-http-server-metrics)
└── cbor-diag v0.1.12
└── aws-smithy-protocol-test v0.63.14 (/Users/awsaito/src/smithy-rs/rust-runtime/aws-smithy-protocol-test)
└── aws-smithy-http-client v1.1.12 (/Users/awsaito/src/smithy-rs/rust-runtime/aws-smithy-http-client)
└── aws-smithy-mocks v0.2.6 (/Users/awsaito/src/smithy-rs/rust-runtime/aws-smithy-mocks)
[dev-dependencies]
└── aws-smithy-xml v0.60.15 (/Users/awsaito/src/smithy-rs/rust-runtime/aws-smithy-xml)
├── aws-smithy-http-server v0.66.3 (/Users/awsaito/src/smithy-rs/rust-runtime/aws-smithy-http-server) (*)
├── aws-smithy-http-server-python v0.67.1 (/Users/awsaito/src/smithy-rs/rust-runtime/aws-smithy-http-server-python)
├── aws-smithy-legacy-http-server v0.65.14 (/Users/awsaito/src/smithy-rs/rust-runtime/aws-smithy-legacy-http-server)
│ └── aws-smithy-http-server-python v0.67.1 (/Users/awsaito/src/smithy-rs/rust-runtime/aws-smithy-http-server-python)
└── inlineable v0.1.0 (/Users/awsaito/src/smithy-rs/rust-runtime/inlineable)
```
`chacha20 `only exists in `rust-runtime/Cargo.lock` because of feature
unification — the server crates enable `uuid/fast-rng` which activates
rand across the whole workspace. In the SDK workspace, uuid resolves
without rand, so `chacha20` is never needed.
For 2, while investigating 1 it became clear that showing the source
dependency crate makes it much easier to add entries to
`false-positives.txt`.
```
`chacha20` (0.10.0), used by `rust-runtime/Cargo.lock`, is not contained in the SDK lockfile! (brought in by `aws-smithy-xml`)
`chacha20` (0.10.0), used by `rust-runtime/Cargo.lock`, is not contained in the SDK lockfile! (brought in by `aws-smithy-protocol-test`)
`chacha20` (0.10.0), used by `rust-runtime/Cargo.lock`, is not contained in the SDK lockfile! (brought in by `aws-smithy-mocks`)
`chacha20` (0.10.0), used by `rust-runtime/Cargo.lock`, is not contained in the SDK lockfile! (brought in by `aws-smithy-http-client`)
`chacha20` (0.10.0), used by `rust-runtime/Cargo.lock`, is not contained in the SDK lockfile! (brought in by `aws-smithy-runtime`)
`chacha20` (0.10.0), used by `rust-runtime/Cargo.lock`, is not contained in the SDK lockfile! (brought in by `aws-smithy-dns`)
```
---------
Co-authored-by: ysaito1001 <awsaito@amazon.com>cargo update on the runtime lockfiles and the SDK lockfile (#4562)1 parent 230ffb3 commit 3d622d5
8 files changed
Lines changed: 881 additions & 936 deletions
File tree
- aws
- rust-runtime
- aws-config
- sdk
- rust-runtime
- tools/ci-build/sdk-lockfiles
- src
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | 18 | | |
20 | 19 | | |
21 | 20 | | |
| |||
27 | 26 | | |
28 | 27 | | |
29 | 28 | | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
235 | 235 | | |
236 | 236 | | |
237 | 237 | | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | 238 | | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | 239 | | |
| 240 | + | |
248 | 241 | | |
249 | 242 | | |
250 | 243 | | |
| |||
282 | 275 | | |
283 | 276 | | |
284 | 277 | | |
285 | | - | |
| 278 | + | |
| 279 | + | |
286 | 280 | | |
287 | 281 | | |
288 | 282 | | |
289 | 283 | | |
290 | 284 | | |
291 | 285 | | |
292 | 286 | | |
293 | | - | |
| 287 | + | |
294 | 288 | | |
295 | 289 | | |
296 | | - | |
| 290 | + | |
297 | 291 | | |
| 292 | + | |
| 293 | + | |
298 | 294 | | |
299 | 295 | | |
300 | 296 | | |
301 | 297 | | |
302 | | - | |
303 | | - | |
| 298 | + | |
304 | 299 | | |
305 | 300 | | |
306 | 301 | | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
307 | 307 | | |
308 | 308 | | |
309 | 309 | | |
310 | 310 | | |
311 | | - | |
| 311 | + | |
312 | 312 | | |
313 | | - | |
314 | | - | |
315 | | - | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
316 | 316 | | |
| 317 | + | |
317 | 318 | | |
318 | 319 | | |
319 | 320 | | |
| |||
0 commit comments