[INFO] fetching crate prost-amino 0.6.0... [INFO] checking prost-amino-0.6.0 against try#024378d9203a4009ed73d6db2681b88a8d74ce7a for pr-112160 [INFO] extracting crate prost-amino 0.6.0 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate prost-amino 0.6.0 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 prost-amino 0.6.0 [INFO] finished tweaking crates.io crate prost-amino 0.6.0 [INFO] tweaked toml for crates.io crate prost-amino 0.6.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 644cb23ebaf6a9323ac35b9601ca6ac6343301c1ef1581cd48addc592c087bd4 [INFO] running `Command { std: "docker" "start" "-a" "644cb23ebaf6a9323ac35b9601ca6ac6343301c1ef1581cd48addc592c087bd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "644cb23ebaf6a9323ac35b9601ca6ac6343301c1ef1581cd48addc592c087bd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "644cb23ebaf6a9323ac35b9601ca6ac6343301c1ef1581cd48addc592c087bd4", kill_on_drop: false }` [INFO] [stdout] 644cb23ebaf6a9323ac35b9601ca6ac6343301c1ef1581cd48addc592c087bd4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 4d1690f82ac4c36bff1e9c146633d82617ebed4ab126a054662ddc6a402da7b2 [INFO] running `Command { std: "docker" "start" "-a" "4d1690f82ac4c36bff1e9c146633d82617ebed4ab126a054662ddc6a402da7b2", kill_on_drop: false }` [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling backtrace v0.3.67 [INFO] [stderr] Compiling gimli v0.27.2 [INFO] [stderr] Compiling log v0.4.18 [INFO] [stderr] Checking aho-corasick v1.0.2 [INFO] [stderr] Compiling object v0.30.3 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Checking regex-syntax v0.7.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling cpufeatures v0.2.7 [INFO] [stderr] Compiling itertools v0.7.11 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Checking prost-amino v0.6.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling addr2line v0.19.0 [INFO] [stderr] Checking regex v1.8.3 [INFO] [stderr] Checking env_logger v0.5.13 [INFO] [stderr] Checking quickcheck v0.6.2 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling prost-amino-derive v0.6.1 [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/encoding.rs:1279:61 [INFO] [stdout] | [INFO] [stdout] 1279 | let roundtrip_value = decode_varint(&mut encoded.clone()).expect("decoding failed"); [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` 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] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/encoding.rs:1282:66 [INFO] [stdout] | [INFO] [stdout] 1282 | let roundtrip_value = decode_varint_slow(&mut encoded.clone()).expect("slow decoding failed"); [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `prost-amino` (lib test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "4d1690f82ac4c36bff1e9c146633d82617ebed4ab126a054662ddc6a402da7b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d1690f82ac4c36bff1e9c146633d82617ebed4ab126a054662ddc6a402da7b2", kill_on_drop: false }` [INFO] [stdout] 4d1690f82ac4c36bff1e9c146633d82617ebed4ab126a054662ddc6a402da7b2