[INFO] fetching crate vrc-get 1.0.1... [INFO] checking vrc-get-1.0.1 against try#024378d9203a4009ed73d6db2681b88a8d74ce7a for pr-112160 [INFO] extracting crate vrc-get 1.0.1 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate vrc-get 1.0.1 on toolchain 024378d9203a4009ed73d6db2681b88a8d74ce7a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate vrc-get 1.0.1 [INFO] finished tweaking crates.io crate vrc-get 1.0.1 [INFO] tweaked toml for crates.io crate vrc-get 1.0.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate vrc-get 1.0.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" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a78e48011d8c7ae0961262202edacebf6ec5d46cc1900d8fbf73192b8d9d0efc [INFO] running `Command { std: "docker" "start" "-a" "a78e48011d8c7ae0961262202edacebf6ec5d46cc1900d8fbf73192b8d9d0efc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a78e48011d8c7ae0961262202edacebf6ec5d46cc1900d8fbf73192b8d9d0efc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a78e48011d8c7ae0961262202edacebf6ec5d46cc1900d8fbf73192b8d9d0efc", kill_on_drop: false }` [INFO] [stdout] a78e48011d8c7ae0961262202edacebf6ec5d46cc1900d8fbf73192b8d9d0efc [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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f3c7d57f72d10aa36c9cd375464cc98f5bc774d69ebac62d600e81e5ec12b77e [INFO] running `Command { std: "docker" "start" "-a" "f3c7d57f72d10aa36c9cd375464cc98f5bc774d69ebac62d600e81e5ec12b77e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.54 [INFO] [stderr] Compiling unicode-ident v1.0.6 [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Checking once_cell v1.17.0 [INFO] [stderr] Compiling cc v1.0.78 [INFO] [stderr] Checking bytes v1.3.0 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Compiling serde v1.0.163 [INFO] [stderr] Compiling tokio v1.28.1 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling openssl-src v111.25.0+1.1.1t [INFO] [stderr] Compiling io-lifetimes v1.0.4 [INFO] [stderr] Checking itoa v1.0.5 [INFO] [stderr] Checking tracing-core v0.1.30 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling rustix v0.37.3 [INFO] [stderr] Checking linux-raw-sys v0.3.1 [INFO] [stderr] Compiling quote v1.0.26 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Compiling openssl v0.10.48 [INFO] [stderr] Compiling syn v2.0.10 [INFO] [stderr] Compiling openssl-sys v0.9.83 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking miniz_oxide v0.6.2 [INFO] [stderr] Checking mio v0.8.5 [INFO] [stderr] Checking num_cpus v1.15.0 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking ryu v1.0.12 [INFO] [stderr] Compiling thiserror v1.0.38 [INFO] [stderr] Checking unicode-bidi v0.3.9 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Compiling serde_json v1.0.96 [INFO] [stderr] Checking flate2 v1.0.25 [INFO] [stderr] Checking block-buffer v0.10.3 [INFO] [stderr] Compiling semver v1.0.17 [INFO] [stderr] Checking regex-syntax v0.6.28 [INFO] [stderr] Checking is-terminal v0.4.7 [INFO] [stderr] Checking anstream v0.3.0 [INFO] [stderr] Checking clap_lex v0.4.1 [INFO] [stderr] Checking idna v0.3.0 [INFO] [stderr] Checking async-compression v0.3.15 [INFO] [stderr] Checking clap_builder v4.2.7 [INFO] [stderr] Checking digest v0.10.6 [INFO] [stderr] Checking getrandom v0.2.8 [INFO] [stderr] Checking either v1.8.0 [INFO] [stderr] Checking url v2.3.1 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking sha2 v0.10.6 [INFO] [stderr] Checking regex v1.7.1 [INFO] [stderr] Checking uuid v1.3.2 [INFO] [stderr] Checking env_logger v0.10.0 [INFO] [stderr] Compiling serde_derive v1.0.163 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.38 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling clap_derive v4.2.0 [INFO] [stderr] Checking pin-project v1.0.12 [INFO] [stderr] Checking futures-executor v0.3.28 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking async_zip v0.0.15 [INFO] [stderr] Checking clap v4.2.7 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking h2 v0.3.17 [INFO] [stderr] Checking hyper v0.14.23 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.17 [INFO] [stderr] Checking vrc-get v1.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `is_guid` is never used [INFO] [stdout] --> src/vpm/mod.rs:1028:12 [INFO] [stdout] | [INFO] [stdout] 1028 | fn is_guid(guid: &str) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ConflictWithUnlocked` is never constructed [INFO] [stdout] --> src/vpm/mod.rs:1526:5 [INFO] [stdout] | [INFO] [stdout] 1515 | pub enum AddPackageErr { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 1526 | ConflictWithUnlocked, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AddPackageErr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/commands.rs:420:64 [INFO] [stdout] | [INFO] [stdout] 420 | let updates = request.locked().iter().map(|x| (x.name().clone(), x.version().clone())).collect::>(); [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[deny(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vpm/add_package.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | drop(buffer); [INFO] [stdout] | ^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[u8; 4096]` [INFO] [stdout] | [INFO] [stdout] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] = note: `#[warn(dropping_copy_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_guid` is never used [INFO] [stdout] --> src/vpm/mod.rs:1028:12 [INFO] [stdout] | [INFO] [stdout] 1028 | fn is_guid(guid: &str) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ConflictWithUnlocked` is never constructed [INFO] [stdout] --> src/vpm/mod.rs:1526:5 [INFO] [stdout] | [INFO] [stdout] 1515 | pub enum AddPackageErr { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 1526 | ConflictWithUnlocked, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AddPackageErr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/commands.rs:420:64 [INFO] [stdout] | [INFO] [stdout] 420 | let updates = request.locked().iter().map(|x| (x.name().clone(), x.version().clone())).collect::>(); [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[deny(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vpm/add_package.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | drop(buffer); [INFO] [stdout] | ^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[u8; 4096]` [INFO] [stdout] | [INFO] [stdout] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] = note: `#[warn(dropping_copy_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `vrc-get` (bin "vrc-get") due to 2 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `vrc-get` (bin "vrc-get" test) due to 2 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f3c7d57f72d10aa36c9cd375464cc98f5bc774d69ebac62d600e81e5ec12b77e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3c7d57f72d10aa36c9cd375464cc98f5bc774d69ebac62d600e81e5ec12b77e", kill_on_drop: false }` [INFO] [stdout] f3c7d57f72d10aa36c9cd375464cc98f5bc774d69ebac62d600e81e5ec12b77e