[INFO] cloning repository https://github.com/fastly/prometheus-utils [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fastly/prometheus-utils" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffastly%2Fprometheus-utils", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffastly%2Fprometheus-utils'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8edc18dc46d7a3173b55f837f47111cb73c15913 [INFO] testing fastly/prometheus-utils against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffastly%2Fprometheus-utils" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fastly/prometheus-utils on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-11/source/rust-toolchain [INFO] started tweaking git repo https://github.com/fastly/prometheus-utils [INFO] finished tweaking git repo https://github.com/fastly/prometheus-utils [INFO] tweaked toml for git repo https://github.com/fastly/prometheus-utils written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/fastly/prometheus-utils already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 36b92c3fd99291de2a007bddf795028c109418171b9b81bcea37d5ed4c1909b6 [INFO] running `Command { std: "docker" "start" "-a" "36b92c3fd99291de2a007bddf795028c109418171b9b81bcea37d5ed4c1909b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "36b92c3fd99291de2a007bddf795028c109418171b9b81bcea37d5ed4c1909b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36b92c3fd99291de2a007bddf795028c109418171b9b81bcea37d5ed4c1909b6", kill_on_drop: false }` [INFO] [stdout] 36b92c3fd99291de2a007bddf795028c109418171b9b81bcea37d5ed4c1909b6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3808fc223e03db530de157bdf3510c86e8c3c7cccd9130fbe58718bdc5284e8c [INFO] running `Command { std: "docker" "start" "-a" "3808fc223e03db530de157bdf3510c86e8c3c7cccd9130fbe58718bdc5284e8c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling protobuf v2.24.1 [INFO] [stderr] Compiling autocfg v1.0.1 [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 parking_lot_core v0.8.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling quote v1.0.9 [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.1 (/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:59:55 [INFO] [stdout] | [INFO] [stdout] 59 | 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:71:34 [INFO] [stdout] | [INFO] [stdout] 71 | 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:132:59 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn with_guard Option> + Send + 'static>( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 50.00s [INFO] running `Command { std: "docker" "inspect" "3808fc223e03db530de157bdf3510c86e8c3c7cccd9130fbe58718bdc5284e8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3808fc223e03db530de157bdf3510c86e8c3c7cccd9130fbe58718bdc5284e8c", kill_on_drop: false }` [INFO] [stdout] 3808fc223e03db530de157bdf3510c86e8c3c7cccd9130fbe58718bdc5284e8c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e293c75579f094ab2a8f6adda5483ae28f1eb0317cf44cc7dfd093afbb290420 [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" "e293c75579f094ab2a8f6adda5483ae28f1eb0317cf44cc7dfd093afbb290420", kill_on_drop: false }` [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling tokio v1.9.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling tokio-macros v1.3.0 [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:59:55 [INFO] [stdout] | [INFO] [stdout] 59 | 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:71:34 [INFO] [stdout] | [INFO] [stdout] 71 | 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:132:59 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn with_guard Option> + Send + 'static>( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling prometheus-utils v0.5.1 (/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:59:55 [INFO] [stdout] | [INFO] [stdout] 59 | 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:71:34 [INFO] [stdout] | [INFO] [stdout] 71 | 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:132:59 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn with_guard Option> + Send + 'static>( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 25.23s [INFO] running `Command { std: "docker" "inspect" "e293c75579f094ab2a8f6adda5483ae28f1eb0317cf44cc7dfd093afbb290420", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e293c75579f094ab2a8f6adda5483ae28f1eb0317cf44cc7dfd093afbb290420", kill_on_drop: false }` [INFO] [stdout] e293c75579f094ab2a8f6adda5483ae28f1eb0317cf44cc7dfd093afbb290420 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c75a67bfc64dd7d13bd7b2f4ad117b0a2361b6dac4e7469e69d3a5dc9f882565 [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" "c75a67bfc64dd7d13bd7b2f4ad117b0a2361b6dac4e7469e69d3a5dc9f882565", 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:59:55 [INFO] [stderr] | [INFO] [stderr] 59 | 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:71:34 [INFO] [stderr] | [INFO] [stderr] 71 | 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:132:59 [INFO] [stderr] | [INFO] [stderr] 132 | pub fn with_guard Option> + Send + 'static>( [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: `prometheus-utils` (lib) generated 3 warnings [INFO] [stderr] warning: `prometheus-utils` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/prometheus_utils-6a0c6c03e150dd2c) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test percentile::tests::test_small_sampleset ... ok [INFO] [stdout] test percentile::tests::test_overflow_wraps_writes ... ok [INFO] [stdout] test percentile::tests::test_percentiles_are_reported ... ok [INFO] [stdout] test percentile::tests::test_wraps_are_reported ... ok [INFO] [stderr] Doc-tests prometheus-utils [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.12s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 4 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] test src/instrumented_future.rs - instrumented_future::InstrumentedFuture (line 23) - compile ... ok [INFO] [stdout] test src/instrumented_future.rs - instrumented_future::InstrumentedFuture::with_guard (line 101) - compile ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 2 ignored; 0 measured; 0 filtered out; finished in 0.97s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c75a67bfc64dd7d13bd7b2f4ad117b0a2361b6dac4e7469e69d3a5dc9f882565", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c75a67bfc64dd7d13bd7b2f4ad117b0a2361b6dac4e7469e69d3a5dc9f882565", kill_on_drop: false }` [INFO] [stdout] c75a67bfc64dd7d13bd7b2f4ad117b0a2361b6dac4e7469e69d3a5dc9f882565