[INFO] fetching crate prometheus-client-derive-encode 0.4.2... [INFO] checking prometheus-client-derive-encode-0.4.2 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate prometheus-client-derive-encode 0.4.2 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate prometheus-client-derive-encode 0.4.2 [INFO] finished tweaking crates.io crate prometheus-client-derive-encode 0.4.2 [INFO] tweaked toml for crates.io crate prometheus-client-derive-encode 0.4.2 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate prometheus-client-derive-encode 0.4.2 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 4 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 11279ea24040bc0ec6a2992fd4b8012f62f07cddbcd7aeb9c919efa72f7e2df9 [INFO] running `Command { std: "docker" "start" "-a" "11279ea24040bc0ec6a2992fd4b8012f62f07cddbcd7aeb9c919efa72f7e2df9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "11279ea24040bc0ec6a2992fd4b8012f62f07cddbcd7aeb9c919efa72f7e2df9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11279ea24040bc0ec6a2992fd4b8012f62f07cddbcd7aeb9c919efa72f7e2df9", kill_on_drop: false }` [INFO] [stdout] 11279ea24040bc0ec6a2992fd4b8012f62f07cddbcd7aeb9c919efa72f7e2df9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 483b556e023cd94d7b5087837e416dfe258c26bf01466e4a2734e458c0832ce2 [INFO] running `Command { std: "docker" "start" "-a" "483b556e023cd94d7b5087837e416dfe258c26bf01466e4a2734e458c0832ce2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Checking unicode-ident v1.0.18 [INFO] [stderr] Checking quote v1.0.40 [INFO] [stderr] Checking syn v2.0.104 [INFO] [stderr] Checking prometheus-client-derive-encode v0.4.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `prometheus_client` [INFO] [stdout] --> tests/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use prometheus_client::encoding::text::encode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `prometheus_client` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `prometheus_client`, use `cargo add prometheus_client` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `prometheus_client` [INFO] [stdout] --> tests/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use prometheus_client::encoding::{EncodeLabelSet, EncodeLabelValue}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `prometheus_client` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `prometheus_client`, use `cargo add prometheus_client` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `prometheus_client` [INFO] [stdout] --> tests/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use prometheus_client::metrics::counter::Counter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `prometheus_client` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `prometheus_client`, use `cargo add prometheus_client` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `prometheus_client` [INFO] [stdout] --> tests/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use prometheus_client::metrics::family::Family; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `prometheus_client` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `prometheus_client`, use `cargo add prometheus_client` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `prometheus_client` [INFO] [stdout] --> tests/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use prometheus_client::registry::Registry; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `prometheus_client` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `prometheus_client`, use `cargo add prometheus_client` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `prometheus_client` [INFO] [stdout] --> tests/lib.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | use prometheus_client::encoding::protobuf::encode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `prometheus_client` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `prometheus_client`, use `cargo add prometheus_client` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `prometheus_client` [INFO] [stdout] --> tests/lib.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | use prometheus_client::encoding::protobuf::openmetrics_data_model; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `prometheus_client` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `prometheus_client`, use `cargo add prometheus_client` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `prometheus_client` [INFO] [stdout] --> tests/lib.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | use prometheus_client::metrics::counter::Counter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `prometheus_client` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `prometheus_client`, use `cargo add prometheus_client` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `prometheus_client` [INFO] [stdout] --> tests/lib.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | use prometheus_client::metrics::family::Family; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `prometheus_client` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `prometheus_client`, use `cargo add prometheus_client` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `prometheus_client` [INFO] [stdout] --> tests/lib.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | use prometheus_client::registry::Registry; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `prometheus_client` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `prometheus_client`, use `cargo add prometheus_client` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prometheus` in this scope [INFO] [stdout] --> tests/lib.rs:150:11 [INFO] [stdout] | [INFO] [stdout] 150 | #[prometheus(flatten)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `prometheus-client-derive-encode` (test "lib") due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "483b556e023cd94d7b5087837e416dfe258c26bf01466e4a2734e458c0832ce2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "483b556e023cd94d7b5087837e416dfe258c26bf01466e4a2734e458c0832ce2", kill_on_drop: false }` [INFO] [stdout] 483b556e023cd94d7b5087837e416dfe258c26bf01466e4a2734e458c0832ce2