[INFO] fetching crate tokio-prometheus-client 0.1.1... [INFO] checking tokio-prometheus-client-0.1.1 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate tokio-prometheus-client 0.1.1 into /workspace/builds/worker-3-tc2/source [INFO] removed /workspace/builds/worker-3-tc2/source/.cargo/config.toml [INFO] started tweaking crates.io crate tokio-prometheus-client 0.1.1 [INFO] finished tweaking crates.io crate tokio-prometheus-client 0.1.1 [INFO] tweaked toml for crates.io crate tokio-prometheus-client 0.1.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tokio-prometheus-client 0.1.1 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 54 packages to latest compatible versions [INFO] [stderr] Adding prometheus-client v0.22.3 (available: v0.24.0) [INFO] [stderr] Adding tokio-metrics v0.3.1 (available: v0.4.4) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f8f2266c2b84530ab3ce9158aa6540ac85ad88bd8cbc99fea44e7f9f0ae7bd66 [INFO] running `Command { std: "docker" "start" "-a" "f8f2266c2b84530ab3ce9158aa6540ac85ad88bd8cbc99fea44e7f9f0ae7bd66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f8f2266c2b84530ab3ce9158aa6540ac85ad88bd8cbc99fea44e7f9f0ae7bd66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8f2266c2b84530ab3ce9158aa6540ac85ad88bd8cbc99fea44e7f9f0ae7bd66", kill_on_drop: false }` [INFO] [stdout] f8f2266c2b84530ab3ce9158aa6540ac85ad88bd8cbc99fea44e7f9f0ae7bd66 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d0de3f9be94fe02add24dbce848853ce92412615f047aa1fb5d71067f046ffed [INFO] running `Command { std: "docker" "start" "-a" "d0de3f9be94fe02add24dbce848853ce92412615f047aa1fb5d71067f046ffed", kill_on_drop: false }` [INFO] [stderr] Compiling prometheus-client v0.22.3 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Compiling prometheus-client-derive-encode v0.4.2 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking tokio-metrics v0.3.1 [INFO] [stderr] Checking tokio-prometheus-client v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `tokio_metrics::RuntimeIntervals`, `tokio_metrics::RuntimeMonitor` [INFO] [stdout] --> src/lib.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | use tokio_metrics::{RuntimeIntervals, RuntimeMonitor}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ no `RuntimeMonitor` in the root [INFO] [stdout] | | [INFO] [stdout] | no `RuntimeIntervals` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-metrics-0.3.1/src/lib.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 112 | / cfg_rt! { [INFO] [stdout] 113 | | mod runtime; [INFO] [stdout] 114 | | pub use runtime::{ [INFO] [stdout] 115 | | RuntimeIntervals, [INFO] [stdout] | | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 118 | | }; [INFO] [stdout] 119 | | } [INFO] [stdout] | |_- the item is gated here [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-metrics-0.3.1/src/lib.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 112 | / cfg_rt! { [INFO] [stdout] 113 | | mod runtime; [INFO] [stdout] 114 | | pub use runtime::{ [INFO] [stdout] 115 | | RuntimeIntervals, [INFO] [stdout] 116 | | RuntimeMetrics, [INFO] [stdout] 117 | | RuntimeMonitor, [INFO] [stdout] | | ^^^^^^^^^^^^^^ [INFO] [stdout] 118 | | }; [INFO] [stdout] 119 | | } [INFO] [stdout] | |_- the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeMetrics` in crate `tokio_metrics` [INFO] [stdout] --> src/lib.rs:180:43 [INFO] [stdout] | [INFO] [stdout] 180 | fn update(&self, data: tokio_metrics::RuntimeMetrics) { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `tokio_metrics` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-metrics-0.3.1/src/lib.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 112 | / cfg_rt! { [INFO] [stdout] 113 | | mod runtime; [INFO] [stdout] 114 | | pub use runtime::{ [INFO] [stdout] 115 | | RuntimeIntervals, [INFO] [stdout] 116 | | RuntimeMetrics, [INFO] [stdout] | | ^^^^^^^^^^^^^^ [INFO] [stdout] 117 | | RuntimeMonitor, [INFO] [stdout] 118 | | }; [INFO] [stdout] 119 | | } [INFO] [stdout] | |_- the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `tokio_metrics::RuntimeIntervals`, `tokio_metrics::RuntimeMonitor` [INFO] [stdout] --> src/lib.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | use tokio_metrics::{RuntimeIntervals, RuntimeMonitor}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ no `RuntimeMonitor` in the root [INFO] [stdout] | | [INFO] [stdout] | no `RuntimeIntervals` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-metrics-0.3.1/src/lib.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 112 | / cfg_rt! { [INFO] [stdout] 113 | | mod runtime; [INFO] [stdout] 114 | | pub use runtime::{ [INFO] [stdout] 115 | | RuntimeIntervals, [INFO] [stdout] | | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 118 | | }; [INFO] [stdout] 119 | | } [INFO] [stdout] | |_- the item is gated here [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-metrics-0.3.1/src/lib.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 112 | / cfg_rt! { [INFO] [stdout] 113 | | mod runtime; [INFO] [stdout] 114 | | pub use runtime::{ [INFO] [stdout] 115 | | RuntimeIntervals, [INFO] [stdout] 116 | | RuntimeMetrics, [INFO] [stdout] 117 | | RuntimeMonitor, [INFO] [stdout] | | ^^^^^^^^^^^^^^ [INFO] [stdout] 118 | | }; [INFO] [stdout] 119 | | } [INFO] [stdout] | |_- the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeMetrics` in crate `tokio_metrics` [INFO] [stdout] --> src/lib.rs:180:43 [INFO] [stdout] | [INFO] [stdout] 180 | fn update(&self, data: tokio_metrics::RuntimeMetrics) { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `tokio_metrics` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-metrics-0.3.1/src/lib.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 112 | / cfg_rt! { [INFO] [stdout] 113 | | mod runtime; [INFO] [stdout] 114 | | pub use runtime::{ [INFO] [stdout] 115 | | RuntimeIntervals, [INFO] [stdout] 116 | | RuntimeMetrics, [INFO] [stdout] | | ^^^^^^^^^^^^^^ [INFO] [stdout] 117 | | RuntimeMonitor, [INFO] [stdout] 118 | | }; [INFO] [stdout] 119 | | } [INFO] [stdout] | |_- the item is gated here [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use tokio::runtime::RuntimeMetrics; [INFO] [stdout] | [INFO] [stdout] help: if you import `RuntimeMetrics`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 180 - fn update(&self, data: tokio_metrics::RuntimeMetrics) { [INFO] [stdout] 180 + fn update(&self, data: RuntimeMetrics) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432. [INFO] [stdout] [INFO] [stderr] error: could not compile `tokio-prometheus-client` (lib) due to 2 previous errors [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `tokio-prometheus-client` (lib test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "d0de3f9be94fe02add24dbce848853ce92412615f047aa1fb5d71067f046ffed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0de3f9be94fe02add24dbce848853ce92412615f047aa1fb5d71067f046ffed", kill_on_drop: false }` [INFO] [stdout] d0de3f9be94fe02add24dbce848853ce92412615f047aa1fb5d71067f046ffed