[INFO] cloning repository https://github.com/vjoke/sidequeue [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vjoke/sidequeue" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvjoke%2Fsidequeue", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvjoke%2Fsidequeue'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 743475d732f85f10143dc9e8ba6028cdd11d505e [INFO] testing vjoke/sidequeue against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvjoke%2Fsidequeue" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vjoke/sidequeue on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/vjoke/sidequeue [INFO] finished tweaking git repo https://github.com/vjoke/sidequeue [INFO] tweaked toml for git repo https://github.com/vjoke/sidequeue written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/vjoke/sidequeue already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded urlencoding v1.1.1 [INFO] [stderr] Downloaded multipart v0.16.1 [INFO] [stderr] Downloaded priority-queue v1.0.0 [INFO] [stderr] Downloaded warp v0.2.4 [INFO] [stderr] Downloaded clap v2.33.2 [INFO] [stderr] Downloaded async-trait v0.1.40 [INFO] [stderr] Downloaded assert_approx_eq v1.1.0 [INFO] [stderr] Downloaded tracing-core v0.1.14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 69e6779e712c169b380a8a441d6495c944da13445521a34c8ce62f8762f5b6f5 [INFO] running `Command { std: "docker" "start" "-a" "69e6779e712c169b380a8a441d6495c944da13445521a34c8ce62f8762f5b6f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "69e6779e712c169b380a8a441d6495c944da13445521a34c8ce62f8762f5b6f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69e6779e712c169b380a8a441d6495c944da13445521a34c8ce62f8762f5b6f5", kill_on_drop: false }` [INFO] [stdout] 69e6779e712c169b380a8a441d6495c944da13445521a34c8ce62f8762f5b6f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b490c78c7a5efa243221dd0cc633d16411b5b3e9cfb70944b421761fe2997a7e [INFO] running `Command { std: "docker" "start" "-a" "b490c78c7a5efa243221dd0cc633d16411b5b3e9cfb70944b421761fe2997a7e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling arc-swap v0.4.7 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling tinyvec v0.3.3 [INFO] [stderr] Compiling prometheus v0.9.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling anyhow v1.0.32 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling utf-8 v0.7.5 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling sq-metrics v0.1.0 (/opt/rustwide/workdir/common/metrics) [INFO] [stderr] Compiling dyn-clone v1.0.2 [INFO] [stderr] Compiling dtoa v0.4.6 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling linked-hash-map v0.5.3 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling hashbrown v0.3.1 [INFO] [stderr] Compiling urlencoding v1.1.1 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling tracing-core v0.1.14 [INFO] [stderr] Compiling input_buffer v0.3.1 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling hashbrown v0.8.2 [INFO] [stderr] Compiling indexmap v1.5.1 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling priority-queue v1.0.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling tracing v0.1.19 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.2.1 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling clap v2.33.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling headers v0.3.2 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling dyn-clonable-impl v0.9.0 [INFO] [stderr] Compiling async-trait v0.1.40 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling tungstenite v0.10.1 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling dyn-clonable v0.9.0 [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling thiserror v1.0.20 [INFO] [stderr] Compiling structopt-derive v0.4.9 [INFO] [stderr] Compiling chrono v0.4.13 [INFO] [stderr] Compiling pin-project v0.4.23 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling tracing-futures v0.2.4 [INFO] [stderr] Compiling structopt v0.3.16 [INFO] [stderr] Compiling multipart v0.16.1 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling h2 v0.2.6 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling tokio-tungstenite v0.10.1 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling sq-logger v0.1.0 (/opt/rustwide/workdir/common/logger) [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> common/logger/src/struct_log.rs:278:35 [INFO] [stdout] | [INFO] [stdout] 278 | match STRUCT_LOGGER_STATE.compare_and_swap(UNINITIALIZED, INITIALIZING, Ordering::SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling sq-shutdown v0.1.0 (/opt/rustwide/workdir/common/shutdown) [INFO] [stderr] Compiling sq-engine v0.1.0 (/opt/rustwide/workdir/engine) [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_trait::async_trait` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hashbrown::hash_map::DefaultHashBuilder` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use hashbrown::hash_map::DefaultHashBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `priority_queue::PriorityQueue` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use priority_queue::PriorityQueue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `RwLock` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | use std::sync::{Arc, RwLock}; [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_trait::async_trait` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Interval` [INFO] [stdout] --> engine/src/backends/mod.rs:9:39 [INFO] [stdout] | [INFO] [stdout] 9 | use tokio::time::{Duration, interval, Interval}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::runtime::Runtime` [INFO] [stdout] --> engine/src/backends/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use tokio::runtime::Runtime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> engine/src/backends/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_trait::async_trait` [INFO] [stdout] --> engine/src/engine.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | namespace: String, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queue` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | queue: String, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_queue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | body: Vec, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ttl` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | ttl: u32, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ttl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delay` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | delay: u32, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_delay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tries` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | tries: u16, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_tries` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | namespace: String, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queues` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | queues: Vec, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_queues` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ttl` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | ttl: u32, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ttl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timeout` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | timeout: u32, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timeout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | count: u32, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:95:22 [INFO] [stdout] | [INFO] [stdout] 95 | fn delete(&self, namespace: String, queues: String, job_id: String) -> Result<(), io::Error> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queues` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:95:41 [INFO] [stdout] | [INFO] [stdout] 95 | fn delete(&self, namespace: String, queues: String, job_id: String) -> Result<(), io::Error> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_queues` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `job_id` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:95:57 [INFO] [stdout] | [INFO] [stdout] 95 | fn delete(&self, namespace: String, queues: String, job_id: String) -> Result<(), io::Error> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_job_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | namespace: String, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queues` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | queues: String, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_queues` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `job_id` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | job_id: Option, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_job_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:110:20 [INFO] [stdout] | [INFO] [stdout] 110 | fn size(&self, namespace: String, queues: String) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queues` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:110:39 [INFO] [stdout] | [INFO] [stdout] 110 | fn size(&self, namespace: String, queues: String) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_queues` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:115:23 [INFO] [stdout] | [INFO] [stdout] 115 | fn destroy(&self, namespace: String, queues: String) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queues` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:115:42 [INFO] [stdout] | [INFO] [stdout] 115 | fn destroy(&self, namespace: String, queues: String) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_queues` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | namespace: String, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queues` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | queues: String, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_queues` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | namespace: String, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queues` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | queues: String, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_queues` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `limit` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | limit: u64, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_limit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | namespace: String, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queues` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | queues: String, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_queues` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `limit` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | limit: u64, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_limit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ttl` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | ttl: u64, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ttl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:150:35 [INFO] [stdout] | [INFO] [stdout] 150 | fn size_of_dead_letter(&self, namespace: String, queues: String) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queues` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:150:54 [INFO] [stdout] | [INFO] [stdout] 150 | fn size_of_dead_letter(&self, namespace: String, queues: String) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_queues` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `url` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(url: String) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | namespace: String, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queue` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | queue: String, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_queue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | body: Vec, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ttl` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | ttl: u32, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ttl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delay` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | delay: u32, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_delay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tries` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | tries: u16, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_tries` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | namespace: String, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queues` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | queues: Vec, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_queues` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ttl` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | ttl: u32, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ttl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timeout` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | timeout: u32, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timeout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | count: u32, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:44:22 [INFO] [stdout] | [INFO] [stdout] 44 | fn delete(&self, namespace: String, queues: String, job_id: String) -> Result<(), io::Error> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queues` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:44:41 [INFO] [stdout] | [INFO] [stdout] 44 | fn delete(&self, namespace: String, queues: String, job_id: String) -> Result<(), io::Error> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_queues` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `job_id` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:44:57 [INFO] [stdout] | [INFO] [stdout] 44 | fn delete(&self, namespace: String, queues: String, job_id: String) -> Result<(), io::Error> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_job_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | namespace: String, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queues` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | queues: String, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_queues` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `job_id` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | job_id: Option, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_job_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:59:20 [INFO] [stdout] | [INFO] [stdout] 59 | fn size(&self, namespace: String, queues: String) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queues` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:59:39 [INFO] [stdout] | [INFO] [stdout] 59 | fn size(&self, namespace: String, queues: String) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_queues` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:64:23 [INFO] [stdout] | [INFO] [stdout] 64 | fn destroy(&self, namespace: String, queues: String) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queues` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:64:42 [INFO] [stdout] | [INFO] [stdout] 64 | fn destroy(&self, namespace: String, queues: String) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_queues` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | namespace: String, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queues` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | queues: String, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_queues` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | namespace: String, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queues` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | queues: String, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_queues` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `limit` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | limit: u64, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_limit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | namespace: String, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queues` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | queues: String, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_queues` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `limit` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | limit: u64, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_limit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ttl` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | ttl: u64, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ttl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:99:35 [INFO] [stdout] | [INFO] [stdout] 99 | fn size_of_dead_letter(&self, namespace: String, queues: String) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queues` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:99:54 [INFO] [stdout] | [INFO] [stdout] 99 | fn size_of_dead_letter(&self, namespace: String, queues: String) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_queues` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `check_namespace` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | fn check_namespace(&self, namespace: NamespaceID) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `DueTimer` [INFO] [stdout] --> engine/src/backends/memory/timer.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct DueTimer {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 77 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling hyper v0.13.7 [INFO] [stderr] Compiling warp v0.2.4 [INFO] [stdout] warning: unused import: `ToSocketAddrs` [INFO] [stdout] --> common/metrics/src/metric_server.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | net::{SocketAddr, ToSocketAddrs}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `module` [INFO] [stdout] --> common/metrics/src/op_counters.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | module: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `OpMetrics` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> common/metrics/src/op_counters.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling api-service v0.1.0 (/opt/rustwide/workdir/api) [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> api/src/handlers/errors.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use serde_derive::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::Infallible` [INFO] [stdout] --> api/src/handlers/errors.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::convert::Infallible; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> api/src/handlers/errors.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warp::http::StatusCode` [INFO] [stdout] --> api/src/handlers/errors.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use warp::http::StatusCode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Filter`, `Rejection`, `Reply` [INFO] [stdout] --> api/src/handlers/errors.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use warp::{reject, Filter, Rejection, Reply}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> api/src/handlers/queue.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use serde_derive::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `handle_rejection`, `unwrap_or_500` [INFO] [stdout] --> api/src/handlers/queue.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use super::utils::{handle_rejection, unwrap_or_500, with_backend}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `filters::BoxedFilter` [INFO] [stdout] --> api/src/handlers/queue.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use warp::{self, filters::BoxedFilter, reply::Reply, Filter, http::StatusCode}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `future::Future` [INFO] [stdout] --> api/src/handlers/utils.rs:5:32 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{convert::Infallible, future::Future}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reply::Response` [INFO] [stdout] --> api/src/handlers/utils.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use warp::{reply::Response, Rejection, Reply, Filter, http::StatusCode}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IntCounterVec`, `register_int_counter_vec` [INFO] [stdout] --> api/src/handlers/utils.rs:8:29 [INFO] [stdout] | [INFO] [stdout] 8 | register_histogram_vec, register_int_counter_vec, HistogramVec, IntCounterVec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> api/src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `publish_delete` [INFO] [stdout] --> api/src/handlers/queue.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn publish_delete(backend: sq_engine::Backend) -> impl Filter + Clone { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `unwrap_or_500` [INFO] [stdout] --> api/src/handlers/utils.rs:36:15 [INFO] [stdout] | [INFO] [stdout] 36 | pub(super) fn unwrap_or_500(result: Result>) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling sidequeue v0.1.0 (/opt/rustwide/workdir/cmd/sidequeue) [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> cmd/sidequeue/src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `api` [INFO] [stdout] --> cmd/sidequeue/src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | api: Runtime, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 51s [INFO] running `Command { std: "docker" "inspect" "b490c78c7a5efa243221dd0cc633d16411b5b3e9cfb70944b421761fe2997a7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b490c78c7a5efa243221dd0cc633d16411b5b3e9cfb70944b421761fe2997a7e", kill_on_drop: false }` [INFO] [stdout] b490c78c7a5efa243221dd0cc633d16411b5b3e9cfb70944b421761fe2997a7e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8c2e0245b31cf182ed51590b5a09bf7f2a4be28526f6d7ba08b4e514f7e5190a [INFO] running `Command { std: "docker" "start" "-a" "8c2e0245b31cf182ed51590b5a09bf7f2a4be28526f6d7ba08b4e514f7e5190a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling assert_approx_eq v1.1.0 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> common/logger/src/struct_log.rs:278:35 [INFO] [stdout] | [INFO] [stdout] 278 | match STRUCT_LOGGER_STATE.compare_and_swap(UNINITIALIZED, INITIALIZING, Ordering::SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling sq-logger v0.1.0 (/opt/rustwide/workdir/common/logger) [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling sq-shutdown v0.1.0 (/opt/rustwide/workdir/common/shutdown) [INFO] [stdout] warning: unused import: `ToSocketAddrs` [INFO] [stdout] --> common/metrics/src/metric_server.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | net::{SocketAddr, ToSocketAddrs}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `module` [INFO] [stdout] --> common/metrics/src/op_counters.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | module: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `OpMetrics` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> common/metrics/src/op_counters.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_trait::async_trait` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hashbrown::hash_map::DefaultHashBuilder` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use hashbrown::hash_map::DefaultHashBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `priority_queue::PriorityQueue` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use priority_queue::PriorityQueue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `RwLock` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | use std::sync::{Arc, RwLock}; [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_trait::async_trait` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Interval` [INFO] [stdout] --> engine/src/backends/mod.rs:9:39 [INFO] [stdout] | [INFO] [stdout] 9 | use tokio::time::{Duration, interval, Interval}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::runtime::Runtime` [INFO] [stdout] --> engine/src/backends/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use tokio::runtime::Runtime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> engine/src/backends/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_trait::async_trait` [INFO] [stdout] --> engine/src/engine.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | namespace: String, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queue` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | queue: String, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_queue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | body: Vec, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ttl` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | ttl: u32, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ttl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delay` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | delay: u32, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_delay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tries` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | tries: u16, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_tries` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | namespace: String, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queues` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | queues: Vec, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_queues` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ttl` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | ttl: u32, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ttl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timeout` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | timeout: u32, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timeout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | count: u32, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:95:22 [INFO] [stdout] | [INFO] [stdout] 95 | fn delete(&self, namespace: String, queues: String, job_id: String) -> Result<(), io::Error> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queues` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:95:41 [INFO] [stdout] | [INFO] [stdout] 95 | fn delete(&self, namespace: String, queues: String, job_id: String) -> Result<(), io::Error> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_queues` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `job_id` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:95:57 [INFO] [stdout] | [INFO] [stdout] 95 | fn delete(&self, namespace: String, queues: String, job_id: String) -> Result<(), io::Error> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_job_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | namespace: String, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queues` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | queues: String, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_queues` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `job_id` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | job_id: Option, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_job_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:110:20 [INFO] [stdout] | [INFO] [stdout] 110 | fn size(&self, namespace: String, queues: String) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queues` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:110:39 [INFO] [stdout] | [INFO] [stdout] 110 | fn size(&self, namespace: String, queues: String) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_queues` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:115:23 [INFO] [stdout] | [INFO] [stdout] 115 | fn destroy(&self, namespace: String, queues: String) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queues` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:115:42 [INFO] [stdout] | [INFO] [stdout] 115 | fn destroy(&self, namespace: String, queues: String) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_queues` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | namespace: String, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queues` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | queues: String, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_queues` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | namespace: String, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queues` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | queues: String, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_queues` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `limit` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | limit: u64, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_limit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | namespace: String, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queues` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | queues: String, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_queues` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `limit` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | limit: u64, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_limit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ttl` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | ttl: u64, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ttl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:150:35 [INFO] [stdout] | [INFO] [stdout] 150 | fn size_of_dead_letter(&self, namespace: String, queues: String) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queues` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:150:54 [INFO] [stdout] | [INFO] [stdout] 150 | fn size_of_dead_letter(&self, namespace: String, queues: String) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_queues` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `url` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(url: String) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | namespace: String, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queue` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | queue: String, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_queue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | body: Vec, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ttl` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | ttl: u32, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ttl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delay` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | delay: u32, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_delay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tries` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | tries: u16, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_tries` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | namespace: String, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queues` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | queues: Vec, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_queues` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ttl` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | ttl: u32, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ttl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timeout` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | timeout: u32, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timeout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | count: u32, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:44:22 [INFO] [stdout] | [INFO] [stdout] 44 | fn delete(&self, namespace: String, queues: String, job_id: String) -> Result<(), io::Error> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queues` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:44:41 [INFO] [stdout] | [INFO] [stdout] 44 | fn delete(&self, namespace: String, queues: String, job_id: String) -> Result<(), io::Error> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_queues` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `job_id` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:44:57 [INFO] [stdout] | [INFO] [stdout] 44 | fn delete(&self, namespace: String, queues: String, job_id: String) -> Result<(), io::Error> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_job_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | namespace: String, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queues` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | queues: String, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_queues` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `job_id` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | job_id: Option, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_job_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:59:20 [INFO] [stdout] | [INFO] [stdout] 59 | fn size(&self, namespace: String, queues: String) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling sq-engine v0.1.0 (/opt/rustwide/workdir/engine) [INFO] [stderr] Compiling api-service v0.1.0 (/opt/rustwide/workdir/api) [INFO] [stderr] Compiling sidequeue v0.1.0 (/opt/rustwide/workdir/cmd/sidequeue) [INFO] [stdout] warning: unused variable: `queues` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:59:39 [INFO] [stdout] | [INFO] [stdout] 59 | fn size(&self, namespace: String, queues: String) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_queues` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:64:23 [INFO] [stdout] | [INFO] [stdout] 64 | fn destroy(&self, namespace: String, queues: String) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queues` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:64:42 [INFO] [stdout] | [INFO] [stdout] 64 | fn destroy(&self, namespace: String, queues: String) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_queues` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | namespace: String, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queues` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | queues: String, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_queues` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | namespace: String, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queues` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | queues: String, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_queues` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `limit` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | limit: u64, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_limit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | namespace: String, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queues` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | queues: String, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_queues` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `limit` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | limit: u64, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_limit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ttl` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | ttl: u64, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ttl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:99:35 [INFO] [stdout] | [INFO] [stdout] 99 | fn size_of_dead_letter(&self, namespace: String, queues: String) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queues` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:99:54 [INFO] [stdout] | [INFO] [stdout] 99 | fn size_of_dead_letter(&self, namespace: String, queues: String) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_queues` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `check_namespace` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | fn check_namespace(&self, namespace: NamespaceID) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `DueTimer` [INFO] [stdout] --> engine/src/backends/memory/timer.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct DueTimer {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 77 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> api/src/handlers/errors.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use serde_derive::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::Infallible` [INFO] [stdout] --> api/src/handlers/errors.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::convert::Infallible; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> api/src/handlers/errors.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warp::http::StatusCode` [INFO] [stdout] --> api/src/handlers/errors.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use warp::http::StatusCode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Filter`, `Rejection`, `Reply` [INFO] [stdout] --> api/src/handlers/errors.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use warp::{reject, Filter, Rejection, Reply}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> api/src/handlers/queue.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use serde_derive::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `handle_rejection`, `unwrap_or_500` [INFO] [stdout] --> api/src/handlers/queue.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use super::utils::{handle_rejection, unwrap_or_500, with_backend}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `filters::BoxedFilter` [INFO] [stdout] --> api/src/handlers/queue.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use warp::{self, filters::BoxedFilter, reply::Reply, Filter, http::StatusCode}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `future::Future` [INFO] [stdout] --> api/src/handlers/utils.rs:5:32 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{convert::Infallible, future::Future}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reply::Response` [INFO] [stdout] --> api/src/handlers/utils.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use warp::{reply::Response, Rejection, Reply, Filter, http::StatusCode}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IntCounterVec`, `register_int_counter_vec` [INFO] [stdout] --> api/src/handlers/utils.rs:8:29 [INFO] [stdout] | [INFO] [stdout] 8 | register_histogram_vec, register_int_counter_vec, HistogramVec, IntCounterVec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> api/src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `publish_delete` [INFO] [stdout] --> api/src/handlers/queue.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn publish_delete(backend: sq_engine::Backend) -> impl Filter + Clone { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `unwrap_or_500` [INFO] [stdout] --> api/src/handlers/utils.rs:36:15 [INFO] [stdout] | [INFO] [stdout] 36 | pub(super) fn unwrap_or_500(result: Result>) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stdout] warning: unused import: `async_trait::async_trait` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hashbrown::hash_map::DefaultHashBuilder` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use hashbrown::hash_map::DefaultHashBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `priority_queue::PriorityQueue` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use priority_queue::PriorityQueue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `RwLock` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | use std::sync::{Arc, RwLock}; [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_trait::async_trait` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Interval` [INFO] [stdout] --> engine/src/backends/mod.rs:9:39 [INFO] [stdout] | [INFO] [stdout] 9 | use tokio::time::{Duration, interval, Interval}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::runtime::Runtime` [INFO] [stdout] --> engine/src/backends/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use tokio::runtime::Runtime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> engine/src/backends/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_trait::async_trait` [INFO] [stdout] --> engine/src/engine.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> common/logger/src/struct_log.rs:278:35 [INFO] [stdout] | [INFO] [stdout] 278 | match STRUCT_LOGGER_STATE.compare_and_swap(UNINITIALIZED, INITIALIZING, Ordering::SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> api/src/handlers/errors.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use serde_derive::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::Infallible` [INFO] [stdout] --> api/src/handlers/errors.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::convert::Infallible; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> api/src/handlers/errors.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warp::http::StatusCode` [INFO] [stdout] --> api/src/handlers/errors.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use warp::http::StatusCode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Filter`, `Rejection`, `Reply` [INFO] [stdout] --> api/src/handlers/errors.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use warp::{reject, Filter, Rejection, Reply}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> api/src/handlers/queue.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use serde_derive::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `handle_rejection`, `unwrap_or_500` [INFO] [stdout] --> api/src/handlers/queue.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use super::utils::{handle_rejection, unwrap_or_500, with_backend}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `filters::BoxedFilter` [INFO] [stdout] --> api/src/handlers/queue.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use warp::{self, filters::BoxedFilter, reply::Reply, Filter, http::StatusCode}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `future::Future` [INFO] [stdout] --> api/src/handlers/utils.rs:5:32 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{convert::Infallible, future::Future}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reply::Response` [INFO] [stdout] --> api/src/handlers/utils.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use warp::{reply::Response, Rejection, Reply, Filter, http::StatusCode}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IntCounterVec`, `register_int_counter_vec` [INFO] [stdout] --> api/src/handlers/utils.rs:8:29 [INFO] [stdout] | [INFO] [stdout] 8 | register_histogram_vec, register_int_counter_vec, HistogramVec, IntCounterVec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> api/src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | namespace: String, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queue` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | queue: String, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_queue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | body: Vec, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ttl` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | ttl: u32, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ttl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delay` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | delay: u32, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_delay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tries` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | tries: u16, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_tries` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | namespace: String, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queues` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | queues: Vec, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_queues` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ttl` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | ttl: u32, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ttl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timeout` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | timeout: u32, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timeout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | count: u32, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:95:22 [INFO] [stdout] | [INFO] [stdout] 95 | fn delete(&self, namespace: String, queues: String, job_id: String) -> Result<(), io::Error> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queues` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:95:41 [INFO] [stdout] | [INFO] [stdout] 95 | fn delete(&self, namespace: String, queues: String, job_id: String) -> Result<(), io::Error> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_queues` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `job_id` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:95:57 [INFO] [stdout] | [INFO] [stdout] 95 | fn delete(&self, namespace: String, queues: String, job_id: String) -> Result<(), io::Error> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_job_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | namespace: String, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queues` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | queues: String, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_queues` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `job_id` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | job_id: Option, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_job_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:110:20 [INFO] [stdout] | [INFO] [stdout] 110 | fn size(&self, namespace: String, queues: String) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queues` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:110:39 [INFO] [stdout] | [INFO] [stdout] 110 | fn size(&self, namespace: String, queues: String) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_queues` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:115:23 [INFO] [stdout] | [INFO] [stdout] 115 | fn destroy(&self, namespace: String, queues: String) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queues` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:115:42 [INFO] [stdout] | [INFO] [stdout] 115 | fn destroy(&self, namespace: String, queues: String) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_queues` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | namespace: String, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queues` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | queues: String, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_queues` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | namespace: String, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queues` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | queues: String, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_queues` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `limit` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | limit: u64, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_limit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | namespace: String, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queues` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | queues: String, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_queues` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `limit` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | limit: u64, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_limit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ttl` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | ttl: u64, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ttl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:150:35 [INFO] [stdout] | [INFO] [stdout] 150 | fn size_of_dead_letter(&self, namespace: String, queues: String) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queues` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:150:54 [INFO] [stdout] | [INFO] [stdout] 150 | fn size_of_dead_letter(&self, namespace: String, queues: String) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_queues` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `url` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(url: String) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | namespace: String, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queue` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | queue: String, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_queue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | body: Vec, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ttl` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | ttl: u32, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ttl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delay` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | delay: u32, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_delay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tries` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | tries: u16, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_tries` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | namespace: String, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queues` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | queues: Vec, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_queues` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ttl` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | ttl: u32, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ttl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timeout` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | timeout: u32, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timeout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | count: u32, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:44:22 [INFO] [stdout] | [INFO] [stdout] 44 | fn delete(&self, namespace: String, queues: String, job_id: String) -> Result<(), io::Error> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queues` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:44:41 [INFO] [stdout] | [INFO] [stdout] 44 | fn delete(&self, namespace: String, queues: String, job_id: String) -> Result<(), io::Error> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_queues` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `job_id` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:44:57 [INFO] [stdout] | [INFO] [stdout] 44 | fn delete(&self, namespace: String, queues: String, job_id: String) -> Result<(), io::Error> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_job_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | namespace: String, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queues` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | queues: String, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_queues` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `job_id` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | job_id: Option, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_job_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:59:20 [INFO] [stdout] | [INFO] [stdout] 59 | fn size(&self, namespace: String, queues: String) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queues` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:59:39 [INFO] [stdout] | [INFO] [stdout] 59 | fn size(&self, namespace: String, queues: String) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_queues` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:64:23 [INFO] [stdout] | [INFO] [stdout] 64 | fn destroy(&self, namespace: String, queues: String) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queues` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:64:42 [INFO] [stdout] | [INFO] [stdout] 64 | fn destroy(&self, namespace: String, queues: String) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_queues` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | namespace: String, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queues` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | queues: String, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_queues` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | namespace: String, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queues` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | queues: String, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_queues` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `limit` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | limit: u64, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_limit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | namespace: String, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queues` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | queues: String, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_queues` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `limit` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | limit: u64, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_limit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ttl` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | ttl: u64, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ttl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:99:35 [INFO] [stdout] | [INFO] [stdout] 99 | fn size_of_dead_letter(&self, namespace: String, queues: String) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queues` [INFO] [stdout] --> engine/src/backends/redis/engine.rs:99:54 [INFO] [stdout] | [INFO] [stdout] 99 | fn size_of_dead_letter(&self, namespace: String, queues: String) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_queues` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `check_namespace` [INFO] [stdout] --> engine/src/backends/memory/engine.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | fn check_namespace(&self, namespace: NamespaceID) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `DueTimer` [INFO] [stdout] --> engine/src/backends/memory/timer.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct DueTimer {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `publish_delete` [INFO] [stdout] --> api/src/handlers/queue.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn publish_delete(backend: sq_engine::Backend) -> impl Filter + Clone { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `unwrap_or_500` [INFO] [stdout] --> api/src/handlers/utils.rs:36:15 [INFO] [stdout] | [INFO] [stdout] 36 | pub(super) fn unwrap_or_500(result: Result>) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> cmd/sidequeue/src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `api` [INFO] [stdout] --> cmd/sidequeue/src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | api: Runtime, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling sq-metrics v0.1.0 (/opt/rustwide/workdir/common/metrics) [INFO] [stdout] warning: 77 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ToSocketAddrs` [INFO] [stdout] --> common/metrics/src/metric_server.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | net::{SocketAddr, ToSocketAddrs}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `module` [INFO] [stdout] --> common/metrics/src/op_counters.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | module: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `OpMetrics` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> common/metrics/src/op_counters.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2m 02s [ERROR] error running command: no output for 300 seconds [INFO] running `Command { std: "docker" "inspect" "8c2e0245b31cf182ed51590b5a09bf7f2a4be28526f6d7ba08b4e514f7e5190a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c2e0245b31cf182ed51590b5a09bf7f2a4be28526f6d7ba08b4e514f7e5190a", kill_on_drop: false }` [INFO] [stdout] 8c2e0245b31cf182ed51590b5a09bf7f2a4be28526f6d7ba08b4e514f7e5190a