[INFO] fetching crate prometheus-utils 0.5.0... [INFO] testing prometheus-utils-0.5.0 against try#d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 for pr-86479 [INFO] extracting crate prometheus-utils 0.5.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate prometheus-utils 0.5.0 on toolchain d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2/source/rust-toolchain [INFO] started tweaking crates.io crate prometheus-utils 0.5.0 [INFO] finished tweaking crates.io crate prometheus-utils 0.5.0 [INFO] tweaked toml for crates.io crate prometheus-utils 0.5.0 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded parking_lot_core v0.7.2 [INFO] [stderr] Downloaded mio-named-pipes v0.1.7 [INFO] [stderr] Downloaded parking_lot v0.10.2 [INFO] [stderr] Downloaded paste v1.0.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d0f8a31629dd27cf49a4396c6d0f96819f0a84582e5c8f3f02c76e7c7d8df60e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d0f8a31629dd27cf49a4396c6d0f96819f0a84582e5c8f3f02c76e7c7d8df60e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d0f8a31629dd27cf49a4396c6d0f96819f0a84582e5c8f3f02c76e7c7d8df60e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0f8a31629dd27cf49a4396c6d0f96819f0a84582e5c8f3f02c76e7c7d8df60e", kill_on_drop: false }` [INFO] [stdout] d0f8a31629dd27cf49a4396c6d0f96819f0a84582e5c8f3f02c76e7c7d8df60e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a7841ea3432dd504a5d644f5f275941f71f2863bbb6fa78c9352e2e0919acd2b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a7841ea3432dd504a5d644f5f275941f71f2863bbb6fa78c9352e2e0919acd2b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling prometheus v0.12.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Compiling instant v0.1.10 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling pin-project v1.0.8 [INFO] [stderr] Compiling prometheus-utils v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: types that do not implement `Drop` can still have drop glue, consider instead using `std::mem::needs_drop` to detect whether a type is trivially dropped [INFO] [stdout] --> src/instrumented_future.rs:45:55 [INFO] [stdout] | [INFO] [stdout] 45 | pre_polls: Vec Option> + Send>>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dyn_drop)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: types that do not implement `Drop` can still have drop glue, consider instead using `std::mem::needs_drop` to detect whether a type is trivially dropped [INFO] [stdout] --> src/instrumented_future.rs:57:34 [INFO] [stdout] | [INFO] [stdout] 57 | resource_guards: Vec>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: types that do not implement `Drop` can still have drop glue, consider instead using `std::mem::needs_drop` to detect whether a type is trivially dropped [INFO] [stdout] --> src/instrumented_future.rs:45:55 [INFO] [stdout] | [INFO] [stdout] 45 | pre_polls: Vec Option> + Send>>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: types that do not implement `Drop` can still have drop glue, consider instead using `std::mem::needs_drop` to detect whether a type is trivially dropped [INFO] [stdout] --> src/instrumented_future.rs:84:59 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn with_guard Option> + Send + 'static>( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 20.39s [INFO] running `Command { std: "docker" "inspect" "a7841ea3432dd504a5d644f5f275941f71f2863bbb6fa78c9352e2e0919acd2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7841ea3432dd504a5d644f5f275941f71f2863bbb6fa78c9352e2e0919acd2b", kill_on_drop: false }` [INFO] [stdout] a7841ea3432dd504a5d644f5f275941f71f2863bbb6fa78c9352e2e0919acd2b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6a9c278a68fc896371170420f447f0523de8bf6205e7e14ca8c942ab8c83e303 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6a9c278a68fc896371170420f447f0523de8bf6205e7e14ca8c942ab8c83e303", kill_on_drop: false }` [INFO] [stderr] Compiling futures-core v0.3.16 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stdout] warning: types that do not implement `Drop` can still have drop glue, consider instead using `std::mem::needs_drop` to detect whether a type is trivially dropped [INFO] [stdout] --> src/instrumented_future.rs:45:55 [INFO] [stdout] | [INFO] [stdout] 45 | pre_polls: Vec Option> + Send>>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dyn_drop)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: types that do not implement `Drop` can still have drop glue, consider instead using `std::mem::needs_drop` to detect whether a type is trivially dropped [INFO] [stdout] --> src/instrumented_future.rs:57:34 [INFO] [stdout] | [INFO] [stdout] 57 | resource_guards: Vec>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: types that do not implement `Drop` can still have drop glue, consider instead using `std::mem::needs_drop` to detect whether a type is trivially dropped [INFO] [stdout] --> src/instrumented_future.rs:45:55 [INFO] [stdout] | [INFO] [stdout] 45 | pre_polls: Vec Option> + Send>>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: types that do not implement `Drop` can still have drop glue, consider instead using `std::mem::needs_drop` to detect whether a type is trivially dropped [INFO] [stdout] --> src/instrumented_future.rs:84:59 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn with_guard Option> + Send + 'static>( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling prometheus-utils v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: types that do not implement `Drop` can still have drop glue, consider instead using `std::mem::needs_drop` to detect whether a type is trivially dropped [INFO] [stdout] --> src/instrumented_future.rs:45:55 [INFO] [stdout] | [INFO] [stdout] 45 | pre_polls: Vec Option> + Send>>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dyn_drop)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: types that do not implement `Drop` can still have drop glue, consider instead using `std::mem::needs_drop` to detect whether a type is trivially dropped [INFO] [stdout] --> src/instrumented_future.rs:57:34 [INFO] [stdout] | [INFO] [stdout] 57 | resource_guards: Vec>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: types that do not implement `Drop` can still have drop glue, consider instead using `std::mem::needs_drop` to detect whether a type is trivially dropped [INFO] [stdout] --> src/instrumented_future.rs:45:55 [INFO] [stdout] | [INFO] [stdout] 45 | pre_polls: Vec Option> + Send>>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: types that do not implement `Drop` can still have drop glue, consider instead using `std::mem::needs_drop` to detect whether a type is trivially dropped [INFO] [stdout] --> src/instrumented_future.rs:84:59 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn with_guard Option> + Send + 'static>( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 14.06s [INFO] running `Command { std: "docker" "inspect" "6a9c278a68fc896371170420f447f0523de8bf6205e7e14ca8c942ab8c83e303", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a9c278a68fc896371170420f447f0523de8bf6205e7e14ca8c942ab8c83e303", kill_on_drop: false }` [INFO] [stdout] 6a9c278a68fc896371170420f447f0523de8bf6205e7e14ca8c942ab8c83e303 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 87fff8e98486d430423b980e264a56d35210ca6cc57bd1d905cc7c2df8766665 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "87fff8e98486d430423b980e264a56d35210ca6cc57bd1d905cc7c2df8766665", kill_on_drop: false }` [INFO] [stderr] warning: types that do not implement `Drop` can still have drop glue, consider instead using `std::mem::needs_drop` to detect whether a type is trivially dropped [INFO] [stderr] --> src/instrumented_future.rs:45:55 [INFO] [stderr] | [INFO] [stderr] 45 | pre_polls: Vec Option> + Send>>, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dyn_drop)]` on by default [INFO] [stderr] [INFO] [stderr] warning: types that do not implement `Drop` can still have drop glue, consider instead using `std::mem::needs_drop` to detect whether a type is trivially dropped [INFO] [stderr] --> src/instrumented_future.rs:57:34 [INFO] [stderr] | [INFO] [stderr] 57 | resource_guards: Vec>, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: types that do not implement `Drop` can still have drop glue, consider instead using `std::mem::needs_drop` to detect whether a type is trivially dropped [INFO] [stderr] --> src/instrumented_future.rs:45:55 [INFO] [stderr] | [INFO] [stderr] 45 | pre_polls: Vec Option> + Send>>, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: types that do not implement `Drop` can still have drop glue, consider instead using `std::mem::needs_drop` to detect whether a type is trivially dropped [INFO] [stderr] --> src/instrumented_future.rs:84:59 [INFO] [stderr] | [INFO] [stderr] 84 | pub fn with_guard Option> + Send + 'static>( [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: `prometheus-utils` (lib) generated 4 warnings [INFO] [stderr] warning: `prometheus-utils` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/prometheus_utils-cc25aa93eddc7733) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test percentile::tests::test_overflow_wraps_writes ... ok [INFO] [stdout] test percentile::tests::test_small_sampleset ... ok [INFO] [stdout] test percentile::tests::test_percentiles_are_reported ... ok [INFO] [stdout] test percentile::tests::test_wraps_are_reported ... ok [INFO] [stdout] test instrumented_future::counters_increment_only_when_futures_run ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stderr] Doc-tests prometheus-utils [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - label_enum (line 84) ... ignored [INFO] [stdout] test src/lib.rs - label_enum (line 97) ... ignored [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 2 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "87fff8e98486d430423b980e264a56d35210ca6cc57bd1d905cc7c2df8766665", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87fff8e98486d430423b980e264a56d35210ca6cc57bd1d905cc7c2df8766665", kill_on_drop: false }` [INFO] [stdout] 87fff8e98486d430423b980e264a56d35210ca6cc57bd1d905cc7c2df8766665