[INFO] cloning repository https://github.com/lagooj/check_redis [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lagooj/check_redis" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flagooj%2Fcheck_redis", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flagooj%2Fcheck_redis'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c07981cf6846880daf12265c4d5f34c9c203bd05 [INFO] testing lagooj/check_redis against master#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flagooj%2Fcheck_redis" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lagooj/check_redis on toolchain 432e145bd5a974c5b6f4dd9b352891bd7502b69d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lagooj/check_redis [INFO] finished tweaking git repo https://github.com/lagooj/check_redis [INFO] tweaked toml for git repo https://github.com/lagooj/check_redis written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/lagooj/check_redis already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "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-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "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] f3517fa3139ade2e5f329c69fabbb1bfc4c8e91278871d8ef84c7d3640981230 [INFO] running `Command { std: "docker" "start" "-a" "f3517fa3139ade2e5f329c69fabbb1bfc4c8e91278871d8ef84c7d3640981230", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f3517fa3139ade2e5f329c69fabbb1bfc4c8e91278871d8ef84c7d3640981230", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3517fa3139ade2e5f329c69fabbb1bfc4c8e91278871d8ef84c7d3640981230", kill_on_drop: false }` [INFO] [stdout] f3517fa3139ade2e5f329c69fabbb1bfc4c8e91278871d8ef84c7d3640981230 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 07c1c016f26568b3fe48c1ce0e4f683a6924d64657a5a1ee7d3184dfcc1b8092 [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" "07c1c016f26568b3fe48c1ce0e4f683a6924d64657a5a1ee7d3184dfcc1b8092", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.43 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling futures v0.1.25 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling crossbeam-utils v0.5.0 [INFO] [stderr] Compiling unicode-normalization v0.1.7 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling ascii v0.9.1 [INFO] [stderr] Compiling redis v0.9.1 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling memchr v2.1.1 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling owning_ref v0.4.0 [INFO] [stderr] Compiling smallvec v0.6.6 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling bytes v0.4.11 [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling combine v3.6.3 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling tokio-io v0.1.10 [INFO] [stderr] Compiling tokio-executor v0.1.5 [INFO] [stderr] Compiling parking_lot v0.6.4 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling tokio-reactor v0.1.6 [INFO] [stderr] Compiling tokio-tcp v0.1.2 [INFO] [stderr] Compiling check_redis v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:42:26 [INFO] [stdout] | [INFO] [stdout] 42 | Err(e) => panic!(e), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 42 | Err(e) => panic!("{}", e), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 42 | Err(e) => std::panic::panic_any(e), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 29.73s [INFO] running `Command { std: "docker" "inspect" "07c1c016f26568b3fe48c1ce0e4f683a6924d64657a5a1ee7d3184dfcc1b8092", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07c1c016f26568b3fe48c1ce0e4f683a6924d64657a5a1ee7d3184dfcc1b8092", kill_on_drop: false }` [INFO] [stdout] 07c1c016f26568b3fe48c1ce0e4f683a6924d64657a5a1ee7d3184dfcc1b8092 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen" "--no-run" "--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] 49a535e05f5a994f93a74edfdf8f92d8252da8ddf993bf34d673da0c099598a5 [INFO] running `Command { std: "docker" "start" "-a" "49a535e05f5a994f93a74edfdf8f92d8252da8ddf993bf34d673da0c099598a5", kill_on_drop: false }` [INFO] [stderr] Compiling check_redis v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 128 | let mut vec = vec![24,12]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:42:26 [INFO] [stdout] | [INFO] [stdout] 42 | Err(e) => panic!(e), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 42 | Err(e) => panic!("{}", e), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 42 | Err(e) => std::panic::panic_any(e), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.37s [INFO] running `Command { std: "docker" "inspect" "49a535e05f5a994f93a74edfdf8f92d8252da8ddf993bf34d673da0c099598a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49a535e05f5a994f93a74edfdf8f92d8252da8ddf993bf34d673da0c099598a5", kill_on_drop: false }` [INFO] [stdout] 49a535e05f5a994f93a74edfdf8f92d8252da8ddf993bf34d673da0c099598a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen", 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] cf8bf0bc87ebafa4caaf2467aa798fb4d95c1769794cbc01d15422f6d62e3da5 [INFO] running `Command { std: "docker" "start" "-a" "cf8bf0bc87ebafa4caaf2467aa798fb4d95c1769794cbc01d15422f6d62e3da5", kill_on_drop: false }` [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:128:13 [INFO] [stderr] | [INFO] [stderr] 128 | let mut vec = vec![24,12]; [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/main.rs:42:26 [INFO] [stderr] | [INFO] [stderr] 42 | Err(e) => panic!(e), [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 42 | Err(e) => panic!("{}", e), [INFO] [stderr] | ^^^^^ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 42 | Err(e) => std::panic::panic_any(e), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/check_redis-a66d675f90f04699) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::percent_50 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "cf8bf0bc87ebafa4caaf2467aa798fb4d95c1769794cbc01d15422f6d62e3da5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf8bf0bc87ebafa4caaf2467aa798fb4d95c1769794cbc01d15422f6d62e3da5", kill_on_drop: false }` [INFO] [stdout] cf8bf0bc87ebafa4caaf2467aa798fb4d95c1769794cbc01d15422f6d62e3da5