[INFO] cloning repository https://github.com/dpetersen/sidekiq-kubernetes-autoscaler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dpetersen/sidekiq-kubernetes-autoscaler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdpetersen%2Fsidekiq-kubernetes-autoscaler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdpetersen%2Fsidekiq-kubernetes-autoscaler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e52aeb569c9e89254c6ef4391c16c621f80ad0eb [INFO] testing dpetersen/sidekiq-kubernetes-autoscaler against try#1b74e096b9bfb06f84a3007193dcd2f059cbdf6a for pr-96025 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdpetersen%2Fsidekiq-kubernetes-autoscaler" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dpetersen/sidekiq-kubernetes-autoscaler on toolchain 1b74e096b9bfb06f84a3007193dcd2f059cbdf6a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dpetersen/sidekiq-kubernetes-autoscaler [INFO] finished tweaking git repo https://github.com/dpetersen/sidekiq-kubernetes-autoscaler [INFO] tweaked toml for git repo https://github.com/dpetersen/sidekiq-kubernetes-autoscaler written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/dpetersen/sidekiq-kubernetes-autoscaler already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 54f1f5a5cf1fc9dd1111ebe3c3fe1d46509de77f28fb31fb43b706b250573030 [INFO] running `Command { std: "docker" "start" "-a" "54f1f5a5cf1fc9dd1111ebe3c3fe1d46509de77f28fb31fb43b706b250573030", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "54f1f5a5cf1fc9dd1111ebe3c3fe1d46509de77f28fb31fb43b706b250573030", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54f1f5a5cf1fc9dd1111ebe3c3fe1d46509de77f28fb31fb43b706b250573030", kill_on_drop: false }` [INFO] [stdout] 54f1f5a5cf1fc9dd1111ebe3c3fe1d46509de77f28fb31fb43b706b250573030 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4580f618068abe341c6412891c4f2183bf80a9255a89b880bc69702a02815f25 [INFO] running `Command { std: "docker" "start" "-a" "4580f618068abe341c6412891c4f2183bf80a9255a89b880bc69702a02815f25", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling log v0.4.13 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling pin-project-lite v0.2.4 [INFO] [stderr] Compiling futures-core v0.3.12 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling futures-sink v0.3.12 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.120 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.12 [INFO] [stderr] Compiling serde v1.0.120 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling openssl v0.10.32 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling const_fn v0.4.5 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling encoding_rs v0.8.26 [INFO] [stderr] Compiling dtoa v0.4.7 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling k8s-openapi v0.10.0 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling ipnet v2.3.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling array_tool v1.0.3 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling anyhow v1.0.38 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling custom_derive v0.1.7 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling futures-task v0.3.12 [INFO] [stderr] Compiling thread_local v1.1.1 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling tokio v1.1.0 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling standback v0.2.14 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling time v0.2.24 [INFO] [stderr] Compiling futures-channel v0.3.12 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling tinyvec v1.1.0 [INFO] [stderr] Compiling conv v0.3.3 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling form_urlencoded v1.0.0 [INFO] [stderr] Compiling http v0.2.3 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling tracing v0.1.22 [INFO] [stderr] Compiling openssl-sys v0.9.60 [INFO] [stderr] Compiling unicode-normalization v0.1.16 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling http-body v0.4.0 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling parking_lot_core v0.8.2 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling mio v0.7.7 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling flate2 v1.0.19 [INFO] [stderr] Compiling ordered-float v2.0.1 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling dashmap v4.0.2 [INFO] [stderr] Compiling url v2.2.0 [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling pem v0.8.2 [INFO] [stderr] Compiling env_logger v0.8.2 [INFO] [stderr] Compiling tokio-macros v1.0.0 [INFO] [stderr] Compiling futures-macro v0.3.12 [INFO] [stderr] Compiling async-stream-impl v0.3.0 [INFO] [stderr] Compiling pin-project-internal v1.0.4 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Compiling async-trait v0.1.42 [INFO] [stderr] Compiling snafu-derive v0.6.10 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Compiling derivative v2.1.3 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling async-stream v0.3.0 [INFO] [stderr] Compiling futures-util v0.3.12 [INFO] [stderr] Compiling pin-project v1.0.4 [INFO] [stderr] Compiling thiserror v1.0.23 [INFO] [stderr] Compiling pin-project v0.4.27 [INFO] [stderr] Compiling tracing-futures v0.2.4 [INFO] [stderr] Compiling structopt v0.3.21 [INFO] [stderr] Compiling snafu v0.6.10 [INFO] [stderr] Compiling futures-executor v0.3.12 [INFO] [stderr] Compiling futures v0.3.12 [INFO] [stderr] Compiling tokio-stream v0.1.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling async-compression v0.3.7 [INFO] [stderr] Compiling combine v4.5.2 [INFO] [stderr] Compiling bb8 v0.7.0 [INFO] [stderr] Compiling tokio-util v0.6.2 [INFO] [stderr] Compiling h2 v0.3.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling serde_yaml v0.8.15 [INFO] [stderr] Compiling jsonpath_lib v0.2.6 [INFO] [stderr] Compiling kube-derive v0.47.0 [INFO] [stderr] Compiling hyper v0.14.2 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.0 [INFO] [stderr] Compiling redis v0.19.0 [INFO] [stderr] Compiling bb8-redis v0.8.0 [INFO] [stderr] Compiling kube v0.47.0 [INFO] [stderr] Compiling kube-runtime v0.47.0 [INFO] [stderr] Compiling sidekiq-kubernetes-autoscaler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `cluster_state` [INFO] [stdout] --> src/scaler.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | let cluster_state = self.cluster_fetcher.get_current_state()?; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cluster_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sidekiq_state` [INFO] [stdout] --> src/scaler.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | let sidekiq_state = self.sidekiq_fetcher.get_current_state().await?; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sidekiq_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 06s [INFO] running `Command { std: "docker" "inspect" "4580f618068abe341c6412891c4f2183bf80a9255a89b880bc69702a02815f25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4580f618068abe341c6412891c4f2183bf80a9255a89b880bc69702a02815f25", kill_on_drop: false }` [INFO] [stdout] 4580f618068abe341c6412891c4f2183bf80a9255a89b880bc69702a02815f25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eec64996f618dc95c99af40abb5aece9be90680c53c828edf67abd23944bde1c [INFO] running `Command { std: "docker" "start" "-a" "eec64996f618dc95c99af40abb5aece9be90680c53c828edf67abd23944bde1c", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling nix v0.19.1 [INFO] [stderr] Compiling tokio-test v0.4.0 [INFO] [stderr] Compiling sidekiq-kubernetes-autoscaler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `cluster_state` [INFO] [stdout] --> src/scaler.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | let cluster_state = self.cluster_fetcher.get_current_state()?; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cluster_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sidekiq_state` [INFO] [stdout] --> src/scaler.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | let sidekiq_state = self.sidekiq_fetcher.get_current_state().await?; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sidekiq_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 9.80s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/sidekiq_kubernetes_autoscaler-7b8250b3c7cb36a7) [INFO] running `Command { std: "docker" "inspect" "eec64996f618dc95c99af40abb5aece9be90680c53c828edf67abd23944bde1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eec64996f618dc95c99af40abb5aece9be90680c53c828edf67abd23944bde1c", kill_on_drop: false }` [INFO] [stdout] eec64996f618dc95c99af40abb5aece9be90680c53c828edf67abd23944bde1c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 610526636edbe0f1b9e2f49a25f8dfeac0c9291e0e1c3dc082b3e4a442534bc5 [INFO] running `Command { std: "docker" "start" "-a" "610526636edbe0f1b9e2f49a25f8dfeac0c9291e0e1c3dc082b3e4a442534bc5", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `cluster_state` [INFO] [stderr] --> src/scaler.rs:44:17 [INFO] [stderr] | [INFO] [stderr] 44 | let cluster_state = self.cluster_fetcher.get_current_state()?; [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cluster_state` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sidekiq_state` [INFO] [stderr] --> src/scaler.rs:45:17 [INFO] [stderr] | [INFO] [stderr] 45 | let sidekiq_state = self.sidekiq_fetcher.get_current_state().await?; [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sidekiq_state` [INFO] [stderr] [INFO] [stderr] warning: `sidekiq-kubernetes-autoscaler` (bin "sidekiq-kubernetes-autoscaler" test) generated 2 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/sidekiq_kubernetes_autoscaler-7b8250b3c7cb36a7) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test config::tests::replicas_for_percentage ... ok [INFO] [stdout] test config::tests::replicas_for_percentage_unknown_queue ... ok [INFO] [stdout] test config::tests::replicas ... ok [INFO] [stdout] test sidekiq::tests::queue_lengths ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- sidekiq::tests::queue_lengths stdout ---- [INFO] [stdout] thread 'sidekiq::tests::queue_lengths' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/sidekiq.rs:58:14 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x56383f0738fd - std::backtrace_rs::backtrace::libunwind::trace::hf368f6ec047d835e [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x56383f0738fd - std::backtrace_rs::backtrace::trace_unsynchronized::h5deaa62eab82df22 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x56383f0738fd - std::sys_common::backtrace::_print_fmt::h5a1c3a24a936a045 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x56383f0738fd - ::fmt::h0219f75f359b565d [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x56383f097aec - core::fmt::write::hf0ed2ae6b5ba2d7d [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/core/src/fmt/mod.rs:1194:17 [INFO] [stdout] 5: 0x56383f06d9e1 - std::io::Write::write_fmt::h38d43b38044a5699 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/io/mod.rs:1655:15 [INFO] [stdout] 6: 0x56383f0753d5 - std::sys_common::backtrace::_print::h733b600962ba33ce [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x56383f0753d5 - std::sys_common::backtrace::print::h5dc0fa0616f7d4bf [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x56383f0753d5 - std::panicking::default_hook::{{closure}}::h3151cab60fd16f06 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x56383f075080 - std::panicking::default_hook::ha44b338b782f641e [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x56383f075ab8 - std::panicking::rust_panic_with_hook::hddbb61d11ae83bc7 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x56383f075967 - std::panicking::begin_panic_handler::{{closure}}::ha90ba42a51d96fb7 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x56383f073db4 - std::sys_common::backtrace::__rust_end_short_backtrace::hb2f712e9f2c19288 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x56383f075699 - rust_begin_unwind [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x56383f0964e3 - core::panicking::panic_fmt::ha7e9b4e73b08c9d5 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/core/src/panicking.rs:142:14 [INFO] [stdout] 15: 0x56383f096793 - core::result::unwrap_failed::hddfa661a0339e8e8 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/core/src/result.rs:1785:5 [INFO] [stdout] 16: 0x56383ee10878 - core::result::Result::unwrap::hffb4825d7d4f8752 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/core/src/result.rs:1078:23 [INFO] [stdout] 17: 0x56383edfdcc6 - sidekiq_kubernetes_autoscaler::sidekiq::tests::with_redis_running::h58b4dcf4bb127a5a [INFO] [stdout] at /opt/rustwide/workdir/src/sidekiq.rs:47:26 [INFO] [stdout] 18: 0x56383edfe43a - sidekiq_kubernetes_autoscaler::sidekiq::tests::queue_lengths::h5a48e45857023991 [INFO] [stdout] at /opt/rustwide/workdir/src/sidekiq.rs:90:9 [INFO] [stdout] 19: 0x56383edfe34e - sidekiq_kubernetes_autoscaler::sidekiq::tests::queue_lengths::{{closure}}::h9faf3e5725f05413 [INFO] [stdout] at /opt/rustwide/workdir/src/sidekiq.rs:86:5 [INFO] [stdout] 20: 0x56383edecd0e - core::ops::function::FnOnce::call_once::hb2375fb82e35adb7 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/core/src/ops/function.rs:248:5 [INFO] [stdout] 21: 0x56383ee59eb3 - core::ops::function::FnOnce::call_once::h0dfe20f12b77bab0 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/core/src/ops/function.rs:248:5 [INFO] [stdout] 22: 0x56383ee59eb3 - test::__rust_begin_short_backtrace::h621e75342c56b813 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/test/src/lib.rs:573:5 [INFO] [stdout] 23: 0x56383ee58c5a - as core::ops::function::FnOnce>::call_once::ha960722220d3e4e3 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/alloc/src/boxed.rs:1866:9 [INFO] [stdout] 24: 0x56383ee58c5a - as core::ops::function::FnOnce<()>>::call_once::h8d4f52e2b0282cfb [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 25: 0x56383ee58c5a - std::panicking::try::do_call::h482ae3b09291596d [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/panicking.rs:492:40 [INFO] [stdout] 26: 0x56383ee58c5a - std::panicking::try::h2ddddb26c086954d [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/panicking.rs:456:19 [INFO] [stdout] 27: 0x56383ee58c5a - std::panic::catch_unwind::h743b0e27e7a9c139 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/panic.rs:137:14 [INFO] [stdout] 28: 0x56383ee58c5a - test::run_test_in_process::ha7740d79e504cc37 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/test/src/lib.rs:596:18 [INFO] [stdout] 29: 0x56383ee58c5a - test::run_test::run_test_inner::{{closure}}::h8418baf60f7a06c4 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/test/src/lib.rs:490:39 [INFO] [stdout] 30: 0x56383ee2340d - test::run_test::run_test_inner::{{closure}}::h0beb35daaa80ec66 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/test/src/lib.rs:517:37 [INFO] [stdout] 31: 0x56383ee2340d - std::sys_common::backtrace::__rust_begin_short_backtrace::hb005f1ebb9b3ac0b [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 32: 0x56383ee28f08 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h496c50f972d6dc0f [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 33: 0x56383ee28f08 - as core::ops::function::FnOnce<()>>::call_once::ha5b8911111f511ea [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 34: 0x56383ee28f08 - std::panicking::try::do_call::h084ed94d88677037 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/panicking.rs:492:40 [INFO] [stdout] 35: 0x56383ee28f08 - std::panicking::try::h013a823fb6061e50 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/panicking.rs:456:19 [INFO] [stdout] 36: 0x56383ee28f08 - std::panic::catch_unwind::h041e5fbe96cdc85b [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/panic.rs:137:14 [INFO] [stdout] 37: 0x56383ee28f08 - std::thread::Builder::spawn_unchecked_::{{closure}}::h24aad6f3231b4f43 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 38: 0x56383ee28f08 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h88f4642fdc208aab [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/core/src/ops/function.rs:248:5 [INFO] [stdout] 39: 0x56383f07a623 - as core::ops::function::FnOnce>::call_once::h21f4f903d484bbf8 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/alloc/src/boxed.rs:1866:9 [INFO] [stdout] 40: 0x56383f07a623 - as core::ops::function::FnOnce>::call_once::h88143291d50223e5 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/alloc/src/boxed.rs:1866:9 [INFO] [stdout] 41: 0x56383f07a623 - std::sys::unix::thread::Thread::new::thread_start::h21cad75f6abb068a [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 42: 0x7f55792af609 - start_thread [INFO] [stdout] 43: 0x7f557907f163 - clone [INFO] [stdout] 44: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] sidekiq::tests::queue_lengths [INFO] [stdout] [INFO] [stdout] test result: FAILED. 3 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--bin sidekiq-kubernetes-autoscaler' [INFO] running `Command { std: "docker" "inspect" "610526636edbe0f1b9e2f49a25f8dfeac0c9291e0e1c3dc082b3e4a442534bc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "610526636edbe0f1b9e2f49a25f8dfeac0c9291e0e1c3dc082b3e4a442534bc5", kill_on_drop: false }` [INFO] [stdout] 610526636edbe0f1b9e2f49a25f8dfeac0c9291e0e1c3dc082b3e4a442534bc5