[INFO] fetching crate prometheus-extensions 0.1.0... [INFO] checking prometheus-extensions-0.1.0 against try#2cbf9c3ff35600794d69a7dc7ab399810a067910 for pr-129249-2 [INFO] extracting crate prometheus-extensions 0.1.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate prometheus-extensions 0.1.0 [INFO] finished tweaking crates.io crate prometheus-extensions 0.1.0 [INFO] tweaked toml for crates.io crate prometheus-extensions 0.1.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate prometheus-extensions 0.1.0 on toolchain 2cbf9c3ff35600794d69a7dc7ab399810a067910 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2cbf9c3ff35600794d69a7dc7ab399810a067910" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate prometheus-extensions 0.1.0 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" "+2cbf9c3ff35600794d69a7dc7ab399810a067910" "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/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 66127b5e836363af38079c4f4aa7d82a1c308970b897242e8a0f285d01026896 [INFO] running `Command { std: "docker" "start" "66127b5e836363af38079c4f4aa7d82a1c308970b897242e8a0f285d01026896", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "66127b5e836363af38079c4f4aa7d82a1c308970b897242e8a0f285d01026896" "/opt/rustwide/cargo-home/bin/cargo" "+2cbf9c3ff35600794d69a7dc7ab399810a067910" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "66127b5e836363af38079c4f4aa7d82a1c308970b897242e8a0f285d01026896", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "66127b5e836363af38079c4f4aa7d82a1c308970b897242e8a0f285d01026896" "/opt/rustwide/cargo-home/bin/cargo" "+2cbf9c3ff35600794d69a7dc7ab399810a067910" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling prometheus v0.14.0 [INFO] [stderr] Compiling libc v0.2.183 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking thiserror v2.0.18 [INFO] [stderr] Checking protobuf-support v3.7.2 [INFO] [stderr] Checking protobuf v3.7.2 [INFO] [stderr] Checking prometheus-extensions v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: useless conversion to the same type: `Vec` [INFO] [stdout] --> src/lib.rs:163:34 [INFO] [stdout] | [INFO] [stdout] 163 | metric_family.set_metric(all_metrics.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path ` as Into>::into(val) to avoid triggering this lint [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(self_type_conversion)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `prometheus-extensions` (lib) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: useless conversion to the same type: `Vec` [INFO] [stdout] --> src/lib.rs:163:34 [INFO] [stdout] | [INFO] [stdout] 163 | metric_family.set_metric(all_metrics.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path ` as Into>::into(val) to avoid triggering this lint [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(self_type_conversion)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `prometheus-extensions` (lib test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "66127b5e836363af38079c4f4aa7d82a1c308970b897242e8a0f285d01026896", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66127b5e836363af38079c4f4aa7d82a1c308970b897242e8a0f285d01026896", kill_on_drop: false }` [INFO] [stdout] 66127b5e836363af38079c4f4aa7d82a1c308970b897242e8a0f285d01026896