[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 1.55.0 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffastly%2Fprometheus-utils" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fastly/prometheus-utils on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0/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-0/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" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded protobuf v2.24.1 [INFO] [stderr] Downloaded prometheus v0.12.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 82ef8cf0caae56920a9abc46e6fa365e6c538c7fbdc3017b28f3c8f64d08a3e5 [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" "82ef8cf0caae56920a9abc46e6fa365e6c538c7fbdc3017b28f3c8f64d08a3e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "82ef8cf0caae56920a9abc46e6fa365e6c538c7fbdc3017b28f3c8f64d08a3e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82ef8cf0caae56920a9abc46e6fa365e6c538c7fbdc3017b28f3c8f64d08a3e5", kill_on_drop: false }` [INFO] [stdout] 82ef8cf0caae56920a9abc46e6fa365e6c538c7fbdc3017b28f3c8f64d08a3e5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3429c1aaba98b6651ec8ab850377199a7eca8ff9104283a821d655ccfb805dca [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" "3429c1aaba98b6651ec8ab850377199a7eca8ff9104283a821d655ccfb805dca", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling protobuf v2.24.1 [INFO] [stderr] Compiling prometheus v0.12.0 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [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 pin-project v1.0.8 [INFO] [stderr] Compiling thiserror v1.0.26 [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:59:55 [INFO] [stdout] | [INFO] [stdout] 59 | 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:132:59 [INFO] [stdout] | [INFO] [stdout] 132 | 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 47.27s [INFO] running `Command { std: "docker" "inspect" "3429c1aaba98b6651ec8ab850377199a7eca8ff9104283a821d655ccfb805dca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3429c1aaba98b6651ec8ab850377199a7eca8ff9104283a821d655ccfb805dca", kill_on_drop: false }` [INFO] [stdout] 3429c1aaba98b6651ec8ab850377199a7eca8ff9104283a821d655ccfb805dca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7d9274112300293f6e9f154b477afa3817b978a1c2d7aec9ec05cc28ce6500ba [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" "7d9274112300293f6e9f154b477afa3817b978a1c2d7aec9ec05cc28ce6500ba", kill_on_drop: false }` [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:59:55 [INFO] [stdout] | [INFO] [stdout] 59 | 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:132:59 [INFO] [stdout] | [INFO] [stdout] 132 | 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 tokio v1.9.0 [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:59:55 [INFO] [stdout] | [INFO] [stdout] 59 | 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:132:59 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn with_guard Option> + Send + 'static>( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 20.93s [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7d9274112300293f6e9f154b477afa3817b978a1c2d7aec9ec05cc28ce6500ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d9274112300293f6e9f154b477afa3817b978a1c2d7aec9ec05cc28ce6500ba", kill_on_drop: false }` [INFO] [stdout] 7d9274112300293f6e9f154b477afa3817b978a1c2d7aec9ec05cc28ce6500ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 86f46b7165a46934c2ead35cdbe2eecbc0466cfd410c32b97671151f8ea50772 [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" "86f46b7165a46934c2ead35cdbe2eecbc0466cfd410c32b97671151f8ea50772", 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:59:55 [INFO] [stderr] | [INFO] [stderr] 59 | 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: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 4 warnings [INFO] [stderr] warning: `prometheus-utils` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/prometheus_utils-baaf5a342e8ac397) [INFO] [stdout] [INFO] [stdout] running 5 tests [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_overflow_wraps_writes ... 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.04s [INFO] [stdout] [INFO] [stderr] Doc-tests prometheus-utils [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::with_guard (line 101) - compile ... ok [INFO] [stdout] test src/instrumented_future.rs - instrumented_future::InstrumentedFuture (line 23) - compile ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 2 ignored; 0 measured; 0 filtered out; finished in 0.92s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "86f46b7165a46934c2ead35cdbe2eecbc0466cfd410c32b97671151f8ea50772", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86f46b7165a46934c2ead35cdbe2eecbc0466cfd410c32b97671151f8ea50772", kill_on_drop: false }` [INFO] [stdout] 86f46b7165a46934c2ead35cdbe2eecbc0466cfd410c32b97671151f8ea50772