[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 beta-2022-04-10 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] [stderr] Updating files: 76% (352/460) Updating files: 77% (355/460) Updating files: 78% (359/460) Updating files: 79% (364/460) Updating files: 80% (368/460) Updating files: 81% (373/460) Updating files: 82% (378/460) Updating files: 83% (382/460) Updating files: 84% (387/460) Updating files: 85% (391/460) Updating files: 86% (396/460) Updating files: 87% (401/460) Updating files: 88% (405/460) Updating files: 89% (410/460) Updating files: 90% (414/460) Updating files: 91% (419/460) Updating files: 92% (424/460) Updating files: 93% (428/460) Updating files: 94% (433/460) Updating files: 95% (437/460) Updating files: 96% (442/460) Updating files: 97% (447/460) Updating files: 98% (451/460) Updating files: 99% (456/460) Updating files: 100% (460/460) Updating files: 100% (460/460), done. [INFO] validating manifest of git repo https://github.com/vjoke/sidequeue on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-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" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e988d9bacb3b20af743671ca2aa46906d2a1366d7ed3ec87bd64922d5d18c137 [INFO] running `Command { std: "docker" "start" "-a" "e988d9bacb3b20af743671ca2aa46906d2a1366d7ed3ec87bd64922d5d18c137", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e988d9bacb3b20af743671ca2aa46906d2a1366d7ed3ec87bd64922d5d18c137", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e988d9bacb3b20af743671ca2aa46906d2a1366d7ed3ec87bd64922d5d18c137", kill_on_drop: false }` [INFO] [stdout] e988d9bacb3b20af743671ca2aa46906d2a1366d7ed3ec87bd64922d5d18c137 [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" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3750ceecb0f057669a21fe2b4692278a2fdbe6f9852b33f8ab27b9edfa919907 [INFO] running `Command { std: "docker" "start" "-a" "3750ceecb0f057669a21fe2b4692278a2fdbe6f9852b33f8ab27b9edfa919907", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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 autocfg v0.1.7 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling bytes v0.5.6 [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 getrandom v0.1.14 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling arc-swap v0.4.7 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling futures-io v0.3.5 [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 tower-service v0.3.0 [INFO] [stderr] Compiling utf-8 v0.7.5 [INFO] [stderr] Compiling anyhow v1.0.32 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling sq-metrics v0.1.0 (/opt/rustwide/workdir/common/metrics) [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling dyn-clone v1.0.2 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling dtoa v0.4.6 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling hashbrown v0.3.1 [INFO] [stderr] Compiling linked-hash-map v0.5.3 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling urlencoding v1.1.1 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling tracing-core v0.1.14 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling hashbrown v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling indexmap v1.5.1 [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 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 futures-task v0.3.5 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling input_buffer v0.3.1 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling tracing v0.1.19 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.2.1 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling clap v2.33.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling chrono v0.4.13 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling headers v0.3.2 [INFO] [stderr] Compiling tungstenite v0.10.1 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling multipart v0.16.1 [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 structopt-derive v0.4.9 [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 v0.3.16 [INFO] [stderr] Compiling pin-project v0.4.23 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling tracing-futures v0.2.4 [INFO] [stderr] Compiling tokio-util v0.3.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: `#[must_use]` has no effect when applied to an item [INFO] [stdout] --> common/logger/src/struct_log.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 92 | #[must_use = "use send_struct_log! macro to send structured log"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [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] [stderr] Compiling hyper v0.13.7 [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: 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] [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: `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] [stderr] Compiling warp v0.2.4 [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 1m 46s [INFO] running `Command { std: "docker" "inspect" "3750ceecb0f057669a21fe2b4692278a2fdbe6f9852b33f8ab27b9edfa919907", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3750ceecb0f057669a21fe2b4692278a2fdbe6f9852b33f8ab27b9edfa919907", kill_on_drop: false }` [INFO] [stdout] 3750ceecb0f057669a21fe2b4692278a2fdbe6f9852b33f8ab27b9edfa919907 [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" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 99229649cbdd4e72f0bf02cc4858c2e1f833530e4359082a2eb6733a496e21ee [INFO] running `Command { std: "docker" "start" "-a" "99229649cbdd4e72f0bf02cc4858c2e1f833530e4359082a2eb6733a496e21ee", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling assert_approx_eq v1.1.0 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling sq-logger v0.1.0 (/opt/rustwide/workdir/common/logger) [INFO] [stderr] Compiling sq-shutdown v0.1.0 (/opt/rustwide/workdir/common/shutdown) [INFO] [stdout] warning: `#[must_use]` has no effect when applied to an item [INFO] [stdout] --> common/logger/src/struct_log.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 92 | #[must_use = "use send_struct_log! macro to send structured log"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [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: 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: 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] [stderr] Compiling sq-engine v0.1.0 (/opt/rustwide/workdir/engine) [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 api-service v0.1.0 (/opt/rustwide/workdir/api) [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] [stderr] Compiling sidequeue v0.1.0 (/opt/rustwide/workdir/cmd/sidequeue) [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: `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: 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: `#[must_use]` has no effect when applied to an item [INFO] [stdout] --> common/logger/src/struct_log.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 92 | #[must_use = "use send_struct_log! macro to send structured log"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [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: 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: 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: 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: 77 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling sq-metrics v0.1.0 (/opt/rustwide/workdir/common/metrics) [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 25.67s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/api_service-317c1b4b42c04a33) [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/sidequeue-9fe7f9568c4a806f) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/sidequeue-03e1bec47d332e75) [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/sq_engine-d7d5757731485978) [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/sq_logger-15cde90de67a1d14) [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/sq_metrics-908a9dcdfdaae06e) [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/sq_shutdown-2800bcbd094dd8fa) [INFO] running `Command { std: "docker" "inspect" "99229649cbdd4e72f0bf02cc4858c2e1f833530e4359082a2eb6733a496e21ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99229649cbdd4e72f0bf02cc4858c2e1f833530e4359082a2eb6733a496e21ee", kill_on_drop: false }` [INFO] [stdout] 99229649cbdd4e72f0bf02cc4858c2e1f833530e4359082a2eb6733a496e21ee [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" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3095a948e9e54845682623193d7dfa42e23abff6aefe18e0b09e8884e10a6c6d [INFO] running `Command { std: "docker" "start" "-a" "3095a948e9e54845682623193d7dfa42e23abff6aefe18e0b09e8884e10a6c6d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: `#[must_use]` has no effect when applied to an item [INFO] [stderr] --> common/logger/src/struct_log.rs:92:1 [INFO] [stderr] | [INFO] [stderr] 92 | #[must_use = "use send_struct_log! macro to send structured log"] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_attributes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stderr] --> common/logger/src/struct_log.rs:278:35 [INFO] [stderr] | [INFO] [stderr] 278 | match STRUCT_LOGGER_STATE.compare_and_swap(UNINITIALIZED, INITIALIZING, Ordering::SeqCst) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `sq-logger` (lib) generated 2 warnings [INFO] [stderr] warning: `sq-logger` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] warning: unused import: `async_trait::async_trait` [INFO] [stderr] --> engine/src/backends/memory/engine.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use async_trait::async_trait; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `hashbrown::hash_map::DefaultHashBuilder` [INFO] [stderr] --> engine/src/backends/memory/engine.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use hashbrown::hash_map::DefaultHashBuilder; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `priority_queue::PriorityQueue` [INFO] [stderr] --> engine/src/backends/memory/engine.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use priority_queue::PriorityQueue; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::rc::Rc` [INFO] [stderr] --> engine/src/backends/memory/engine.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use std::rc::Rc; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Arc`, `RwLock` [INFO] [stderr] --> engine/src/backends/memory/engine.rs:12:17 [INFO] [stderr] | [INFO] [stderr] 12 | use std::sync::{Arc, RwLock}; [INFO] [stderr] | ^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `async_trait::async_trait` [INFO] [stderr] --> engine/src/backends/redis/engine.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use async_trait::async_trait; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Interval` [INFO] [stderr] --> engine/src/backends/mod.rs:9:39 [INFO] [stderr] | [INFO] [stderr] 9 | use tokio::time::{Duration, interval, Interval}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `tokio::runtime::Runtime` [INFO] [stderr] --> engine/src/backends/mod.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use tokio::runtime::Runtime; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::thread` [INFO] [stderr] --> engine/src/backends/mod.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use std::thread; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `async_trait::async_trait` [INFO] [stderr] --> engine/src/engine.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use async_trait::async_trait; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `namespace` [INFO] [stderr] --> engine/src/backends/memory/engine.rs:71:9 [INFO] [stderr] | [INFO] [stderr] 71 | namespace: String, [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `queue` [INFO] [stderr] --> engine/src/backends/memory/engine.rs:72:9 [INFO] [stderr] | [INFO] [stderr] 72 | queue: String, [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_queue` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `body` [INFO] [stderr] --> engine/src/backends/memory/engine.rs:73:9 [INFO] [stderr] | [INFO] [stderr] 73 | body: Vec, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ttl` [INFO] [stderr] --> engine/src/backends/memory/engine.rs:74:9 [INFO] [stderr] | [INFO] [stderr] 74 | ttl: u32, [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ttl` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `delay` [INFO] [stderr] --> engine/src/backends/memory/engine.rs:75:9 [INFO] [stderr] | [INFO] [stderr] 75 | delay: u32, [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_delay` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `tries` [INFO] [stderr] --> engine/src/backends/memory/engine.rs:76:9 [INFO] [stderr] | [INFO] [stderr] 76 | tries: u16, [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_tries` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `namespace` [INFO] [stderr] --> engine/src/backends/memory/engine.rs:84:9 [INFO] [stderr] | [INFO] [stderr] 84 | namespace: String, [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `queues` [INFO] [stderr] --> engine/src/backends/memory/engine.rs:85:9 [INFO] [stderr] | [INFO] [stderr] 85 | queues: Vec, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_queues` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ttl` [INFO] [stderr] --> engine/src/backends/memory/engine.rs:86:9 [INFO] [stderr] | [INFO] [stderr] 86 | ttl: u32, [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ttl` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `timeout` [INFO] [stderr] --> engine/src/backends/memory/engine.rs:87:9 [INFO] [stderr] | [INFO] [stderr] 87 | timeout: u32, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timeout` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `count` [INFO] [stderr] --> engine/src/backends/memory/engine.rs:88:9 [INFO] [stderr] | [INFO] [stderr] 88 | count: u32, [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `namespace` [INFO] [stderr] --> engine/src/backends/memory/engine.rs:95:22 [INFO] [stderr] | [INFO] [stderr] 95 | fn delete(&self, namespace: String, queues: String, job_id: String) -> Result<(), io::Error> { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `queues` [INFO] [stderr] --> engine/src/backends/memory/engine.rs:95:41 [INFO] [stderr] | [INFO] [stderr] 95 | fn delete(&self, namespace: String, queues: String, job_id: String) -> Result<(), io::Error> { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_queues` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `job_id` [INFO] [stderr] --> engine/src/backends/memory/engine.rs:95:57 [INFO] [stderr] | [INFO] [stderr] 95 | fn delete(&self, namespace: String, queues: String, job_id: String) -> Result<(), io::Error> { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_job_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `namespace` [INFO] [stderr] --> engine/src/backends/memory/engine.rs:102:9 [INFO] [stderr] | [INFO] [stderr] 102 | namespace: String, [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `queues` [INFO] [stderr] --> engine/src/backends/memory/engine.rs:103:9 [INFO] [stderr] | [INFO] [stderr] 103 | queues: String, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_queues` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `job_id` [INFO] [stderr] --> engine/src/backends/memory/engine.rs:104:9 [INFO] [stderr] | [INFO] [stderr] 104 | job_id: Option, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_job_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `namespace` [INFO] [stderr] --> engine/src/backends/memory/engine.rs:110:20 [INFO] [stderr] | [INFO] [stderr] 110 | fn size(&self, namespace: String, queues: String) -> Result { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `queues` [INFO] [stderr] --> engine/src/backends/memory/engine.rs:110:39 [INFO] [stderr] | [INFO] [stderr] 110 | fn size(&self, namespace: String, queues: String) -> Result { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_queues` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `namespace` [INFO] [stderr] --> engine/src/backends/memory/engine.rs:115:23 [INFO] [stderr] | [INFO] [stderr] 115 | fn destroy(&self, namespace: String, queues: String) -> Result { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `queues` [INFO] [stderr] --> engine/src/backends/memory/engine.rs:115:42 [INFO] [stderr] | [INFO] [stderr] 115 | fn destroy(&self, namespace: String, queues: String) -> Result { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_queues` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `namespace` [INFO] [stderr] --> engine/src/backends/memory/engine.rs:122:9 [INFO] [stderr] | [INFO] [stderr] 122 | namespace: String, [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `queues` [INFO] [stderr] --> engine/src/backends/memory/engine.rs:123:9 [INFO] [stderr] | [INFO] [stderr] 123 | queues: String, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_queues` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `namespace` [INFO] [stderr] --> engine/src/backends/memory/engine.rs:131:9 [INFO] [stderr] | [INFO] [stderr] 131 | namespace: String, [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `queues` [INFO] [stderr] --> engine/src/backends/memory/engine.rs:132:9 [INFO] [stderr] | [INFO] [stderr] 132 | queues: String, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_queues` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `limit` [INFO] [stderr] --> engine/src/backends/memory/engine.rs:133:9 [INFO] [stderr] | [INFO] [stderr] 133 | limit: u64, [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_limit` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `namespace` [INFO] [stderr] --> engine/src/backends/memory/engine.rs:141:9 [INFO] [stderr] | [INFO] [stderr] 141 | namespace: String, [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `queues` [INFO] [stderr] --> engine/src/backends/memory/engine.rs:142:9 [INFO] [stderr] | [INFO] [stderr] 142 | queues: String, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_queues` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `limit` [INFO] [stderr] --> engine/src/backends/memory/engine.rs:143:9 [INFO] [stderr] | [INFO] [stderr] 143 | limit: u64, [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_limit` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ttl` [INFO] [stderr] --> engine/src/backends/memory/engine.rs:144:9 [INFO] [stderr] | [INFO] [stderr] 144 | ttl: u64, [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ttl` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `namespace` [INFO] [stderr] --> engine/src/backends/memory/engine.rs:150:35 [INFO] [stderr] | [INFO] [stderr] 150 | fn size_of_dead_letter(&self, namespace: String, queues: String) -> Result { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `queues` [INFO] [stderr] --> engine/src/backends/memory/engine.rs:150:54 [INFO] [stderr] | [INFO] [stderr] 150 | fn size_of_dead_letter(&self, namespace: String, queues: String) -> Result { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_queues` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `url` [INFO] [stderr] --> engine/src/backends/redis/engine.rs:10:16 [INFO] [stderr] | [INFO] [stderr] 10 | pub fn new(url: String) -> Self { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_url` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `namespace` [INFO] [stderr] --> engine/src/backends/redis/engine.rs:20:9 [INFO] [stderr] | [INFO] [stderr] 20 | namespace: String, [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `queue` [INFO] [stderr] --> engine/src/backends/redis/engine.rs:21:9 [INFO] [stderr] | [INFO] [stderr] 21 | queue: String, [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_queue` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `body` [INFO] [stderr] --> engine/src/backends/redis/engine.rs:22:9 [INFO] [stderr] | [INFO] [stderr] 22 | body: Vec, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ttl` [INFO] [stderr] --> engine/src/backends/redis/engine.rs:23:9 [INFO] [stderr] | [INFO] [stderr] 23 | ttl: u32, [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ttl` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `delay` [INFO] [stderr] --> engine/src/backends/redis/engine.rs:24:9 [INFO] [stderr] | [INFO] [stderr] 24 | delay: u32, [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_delay` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `tries` [INFO] [stderr] --> engine/src/backends/redis/engine.rs:25:9 [INFO] [stderr] | [INFO] [stderr] 25 | tries: u16, [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_tries` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `namespace` [INFO] [stderr] --> engine/src/backends/redis/engine.rs:33:9 [INFO] [stderr] | [INFO] [stderr] 33 | namespace: String, [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `queues` [INFO] [stderr] --> engine/src/backends/redis/engine.rs:34:9 [INFO] [stderr] | [INFO] [stderr] 34 | queues: Vec, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_queues` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ttl` [INFO] [stderr] --> engine/src/backends/redis/engine.rs:35:9 [INFO] [stderr] | [INFO] [stderr] 35 | ttl: u32, [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ttl` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `timeout` [INFO] [stderr] --> engine/src/backends/redis/engine.rs:36:9 [INFO] [stderr] | [INFO] [stderr] 36 | timeout: u32, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timeout` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `count` [INFO] [stderr] --> engine/src/backends/redis/engine.rs:37:9 [INFO] [stderr] | [INFO] [stderr] 37 | count: u32, [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `namespace` [INFO] [stderr] --> engine/src/backends/redis/engine.rs:44:22 [INFO] [stderr] | [INFO] [stderr] 44 | fn delete(&self, namespace: String, queues: String, job_id: String) -> Result<(), io::Error> { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `queues` [INFO] [stderr] --> engine/src/backends/redis/engine.rs:44:41 [INFO] [stderr] | [INFO] [stderr] 44 | fn delete(&self, namespace: String, queues: String, job_id: String) -> Result<(), io::Error> { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_queues` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `job_id` [INFO] [stderr] --> engine/src/backends/redis/engine.rs:44:57 [INFO] [stderr] | [INFO] [stderr] 44 | fn delete(&self, namespace: String, queues: String, job_id: String) -> Result<(), io::Error> { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_job_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `namespace` [INFO] [stderr] --> engine/src/backends/redis/engine.rs:51:9 [INFO] [stderr] | [INFO] [stderr] 51 | namespace: String, [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `queues` [INFO] [stderr] --> engine/src/backends/redis/engine.rs:52:9 [INFO] [stderr] | [INFO] [stderr] 52 | queues: String, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_queues` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `job_id` [INFO] [stderr] --> engine/src/backends/redis/engine.rs:53:9 [INFO] [stderr] | [INFO] [stderr] 53 | job_id: Option, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_job_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `namespace` [INFO] [stderr] --> engine/src/backends/redis/engine.rs:59:20 [INFO] [stderr] | [INFO] [stderr] 59 | fn size(&self, namespace: String, queues: String) -> Result { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `queues` [INFO] [stderr] --> engine/src/backends/redis/engine.rs:59:39 [INFO] [stderr] | [INFO] [stderr] 59 | fn size(&self, namespace: String, queues: String) -> Result { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_queues` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `namespace` [INFO] [stderr] --> engine/src/backends/redis/engine.rs:64:23 [INFO] [stderr] | [INFO] [stderr] 64 | fn destroy(&self, namespace: String, queues: String) -> Result { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `queues` [INFO] [stderr] --> engine/src/backends/redis/engine.rs:64:42 [INFO] [stderr] | [INFO] [stderr] 64 | fn destroy(&self, namespace: String, queues: String) -> Result { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_queues` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `namespace` [INFO] [stderr] --> engine/src/backends/redis/engine.rs:71:9 [INFO] [stderr] | [INFO] [stderr] 71 | namespace: String, [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `queues` [INFO] [stderr] --> engine/src/backends/redis/engine.rs:72:9 [INFO] [stderr] | [INFO] [stderr] 72 | queues: String, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_queues` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `namespace` [INFO] [stderr] --> engine/src/backends/redis/engine.rs:80:9 [INFO] [stderr] | [INFO] [stderr] 80 | namespace: String, [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `queues` [INFO] [stderr] --> engine/src/backends/redis/engine.rs:81:9 [INFO] [stderr] | [INFO] [stderr] 81 | queues: String, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_queues` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `limit` [INFO] [stderr] --> engine/src/backends/redis/engine.rs:82:9 [INFO] [stderr] | [INFO] [stderr] 82 | limit: u64, [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_limit` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `namespace` [INFO] [stderr] --> engine/src/backends/redis/engine.rs:90:9 [INFO] [stderr] | [INFO] [stderr] 90 | namespace: String, [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `queues` [INFO] [stderr] --> engine/src/backends/redis/engine.rs:91:9 [INFO] [stderr] | [INFO] [stderr] 91 | queues: String, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_queues` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `limit` [INFO] [stderr] --> engine/src/backends/redis/engine.rs:92:9 [INFO] [stderr] | [INFO] [stderr] 92 | limit: u64, [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_limit` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ttl` [INFO] [stderr] --> engine/src/backends/redis/engine.rs:93:9 [INFO] [stderr] | [INFO] [stderr] 93 | ttl: u64, [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ttl` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `namespace` [INFO] [stderr] --> engine/src/backends/redis/engine.rs:99:35 [INFO] [stderr] | [INFO] [stderr] 99 | fn size_of_dead_letter(&self, namespace: String, queues: String) -> Result { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `queues` [INFO] [stderr] --> engine/src/backends/redis/engine.rs:99:54 [INFO] [stderr] | [INFO] [stderr] 99 | fn size_of_dead_letter(&self, namespace: String, queues: String) -> Result { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_queues` [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `check_namespace` [INFO] [stderr] --> engine/src/backends/memory/engine.rs:40:8 [INFO] [stderr] | [INFO] [stderr] 40 | fn check_namespace(&self, namespace: NamespaceID) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `DueTimer` [INFO] [stderr] --> engine/src/backends/memory/timer.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | pub struct DueTimer {} [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `ToSocketAddrs` [INFO] [stderr] --> common/metrics/src/metric_server.rs:12:23 [INFO] [stderr] | [INFO] [stderr] 12 | net::{SocketAddr, ToSocketAddrs}, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `module` [INFO] [stderr] --> common/metrics/src/op_counters.rs:35:5 [INFO] [stderr] | [INFO] [stderr] 35 | module: String, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `OpMetrics` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> common/metrics/src/op_counters.rs:33:10 [INFO] [stderr] | [INFO] [stderr] 33 | #[derive(Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `sq-engine` (lib) generated 77 warnings [INFO] [stderr] warning: `sq-metrics` (lib) generated 2 warnings [INFO] [stderr] warning: `sq-metrics` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] warning: `sq-engine` (lib test) generated 77 warnings (77 duplicates) [INFO] [stderr] warning: unused import: `Deserialize` [INFO] [stderr] --> api/src/handlers/errors.rs:1:20 [INFO] [stderr] | [INFO] [stderr] 1 | use serde_derive::{Deserialize, Serialize}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::convert::Infallible` [INFO] [stderr] --> api/src/handlers/errors.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::convert::Infallible; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::error::Error` [INFO] [stderr] --> api/src/handlers/errors.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::error::Error; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `warp::http::StatusCode` [INFO] [stderr] --> api/src/handlers/errors.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use warp::http::StatusCode; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Filter`, `Rejection`, `Reply` [INFO] [stderr] --> api/src/handlers/errors.rs:5:20 [INFO] [stderr] | [INFO] [stderr] 5 | use warp::{reject, Filter, Rejection, Reply}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Serialize` [INFO] [stderr] --> api/src/handlers/queue.rs:1:20 [INFO] [stderr] | [INFO] [stderr] 1 | use serde_derive::{Serialize, Deserialize}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `handle_rejection`, `unwrap_or_500` [INFO] [stderr] --> api/src/handlers/queue.rs:2:20 [INFO] [stderr] | [INFO] [stderr] 2 | use super::utils::{handle_rejection, unwrap_or_500, with_backend}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `filters::BoxedFilter` [INFO] [stderr] --> api/src/handlers/queue.rs:4:18 [INFO] [stderr] | [INFO] [stderr] 4 | use warp::{self, filters::BoxedFilter, reply::Reply, Filter, http::StatusCode}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `future::Future` [INFO] [stderr] --> api/src/handlers/utils.rs:5:32 [INFO] [stderr] | [INFO] [stderr] 5 | use std::{convert::Infallible, future::Future}; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `reply::Response` [INFO] [stderr] --> api/src/handlers/utils.rs:6:12 [INFO] [stderr] | [INFO] [stderr] 6 | use warp::{reply::Response, Rejection, Reply, Filter, http::StatusCode}; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `IntCounterVec`, `register_int_counter_vec` [INFO] [stderr] --> api/src/handlers/utils.rs:8:29 [INFO] [stderr] | [INFO] [stderr] 8 | register_histogram_vec, register_int_counter_vec, HistogramVec, IntCounterVec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::thread` [INFO] [stderr] --> api/src/lib.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use std::thread; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `publish_delete` [INFO] [stderr] --> api/src/handlers/queue.rs:31:8 [INFO] [stderr] | [INFO] [stderr] 31 | pub fn publish_delete(backend: sq_engine::Backend) -> impl Filter + Clone { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `unwrap_or_500` [INFO] [stderr] --> api/src/handlers/utils.rs:36:15 [INFO] [stderr] | [INFO] [stderr] 36 | pub(super) fn unwrap_or_500(result: Result>) -> Box { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `api-service` (lib) generated 14 warnings [INFO] [stderr] warning: `api-service` (lib test) generated 14 warnings (14 duplicates) [INFO] [stderr] warning: unused import: `std::thread` [INFO] [stderr] --> cmd/sidequeue/src/main.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use std::thread; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `api` [INFO] [stderr] --> cmd/sidequeue/src/main.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | api: Runtime, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `sidequeue` (bin "sidequeue" test) generated 2 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.87s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/api_service-317c1b4b42c04a33) [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/sidequeue-9fe7f9568c4a806f) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/sidequeue-03e1bec47d332e75) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/sq_engine-d7d5757731485978) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/sq_logger-15cde90de67a1d14) [INFO] [stdout] running 1 test [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/sq_metrics-908a9dcdfdaae06e) [INFO] [stdout] test text_log::tests::verify_end_to_end ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test json_encoder::tests::test_encoder ... ok [INFO] [stdout] test json_encoder::tests::test_flatten_labels ... ok [INFO] [stdout] test unit_tests::lib_test::publish_metrics_test ... ok [INFO] [stdout] test unit_tests::lib_test::gather_metrics_test ... ok [INFO] [stdout] test unit_tests::lib_test::get_all_metrics_test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/sq_shutdown-2800bcbd094dd8fa) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests api-service [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests sidequeue [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests sq-engine [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests sq-logger [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/security.rs - security (line 5) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/security.rs - security (line 5) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libra_logger` [INFO] [stdout] --> src/security.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 3 | use libra_logger::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `libra_logger` [INFO] [stdout] [INFO] [stdout] error: cannot find macro `send_struct_log` in this scope [INFO] [stdout] --> src/security.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 5 | send_struct_log!( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] sq_logger::send_struct_log [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/security.rs - security (line 5) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.22s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "3095a948e9e54845682623193d7dfa42e23abff6aefe18e0b09e8884e10a6c6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3095a948e9e54845682623193d7dfa42e23abff6aefe18e0b09e8884e10a6c6d", kill_on_drop: false }` [INFO] [stdout] 3095a948e9e54845682623193d7dfa42e23abff6aefe18e0b09e8884e10a6c6d