[INFO] fetching crate cargo-vet 0.10.1... [INFO] testing cargo-vet-0.10.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate cargo-vet 0.10.1 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate cargo-vet 0.10.1 [INFO] finished tweaking crates.io crate cargo-vet 0.10.1 [INFO] tweaked toml for crates.io crate cargo-vet 0.10.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cargo-vet 0.10.1 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate cargo-vet 0.10.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a652a002960a2ee9783255e2e61f3cda3ee7398faf1b7fec926ce2662bc92b00 [INFO] running `Command { std: "docker" "start" "-a" "a652a002960a2ee9783255e2e61f3cda3ee7398faf1b7fec926ce2662bc92b00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a652a002960a2ee9783255e2e61f3cda3ee7398faf1b7fec926ce2662bc92b00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a652a002960a2ee9783255e2e61f3cda3ee7398faf1b7fec926ce2662bc92b00", kill_on_drop: false }` [INFO] [stdout] a652a002960a2ee9783255e2e61f3cda3ee7398faf1b7fec926ce2662bc92b00 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2eb04a387acf5a8269a826c9cb4b7bfbae7256d0352a9e3eee9ed89374ec8f30 [INFO] running `Command { std: "docker" "start" "-a" "2eb04a387acf5a8269a826c9cb4b7bfbae7256d0352a9e3eee9ed89374ec8f30", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling once_cell v1.12.0 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling syn v1.0.96 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling indexmap v1.8.2 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling tokio v1.20.1 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling tracing-core v0.1.27 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling rustix v0.37.20 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling rustls v0.20.6 [INFO] [stderr] Compiling smawk v0.3.1 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Compiling semver v1.0.10 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling miniz_oxide v0.5.3 [INFO] [stderr] Compiling syn v2.0.43 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.8.3 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling object v0.28.4 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling libz-sys v1.1.15 [INFO] [stderr] Compiling backtrace v0.3.65 [INFO] [stderr] Compiling libgit2-sys v0.13.4+1.4.2 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling camino v1.0.9 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling os_str_bytes v6.1.0 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling indexmap v2.4.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling winnow v0.6.18 [INFO] [stderr] Compiling clap_lex v0.2.2 [INFO] [stderr] Compiling is_ci v1.1.1 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling rustls-pemfile v1.0.0 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling filetime v0.2.16 [INFO] [stderr] Compiling is-terminal v0.4.7 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling supports-unicode v2.0.0 [INFO] [stderr] Compiling supports-color v2.0.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling supports-hyperlinks v2.1.0 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling tracing-log v0.1.3 [INFO] [stderr] Compiling combine v4.6.4 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling home v0.5.3 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling ipnet v2.5.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling owo-colors v3.4.0 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling pathdiff v0.2.1 [INFO] [stderr] Compiling open v3.0.2 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling tar v0.4.38 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling flate2 v1.0.24 [INFO] [stderr] Compiling similar v2.2.0 [INFO] [stderr] Compiling unicode-linebreak v0.1.2 [INFO] [stderr] Compiling console v0.15.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.11 [INFO] [stderr] Compiling indicatif v0.17.0 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling enum-ordinalize v3.1.12 [INFO] [stderr] Compiling clap_derive v3.2.6 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling tracing-attributes v0.1.26 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Compiling educe v0.4.20 [INFO] [stderr] Compiling miette-derive v5.9.0 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling backtrace-ext v0.2.1 [INFO] [stderr] Compiling webpki-roots v0.22.3 [INFO] [stderr] Compiling base64-stream v1.2.7 [INFO] [stderr] Compiling tracing v0.1.35 [INFO] [stderr] Compiling miette v5.9.0 [INFO] [stderr] Compiling clap v3.2.6 [INFO] [stderr] Compiling tokio-util v0.7.3 [INFO] [stderr] Compiling tokio-rustls v0.23.4 [INFO] [stderr] Compiling clap-cargo v0.9.1 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling git2 v0.14.4 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_spanned v0.6.7 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling cargo-platform v0.1.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling toml_edit v0.14.4 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling chrono v0.4.23 [INFO] [stderr] Compiling toml_edit v0.22.20 [INFO] [stderr] Compiling crates-index v0.18.8 [INFO] [stderr] Compiling cargo_metadata v0.15.2 [INFO] [stderr] Compiling cargo-config2 v0.1.27 [INFO] [stderr] Compiling hyper v0.14.19 [INFO] [stderr] Compiling hyper-rustls v0.23.0 [INFO] [stderr] Compiling reqwest v0.11.11 [INFO] [stderr] Compiling cargo-vet v0.10.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/main.rs:1953:34 [INFO] [stdout] | [INFO] [stdout] 1953 | .filter(|&p| (p.name == error.package)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1953 - .filter(|&p| (p.name == error.package)) [INFO] [stdout] 1953 + .filter(|&p| p.name == error.package) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/format.rs:707:17 [INFO] [stdout] | [INFO] [stdout] 707 | pub fn iter(&self) -> PolicyIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 707 | pub fn iter(&self) -> PolicyIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/format.rs:1174:20 [INFO] [stdout] | [INFO] [stdout] 1174 | pub fn package(&self) -> PackageStr { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1174 | pub fn package(&self) -> PackageStr<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/network.rs:261:25 [INFO] [stdout] | [INFO] [stdout] 261 | async fn fetch_core(&self, url: Url) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 261 | async fn fetch_core(&self, url: Url) -> Result, DownloadError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 40s [INFO] running `Command { std: "docker" "inspect" "2eb04a387acf5a8269a826c9cb4b7bfbae7256d0352a9e3eee9ed89374ec8f30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2eb04a387acf5a8269a826c9cb4b7bfbae7256d0352a9e3eee9ed89374ec8f30", kill_on_drop: false }` [INFO] [stdout] 2eb04a387acf5a8269a826c9cb4b7bfbae7256d0352a9e3eee9ed89374ec8f30 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bf421b2ec6349de127cb644276b4db7c3976993a88470c5085a3e96f7e91785c [INFO] running `Command { std: "docker" "start" "-a" "bf421b2ec6349de127cb644276b4db7c3976993a88470c5085a3e96f7e91785c", kill_on_drop: false }` [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling similar v2.2.0 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling serde_yaml v0.8.24 [INFO] [stderr] Compiling insta v1.16.0 [INFO] [stderr] Compiling cargo-vet v0.10.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `tests` [INFO] [stdout] --> src/main.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | mod tests; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `tests`, create file "src/tests.rs" or "src/tests/mod.rs" [INFO] [stdout] = note: if there is a `mod tests` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/main.rs:1953:34 [INFO] [stdout] | [INFO] [stdout] 1953 | .filter(|&p| (p.name == error.package)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1953 - .filter(|&p| (p.name == error.package)) [INFO] [stdout] 1953 + .filter(|&p| p.name == error.package) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0583`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-vet` (bin "cargo-vet" test) due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "bf421b2ec6349de127cb644276b4db7c3976993a88470c5085a3e96f7e91785c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf421b2ec6349de127cb644276b4db7c3976993a88470c5085a3e96f7e91785c", kill_on_drop: false }` [INFO] [stdout] bf421b2ec6349de127cb644276b4db7c3976993a88470c5085a3e96f7e91785c