[INFO] cloning repository https://github.com/xeij/distributed_task_queue [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xeij/distributed_task_queue" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxeij%2Fdistributed_task_queue", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxeij%2Fdistributed_task_queue'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5ad0058a882161e5e3a9b07c972956da99690ae6 [INFO] checking xeij/distributed_task_queue against try#0c70cfbec949d241375e31c5a42066be70c720fc for pr-149681 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxeij%2Fdistributed_task_queue" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/xeij/distributed_task_queue [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/xeij/distributed_task_queue [INFO] tweaked toml for git repo https://github.com/xeij/distributed_task_queue written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/xeij/distributed_task_queue on toolchain 0c70cfbec949d241375e31c5a42066be70c720fc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0c70cfbec949d241375e31c5a42066be70c720fc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/xeij/distributed_task_queue already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0c70cfbec949d241375e31c5a42066be70c720fc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-test v0.4.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0c70cfbec949d241375e31c5a42066be70c720fc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cf8704f830ffc9bce078ec8ec545f0f7e6292ddadb1ad63c641d0ab385ad28ce [INFO] running `Command { std: "docker" "start" "-a" "cf8704f830ffc9bce078ec8ec545f0f7e6292ddadb1ad63c641d0ab385ad28ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cf8704f830ffc9bce078ec8ec545f0f7e6292ddadb1ad63c641d0ab385ad28ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf8704f830ffc9bce078ec8ec545f0f7e6292ddadb1ad63c641d0ab385ad28ce", kill_on_drop: false }` [INFO] [stdout] cf8704f830ffc9bce078ec8ec545f0f7e6292ddadb1ad63c641d0ab385ad28ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0c70cfbec949d241375e31c5a42066be70c720fc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ac4972c946a0f9bde311bd63ced084a36d9aea414e6c6704a300ad4ec28cd238 [INFO] running `Command { std: "docker" "start" "-a" "ac4972c946a0f9bde311bd63ced084a36d9aea414e6c6704a300ad4ec28cd238", kill_on_drop: false }` [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking tokio v1.46.1 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking uuid v1.17.0 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking tokio-test v0.4.4 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Checking redis v0.24.0 [INFO] [stderr] Checking distributed_task_queue v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `RedisError` [INFO] [stdout] --> src/queue.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use redis::{Client, RedisError}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/queue.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | use tracing::{debug, error, info, warn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TaskPriority` [INFO] [stdout] --> src/queue.rs:11:43 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::task::{TaskDefinition, TaskId, TaskPriority, TaskStatus}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sleep` [INFO] [stdout] --> src/scheduler.rs:8:29 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio::time::{interval, sleep}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/worker.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TaskError` [INFO] [stdout] --> src/worker.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::error::{TaskError, TaskResult}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TaskStatus` [INFO] [stdout] --> src/worker.rs:15:41 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::task::{Task, TaskDefinition, TaskStatus}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RedisError` [INFO] [stdout] --> src/queue.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use redis::{Client, RedisError}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/queue.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | use tracing::{debug, error, info, warn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TaskPriority` [INFO] [stdout] --> src/queue.rs:11:43 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::task::{TaskDefinition, TaskId, TaskPriority, TaskStatus}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sleep` [INFO] [stdout] --> src/scheduler.rs:8:29 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio::time::{interval, sleep}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/worker.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TaskError` [INFO] [stdout] --> src/worker.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::error::{TaskError, TaskResult}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TaskStatus` [INFO] [stdout] --> src/worker.rs:15:41 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::task::{Task, TaskDefinition, TaskStatus}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/queue.rs:73:64 [INFO] [stdout] | [INFO] [stdout] 73 | .map_err(|e| TaskError::queue_operation("connect", e.to_string()))?; [INFO] [stdout] | -------------------------- --------- ^^^^^^^^^^^^^ expected `&str`, found `String` [INFO] [stdout] | | | [INFO] [stdout] | | expected all arguments to be this `&str` type because they need to match the type of this parameter [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/error.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn queue_operation>(operation: S, reason: S) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ - ------------ --------- this parameter needs to match the `&str` type of `operation` [INFO] [stdout] | | | [INFO] [stdout] | | `reason` needs to match the `&str` type of this parameter [INFO] [stdout] | `operation` and `reason` both reference this parameter `S` [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 73 | .map_err(|e| TaskError::queue_operation("connect", &e.to_string()))?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/queue.rs:73:64 [INFO] [stdout] | [INFO] [stdout] 73 | .map_err(|e| TaskError::queue_operation("connect", e.to_string()))?; [INFO] [stdout] | -------------------------- --------- ^^^^^^^^^^^^^ expected `&str`, found `String` [INFO] [stdout] | | | [INFO] [stdout] | | expected all arguments to be this `&str` type because they need to match the type of this parameter [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/error.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn queue_operation>(operation: S, reason: S) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ - ------------ --------- this parameter needs to match the `&str` type of `operation` [INFO] [stdout] | | | [INFO] [stdout] | | `reason` needs to match the `&str` type of this parameter [INFO] [stdout] | `operation` and `reason` both reference this parameter `S` [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 73 | .map_err(|e| TaskError::queue_operation("connect", &e.to_string()))?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/queue.rs:79:64 [INFO] [stdout] | [INFO] [stdout] 79 | .map_err(|e| TaskError::queue_operation("connect", e.to_string()))?; [INFO] [stdout] | -------------------------- --------- ^^^^^^^^^^^^^ expected `&str`, found `String` [INFO] [stdout] | | | [INFO] [stdout] | | expected all arguments to be this `&str` type because they need to match the type of this parameter [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/error.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn queue_operation>(operation: S, reason: S) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ - ------------ --------- this parameter needs to match the `&str` type of `operation` [INFO] [stdout] | | | [INFO] [stdout] | | `reason` needs to match the `&str` type of this parameter [INFO] [stdout] | `operation` and `reason` both reference this parameter `S` [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 79 | .map_err(|e| TaskError::queue_operation("connect", &e.to_string()))?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/queue.rs:79:64 [INFO] [stdout] | [INFO] [stdout] 79 | .map_err(|e| TaskError::queue_operation("connect", e.to_string()))?; [INFO] [stdout] | -------------------------- --------- ^^^^^^^^^^^^^ expected `&str`, found `String` [INFO] [stdout] | | | [INFO] [stdout] | | expected all arguments to be this `&str` type because they need to match the type of this parameter [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/error.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn queue_operation>(operation: S, reason: S) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ - ------------ --------- this parameter needs to match the `&str` type of `operation` [INFO] [stdout] | | | [INFO] [stdout] | | `reason` needs to match the `&str` type of this parameter [INFO] [stdout] | `operation` and `reason` both reference this parameter `S` [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 79 | .map_err(|e| TaskError::queue_operation("connect", &e.to_string()))?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/queue.rs:85:61 [INFO] [stdout] | [INFO] [stdout] 85 | .map_err(|e| TaskError::queue_operation("ping", e.to_string()))?; [INFO] [stdout] | -------------------------- ------ ^^^^^^^^^^^^^ expected `&str`, found `String` [INFO] [stdout] | | | [INFO] [stdout] | | expected all arguments to be this `&str` type because they need to match the type of this parameter [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/error.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn queue_operation>(operation: S, reason: S) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ - ------------ --------- this parameter needs to match the `&str` type of `operation` [INFO] [stdout] | | | [INFO] [stdout] | | `reason` needs to match the `&str` type of this parameter [INFO] [stdout] | `operation` and `reason` both reference this parameter `S` [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 85 | .map_err(|e| TaskError::queue_operation("ping", &e.to_string()))?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/queue.rs:85:61 [INFO] [stdout] | [INFO] [stdout] 85 | .map_err(|e| TaskError::queue_operation("ping", e.to_string()))?; [INFO] [stdout] | -------------------------- ------ ^^^^^^^^^^^^^ expected `&str`, found `String` [INFO] [stdout] | | | [INFO] [stdout] | | expected all arguments to be this `&str` type because they need to match the type of this parameter [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/error.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn queue_operation>(operation: S, reason: S) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ - ------------ --------- this parameter needs to match the `&str` type of `operation` [INFO] [stdout] | | | [INFO] [stdout] | | `reason` needs to match the `&str` type of this parameter [INFO] [stdout] | `operation` and `reason` both reference this parameter `S` [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 85 | .map_err(|e| TaskError::queue_operation("ping", &e.to_string()))?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/queue.rs:106:71 [INFO] [stdout] | [INFO] [stdout] 106 | .map_err(|e| TaskError::queue_operation("get_connection", e.to_string())) [INFO] [stdout] | -------------------------- ---------------- ^^^^^^^^^^^^^ expected `&str`, found `String` [INFO] [stdout] | | | [INFO] [stdout] | | expected all arguments to be this `&str` type because they need to match the type of this parameter [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/error.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn queue_operation>(operation: S, reason: S) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ - ------------ --------- this parameter needs to match the `&str` type of `operation` [INFO] [stdout] | | | [INFO] [stdout] | | `reason` needs to match the `&str` type of this parameter [INFO] [stdout] | `operation` and `reason` both reference this parameter `S` [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 106 | .map_err(|e| TaskError::queue_operation("get_connection", &e.to_string())) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/queue.rs:106:71 [INFO] [stdout] | [INFO] [stdout] 106 | .map_err(|e| TaskError::queue_operation("get_connection", e.to_string())) [INFO] [stdout] | -------------------------- ---------------- ^^^^^^^^^^^^^ expected `&str`, found `String` [INFO] [stdout] | | | [INFO] [stdout] | | expected all arguments to be this `&str` type because they need to match the type of this parameter [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/error.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn queue_operation>(operation: S, reason: S) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ - ------------ --------- this parameter needs to match the `&str` type of `operation` [INFO] [stdout] | | | [INFO] [stdout] | | `reason` needs to match the `&str` type of this parameter [INFO] [stdout] | `operation` and `reason` both reference this parameter `S` [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 106 | .map_err(|e| TaskError::queue_operation("get_connection", &e.to_string())) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/queue.rs:128:14 [INFO] [stdout] | [INFO] [stdout] 128 | .hset( [INFO] [stdout] | ______________^^^^- [INFO] [stdout] 129 | | &task_key, [INFO] [stdout] 130 | | &[("data", &task_json)], [INFO] [stdout] 131 | | ) [INFO] [stdout] | |_____________- argument #3 is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/redis-0.24.0/src/commands/mod.rs:284:8 [INFO] [stdout] | [INFO] [stdout] 284 | fn hset(key: K, field: F, value: V) { [INFO] [stdout] | ^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 128 | .hset( [INFO] [stdout] 129 | &task_key, [INFO] [stdout] 130 | &[("data", &task_json)], [INFO] [stdout] 131 ~ /* value */, [INFO] [stdout] 132 ~ ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/queue.rs:128:14 [INFO] [stdout] | [INFO] [stdout] 128 | .hset( [INFO] [stdout] | ______________^^^^- [INFO] [stdout] 129 | | &task_key, [INFO] [stdout] 130 | | &[("data", &task_json)], [INFO] [stdout] 131 | | ) [INFO] [stdout] | |_____________- argument #3 is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/redis-0.24.0/src/commands/mod.rs:284:8 [INFO] [stdout] | [INFO] [stdout] 284 | fn hset(key: K, field: F, value: V) { [INFO] [stdout] | ^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 128 | .hset( [INFO] [stdout] 129 | &task_key, [INFO] [stdout] 130 | &[("data", &task_json)], [INFO] [stdout] 131 ~ /* value */, [INFO] [stdout] 132 ~ ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/queue.rs:135:63 [INFO] [stdout] | [INFO] [stdout] 135 | .map_err(|e| TaskError::queue_operation("submit", e.to_string()))?; [INFO] [stdout] | -------------------------- -------- ^^^^^^^^^^^^^ expected `&str`, found `String` [INFO] [stdout] | | | [INFO] [stdout] | | expected all arguments to be this `&str` type because they need to match the type of this parameter [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/error.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn queue_operation>(operation: S, reason: S) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ - ------------ --------- this parameter needs to match the `&str` type of `operation` [INFO] [stdout] | | | [INFO] [stdout] | | `reason` needs to match the `&str` type of this parameter [INFO] [stdout] | `operation` and `reason` both reference this parameter `S` [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 135 | .map_err(|e| TaskError::queue_operation("submit", &e.to_string()))?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/queue.rs:135:63 [INFO] [stdout] | [INFO] [stdout] 135 | .map_err(|e| TaskError::queue_operation("submit", e.to_string()))?; [INFO] [stdout] | -------------------------- -------- ^^^^^^^^^^^^^ expected `&str`, found `String` [INFO] [stdout] | | | [INFO] [stdout] | | expected all arguments to be this `&str` type because they need to match the type of this parameter [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/error.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn queue_operation>(operation: S, reason: S) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ - ------------ --------- this parameter needs to match the `&str` type of `operation` [INFO] [stdout] | | | [INFO] [stdout] | | `reason` needs to match the `&str` type of this parameter [INFO] [stdout] | `operation` and `reason` both reference this parameter `S` [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 135 | .map_err(|e| TaskError::queue_operation("submit", &e.to_string()))?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this function depends on never type fallback being `()` [INFO] [stdout] --> src/queue.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | pub async fn submit_task(&self, mut task_def: TaskDefinition) -> TaskResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/queue.rs:133:14 [INFO] [stdout] | [INFO] [stdout] 133 | .query_async(&mut conn) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: `#[deny(dependency_on_unit_never_type_fallback)]` (part of `#[deny(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 133 | .query_async::<_, ()>(&mut conn) [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this function depends on never type fallback being `()` [INFO] [stdout] --> src/queue.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | pub async fn submit_task(&self, mut task_def: TaskDefinition) -> TaskResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/queue.rs:133:14 [INFO] [stdout] | [INFO] [stdout] 133 | .query_async(&mut conn) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: `#[deny(dependency_on_unit_never_type_fallback)]` (part of `#[deny(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 133 | .query_async::<_, ()>(&mut conn) [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/queue.rs:160:14 [INFO] [stdout] | [INFO] [stdout] 160 | .hset( [INFO] [stdout] | ______________^^^^- [INFO] [stdout] 161 | | &task_key, [INFO] [stdout] 162 | | &[("data", &task_json)], [INFO] [stdout] 163 | | ) [INFO] [stdout] | |_____________- argument #3 is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/redis-0.24.0/src/commands/mod.rs:284:8 [INFO] [stdout] | [INFO] [stdout] 284 | fn hset(key: K, field: F, value: V) { [INFO] [stdout] | ^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 160 | .hset( [INFO] [stdout] 161 | &task_key, [INFO] [stdout] 162 | &[("data", &task_json)], [INFO] [stdout] 163 ~ /* value */, [INFO] [stdout] 164 ~ ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/queue.rs:160:14 [INFO] [stdout] | [INFO] [stdout] 160 | .hset( [INFO] [stdout] | ______________^^^^- [INFO] [stdout] 161 | | &task_key, [INFO] [stdout] 162 | | &[("data", &task_json)], [INFO] [stdout] 163 | | ) [INFO] [stdout] | |_____________- argument #3 is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/redis-0.24.0/src/commands/mod.rs:284:8 [INFO] [stdout] | [INFO] [stdout] 284 | fn hset(key: K, field: F, value: V) { [INFO] [stdout] | ^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 160 | .hset( [INFO] [stdout] 161 | &task_key, [INFO] [stdout] 162 | &[("data", &task_json)], [INFO] [stdout] 163 ~ /* value */, [INFO] [stdout] 164 ~ ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/queue.rs:167:73 [INFO] [stdout] | [INFO] [stdout] 167 | .map_err(|e| TaskError::queue_operation("submit_scheduled", e.to_string()))?; [INFO] [stdout] | -------------------------- ------------------ ^^^^^^^^^^^^^ expected `&str`, found `String` [INFO] [stdout] | | | [INFO] [stdout] | | expected all arguments to be this `&str` type because they need to match the type of this parameter [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/error.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn queue_operation>(operation: S, reason: S) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ - ------------ --------- this parameter needs to match the `&str` type of `operation` [INFO] [stdout] | | | [INFO] [stdout] | | `reason` needs to match the `&str` type of this parameter [INFO] [stdout] | `operation` and `reason` both reference this parameter `S` [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 167 | .map_err(|e| TaskError::queue_operation("submit_scheduled", &e.to_string()))?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/queue.rs:167:73 [INFO] [stdout] | [INFO] [stdout] 167 | .map_err(|e| TaskError::queue_operation("submit_scheduled", e.to_string()))?; [INFO] [stdout] | -------------------------- ------------------ ^^^^^^^^^^^^^ expected `&str`, found `String` [INFO] [stdout] | | | [INFO] [stdout] | | expected all arguments to be this `&str` type because they need to match the type of this parameter [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/error.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn queue_operation>(operation: S, reason: S) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ - ------------ --------- this parameter needs to match the `&str` type of `operation` [INFO] [stdout] | | | [INFO] [stdout] | | `reason` needs to match the `&str` type of this parameter [INFO] [stdout] | `operation` and `reason` both reference this parameter `S` [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 167 | .map_err(|e| TaskError::queue_operation("submit_scheduled", &e.to_string()))?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this function depends on never type fallback being `()` [INFO] [stdout] --> src/queue.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 142 | pub async fn submit_scheduled_task(&self, mut task_def: TaskDefinition) -> TaskResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/queue.rs:165:14 [INFO] [stdout] | [INFO] [stdout] 165 | .query_async(&mut conn) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 165 | .query_async::<_, ()>(&mut conn) [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this function depends on never type fallback being `()` [INFO] [stdout] --> src/queue.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 142 | pub async fn submit_scheduled_task(&self, mut task_def: TaskDefinition) -> TaskResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/queue.rs:165:14 [INFO] [stdout] | [INFO] [stdout] 165 | .query_async(&mut conn) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 165 | .query_async::<_, ()>(&mut conn) [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/queue.rs:185:65 [INFO] [stdout] | [INFO] [stdout] 185 | .map_err(|e| TaskError::queue_operation("get_next", e.to_string()))?; [INFO] [stdout] | -------------------------- ---------- ^^^^^^^^^^^^^ expected `&str`, found `String` [INFO] [stdout] | | | [INFO] [stdout] | | expected all arguments to be this `&str` type because they need to match the type of this parameter [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/error.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn queue_operation>(operation: S, reason: S) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ - ------------ --------- this parameter needs to match the `&str` type of `operation` [INFO] [stdout] | | | [INFO] [stdout] | | `reason` needs to match the `&str` type of this parameter [INFO] [stdout] | `operation` and `reason` both reference this parameter `S` [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 185 | .map_err(|e| TaskError::queue_operation("get_next", &e.to_string()))?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/queue.rs:185:65 [INFO] [stdout] | [INFO] [stdout] 185 | .map_err(|e| TaskError::queue_operation("get_next", e.to_string()))?; [INFO] [stdout] | -------------------------- ---------- ^^^^^^^^^^^^^ expected `&str`, found `String` [INFO] [stdout] | | | [INFO] [stdout] | | expected all arguments to be this `&str` type because they need to match the type of this parameter [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/error.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn queue_operation>(operation: S, reason: S) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ - ------------ --------- this parameter needs to match the `&str` type of `operation` [INFO] [stdout] | | | [INFO] [stdout] | | `reason` needs to match the `&str` type of this parameter [INFO] [stdout] | `operation` and `reason` both reference this parameter `S` [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 185 | .map_err(|e| TaskError::queue_operation("get_next", &e.to_string()))?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/queue.rs:198:79 [INFO] [stdout] | [INFO] [stdout] 198 | .map_err(|e| TaskError::queue_operation("move_to_processing", e.to_string()))?; [INFO] [stdout] | -------------------------- -------------------- ^^^^^^^^^^^^^ expected `&str`, found `String` [INFO] [stdout] | | | [INFO] [stdout] | | expected all arguments to be this `&str` type because they need to match the type of this parameter [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/error.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn queue_operation>(operation: S, reason: S) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ - ------------ --------- this parameter needs to match the `&str` type of `operation` [INFO] [stdout] | | | [INFO] [stdout] | | `reason` needs to match the `&str` type of this parameter [INFO] [stdout] | `operation` and `reason` both reference this parameter `S` [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 198 | .map_err(|e| TaskError::queue_operation("move_to_processing", &e.to_string()))?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/queue.rs:198:79 [INFO] [stdout] | [INFO] [stdout] 198 | .map_err(|e| TaskError::queue_operation("move_to_processing", e.to_string()))?; [INFO] [stdout] | -------------------------- -------------------- ^^^^^^^^^^^^^ expected `&str`, found `String` [INFO] [stdout] | | | [INFO] [stdout] | | expected all arguments to be this `&str` type because they need to match the type of this parameter [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/error.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn queue_operation>(operation: S, reason: S) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ - ------------ --------- this parameter needs to match the `&str` type of `operation` [INFO] [stdout] | | | [INFO] [stdout] | | `reason` needs to match the `&str` type of this parameter [INFO] [stdout] | `operation` and `reason` both reference this parameter `S` [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 198 | .map_err(|e| TaskError::queue_operation("move_to_processing", &e.to_string()))?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this function depends on never type fallback being `()` [INFO] [stdout] --> src/queue.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 174 | pub async fn get_next_task(&self, queue_name: &str) -> TaskResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/queue.rs:196:18 [INFO] [stdout] | [INFO] [stdout] 196 | .query_async(&mut conn) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 196 | .query_async::<_, ()>(&mut conn) [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this function depends on never type fallback being `()` [INFO] [stdout] --> src/queue.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 174 | pub async fn get_next_task(&self, queue_name: &str) -> TaskResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/queue.rs:196:18 [INFO] [stdout] | [INFO] [stdout] 196 | .query_async(&mut conn) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 196 | .query_async::<_, ()>(&mut conn) [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/queue.rs:219:70 [INFO] [stdout] | [INFO] [stdout] 219 | .map_err(|e| TaskError::queue_operation("get_scheduled", e.to_string()))?; [INFO] [stdout] | -------------------------- --------------- ^^^^^^^^^^^^^ expected `&str`, found `String` [INFO] [stdout] | | | [INFO] [stdout] | | expected all arguments to be this `&str` type because they need to match the type of this parameter [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/error.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn queue_operation>(operation: S, reason: S) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ - ------------ --------- this parameter needs to match the `&str` type of `operation` [INFO] [stdout] | | | [INFO] [stdout] | | `reason` needs to match the `&str` type of this parameter [INFO] [stdout] | `operation` and `reason` both reference this parameter `S` [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 219 | .map_err(|e| TaskError::queue_operation("get_scheduled", &e.to_string()))?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/queue.rs:219:70 [INFO] [stdout] | [INFO] [stdout] 219 | .map_err(|e| TaskError::queue_operation("get_scheduled", e.to_string()))?; [INFO] [stdout] | -------------------------- --------------- ^^^^^^^^^^^^^ expected `&str`, found `String` [INFO] [stdout] | | | [INFO] [stdout] | | expected all arguments to be this `&str` type because they need to match the type of this parameter [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/error.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn queue_operation>(operation: S, reason: S) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ - ------------ --------- this parameter needs to match the `&str` type of `operation` [INFO] [stdout] | | | [INFO] [stdout] | | `reason` needs to match the `&str` type of this parameter [INFO] [stdout] | `operation` and `reason` both reference this parameter `S` [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 219 | .map_err(|e| TaskError::queue_operation("get_scheduled", &e.to_string()))?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/queue.rs:237:18 [INFO] [stdout] | [INFO] [stdout] 237 | .hset( [INFO] [stdout] | __________________^^^^- [INFO] [stdout] 238 | | format!("{}:task:{}", QUEUE_KEY, task_def.id), [INFO] [stdout] 239 | | &[("data", &updated_json)], [INFO] [stdout] 240 | | ) [INFO] [stdout] | |_________________- argument #3 is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/redis-0.24.0/src/commands/mod.rs:284:8 [INFO] [stdout] | [INFO] [stdout] 284 | fn hset(key: K, field: F, value: V) { [INFO] [stdout] | ^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 237 | .hset( [INFO] [stdout] 238 | format!("{}:task:{}", QUEUE_KEY, task_def.id), [INFO] [stdout] 239 | &[("data", &updated_json)], [INFO] [stdout] 240 ~ /* value */, [INFO] [stdout] 241 ~ ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/queue.rs:237:18 [INFO] [stdout] | [INFO] [stdout] 237 | .hset( [INFO] [stdout] | __________________^^^^- [INFO] [stdout] 238 | | format!("{}:task:{}", QUEUE_KEY, task_def.id), [INFO] [stdout] 239 | | &[("data", &updated_json)], [INFO] [stdout] 240 | | ) [INFO] [stdout] | |_________________- argument #3 is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/redis-0.24.0/src/commands/mod.rs:284:8 [INFO] [stdout] | [INFO] [stdout] 284 | fn hset(key: K, field: F, value: V) { [INFO] [stdout] | ^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 237 | .hset( [INFO] [stdout] 238 | format!("{}:task:{}", QUEUE_KEY, task_def.id), [INFO] [stdout] 239 | &[("data", &updated_json)], [INFO] [stdout] 240 ~ /* value */, [INFO] [stdout] 241 ~ ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/queue.rs:244:75 [INFO] [stdout] | [INFO] [stdout] 244 | .map_err(|e| TaskError::queue_operation("move_scheduled", e.to_string()))?; [INFO] [stdout] | -------------------------- ---------------- ^^^^^^^^^^^^^ expected `&str`, found `String` [INFO] [stdout] | | | [INFO] [stdout] | | expected all arguments to be this `&str` type because they need to match the type of this parameter [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/error.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn queue_operation>(operation: S, reason: S) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ - ------------ --------- this parameter needs to match the `&str` type of `operation` [INFO] [stdout] | | | [INFO] [stdout] | | `reason` needs to match the `&str` type of this parameter [INFO] [stdout] | `operation` and `reason` both reference this parameter `S` [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 244 | .map_err(|e| TaskError::queue_operation("move_scheduled", &e.to_string()))?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/queue.rs:244:75 [INFO] [stdout] | [INFO] [stdout] 244 | .map_err(|e| TaskError::queue_operation("move_scheduled", e.to_string()))?; [INFO] [stdout] | -------------------------- ---------------- ^^^^^^^^^^^^^ expected `&str`, found `String` [INFO] [stdout] | | | [INFO] [stdout] | | expected all arguments to be this `&str` type because they need to match the type of this parameter [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/error.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn queue_operation>(operation: S, reason: S) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ - ------------ --------- this parameter needs to match the `&str` type of `operation` [INFO] [stdout] | | | [INFO] [stdout] | | `reason` needs to match the `&str` type of this parameter [INFO] [stdout] | `operation` and `reason` both reference this parameter `S` [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 244 | .map_err(|e| TaskError::queue_operation("move_scheduled", &e.to_string()))?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this function depends on never type fallback being `()` [INFO] [stdout] --> src/queue.rs:208:5 [INFO] [stdout] | [INFO] [stdout] 208 | pub async fn process_scheduled_tasks(&self) -> TaskResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/queue.rs:242:18 [INFO] [stdout] | [INFO] [stdout] 242 | .query_async(&mut conn) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 242 | .query_async::<_, ()>(&mut conn) [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this function depends on never type fallback being `()` [INFO] [stdout] --> src/queue.rs:208:5 [INFO] [stdout] | [INFO] [stdout] 208 | pub async fn process_scheduled_tasks(&self) -> TaskResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/queue.rs:242:18 [INFO] [stdout] | [INFO] [stdout] 242 | .query_async(&mut conn) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 242 | .query_async::<_, ()>(&mut conn) [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/queue.rs:265:14 [INFO] [stdout] | [INFO] [stdout] 265 | .hset( [INFO] [stdout] | ______________^^^^- [INFO] [stdout] 266 | | format!("{}:result:{}", RESULTS_KEY, task_def.id), [INFO] [stdout] 267 | | &[("data", &task_json)], [INFO] [stdout] 268 | | ) [INFO] [stdout] | |_____________- argument #3 is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/redis-0.24.0/src/commands/mod.rs:284:8 [INFO] [stdout] | [INFO] [stdout] 284 | fn hset(key: K, field: F, value: V) { [INFO] [stdout] | ^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 265 | .hset( [INFO] [stdout] 266 | format!("{}:result:{}", RESULTS_KEY, task_def.id), [INFO] [stdout] 267 | &[("data", &task_json)], [INFO] [stdout] 268 ~ /* value */, [INFO] [stdout] 269 ~ ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/queue.rs:265:14 [INFO] [stdout] | [INFO] [stdout] 265 | .hset( [INFO] [stdout] | ______________^^^^- [INFO] [stdout] 266 | | format!("{}:result:{}", RESULTS_KEY, task_def.id), [INFO] [stdout] 267 | | &[("data", &task_json)], [INFO] [stdout] 268 | | ) [INFO] [stdout] | |_____________- argument #3 is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/redis-0.24.0/src/commands/mod.rs:284:8 [INFO] [stdout] | [INFO] [stdout] 284 | fn hset(key: K, field: F, value: V) { [INFO] [stdout] | ^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 265 | .hset( [INFO] [stdout] 266 | format!("{}:result:{}", RESULTS_KEY, task_def.id), [INFO] [stdout] 267 | &[("data", &task_json)], [INFO] [stdout] 268 ~ /* value */, [INFO] [stdout] 269 ~ ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/queue.rs:272:17 [INFO] [stdout] | [INFO] [stdout] 270 | .expire( [INFO] [stdout] | ------ arguments to this method are incorrect [INFO] [stdout] 271 | format!("{}:result:{}", RESULTS_KEY, task_def.id), [INFO] [stdout] 272 | self.config.result_ttl as usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i64`, found `usize` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/redis-0.24.0/src/commands/mod.rs:133:8 [INFO] [stdout] | [INFO] [stdout] 133 | fn expire(key: K, seconds: i64) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: you can convert a `usize` to an `i64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 272 | (self.config.result_ttl as usize).try_into().unwrap(), [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/queue.rs:272:17 [INFO] [stdout] | [INFO] [stdout] 270 | .expire( [INFO] [stdout] | ------ arguments to this method are incorrect [INFO] [stdout] 271 | format!("{}:result:{}", RESULTS_KEY, task_def.id), [INFO] [stdout] 272 | self.config.result_ttl as usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i64`, found `usize` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/redis-0.24.0/src/commands/mod.rs:133:8 [INFO] [stdout] | [INFO] [stdout] 133 | fn expire(key: K, seconds: i64) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: you can convert a `usize` to an `i64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 272 | (self.config.result_ttl as usize).try_into().unwrap(), [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/queue.rs:275:14 [INFO] [stdout] | [INFO] [stdout] 275 | .hset( [INFO] [stdout] | ______________^^^^- [INFO] [stdout] 276 | | format!("{}:task:{}", QUEUE_KEY, task_def.id), [INFO] [stdout] 277 | | &[("data", &task_json)], [INFO] [stdout] 278 | | ) [INFO] [stdout] | |_____________- argument #3 is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/redis-0.24.0/src/commands/mod.rs:284:8 [INFO] [stdout] | [INFO] [stdout] 284 | fn hset(key: K, field: F, value: V) { [INFO] [stdout] | ^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 275 | .hset( [INFO] [stdout] 276 | format!("{}:task:{}", QUEUE_KEY, task_def.id), [INFO] [stdout] 277 | &[("data", &task_json)], [INFO] [stdout] 278 ~ /* value */, [INFO] [stdout] 279 ~ ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/queue.rs:275:14 [INFO] [stdout] | [INFO] [stdout] 275 | .hset( [INFO] [stdout] | ______________^^^^- [INFO] [stdout] 276 | | format!("{}:task:{}", QUEUE_KEY, task_def.id), [INFO] [stdout] 277 | | &[("data", &task_json)], [INFO] [stdout] 278 | | ) [INFO] [stdout] | |_____________- argument #3 is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/redis-0.24.0/src/commands/mod.rs:284:8 [INFO] [stdout] | [INFO] [stdout] 284 | fn hset(key: K, field: F, value: V) { [INFO] [stdout] | ^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 275 | .hset( [INFO] [stdout] 276 | format!("{}:task:{}", QUEUE_KEY, task_def.id), [INFO] [stdout] 277 | &[("data", &task_json)], [INFO] [stdout] 278 ~ /* value */, [INFO] [stdout] 279 ~ ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/queue.rs:282:71 [INFO] [stdout] | [INFO] [stdout] 282 | .map_err(|e| TaskError::queue_operation("mark_completed", e.to_string()))?; [INFO] [stdout] | -------------------------- ---------------- ^^^^^^^^^^^^^ expected `&str`, found `String` [INFO] [stdout] | | | [INFO] [stdout] | | expected all arguments to be this `&str` type because they need to match the type of this parameter [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/error.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn queue_operation>(operation: S, reason: S) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ - ------------ --------- this parameter needs to match the `&str` type of `operation` [INFO] [stdout] | | | [INFO] [stdout] | | `reason` needs to match the `&str` type of this parameter [INFO] [stdout] | `operation` and `reason` both reference this parameter `S` [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 282 | .map_err(|e| TaskError::queue_operation("mark_completed", &e.to_string()))?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/queue.rs:282:71 [INFO] [stdout] | [INFO] [stdout] 282 | .map_err(|e| TaskError::queue_operation("mark_completed", e.to_string()))?; [INFO] [stdout] | -------------------------- ---------------- ^^^^^^^^^^^^^ expected `&str`, found `String` [INFO] [stdout] | | | [INFO] [stdout] | | expected all arguments to be this `&str` type because they need to match the type of this parameter [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/error.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn queue_operation>(operation: S, reason: S) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ - ------------ --------- this parameter needs to match the `&str` type of `operation` [INFO] [stdout] | | | [INFO] [stdout] | | `reason` needs to match the `&str` type of this parameter [INFO] [stdout] | `operation` and `reason` both reference this parameter `S` [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 282 | .map_err(|e| TaskError::queue_operation("mark_completed", &e.to_string()))?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this function depends on never type fallback being `()` [INFO] [stdout] --> src/queue.rs:258:5 [INFO] [stdout] | [INFO] [stdout] 258 | pub async fn mark_task_completed(&self, task_def: &TaskDefinition) -> TaskResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/queue.rs:280:14 [INFO] [stdout] | [INFO] [stdout] 280 | .query_async(&mut conn) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 280 | .query_async::<_, ()>(&mut conn) [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this function depends on never type fallback being `()` [INFO] [stdout] --> src/queue.rs:258:5 [INFO] [stdout] | [INFO] [stdout] 258 | pub async fn mark_task_completed(&self, task_def: &TaskDefinition) -> TaskResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/queue.rs:280:14 [INFO] [stdout] | [INFO] [stdout] 280 | .query_async(&mut conn) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 280 | .query_async::<_, ()>(&mut conn) [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/queue.rs:296:14 [INFO] [stdout] | [INFO] [stdout] 296 | .hset( [INFO] [stdout] | ______________^^^^- [INFO] [stdout] 297 | | format!("{}:failed:{}", FAILED_KEY, task_def.id), [INFO] [stdout] 298 | | &[("data", &task_json)], [INFO] [stdout] 299 | | ) [INFO] [stdout] | |_____________- argument #3 is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/redis-0.24.0/src/commands/mod.rs:284:8 [INFO] [stdout] | [INFO] [stdout] 284 | fn hset(key: K, field: F, value: V) { [INFO] [stdout] | ^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 296 | .hset( [INFO] [stdout] 297 | format!("{}:failed:{}", FAILED_KEY, task_def.id), [INFO] [stdout] 298 | &[("data", &task_json)], [INFO] [stdout] 299 ~ /* value */, [INFO] [stdout] 300 ~ ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/queue.rs:296:14 [INFO] [stdout] | [INFO] [stdout] 296 | .hset( [INFO] [stdout] | ______________^^^^- [INFO] [stdout] 297 | | format!("{}:failed:{}", FAILED_KEY, task_def.id), [INFO] [stdout] 298 | | &[("data", &task_json)], [INFO] [stdout] 299 | | ) [INFO] [stdout] | |_____________- argument #3 is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/redis-0.24.0/src/commands/mod.rs:284:8 [INFO] [stdout] | [INFO] [stdout] 284 | fn hset(key: K, field: F, value: V) { [INFO] [stdout] | ^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 296 | .hset( [INFO] [stdout] 297 | format!("{}:failed:{}", FAILED_KEY, task_def.id), [INFO] [stdout] 298 | &[("data", &task_json)], [INFO] [stdout] 299 ~ /* value */, [INFO] [stdout] 300 ~ ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/queue.rs:303:17 [INFO] [stdout] | [INFO] [stdout] 301 | .expire( [INFO] [stdout] | ------ arguments to this method are incorrect [INFO] [stdout] 302 | format!("{}:failed:{}", FAILED_KEY, task_def.id), [INFO] [stdout] 303 | self.config.failed_ttl as usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i64`, found `usize` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/redis-0.24.0/src/commands/mod.rs:133:8 [INFO] [stdout] | [INFO] [stdout] 133 | fn expire(key: K, seconds: i64) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: you can convert a `usize` to an `i64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 303 | (self.config.failed_ttl as usize).try_into().unwrap(), [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/queue.rs:303:17 [INFO] [stdout] | [INFO] [stdout] 301 | .expire( [INFO] [stdout] | ------ arguments to this method are incorrect [INFO] [stdout] 302 | format!("{}:failed:{}", FAILED_KEY, task_def.id), [INFO] [stdout] 303 | self.config.failed_ttl as usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i64`, found `usize` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/redis-0.24.0/src/commands/mod.rs:133:8 [INFO] [stdout] | [INFO] [stdout] 133 | fn expire(key: K, seconds: i64) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: you can convert a `usize` to an `i64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 303 | (self.config.failed_ttl as usize).try_into().unwrap(), [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/queue.rs:306:14 [INFO] [stdout] | [INFO] [stdout] 306 | .hset( [INFO] [stdout] | ______________^^^^- [INFO] [stdout] 307 | | format!("{}:task:{}", QUEUE_KEY, task_def.id), [INFO] [stdout] 308 | | &[("data", &task_json)], [INFO] [stdout] 309 | | ) [INFO] [stdout] | |_____________- argument #3 is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/redis-0.24.0/src/commands/mod.rs:284:8 [INFO] [stdout] | [INFO] [stdout] 284 | fn hset(key: K, field: F, value: V) { [INFO] [stdout] | ^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 306 | .hset( [INFO] [stdout] 307 | format!("{}:task:{}", QUEUE_KEY, task_def.id), [INFO] [stdout] 308 | &[("data", &task_json)], [INFO] [stdout] 309 ~ /* value */, [INFO] [stdout] 310 ~ ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/queue.rs:306:14 [INFO] [stdout] | [INFO] [stdout] 306 | .hset( [INFO] [stdout] | ______________^^^^- [INFO] [stdout] 307 | | format!("{}:task:{}", QUEUE_KEY, task_def.id), [INFO] [stdout] 308 | | &[("data", &task_json)], [INFO] [stdout] 309 | | ) [INFO] [stdout] | |_____________- argument #3 is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/redis-0.24.0/src/commands/mod.rs:284:8 [INFO] [stdout] | [INFO] [stdout] 284 | fn hset(key: K, field: F, value: V) { [INFO] [stdout] | ^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 306 | .hset( [INFO] [stdout] 307 | format!("{}:task:{}", QUEUE_KEY, task_def.id), [INFO] [stdout] 308 | &[("data", &task_json)], [INFO] [stdout] 309 ~ /* value */, [INFO] [stdout] 310 ~ ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/queue.rs:313:68 [INFO] [stdout] | [INFO] [stdout] 313 | .map_err(|e| TaskError::queue_operation("mark_failed", e.to_string()))?; [INFO] [stdout] | -------------------------- ------------- ^^^^^^^^^^^^^ expected `&str`, found `String` [INFO] [stdout] | | | [INFO] [stdout] | | expected all arguments to be this `&str` type because they need to match the type of this parameter [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/error.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn queue_operation>(operation: S, reason: S) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ - ------------ --------- this parameter needs to match the `&str` type of `operation` [INFO] [stdout] | | | [INFO] [stdout] | | `reason` needs to match the `&str` type of this parameter [INFO] [stdout] | `operation` and `reason` both reference this parameter `S` [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 313 | .map_err(|e| TaskError::queue_operation("mark_failed", &e.to_string()))?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/queue.rs:313:68 [INFO] [stdout] | [INFO] [stdout] 313 | .map_err(|e| TaskError::queue_operation("mark_failed", e.to_string()))?; [INFO] [stdout] | -------------------------- ------------- ^^^^^^^^^^^^^ expected `&str`, found `String` [INFO] [stdout] | | | [INFO] [stdout] | | expected all arguments to be this `&str` type because they need to match the type of this parameter [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/error.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn queue_operation>(operation: S, reason: S) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ - ------------ --------- this parameter needs to match the `&str` type of `operation` [INFO] [stdout] | | | [INFO] [stdout] | | `reason` needs to match the `&str` type of this parameter [INFO] [stdout] | `operation` and `reason` both reference this parameter `S` [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 313 | .map_err(|e| TaskError::queue_operation("mark_failed", &e.to_string()))?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this function depends on never type fallback being `()` [INFO] [stdout] --> src/queue.rs:289:5 [INFO] [stdout] | [INFO] [stdout] 289 | pub async fn mark_task_failed(&self, task_def: &TaskDefinition) -> TaskResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/queue.rs:311:14 [INFO] [stdout] | [INFO] [stdout] 311 | .query_async(&mut conn) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 311 | .query_async::<_, ()>(&mut conn) [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this function depends on never type fallback being `()` [INFO] [stdout] --> src/queue.rs:289:5 [INFO] [stdout] | [INFO] [stdout] 289 | pub async fn mark_task_failed(&self, task_def: &TaskDefinition) -> TaskResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/queue.rs:311:14 [INFO] [stdout] | [INFO] [stdout] 311 | .query_async(&mut conn) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 311 | .query_async::<_, ()>(&mut conn) [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/queue.rs:340:65 [INFO] [stdout] | [INFO] [stdout] 340 | .map_err(|e| TaskError::queue_operation("get_task", e.to_string()))?; [INFO] [stdout] | -------------------------- ---------- ^^^^^^^^^^^^^ expected `&str`, found `String` [INFO] [stdout] | | | [INFO] [stdout] | | expected all arguments to be this `&str` type because they need to match the type of this parameter [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/error.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn queue_operation>(operation: S, reason: S) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ - ------------ --------- this parameter needs to match the `&str` type of `operation` [INFO] [stdout] | | | [INFO] [stdout] | | `reason` needs to match the `&str` type of this parameter [INFO] [stdout] | `operation` and `reason` both reference this parameter `S` [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 340 | .map_err(|e| TaskError::queue_operation("get_task", &e.to_string()))?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/queue.rs:340:65 [INFO] [stdout] | [INFO] [stdout] 340 | .map_err(|e| TaskError::queue_operation("get_task", e.to_string()))?; [INFO] [stdout] | -------------------------- ---------- ^^^^^^^^^^^^^ expected `&str`, found `String` [INFO] [stdout] | | | [INFO] [stdout] | | expected all arguments to be this `&str` type because they need to match the type of this parameter [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/error.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn queue_operation>(operation: S, reason: S) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ - ------------ --------- this parameter needs to match the `&str` type of `operation` [INFO] [stdout] | | | [INFO] [stdout] | | `reason` needs to match the `&str` type of this parameter [INFO] [stdout] | `operation` and `reason` both reference this parameter `S` [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 340 | .map_err(|e| TaskError::queue_operation("get_task", &e.to_string()))?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/queue.rs:360:66 [INFO] [stdout] | [INFO] [stdout] 360 | .map_err(|e| TaskError::queue_operation("get_stats", e.to_string()))?; [INFO] [stdout] | -------------------------- ----------- ^^^^^^^^^^^^^ expected `&str`, found `String` [INFO] [stdout] | | | [INFO] [stdout] | | expected all arguments to be this `&str` type because they need to match the type of this parameter [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/error.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn queue_operation>(operation: S, reason: S) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ - ------------ --------- this parameter needs to match the `&str` type of `operation` [INFO] [stdout] | | | [INFO] [stdout] | | `reason` needs to match the `&str` type of this parameter [INFO] [stdout] | `operation` and `reason` both reference this parameter `S` [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 360 | .map_err(|e| TaskError::queue_operation("get_stats", &e.to_string()))?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/queue.rs:360:66 [INFO] [stdout] | [INFO] [stdout] 360 | .map_err(|e| TaskError::queue_operation("get_stats", e.to_string()))?; [INFO] [stdout] | -------------------------- ----------- ^^^^^^^^^^^^^ expected `&str`, found `String` [INFO] [stdout] | | | [INFO] [stdout] | | expected all arguments to be this `&str` type because they need to match the type of this parameter [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/error.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn queue_operation>(operation: S, reason: S) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ - ------------ --------- this parameter needs to match the `&str` type of `operation` [INFO] [stdout] | | | [INFO] [stdout] | | `reason` needs to match the `&str` type of this parameter [INFO] [stdout] | `operation` and `reason` both reference this parameter `S` [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 360 | .map_err(|e| TaskError::queue_operation("get_stats", &e.to_string()))?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/queue.rs:366:66 [INFO] [stdout] | [INFO] [stdout] 366 | .map_err(|e| TaskError::queue_operation("get_stats", e.to_string()))?; [INFO] [stdout] | -------------------------- ----------- ^^^^^^^^^^^^^ expected `&str`, found `String` [INFO] [stdout] | | | [INFO] [stdout] | | expected all arguments to be this `&str` type because they need to match the type of this parameter [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/error.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn queue_operation>(operation: S, reason: S) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ - ------------ --------- this parameter needs to match the `&str` type of `operation` [INFO] [stdout] | | | [INFO] [stdout] | | `reason` needs to match the `&str` type of this parameter [INFO] [stdout] | `operation` and `reason` both reference this parameter `S` [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 366 | .map_err(|e| TaskError::queue_operation("get_stats", &e.to_string()))?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/queue.rs:372:66 [INFO] [stdout] | [INFO] [stdout] 372 | .map_err(|e| TaskError::queue_operation("get_stats", e.to_string()))?; [INFO] [stdout] | -------------------------- ----------- ^^^^^^^^^^^^^ expected `&str`, found `String` [INFO] [stdout] | | | [INFO] [stdout] | | expected all arguments to be this `&str` type because they need to match the type of this parameter [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/error.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn queue_operation>(operation: S, reason: S) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ - ------------ --------- this parameter needs to match the `&str` type of `operation` [INFO] [stdout] | | | [INFO] [stdout] | | `reason` needs to match the `&str` type of this parameter [INFO] [stdout] | `operation` and `reason` both reference this parameter `S` [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 372 | .map_err(|e| TaskError::queue_operation("get_stats", &e.to_string()))?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/queue.rs:366:66 [INFO] [stdout] | [INFO] [stdout] 366 | .map_err(|e| TaskError::queue_operation("get_stats", e.to_string()))?; [INFO] [stdout] | -------------------------- ----------- ^^^^^^^^^^^^^ expected `&str`, found `String` [INFO] [stdout] | | | [INFO] [stdout] | | expected all arguments to be this `&str` type because they need to match the type of this parameter [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/error.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn queue_operation>(operation: S, reason: S) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ - ------------ --------- this parameter needs to match the `&str` type of `operation` [INFO] [stdout] | | | [INFO] [stdout] | | `reason` needs to match the `&str` type of this parameter [INFO] [stdout] | `operation` and `reason` both reference this parameter `S` [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 366 | .map_err(|e| TaskError::queue_operation("get_stats", &e.to_string()))?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/queue.rs:372:66 [INFO] [stdout] | [INFO] [stdout] 372 | .map_err(|e| TaskError::queue_operation("get_stats", e.to_string()))?; [INFO] [stdout] | -------------------------- ----------- ^^^^^^^^^^^^^ expected `&str`, found `String` [INFO] [stdout] | | | [INFO] [stdout] | | expected all arguments to be this `&str` type because they need to match the type of this parameter [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/error.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn queue_operation>(operation: S, reason: S) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ - ------------ --------- this parameter needs to match the `&str` type of `operation` [INFO] [stdout] | | | [INFO] [stdout] | | `reason` needs to match the `&str` type of this parameter [INFO] [stdout] | `operation` and `reason` both reference this parameter `S` [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 372 | .map_err(|e| TaskError::queue_operation("get_stats", &e.to_string()))?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/queue.rs:391:68 [INFO] [stdout] | [INFO] [stdout] 391 | .map_err(|e| TaskError::queue_operation("list_queues", e.to_string()))?; [INFO] [stdout] | -------------------------- ------------- ^^^^^^^^^^^^^ expected `&str`, found `String` [INFO] [stdout] | | | [INFO] [stdout] | | expected all arguments to be this `&str` type because they need to match the type of this parameter [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/error.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn queue_operation>(operation: S, reason: S) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ - ------------ --------- this parameter needs to match the `&str` type of `operation` [INFO] [stdout] | | | [INFO] [stdout] | | `reason` needs to match the `&str` type of this parameter [INFO] [stdout] | `operation` and `reason` both reference this parameter `S` [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 391 | .map_err(|e| TaskError::queue_operation("list_queues", &e.to_string()))?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/queue.rs:391:68 [INFO] [stdout] | [INFO] [stdout] 391 | .map_err(|e| TaskError::queue_operation("list_queues", e.to_string()))?; [INFO] [stdout] | -------------------------- ------------- ^^^^^^^^^^^^^ expected `&str`, found `String` [INFO] [stdout] | | | [INFO] [stdout] | | expected all arguments to be this `&str` type because they need to match the type of this parameter [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/error.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn queue_operation>(operation: S, reason: S) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ - ------------ --------- this parameter needs to match the `&str` type of `operation` [INFO] [stdout] | | | [INFO] [stdout] | | `reason` needs to match the `&str` type of this parameter [INFO] [stdout] | `operation` and `reason` both reference this parameter `S` [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 391 | .map_err(|e| TaskError::queue_operation("list_queues", &e.to_string()))?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/queue.rs:424:64 [INFO] [stdout] | [INFO] [stdout] 424 | .map_err(|e| TaskError::queue_operation("cleanup", e.to_string()))?; [INFO] [stdout] | -------------------------- --------- ^^^^^^^^^^^^^ expected `&str`, found `String` [INFO] [stdout] | | | [INFO] [stdout] | | expected all arguments to be this `&str` type because they need to match the type of this parameter [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/error.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn queue_operation>(operation: S, reason: S) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ - ------------ --------- this parameter needs to match the `&str` type of `operation` [INFO] [stdout] | | | [INFO] [stdout] | | `reason` needs to match the `&str` type of this parameter [INFO] [stdout] | `operation` and `reason` both reference this parameter `S` [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 424 | .map_err(|e| TaskError::queue_operation("cleanup", &e.to_string()))?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/queue.rs:424:64 [INFO] [stdout] | [INFO] [stdout] 424 | .map_err(|e| TaskError::queue_operation("cleanup", e.to_string()))?; [INFO] [stdout] | -------------------------- --------- ^^^^^^^^^^^^^ expected `&str`, found `String` [INFO] [stdout] | | | [INFO] [stdout] | | expected all arguments to be this `&str` type because they need to match the type of this parameter [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/error.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn queue_operation>(operation: S, reason: S) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ - ------------ --------- this parameter needs to match the `&str` type of `operation` [INFO] [stdout] | | | [INFO] [stdout] | | `reason` needs to match the `&str` type of this parameter [INFO] [stdout] | `operation` and `reason` both reference this parameter `S` [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 424 | .map_err(|e| TaskError::queue_operation("cleanup", &e.to_string()))?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `redis::aio::Connection` doesn't implement `Debug` [INFO] [stdout] --> src/queue.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 62 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 66 | connections: Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Debug` is not implemented for `redis::aio::Connection` [INFO] [stdout] | [INFO] [stdout] help: the trait `Debug` is implemented for `Arc` [INFO] [stdout] --> /rustc/0c70cfbec949d241375e31c5a42066be70c720fc/library/alloc/src/sync.rs:3700:0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `redis::aio::Connection` doesn't implement `Debug` [INFO] [stdout] --> src/queue.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 62 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 66 | connections: Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Debug` is not implemented for `redis::aio::Connection` [INFO] [stdout] | [INFO] [stdout] help: the trait `Debug` is implemented for `Arc` [INFO] [stdout] --> /rustc/0c70cfbec949d241375e31c5a42066be70c720fc/library/alloc/src/sync.rs:3700:0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Task` [INFO] [stdout] --> src/worker.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::task::{Task, TaskDefinition, TaskStatus}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Task` [INFO] [stdout] --> src/worker.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::task::{Task, TaskDefinition, TaskStatus}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `distributed_task_queue` (lib) due to 40 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `distributed_task_queue` (lib test) due to 40 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ac4972c946a0f9bde311bd63ced084a36d9aea414e6c6704a300ad4ec28cd238", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac4972c946a0f9bde311bd63ced084a36d9aea414e6c6704a300ad4ec28cd238", kill_on_drop: false }` [INFO] [stdout] ac4972c946a0f9bde311bd63ced084a36d9aea414e6c6704a300ad4ec28cd238