[INFO] fetching crate tokio-metrics-collector 0.3.1... [INFO] testing tokio-metrics-collector-0.3.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate tokio-metrics-collector 0.3.1 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate tokio-metrics-collector 0.3.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate tokio-metrics-collector 0.3.1 [INFO] tweaked toml for crates.io crate tokio-metrics-collector 0.3.1 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tokio-metrics-collector 0.3.1 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate tokio-metrics-collector 0.3.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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tracing v0.1.38 [INFO] [stderr] Downloaded axum-core v0.5.0 [INFO] [stderr] Downloaded tokio-metrics v0.4.0 [INFO] [stderr] Downloaded axum v0.8.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6e8a735f6a6541ce5ae91ef987f56c92ff8e7a8c362eecccdc2e762d969a1429 [INFO] running `Command { std: "docker" "start" "-a" "6e8a735f6a6541ce5ae91ef987f56c92ff8e7a8c362eecccdc2e762d969a1429", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6e8a735f6a6541ce5ae91ef987f56c92ff8e7a8c362eecccdc2e762d969a1429", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e8a735f6a6541ce5ae91ef987f56c92ff8e7a8c362eecccdc2e762d969a1429", kill_on_drop: false }` [INFO] [stdout] 6e8a735f6a6541ce5ae91ef987f56c92ff8e7a8c362eecccdc2e762d969a1429 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 636c87aaa1c97380103a2bc6778f4c67458cf43584fbadc4456bdb464400c26c [INFO] running `Command { std: "docker" "start" "-a" "636c87aaa1c97380103a2bc6778f4c67458cf43584fbadc4456bdb464400c26c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.8 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Compiling parking_lot_core v0.9.7 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling protobuf v3.7.2 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling prometheus v0.14.0 [INFO] [stderr] Compiling once_cell v1.17.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling tokio v1.44.1 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling protobuf-support v3.7.2 [INFO] [stderr] Compiling tokio-stream v0.1.12 [INFO] [stderr] Compiling tokio-metrics v0.4.0 [INFO] [stderr] Compiling tokio-metrics-collector v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `tokio_unstable` [INFO] [stdout] --> src/lib.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | all(tokio_unstable, feature = "rt"), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tokio_unstable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tokio_unstable` [INFO] [stdout] --> src/lib.rs:99:23 [INFO] [stdout] | [INFO] [stdout] 99 | #[cfg(all(tokio_unstable, feature = "rt"))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | / cfg_rt! { [INFO] [stdout] 107 | | mod runtime; [INFO] [stdout] 108 | | pub use runtime::default_collector as default_runtime_collector; [INFO] [stdout] 109 | | pub use runtime::RuntimeCollector; [INFO] [stdout] 110 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tokio_unstable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `cfg_rt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.49s [INFO] running `Command { std: "docker" "inspect" "636c87aaa1c97380103a2bc6778f4c67458cf43584fbadc4456bdb464400c26c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "636c87aaa1c97380103a2bc6778f4c67458cf43584fbadc4456bdb464400c26c", kill_on_drop: false }` [INFO] [stdout] 636c87aaa1c97380103a2bc6778f4c67458cf43584fbadc4456bdb464400c26c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 65348ab970fd88eb091974b62cb4e4c6199f3e0922f7c5c3cdbbb888e096cd5a [INFO] running `Command { std: "docker" "start" "-a" "65348ab970fd88eb091974b62cb4e4c6199f3e0922f7c5c3cdbbb888e096cd5a", kill_on_drop: false }` [INFO] [stderr] Compiling itoa v1.0.6 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling serde v1.0.160 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling rustversion v1.0.12 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling ryu v1.0.13 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling serde_json v1.0.96 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling http v1.0.0 [INFO] [stderr] Compiling form_urlencoded v1.1.0 [INFO] [stderr] Compiling parking_lot_core v0.9.7 [INFO] [stderr] Compiling thread_local v1.1.7 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling tracing v0.1.38 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling prometheus v0.14.0 [INFO] [stderr] Compiling tokio v1.44.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling http-body-util v0.1.0 [INFO] [stderr] Compiling axum-core v0.5.0 [INFO] [stderr] Compiling serde_path_to_error v0.1.11 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tokio-stream v0.1.12 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling tokio-metrics v0.4.0 [INFO] [stderr] Compiling tokio-metrics-collector v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `tokio_unstable` [INFO] [stdout] --> src/lib.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | all(tokio_unstable, feature = "rt"), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tokio_unstable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tokio_unstable` [INFO] [stdout] --> src/lib.rs:99:23 [INFO] [stdout] | [INFO] [stdout] 99 | #[cfg(all(tokio_unstable, feature = "rt"))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | / cfg_rt! { [INFO] [stdout] 107 | | mod runtime; [INFO] [stdout] 108 | | pub use runtime::default_collector as default_runtime_collector; [INFO] [stdout] 109 | | pub use runtime::RuntimeCollector; [INFO] [stdout] 110 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tokio_unstable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `cfg_rt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling axum v0.8.1 [INFO] [stdout] warning: unexpected `cfg` condition name: `tokio_unstable` [INFO] [stdout] --> src/lib.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | all(tokio_unstable, feature = "rt"), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tokio_unstable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tokio_unstable` [INFO] [stdout] --> src/lib.rs:99:23 [INFO] [stdout] | [INFO] [stdout] 99 | #[cfg(all(tokio_unstable, feature = "rt"))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | / cfg_rt! { [INFO] [stdout] 107 | | mod runtime; [INFO] [stdout] 108 | | pub use runtime::default_collector as default_runtime_collector; [INFO] [stdout] 109 | | pub use runtime::RuntimeCollector; [INFO] [stdout] 110 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tokio_unstable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `cfg_rt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `default_runtime_collector` in crate `tokio_metrics_collector` [INFO] [stdout] --> examples/server.rs:13:38 [INFO] [stdout] | [INFO] [stdout] 13 | tokio_metrics_collector::default_runtime_collector(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `default_task_collector` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/task.rs:475:1 [INFO] [stdout] | [INFO] [stdout] 475 | pub fn default_collector() -> &'static TaskCollector { [INFO] [stdout] | ---------------------------------------------------- similarly named function `default_task_collector` defined here [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:108:43 [INFO] [stdout] | [INFO] [stdout] 106 | / cfg_rt! { [INFO] [stdout] 107 | | mod runtime; [INFO] [stdout] 108 | | pub use runtime::default_collector as default_runtime_collector; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 109 | | pub use runtime::RuntimeCollector; [INFO] [stdout] 110 | | } [INFO] [stdout] | |_- the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `monitor` [INFO] [stdout] --> src/task.rs:486:13 [INFO] [stdout] | [INFO] [stdout] 486 | let monitor = tokio_metrics::TaskMonitor::new(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_monitor` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tokio-metrics-collector` (example "server") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "65348ab970fd88eb091974b62cb4e4c6199f3e0922f7c5c3cdbbb888e096cd5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65348ab970fd88eb091974b62cb4e4c6199f3e0922f7c5c3cdbbb888e096cd5a", kill_on_drop: false }` [INFO] [stdout] 65348ab970fd88eb091974b62cb4e4c6199f3e0922f7c5c3cdbbb888e096cd5a