[INFO] cloning repository https://github.com/EkardNT/schlepdep
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/EkardNT/schlepdep" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEkardNT%2Fschlepdep", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEkardNT%2Fschlepdep'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4ced0c57a1720aeee72988230d82425ee4964d35
[INFO] checking EkardNT/schlepdep/4ced0c57a1720aeee72988230d82425ee4964d35 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEkardNT%2Fschlepdep" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/EkardNT/schlepdep on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/EkardNT/schlepdep
[INFO] finished tweaking git repo https://github.com/EkardNT/schlepdep
[INFO] tweaked toml for git repo https://github.com/EkardNT/schlepdep written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/EkardNT/schlepdep 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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8c4df2de10887cda79449cb024164239541050f26e80a2da4d942368f42ae202
[INFO] running `Command { std: "docker" "start" "-a" "8c4df2de10887cda79449cb024164239541050f26e80a2da4d942368f42ae202", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8c4df2de10887cda79449cb024164239541050f26e80a2da4d942368f42ae202", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8c4df2de10887cda79449cb024164239541050f26e80a2da4d942368f42ae202", kill_on_drop: false }`
[INFO] [stdout] 8c4df2de10887cda79449cb024164239541050f26e80a2da4d942368f42ae202
[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 -Dtail_expr_drop_order" "-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 239ac8f9d25c67969095652fce4c55e72c022d7ac4780799ab34083e1f1b8f60
[INFO] running `Command { std: "docker" "start" "-a" "239ac8f9d25c67969095652fce4c55e72c022d7ac4780799ab34083e1f1b8f60", kill_on_drop: false }`
[INFO] [stderr] Checking cfg-if v0.1.10
[INFO] [stderr] Compiling libc v0.2.69
[INFO] [stderr] Compiling proc-macro2 v1.0.10
[INFO] [stderr] Compiling autocfg v1.0.0
[INFO] [stderr] Compiling unicode-xid v0.2.0
[INFO] [stderr] Compiling syn v1.0.17
[INFO] [stderr] Compiling memchr v2.3.3
[INFO] [stderr] Checking slab v0.4.2
[INFO] [stderr] Compiling log v0.4.8
[INFO] [stderr] Checking futures-core v0.3.4
[INFO] [stderr] Checking futures-sink v0.3.4
[INFO] [stderr] Compiling proc-macro-nested v0.1.4
[INFO] [stderr] Checking fnv v1.0.6
[INFO] [stderr] Compiling getrandom v0.1.14
[INFO] [stderr] Compiling proc-macro-hack v0.5.15
[INFO] [stderr] Compiling maybe-uninit v2.0.0
[INFO] [stderr] Checking bytes v0.5.4
[INFO] [stderr] Checking itoa v0.4.5
[INFO] [stderr] Checking arc-swap v0.4.5
[INFO] [stderr] Checking futures-task v0.3.4
[INFO] [stderr] Checking futures-channel v0.3.4
[INFO] [stderr] Checking pin-utils v0.1.0-alpha.4
[INFO] [stderr] Checking futures-io v0.3.4
[INFO] [stderr] Checking pin-project-lite v0.1.4
[INFO] [stderr] Compiling httparse v1.3.4
[INFO] [stderr] Checking ppv-lite86 v0.2.6
[INFO] [stderr] Compiling ryu v1.0.3
[INFO] [stderr] Compiling serde v1.0.106
[INFO] [stderr] Checking scopeguard v1.1.0
[INFO] [stderr] Checking try-lock v0.2.2
[INFO] [stderr] Checking thread_local v1.0.1
[INFO] [stderr] Checking tower-service v0.3.0
[INFO] [stderr] Checking regex-syntax v0.6.17
[INFO] [stderr] Checking aho-corasick v0.7.10
[INFO] [stderr] Checking infrastructure v0.1.0 (/opt/rustwide/workdir/infrastructure)
[INFO] [stderr] Compiling crossbeam-utils v0.7.2
[INFO] [stderr] Compiling memoffset v0.5.4
[INFO] [stderr] Compiling crossbeam-epoch v0.8.2
[INFO] [stderr] Compiling indexmap v1.3.2
[INFO] [stderr] Checking http v0.2.1
[INFO] [stderr] Checking want v0.3.0
[INFO] [stderr] Compiling quote v1.0.3
[INFO] [stderr] Checking crossbeam-channel v0.4.2
[INFO] [stderr] Checking crossbeam-queue v0.2.1
[INFO] [stderr] Checking net2 v0.2.33
[INFO] [stderr] Checking iovec v0.1.4
[INFO] [stderr] Checking num_cpus v1.13.0
[INFO] [stderr] Checking signal-hook-registry v1.2.0
[INFO] [stderr] Checking time v0.1.43
[INFO] [stderr] Checking core_affinity v0.5.10
[INFO] [stderr] Checking mio v0.6.21
[INFO] [stderr] Checking rand_core v0.5.1
[INFO] [stderr] Checking crossbeam-deque v0.7.3
[INFO] [stderr] Checking crossbeam v0.7.3
[INFO] [stderr] Checking rand_chacha v0.2.2
[INFO] [stderr] Checking rand v0.7.3
[INFO] [stderr] Checking mio-uds v0.6.7
[INFO] [stderr] Checking regex v1.3.7
[INFO] [stderr] Checking uuid v0.8.1
[INFO] [stderr] Checking http-body v0.3.1
[INFO] [stderr] Compiling futures-macro v0.3.4
[INFO] [stderr] Compiling tokio-macros v0.2.5
[INFO] [stderr] Compiling serde_derive v1.0.106
[INFO] [stderr] Compiling pin-project-internal v0.4.9
[INFO] [stderr] Checking tokio v0.2.18
[INFO] [stderr] Checking futures-util v0.3.4
[INFO] [stderr] Checking pin-project v0.4.9
[INFO] [stderr] Checking futures-executor v0.3.4
[INFO] [stderr] Checking futures v0.3.4
[INFO] [stderr] Checking tokio-util v0.3.1
[INFO] [stderr] Checking h2 v0.2.4
[INFO] [stderr] Checking hyper v0.13.5
[INFO] [stderr] Checking serde_json v1.0.51
[INFO] [stderr] Checking dispatch-service v0.1.0 (/opt/rustwide/workdir/dispatch-service)
[INFO] [stdout] warning: unused import: `Method`
[INFO] [stdout] --> dispatch-service/src/operations/complete_command.rs:1:19
[INFO] [stdout] |
[INFO] [stdout] 1 | use hyper::{Body, Method, Request, Response};
[INFO] [stdout] | ^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout] --> dispatch-service/src/operations/delete_commands.rs:1:5
[INFO] [stdout] |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `Method`
[INFO] [stdout] --> dispatch-service/src/operations/delete_commands.rs:3:19
[INFO] [stdout] |
[INFO] [stdout] 3 | use hyper::{Body, Method, Request, Response};
[INFO] [stdout] | ^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout] --> dispatch-service/src/operations/describe_command.rs:1:5
[INFO] [stdout] |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `Method`
[INFO] [stdout] --> dispatch-service/src/operations/describe_command.rs:3:19
[INFO] [stdout] |
[INFO] [stdout] 3 | use hyper::{Body, Method, Request, Response};
[INFO] [stdout] | ^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout] --> dispatch-service/src/operations/describe_commands.rs:1:5
[INFO] [stdout] |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `Method`
[INFO] [stdout] --> dispatch-service/src/operations/describe_commands.rs:3:19
[INFO] [stdout] |
[INFO] [stdout] 3 | use hyper::{Body, Method, Request, Response};
[INFO] [stdout] | ^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `Method`
[INFO] [stdout] --> dispatch-service/src/operations/dispatch_commands.rs:7:19
[INFO] [stdout] |
[INFO] [stdout] 7 | use hyper::{Body, Method, Request, Response};
[INFO] [stdout] | ^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `Method`
[INFO] [stdout] --> dispatch-service/src/operations/heartbeat_command.rs:1:19
[INFO] [stdout] |
[INFO] [stdout] 1 | use hyper::{Body, Method, Request, Response};
[INFO] [stdout] | ^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `Method`
[INFO] [stdout] --> dispatch-service/src/operations/receive_commands.rs:1:19
[INFO] [stdout] |
[INFO] [stdout] 1 | use hyper::{Body, Method, Request, Response};
[INFO] [stdout] | ^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `Method`
[INFO] [stdout] --> dispatch-service/src/operations/start_command.rs:1:19
[INFO] [stdout] |
[INFO] [stdout] 1 | use hyper::{Body, Method, Request, Response};
[INFO] [stdout] | ^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `Captures` and `Regex`
[INFO] [stdout] --> dispatch-service/src/operations.rs:23:13
[INFO] [stdout] |
[INFO] [stdout] 23 | use regex::{Captures, Regex, RegexSet};
[INFO] [stdout] | ^^^^^^^^ ^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `TrySendError`
[INFO] [stdout] --> dispatch-service/src/main.rs:16:64
[INFO] [stdout] |
[INFO] [stdout] 16 | use crossbeam::channel::{self, Sender, Receiver, TryRecvError, TrySendError};
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `Version`
[INFO] [stdout] --> dispatch-service/src/main.rs:17:38
[INFO] [stdout] |
[INFO] [stdout] 17 | use hyper::{Body, Request, Response, Version};
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `Method`
[INFO] [stdout] --> dispatch-service/src/operations/complete_command.rs:1:19
[INFO] [stdout] |
[INFO] [stdout] 1 | use hyper::{Body, Method, Request, Response};
[INFO] [stdout] | ^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout] --> dispatch-service/src/operations/delete_commands.rs:1:5
[INFO] [stdout] |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `Method`
[INFO] [stdout] --> dispatch-service/src/operations/delete_commands.rs:3:19
[INFO] [stdout] |
[INFO] [stdout] 3 | use hyper::{Body, Method, Request, Response};
[INFO] [stdout] | ^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout] --> dispatch-service/src/operations/describe_command.rs:1:5
[INFO] [stdout] |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `Method`
[INFO] [stdout] --> dispatch-service/src/operations/describe_command.rs:3:19
[INFO] [stdout] |
[INFO] [stdout] 3 | use hyper::{Body, Method, Request, Response};
[INFO] [stdout] | ^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout] --> dispatch-service/src/operations/describe_commands.rs:1:5
[INFO] [stdout] |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `Method`
[INFO] [stdout] --> dispatch-service/src/operations/describe_commands.rs:3:19
[INFO] [stdout] |
[INFO] [stdout] 3 | use hyper::{Body, Method, Request, Response};
[INFO] [stdout] | ^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `Method`
[INFO] [stdout] --> dispatch-service/src/operations/dispatch_commands.rs:7:19
[INFO] [stdout] |
[INFO] [stdout] 7 | use hyper::{Body, Method, Request, Response};
[INFO] [stdout] | ^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `Method`
[INFO] [stdout] --> dispatch-service/src/operations/heartbeat_command.rs:1:19
[INFO] [stdout] |
[INFO] [stdout] 1 | use hyper::{Body, Method, Request, Response};
[INFO] [stdout] | ^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `Method`
[INFO] [stdout] --> dispatch-service/src/operations/receive_commands.rs:1:19
[INFO] [stdout] |
[INFO] [stdout] 1 | use hyper::{Body, Method, Request, Response};
[INFO] [stdout] | ^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `Method`
[INFO] [stdout] --> dispatch-service/src/operations/start_command.rs:1:19
[INFO] [stdout] |
[INFO] [stdout] 1 | use hyper::{Body, Method, Request, Response};
[INFO] [stdout] | ^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `Captures` and `Regex`
[INFO] [stdout] --> dispatch-service/src/operations.rs:23:13
[INFO] [stdout] |
[INFO] [stdout] 23 | use regex::{Captures, Regex, RegexSet};
[INFO] [stdout] | ^^^^^^^^ ^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `TrySendError`
[INFO] [stdout] --> dispatch-service/src/main.rs:16:64
[INFO] [stdout] |
[INFO] [stdout] 16 | use crossbeam::channel::{self, Sender, Receiver, TryRecvError, TrySendError};
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `Version`
[INFO] [stdout] --> dispatch-service/src/main.rs:17:38
[INFO] [stdout] |
[INFO] [stdout] 17 | use hyper::{Body, Request, Response, Version};
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout] --> dispatch-service/src/main.rs:241:16
[INFO] [stdout] |
[INFO] [stdout] 241 | if let Err(err) = http.serve_connection(conn.stream, service).await {
[INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout] --> dispatch-service/src/main.rs:241:16
[INFO] [stdout] |
[INFO] [stdout] 241 | if let Err(err) = http.serve_connection(conn.stream, service).await {
[INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `req`
[INFO] [stdout] --> dispatch-service/src/operations/dispatch_commands.rs:70:46
[INFO] [stdout] |
[INFO] [stdout] 70 | run_operation(req, database, 32 * 1024, |req: Request, database| async move {
[INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `database`
[INFO] [stdout] --> dispatch-service/src/operations/dispatch_commands.rs:70:67
[INFO] [stdout] |
[INFO] [stdout] 70 | run_operation(req, database, 32 * 1024, |req: Request, database| async move {
[INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_database`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout] --> dispatch-service/src/operations.rs:142:13
[INFO] [stdout] |
[INFO] [stdout] 142 | Err(err) => {
[INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout] --> dispatch-service/src/operations.rs:153:13
[INFO] [stdout] |
[INFO] [stdout] 153 | Err(err) => {
[INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout] --> dispatch-service/src/operations.rs:162:13
[INFO] [stdout] |
[INFO] [stdout] 162 | Err(err) => {
[INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `req`
[INFO] [stdout] --> dispatch-service/src/operations/dispatch_commands.rs:70:46
[INFO] [stdout] |
[INFO] [stdout] 70 | run_operation(req, database, 32 * 1024, |req: Request, database| async move {
[INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `database`
[INFO] [stdout] --> dispatch-service/src/operations/dispatch_commands.rs:70:67
[INFO] [stdout] |
[INFO] [stdout] 70 | run_operation(req, database, 32 * 1024, |req: Request, database| async move {
[INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_database`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout] --> dispatch-service/src/operations.rs:142:13
[INFO] [stdout] |
[INFO] [stdout] 142 | Err(err) => {
[INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout] --> dispatch-service/src/operations.rs:153:13
[INFO] [stdout] |
[INFO] [stdout] 153 | Err(err) => {
[INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout] --> dispatch-service/src/operations.rs:162:13
[INFO] [stdout] |
[INFO] [stdout] 162 | Err(err) => {
[INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `database`
[INFO] [stdout] --> dispatch-service/src/main.rs:97:9
[INFO] [stdout] |
[INFO] [stdout] 97 | database: Arc) -> Vec> {
[INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_database`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `local`
[INFO] [stdout] --> dispatch-service/src/main.rs:181:9
[INFO] [stdout] |
[INFO] [stdout] 181 | let local = tokio::task::LocalSet::new();
[INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_local`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `max_conns_semaphore`
[INFO] [stdout] --> dispatch-service/src/main.rs:174:9
[INFO] [stdout] |
[INFO] [stdout] 174 | max_conns_semaphore: Arc,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_conns_semaphore`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: type `LocalDatabase` is more private than the item `Database::Local::0`
[INFO] [stdout] --> dispatch-service/src/database.rs:11:11
[INFO] [stdout] |
[INFO] [stdout] 11 | Local(LocalDatabase)
[INFO] [stdout] | ^^^^^^^^^^^^^ field `Database::Local::0` is reachable at visibility `pub(crate)`
[INFO] [stdout] |
[INFO] [stdout] note: but type `LocalDatabase` is only usable at visibility `pub(self)`
[INFO] [stdout] --> dispatch-service/src/database.rs:20:1
[INFO] [stdout] |
[INFO] [stdout] 20 | struct LocalDatabase {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `remote_addr` is never read
[INFO] [stdout] --> dispatch-service/src/main.rs:36:5
[INFO] [stdout] |
[INFO] [stdout] 34 | struct AcceptedConn {
[INFO] [stdout] | ------------ field in this struct
[INFO] [stdout] 35 | stream: TcpStream,
[INFO] [stdout] 36 | remote_addr: SocketAddr
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: fields `batch_id`, `attempt_token`, `success`, and `data` are never read
[INFO] [stdout] --> dispatch-service/src/operations/complete_command.rs:7:9
[INFO] [stdout] |
[INFO] [stdout] 5 | pub struct Input {
[INFO] [stdout] | ----- fields in this struct
[INFO] [stdout] 6 | // Command batch id.
[INFO] [stdout] 7 | pub batch_id: String,
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout] 8 | // Attempt token.
[INFO] [stdout] 9 | pub attempt_token: String,
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout] 10 | // True if the command succeeded, false if it failed.
[INFO] [stdout] 11 | pub success: bool,
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] 12 | // Command completion data. May be provided for both successful and failed commands.
[INFO] [stdout] 13 | pub data: Option
[INFO] [stdout] | ^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variants `Discard`, `NextCommand`, and `SameCommand` are never constructed
[INFO] [stdout] --> dispatch-service/src/operations/complete_command.rs:20:5
[INFO] [stdout] |
[INFO] [stdout] 18 | pub enum Output {
[INFO] [stdout] | ------ variants in this enum
[INFO] [stdout] 19 | // The client should discard the entire command batch.
[INFO] [stdout] 20 | Discard,
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 | NextCommand,
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout] 24 | // The client should retry the same command again.
[INFO] [stdout] 25 | SameCommand,
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `batch_id` is never read
[INFO] [stdout] --> dispatch-service/src/operations/delete_commands.rs:9:9
[INFO] [stdout] |
[INFO] [stdout] 7 | pub struct Input {
[INFO] [stdout] | ----- field in this struct
[INFO] [stdout] 8 | // Command batch id.
[INFO] [stdout] 9 | pub batch_id: String
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: fields `batch_id` and `command_index` are never read
[INFO] [stdout] --> dispatch-service/src/operations/describe_command.rs:9:9
[INFO] [stdout] |
[INFO] [stdout] 7 | pub struct Input {
[INFO] [stdout] | ----- fields in this struct
[INFO] [stdout] 8 | // Command batch id.
[INFO] [stdout] 9 | pub batch_id: String,
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout] 10 | // 0-based command index to get details of.
[INFO] [stdout] 11 | pub command_index: usize,
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variants `Inactive`, `Active`, and `Done` are never constructed
[INFO] [stdout] --> dispatch-service/src/operations/describe_command.rs:26:5
[INFO] [stdout] |
[INFO] [stdout] 24 | pub enum CommandStatus {
[INFO] [stdout] | ------------- variants in this enum
[INFO] [stdout] 25 | #[serde(rename = "inactive")]
[INFO] [stdout] 26 | Inactive,
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout] 27 | #[serde(rename = "active")]
[INFO] [stdout] 28 | Active,
[INFO] [stdout] | ^^^^^^
[INFO] [stdout] 29 | #[serde(rename = "done")]
[INFO] [stdout] 30 | Done {
[INFO] [stdout] | ^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variants `Available`, `Started`, and `Done` are never constructed
[INFO] [stdout] --> dispatch-service/src/operations/describe_command.rs:39:5
[INFO] [stdout] |
[INFO] [stdout] 37 | pub enum AttemptStatus {
[INFO] [stdout] | ------------- variants in this enum
[INFO] [stdout] 38 | #[serde(rename = "available")]
[INFO] [stdout] 39 | Available {
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 | Started {
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 49 | Done {
[INFO] [stdout] | ^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `batch_id` is never read
[INFO] [stdout] --> dispatch-service/src/operations/describe_commands.rs:9:9
[INFO] [stdout] |
[INFO] [stdout] 7 | pub struct Input {
[INFO] [stdout] | ----- field in this struct
[INFO] [stdout] 8 | // Command batch id.
[INFO] [stdout] 9 | pub batch_id: String
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variants `Active` and `Done` are never constructed
[INFO] [stdout] --> dispatch-service/src/operations/describe_commands.rs:24:5
[INFO] [stdout] |
[INFO] [stdout] 22 | pub enum BatchStatus {
[INFO] [stdout] | ----------- variants in this enum
[INFO] [stdout] 23 | #[serde(rename = "active")]
[INFO] [stdout] 24 | Active,
[INFO] [stdout] | ^^^^^^
[INFO] [stdout] 25 | #[serde(rename = "done")]
[INFO] [stdout] 26 | Done {
[INFO] [stdout] | ^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variants `Inactive`, `Active`, and `Done` are never constructed
[INFO] [stdout] --> dispatch-service/src/operations/describe_commands.rs:35:5
[INFO] [stdout] |
[INFO] [stdout] 33 | pub enum CommandStatus {
[INFO] [stdout] | ------------- variants in this enum
[INFO] [stdout] 34 | #[serde(rename = "inactive")]
[INFO] [stdout] 35 | Inactive,
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout] 36 | #[serde(rename = "active")]
[INFO] [stdout] 37 | Active,
[INFO] [stdout] | ^^^^^^
[INFO] [stdout] 38 | #[serde(rename = "done")]
[INFO] [stdout] 39 | Done {
[INFO] [stdout] | ^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: fields `target_name`, `commands`, `nonce`, and `batch_complete_notification` are never read
[INFO] [stdout] --> dispatch-service/src/operations/dispatch_commands.rs:15:9
[INFO] [stdout] |
[INFO] [stdout] 13 | pub struct Input {
[INFO] [stdout] | ----- fields in this struct
[INFO] [stdout] 14 | // The target the commands are being dispatched against.
[INFO] [stdout] 15 | pub target_name: String,
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout] 16 | // All the commands in the batch, in the order in which they must be executed.
[INFO] [stdout] 17 | pub commands: Vec,
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 | pub nonce: String,
[INFO] [stdout] | ^^^^^
[INFO] [stdout] 21 | // Channel on which notifications will be sent when the batch is complete.
[INFO] [stdout] 22 | pub batch_complete_notification: Option,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: fields `name`, `data`, `max_retries`, `command_available_notification`, `command_progress_notification`, and `success_required` are never read
[INFO] [stdout] --> dispatch-service/src/operations/dispatch_commands.rs:29:9
[INFO] [stdout] |
[INFO] [stdout] 27 | pub struct Command {
[INFO] [stdout] | ------- fields in this struct
[INFO] [stdout] 28 | // Command name.
[INFO] [stdout] 29 | pub name: String,
[INFO] [stdout] | ^^^^
[INFO] [stdout] 30 | // Small per-command data that will be passed down to the executor.
[INFO] [stdout] 31 | pub data: String,
[INFO] [stdout] | ^^^^
[INFO] [stdout] 32 | // Maximum retries for this command. The actual max attempts is max_retries + 1.
[INFO] [stdout] 33 | pub max_retries: usize,
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout] 34 | // Channel on which notifications will be sent when the command becomes available.
[INFO] [stdout] 35 | pub command_available_notification: Option,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 | pub command_progress_notification: Option,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 42 | pub success_required: bool,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: fields `endpoint` and `additional_headers` are never read
[INFO] [stdout] --> dispatch-service/src/operations/dispatch_commands.rs:50:9
[INFO] [stdout] |
[INFO] [stdout] 49 | HTTP {
[INFO] [stdout] | ---- fields in this variant
[INFO] [stdout] 50 | endpoint: String,
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout] 51 | additional_headers: Option>,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `queue_url` is never read
[INFO] [stdout] --> dispatch-service/src/operations/dispatch_commands.rs:55:9
[INFO] [stdout] |
[INFO] [stdout] 54 | SQS {
[INFO] [stdout] | --- field in this variant
[INFO] [stdout] 55 | queue_url: String,
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `target_arn` is never read
[INFO] [stdout] --> dispatch-service/src/operations/dispatch_commands.rs:59:9
[INFO] [stdout] |
[INFO] [stdout] 58 | SNS {
[INFO] [stdout] | --- field in this variant
[INFO] [stdout] 59 | target_arn: String,
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: fields `batch_id` and `attempt_token` are never read
[INFO] [stdout] --> dispatch-service/src/operations/heartbeat_command.rs:7:9
[INFO] [stdout] |
[INFO] [stdout] 5 | pub struct Input {
[INFO] [stdout] | ----- fields in this struct
[INFO] [stdout] 6 | // Command batch id.
[INFO] [stdout] 7 | pub batch_id: String,
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout] 8 | // Attempt token.
[INFO] [stdout] 9 | pub attempt_token: String
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variants `Discard` and `Continue` are never constructed
[INFO] [stdout] --> dispatch-service/src/operations/heartbeat_command.rs:18:5
[INFO] [stdout] |
[INFO] [stdout] 14 | pub enum Output {
[INFO] [stdout] | ------ variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 18 | Discard,
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 | Continue
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: fields `target_name`, `exclude_batches`, `group_membership`, and `timeout_millis` are never read
[INFO] [stdout] --> dispatch-service/src/operations/receive_commands.rs:9:9
[INFO] [stdout] |
[INFO] [stdout] 7 | pub struct Input {
[INFO] [stdout] | ----- fields in this struct
[INFO] [stdout] 8 | // The target whose outstanding commands will be received.
[INFO] [stdout] 9 | pub target_name: String,
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout] 10 | // Command batch ids to not return (because the client already knows about them).
[INFO] [stdout] 11 | pub exclude_batches: Vec,
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 14 | pub group_membership: Vec,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout] 15 | // Max time that the client is willing to wait for the long poll to return.
[INFO] [stdout] 16 | pub timeout_millis: usize
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: fields `batch_id`, `command_index`, and `nonce` are never read
[INFO] [stdout] --> dispatch-service/src/operations/start_command.rs:7:9
[INFO] [stdout] |
[INFO] [stdout] 5 | pub struct Input {
[INFO] [stdout] | ----- fields in this struct
[INFO] [stdout] 6 | // Command batch id.
[INFO] [stdout] 7 | pub batch_id: String,
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout] 8 | // Index of the command within the batch that is being started.
[INFO] [stdout] 9 | pub command_index: usize,
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 12 | pub nonce: String
[INFO] [stdout] | ^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variants `Discard` and `Continue` are never constructed
[INFO] [stdout] --> dispatch-service/src/operations/start_command.rs:21:5
[INFO] [stdout] |
[INFO] [stdout] 17 | pub enum Output {
[INFO] [stdout] | ------ variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 21 | Discard,
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 | Continue {
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused output of future returned by `tokio::task::yield_now` that must be used
[INFO] [stdout] --> dispatch-service/src/main.rs:141:25
[INFO] [stdout] |
[INFO] [stdout] 141 | yield_now().await;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: yield_now does nothing unless polled/`await`-ed
[INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout] |
[INFO] [stdout] 141 | let _ = yield_now().await;
[INFO] [stdout] | +++++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused output of future returned by `tokio::task::yield_now` that must be used
[INFO] [stdout] --> dispatch-service/src/main.rs:157:25
[INFO] [stdout] |
[INFO] [stdout] 157 | yield_now().await;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: yield_now does nothing unless polled/`await`-ed
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout] |
[INFO] [stdout] 157 | let _ = yield_now().await;
[INFO] [stdout] | +++++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout] --> dispatch-service/src/operations/complete_command.rs:4:10
[INFO] [stdout] |
[INFO] [stdout] 4 | #[derive(Deserialize)]
[INFO] [stdout] | ^----------
[INFO] [stdout] | |
[INFO] [stdout] | `Deserialize` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Input`
[INFO] [stdout] 5 | pub struct Input {
[INFO] [stdout] | ----- `Input` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue
[INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout] --> dispatch-service/src/operations/complete_command.rs:16:10
[INFO] [stdout] |
[INFO] [stdout] 16 | #[derive(Serialize)]
[INFO] [stdout] | ^--------
[INFO] [stdout] | |
[INFO] [stdout] | `Serialize` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Output`
[INFO] [stdout] 17 | #[serde(tag = "instruction")]
[INFO] [stdout] 18 | pub enum Output {
[INFO] [stdout] | ------ `Output` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue
[INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout] --> dispatch-service/src/operations/delete_commands.rs:6:10
[INFO] [stdout] |
[INFO] [stdout] 6 | #[derive(Deserialize)]
[INFO] [stdout] | ^----------
[INFO] [stdout] | |
[INFO] [stdout] | `Deserialize` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Input`
[INFO] [stdout] 7 | pub struct Input {
[INFO] [stdout] | ----- `Input` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue
[INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout] --> dispatch-service/src/operations/delete_commands.rs:12:10
[INFO] [stdout] |
[INFO] [stdout] 12 | #[derive(Serialize)]
[INFO] [stdout] | ^--------
[INFO] [stdout] | |
[INFO] [stdout] | `Serialize` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Output`
[INFO] [stdout] 13 | pub struct Output {
[INFO] [stdout] | ------ `Output` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue
[INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout] --> dispatch-service/src/operations/describe_command.rs:6:10
[INFO] [stdout] |
[INFO] [stdout] 6 | #[derive(Deserialize)]
[INFO] [stdout] | ^----------
[INFO] [stdout] | |
[INFO] [stdout] | `Deserialize` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Input`
[INFO] [stdout] 7 | pub struct Input {
[INFO] [stdout] | ----- `Input` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue
[INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout] --> dispatch-service/src/operations/describe_command.rs:14:10
[INFO] [stdout] |
[INFO] [stdout] 14 | #[derive(Serialize)]
[INFO] [stdout] | ^--------
[INFO] [stdout] | |
[INFO] [stdout] | `Serialize` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Output`
[INFO] [stdout] 15 | pub struct Output {
[INFO] [stdout] | ------ `Output` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue
[INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout] --> dispatch-service/src/operations/describe_command.rs:22:10
[INFO] [stdout] |
[INFO] [stdout] 22 | #[derive(Serialize)]
[INFO] [stdout] | ^--------
[INFO] [stdout] | |
[INFO] [stdout] | `Serialize` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_CommandStatus`
[INFO] [stdout] 23 | #[serde(tag = "status")]
[INFO] [stdout] 24 | pub enum CommandStatus {
[INFO] [stdout] | ------------- `CommandStatus` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue
[INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout] --> dispatch-service/src/operations/describe_command.rs:35:10
[INFO] [stdout] |
[INFO] [stdout] 35 | #[derive(Serialize)]
[INFO] [stdout] | ^--------
[INFO] [stdout] | |
[INFO] [stdout] | `Serialize` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_AttemptStatus`
[INFO] [stdout] 36 | #[serde(tag = "status")]
[INFO] [stdout] 37 | pub enum AttemptStatus {
[INFO] [stdout] | ------------- `AttemptStatus` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue
[INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout] --> dispatch-service/src/operations/describe_commands.rs:6:10
[INFO] [stdout] |
[INFO] [stdout] 6 | #[derive(Deserialize)]
[INFO] [stdout] | ^----------
[INFO] [stdout] | |
[INFO] [stdout] | `Deserialize` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Input`
[INFO] [stdout] 7 | pub struct Input {
[INFO] [stdout] | ----- `Input` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue
[INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout] --> dispatch-service/src/operations/describe_commands.rs:12:10
[INFO] [stdout] |
[INFO] [stdout] 12 | #[derive(Serialize)]
[INFO] [stdout] | ^--------
[INFO] [stdout] | |
[INFO] [stdout] | `Serialize` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Output`
[INFO] [stdout] 13 | pub struct Output {
[INFO] [stdout] | ------ `Output` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue
[INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout] --> dispatch-service/src/operations/describe_commands.rs:20:10
[INFO] [stdout] |
[INFO] [stdout] 20 | #[derive(Serialize)]
[INFO] [stdout] | ^--------
[INFO] [stdout] | |
[INFO] [stdout] | `Serialize` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_BatchStatus`
[INFO] [stdout] 21 | #[serde(tag = "status")]
[INFO] [stdout] 22 | pub enum BatchStatus {
[INFO] [stdout] | ----------- `BatchStatus` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue
[INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout] --> dispatch-service/src/operations/describe_commands.rs:31:10
[INFO] [stdout] |
[INFO] [stdout] 31 | #[derive(Serialize)]
[INFO] [stdout] | ^--------
[INFO] [stdout] | |
[INFO] [stdout] | `Serialize` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_CommandStatus`
[INFO] [stdout] 32 | #[serde(tag = "status")]
[INFO] [stdout] 33 | pub enum CommandStatus {
[INFO] [stdout] | ------------- `CommandStatus` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue
[INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout] --> dispatch-service/src/operations/dispatch_commands.rs:12:10
[INFO] [stdout] |
[INFO] [stdout] 12 | #[derive(Deserialize)]
[INFO] [stdout] | ^----------
[INFO] [stdout] | |
[INFO] [stdout] | `Deserialize` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Input`
[INFO] [stdout] 13 | pub struct Input {
[INFO] [stdout] | ----- `Input` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue
[INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout] --> dispatch-service/src/operations/dispatch_commands.rs:26:10
[INFO] [stdout] |
[INFO] [stdout] 26 | #[derive(Deserialize)]
[INFO] [stdout] | ^----------
[INFO] [stdout] | |
[INFO] [stdout] | `Deserialize` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Command`
[INFO] [stdout] 27 | pub struct Command {
[INFO] [stdout] | ------- `Command` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue
[INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout] --> dispatch-service/src/operations/dispatch_commands.rs:45:10
[INFO] [stdout] |
[INFO] [stdout] 45 | #[derive(Deserialize)]
[INFO] [stdout] | ^----------
[INFO] [stdout] | |
[INFO] [stdout] | `Deserialize` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Channel`
[INFO] [stdout] 46 | #[serde(tag = "type")]
[INFO] [stdout] 47 | pub enum Channel {
[INFO] [stdout] | ------- `Channel` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue
[INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout] --> dispatch-service/src/operations/dispatch_commands.rs:63:10
[INFO] [stdout] |
[INFO] [stdout] 63 | #[derive(Serialize)]
[INFO] [stdout] | ^--------
[INFO] [stdout] | |
[INFO] [stdout] | `Serialize` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Output`
[INFO] [stdout] 64 | pub struct Output {
[INFO] [stdout] | ------ `Output` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue
[INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout] --> dispatch-service/src/operations/heartbeat_command.rs:4:10
[INFO] [stdout] |
[INFO] [stdout] 4 | #[derive(Deserialize)]
[INFO] [stdout] | ^----------
[INFO] [stdout] | |
[INFO] [stdout] | `Deserialize` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Input`
[INFO] [stdout] 5 | pub struct Input {
[INFO] [stdout] | ----- `Input` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue
[INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout] --> dispatch-service/src/operations/heartbeat_command.rs:12:10
[INFO] [stdout] |
[INFO] [stdout] 12 | #[derive(Serialize)]
[INFO] [stdout] | ^--------
[INFO] [stdout] | |
[INFO] [stdout] | `Serialize` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Output`
[INFO] [stdout] 13 | #[serde(tag = "instruction")]
[INFO] [stdout] 14 | pub enum Output {
[INFO] [stdout] | ------ `Output` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue
[INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout] --> dispatch-service/src/operations/receive_commands.rs:6:10
[INFO] [stdout] |
[INFO] [stdout] 6 | #[derive(Deserialize)]
[INFO] [stdout] | ^----------
[INFO] [stdout] | |
[INFO] [stdout] | `Deserialize` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Input`
[INFO] [stdout] 7 | pub struct Input {
[INFO] [stdout] | ----- `Input` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue
[INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout] --> dispatch-service/src/operations/receive_commands.rs:19:10
[INFO] [stdout] |
[INFO] [stdout] 19 | #[derive(Serialize)]
[INFO] [stdout] | ^--------
[INFO] [stdout] | |
[INFO] [stdout] | `Serialize` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Output`
[INFO] [stdout] 20 | pub struct Output {
[INFO] [stdout] | ------ `Output` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue
[INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout] --> dispatch-service/src/operations/receive_commands.rs:25:10
[INFO] [stdout] |
[INFO] [stdout] 25 | #[derive(Serialize)]
[INFO] [stdout] | ^--------
[INFO] [stdout] | |
[INFO] [stdout] | `Serialize` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Batch`
[INFO] [stdout] 26 | pub struct Batch {
[INFO] [stdout] | ----- `Batch` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue
[INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout] --> dispatch-service/src/operations/receive_commands.rs:39:10
[INFO] [stdout] |
[INFO] [stdout] 39 | #[derive(Serialize)]
[INFO] [stdout] | ^--------
[INFO] [stdout] | |
[INFO] [stdout] | `Serialize` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Command`
[INFO] [stdout] 40 | pub struct Command {
[INFO] [stdout] | ------- `Command` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue
[INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout] --> dispatch-service/src/operations/start_command.rs:4:10
[INFO] [stdout] |
[INFO] [stdout] 4 | #[derive(Deserialize)]
[INFO] [stdout] | ^----------
[INFO] [stdout] | |
[INFO] [stdout] | `Deserialize` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Input`
[INFO] [stdout] 5 | pub struct Input {
[INFO] [stdout] | ----- `Input` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue
[INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout] --> dispatch-service/src/operations/start_command.rs:15:10
[INFO] [stdout] |
[INFO] [stdout] 15 | #[derive(Serialize)]
[INFO] [stdout] | ^--------
[INFO] [stdout] | |
[INFO] [stdout] | `Serialize` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Output`
[INFO] [stdout] 16 | #[serde(tag = "instruction")]
[INFO] [stdout] 17 | pub enum Output {
[INFO] [stdout] | ------ `Output` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue
[INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 70 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `database`
[INFO] [stdout] --> dispatch-service/src/main.rs:97:9
[INFO] [stdout] |
[INFO] [stdout] 97 | database: Arc) -> Vec> {
[INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_database`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `local`
[INFO] [stdout] --> dispatch-service/src/main.rs:181:9
[INFO] [stdout] |
[INFO] [stdout] 181 | let local = tokio::task::LocalSet::new();
[INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_local`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `max_conns_semaphore`
[INFO] [stdout] --> dispatch-service/src/main.rs:174:9
[INFO] [stdout] |
[INFO] [stdout] 174 | max_conns_semaphore: Arc,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_conns_semaphore`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: type `LocalDatabase` is more private than the item `Database::Local::0`
[INFO] [stdout] --> dispatch-service/src/database.rs:11:11
[INFO] [stdout] |
[INFO] [stdout] 11 | Local(LocalDatabase)
[INFO] [stdout] | ^^^^^^^^^^^^^ field `Database::Local::0` is reachable at visibility `pub(crate)`
[INFO] [stdout] |
[INFO] [stdout] note: but type `LocalDatabase` is only usable at visibility `pub(self)`
[INFO] [stdout] --> dispatch-service/src/database.rs:20:1
[INFO] [stdout] |
[INFO] [stdout] 20 | struct LocalDatabase {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `remote_addr` is never read
[INFO] [stdout] --> dispatch-service/src/main.rs:36:5
[INFO] [stdout] |
[INFO] [stdout] 34 | struct AcceptedConn {
[INFO] [stdout] | ------------ field in this struct
[INFO] [stdout] 35 | stream: TcpStream,
[INFO] [stdout] 36 | remote_addr: SocketAddr
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: fields `batch_id`, `attempt_token`, `success`, and `data` are never read
[INFO] [stdout] --> dispatch-service/src/operations/complete_command.rs:7:9
[INFO] [stdout] |
[INFO] [stdout] 5 | pub struct Input {
[INFO] [stdout] | ----- fields in this struct
[INFO] [stdout] 6 | // Command batch id.
[INFO] [stdout] 7 | pub batch_id: String,
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout] 8 | // Attempt token.
[INFO] [stdout] 9 | pub attempt_token: String,
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout] 10 | // True if the command succeeded, false if it failed.
[INFO] [stdout] 11 | pub success: bool,
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] 12 | // Command completion data. May be provided for both successful and failed commands.
[INFO] [stdout] 13 | pub data: Option
[INFO] [stdout] | ^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variants `Discard`, `NextCommand`, and `SameCommand` are never constructed
[INFO] [stdout] --> dispatch-service/src/operations/complete_command.rs:20:5
[INFO] [stdout] |
[INFO] [stdout] 18 | pub enum Output {
[INFO] [stdout] | ------ variants in this enum
[INFO] [stdout] 19 | // The client should discard the entire command batch.
[INFO] [stdout] 20 | Discard,
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 | NextCommand,
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout] 24 | // The client should retry the same command again.
[INFO] [stdout] 25 | SameCommand,
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `batch_id` is never read
[INFO] [stdout] --> dispatch-service/src/operations/delete_commands.rs:9:9
[INFO] [stdout] |
[INFO] [stdout] 7 | pub struct Input {
[INFO] [stdout] | ----- field in this struct
[INFO] [stdout] 8 | // Command batch id.
[INFO] [stdout] 9 | pub batch_id: String
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: fields `batch_id` and `command_index` are never read
[INFO] [stdout] --> dispatch-service/src/operations/describe_command.rs:9:9
[INFO] [stdout] |
[INFO] [stdout] 7 | pub struct Input {
[INFO] [stdout] | ----- fields in this struct
[INFO] [stdout] 8 | // Command batch id.
[INFO] [stdout] 9 | pub batch_id: String,
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout] 10 | // 0-based command index to get details of.
[INFO] [stdout] 11 | pub command_index: usize,
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variants `Inactive`, `Active`, and `Done` are never constructed
[INFO] [stdout] --> dispatch-service/src/operations/describe_command.rs:26:5
[INFO] [stdout] |
[INFO] [stdout] 24 | pub enum CommandStatus {
[INFO] [stdout] | ------------- variants in this enum
[INFO] [stdout] 25 | #[serde(rename = "inactive")]
[INFO] [stdout] 26 | Inactive,
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout] 27 | #[serde(rename = "active")]
[INFO] [stdout] 28 | Active,
[INFO] [stdout] | ^^^^^^
[INFO] [stdout] 29 | #[serde(rename = "done")]
[INFO] [stdout] 30 | Done {
[INFO] [stdout] | ^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variants `Available`, `Started`, and `Done` are never constructed
[INFO] [stdout] --> dispatch-service/src/operations/describe_command.rs:39:5
[INFO] [stdout] |
[INFO] [stdout] 37 | pub enum AttemptStatus {
[INFO] [stdout] | ------------- variants in this enum
[INFO] [stdout] 38 | #[serde(rename = "available")]
[INFO] [stdout] 39 | Available {
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 | Started {
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 49 | Done {
[INFO] [stdout] | ^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `batch_id` is never read
[INFO] [stdout] --> dispatch-service/src/operations/describe_commands.rs:9:9
[INFO] [stdout] |
[INFO] [stdout] 7 | pub struct Input {
[INFO] [stdout] | ----- field in this struct
[INFO] [stdout] 8 | // Command batch id.
[INFO] [stdout] 9 | pub batch_id: String
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variants `Active` and `Done` are never constructed
[INFO] [stdout] --> dispatch-service/src/operations/describe_commands.rs:24:5
[INFO] [stdout] |
[INFO] [stdout] 22 | pub enum BatchStatus {
[INFO] [stdout] | ----------- variants in this enum
[INFO] [stdout] 23 | #[serde(rename = "active")]
[INFO] [stdout] 24 | Active,
[INFO] [stdout] | ^^^^^^
[INFO] [stdout] 25 | #[serde(rename = "done")]
[INFO] [stdout] 26 | Done {
[INFO] [stdout] | ^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variants `Inactive`, `Active`, and `Done` are never constructed
[INFO] [stdout] --> dispatch-service/src/operations/describe_commands.rs:35:5
[INFO] [stdout] |
[INFO] [stdout] 33 | pub enum CommandStatus {
[INFO] [stdout] | ------------- variants in this enum
[INFO] [stdout] 34 | #[serde(rename = "inactive")]
[INFO] [stdout] 35 | Inactive,
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout] 36 | #[serde(rename = "active")]
[INFO] [stdout] 37 | Active,
[INFO] [stdout] | ^^^^^^
[INFO] [stdout] 38 | #[serde(rename = "done")]
[INFO] [stdout] 39 | Done {
[INFO] [stdout] | ^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: fields `target_name`, `commands`, `nonce`, and `batch_complete_notification` are never read
[INFO] [stdout] --> dispatch-service/src/operations/dispatch_commands.rs:15:9
[INFO] [stdout] |
[INFO] [stdout] 13 | pub struct Input {
[INFO] [stdout] | ----- fields in this struct
[INFO] [stdout] 14 | // The target the commands are being dispatched against.
[INFO] [stdout] 15 | pub target_name: String,
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout] 16 | // All the commands in the batch, in the order in which they must be executed.
[INFO] [stdout] 17 | pub commands: Vec,
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 | pub nonce: String,
[INFO] [stdout] | ^^^^^
[INFO] [stdout] 21 | // Channel on which notifications will be sent when the batch is complete.
[INFO] [stdout] 22 | pub batch_complete_notification: Option,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: fields `name`, `data`, `max_retries`, `command_available_notification`, `command_progress_notification`, and `success_required` are never read
[INFO] [stdout] --> dispatch-service/src/operations/dispatch_commands.rs:29:9
[INFO] [stdout] |
[INFO] [stdout] 27 | pub struct Command {
[INFO] [stdout] | ------- fields in this struct
[INFO] [stdout] 28 | // Command name.
[INFO] [stdout] 29 | pub name: String,
[INFO] [stdout] | ^^^^
[INFO] [stdout] 30 | // Small per-command data that will be passed down to the executor.
[INFO] [stdout] 31 | pub data: String,
[INFO] [stdout] | ^^^^
[INFO] [stdout] 32 | // Maximum retries for this command. The actual max attempts is max_retries + 1.
[INFO] [stdout] 33 | pub max_retries: usize,
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout] 34 | // Channel on which notifications will be sent when the command becomes available.
[INFO] [stdout] 35 | pub command_available_notification: Option,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 | pub command_progress_notification: Option,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 42 | pub success_required: bool,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: fields `endpoint` and `additional_headers` are never read
[INFO] [stdout] --> dispatch-service/src/operations/dispatch_commands.rs:50:9
[INFO] [stdout] |
[INFO] [stdout] 49 | HTTP {
[INFO] [stdout] | ---- fields in this variant
[INFO] [stdout] 50 | endpoint: String,
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout] 51 | additional_headers: Option>,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `queue_url` is never read
[INFO] [stdout] --> dispatch-service/src/operations/dispatch_commands.rs:55:9
[INFO] [stdout] |
[INFO] [stdout] 54 | SQS {
[INFO] [stdout] | --- field in this variant
[INFO] [stdout] 55 | queue_url: String,
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `target_arn` is never read
[INFO] [stdout] --> dispatch-service/src/operations/dispatch_commands.rs:59:9
[INFO] [stdout] |
[INFO] [stdout] 58 | SNS {
[INFO] [stdout] | --- field in this variant
[INFO] [stdout] 59 | target_arn: String,
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: fields `batch_id` and `attempt_token` are never read
[INFO] [stdout] --> dispatch-service/src/operations/heartbeat_command.rs:7:9
[INFO] [stdout] |
[INFO] [stdout] 5 | pub struct Input {
[INFO] [stdout] | ----- fields in this struct
[INFO] [stdout] 6 | // Command batch id.
[INFO] [stdout] 7 | pub batch_id: String,
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout] 8 | // Attempt token.
[INFO] [stdout] 9 | pub attempt_token: String
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variants `Discard` and `Continue` are never constructed
[INFO] [stdout] --> dispatch-service/src/operations/heartbeat_command.rs:18:5
[INFO] [stdout] |
[INFO] [stdout] 14 | pub enum Output {
[INFO] [stdout] | ------ variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 18 | Discard,
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 | Continue
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: fields `target_name`, `exclude_batches`, `group_membership`, and `timeout_millis` are never read
[INFO] [stdout] --> dispatch-service/src/operations/receive_commands.rs:9:9
[INFO] [stdout] |
[INFO] [stdout] 7 | pub struct Input {
[INFO] [stdout] | ----- fields in this struct
[INFO] [stdout] 8 | // The target whose outstanding commands will be received.
[INFO] [stdout] 9 | pub target_name: String,
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout] 10 | // Command batch ids to not return (because the client already knows about them).
[INFO] [stdout] 11 | pub exclude_batches: Vec,
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 14 | pub group_membership: Vec,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout] 15 | // Max time that the client is willing to wait for the long poll to return.
[INFO] [stdout] 16 | pub timeout_millis: usize
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: fields `batch_id`, `command_index`, and `nonce` are never read
[INFO] [stdout] --> dispatch-service/src/operations/start_command.rs:7:9
[INFO] [stdout] |
[INFO] [stdout] 5 | pub struct Input {
[INFO] [stdout] | ----- fields in this struct
[INFO] [stdout] 6 | // Command batch id.
[INFO] [stdout] 7 | pub batch_id: String,
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout] 8 | // Index of the command within the batch that is being started.
[INFO] [stdout] 9 | pub command_index: usize,
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 12 | pub nonce: String
[INFO] [stdout] | ^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variants `Discard` and `Continue` are never constructed
[INFO] [stdout] --> dispatch-service/src/operations/start_command.rs:21:5
[INFO] [stdout] |
[INFO] [stdout] 17 | pub enum Output {
[INFO] [stdout] | ------ variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 21 | Discard,
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 | Continue {
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused output of future returned by `tokio::task::yield_now` that must be used
[INFO] [stdout] --> dispatch-service/src/main.rs:141:25
[INFO] [stdout] |
[INFO] [stdout] 141 | yield_now().await;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: yield_now does nothing unless polled/`await`-ed
[INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout] |
[INFO] [stdout] 141 | let _ = yield_now().await;
[INFO] [stdout] | +++++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused output of future returned by `tokio::task::yield_now` that must be used
[INFO] [stdout] --> dispatch-service/src/main.rs:157:25
[INFO] [stdout] |
[INFO] [stdout] 157 | yield_now().await;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: yield_now does nothing unless polled/`await`-ed
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout] |
[INFO] [stdout] 157 | let _ = yield_now().await;
[INFO] [stdout] | +++++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout] --> dispatch-service/src/operations/complete_command.rs:4:10
[INFO] [stdout] |
[INFO] [stdout] 4 | #[derive(Deserialize)]
[INFO] [stdout] | ^----------
[INFO] [stdout] | |
[INFO] [stdout] | `Deserialize` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Input`
[INFO] [stdout] 5 | pub struct Input {
[INFO] [stdout] | ----- `Input` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue
[INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout] --> dispatch-service/src/operations/complete_command.rs:16:10
[INFO] [stdout] |
[INFO] [stdout] 16 | #[derive(Serialize)]
[INFO] [stdout] | ^--------
[INFO] [stdout] | |
[INFO] [stdout] | `Serialize` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Output`
[INFO] [stdout] 17 | #[serde(tag = "instruction")]
[INFO] [stdout] 18 | pub enum Output {
[INFO] [stdout] | ------ `Output` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue
[INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout] --> dispatch-service/src/operations/delete_commands.rs:6:10
[INFO] [stdout] |
[INFO] [stdout] 6 | #[derive(Deserialize)]
[INFO] [stdout] | ^----------
[INFO] [stdout] | |
[INFO] [stdout] | `Deserialize` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Input`
[INFO] [stdout] 7 | pub struct Input {
[INFO] [stdout] | ----- `Input` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue
[INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout] --> dispatch-service/src/operations/delete_commands.rs:12:10
[INFO] [stdout] |
[INFO] [stdout] 12 | #[derive(Serialize)]
[INFO] [stdout] | ^--------
[INFO] [stdout] | |
[INFO] [stdout] | `Serialize` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Output`
[INFO] [stdout] 13 | pub struct Output {
[INFO] [stdout] | ------ `Output` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue
[INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout] --> dispatch-service/src/operations/describe_command.rs:6:10
[INFO] [stdout] |
[INFO] [stdout] 6 | #[derive(Deserialize)]
[INFO] [stdout] | ^----------
[INFO] [stdout] | |
[INFO] [stdout] | `Deserialize` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Input`
[INFO] [stdout] 7 | pub struct Input {
[INFO] [stdout] | ----- `Input` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue
[INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout] --> dispatch-service/src/operations/describe_command.rs:14:10
[INFO] [stdout] |
[INFO] [stdout] 14 | #[derive(Serialize)]
[INFO] [stdout] | ^--------
[INFO] [stdout] | |
[INFO] [stdout] | `Serialize` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Output`
[INFO] [stdout] 15 | pub struct Output {
[INFO] [stdout] | ------ `Output` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue
[INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout] --> dispatch-service/src/operations/describe_command.rs:22:10
[INFO] [stdout] |
[INFO] [stdout] 22 | #[derive(Serialize)]
[INFO] [stdout] | ^--------
[INFO] [stdout] | |
[INFO] [stdout] | `Serialize` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_CommandStatus`
[INFO] [stdout] 23 | #[serde(tag = "status")]
[INFO] [stdout] 24 | pub enum CommandStatus {
[INFO] [stdout] | ------------- `CommandStatus` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue
[INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout] --> dispatch-service/src/operations/describe_command.rs:35:10
[INFO] [stdout] |
[INFO] [stdout] 35 | #[derive(Serialize)]
[INFO] [stdout] | ^--------
[INFO] [stdout] | |
[INFO] [stdout] | `Serialize` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_AttemptStatus`
[INFO] [stdout] 36 | #[serde(tag = "status")]
[INFO] [stdout] 37 | pub enum AttemptStatus {
[INFO] [stdout] | ------------- `AttemptStatus` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue
[INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout] --> dispatch-service/src/operations/describe_commands.rs:6:10
[INFO] [stdout] |
[INFO] [stdout] 6 | #[derive(Deserialize)]
[INFO] [stdout] | ^----------
[INFO] [stdout] | |
[INFO] [stdout] | `Deserialize` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Input`
[INFO] [stdout] 7 | pub struct Input {
[INFO] [stdout] | ----- `Input` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue
[INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout] --> dispatch-service/src/operations/describe_commands.rs:12:10
[INFO] [stdout] |
[INFO] [stdout] 12 | #[derive(Serialize)]
[INFO] [stdout] | ^--------
[INFO] [stdout] | |
[INFO] [stdout] | `Serialize` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Output`
[INFO] [stdout] 13 | pub struct Output {
[INFO] [stdout] | ------ `Output` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue
[INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout] --> dispatch-service/src/operations/describe_commands.rs:20:10
[INFO] [stdout] |
[INFO] [stdout] 20 | #[derive(Serialize)]
[INFO] [stdout] | ^--------
[INFO] [stdout] | |
[INFO] [stdout] | `Serialize` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_BatchStatus`
[INFO] [stdout] 21 | #[serde(tag = "status")]
[INFO] [stdout] 22 | pub enum BatchStatus {
[INFO] [stdout] | ----------- `BatchStatus` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue
[INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout] --> dispatch-service/src/operations/describe_commands.rs:31:10
[INFO] [stdout] |
[INFO] [stdout] 31 | #[derive(Serialize)]
[INFO] [stdout] | ^--------
[INFO] [stdout] | |
[INFO] [stdout] | `Serialize` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_CommandStatus`
[INFO] [stdout] 32 | #[serde(tag = "status")]
[INFO] [stdout] 33 | pub enum CommandStatus {
[INFO] [stdout] | ------------- `CommandStatus` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue
[INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout] --> dispatch-service/src/operations/dispatch_commands.rs:12:10
[INFO] [stdout] |
[INFO] [stdout] 12 | #[derive(Deserialize)]
[INFO] [stdout] | ^----------
[INFO] [stdout] | |
[INFO] [stdout] | `Deserialize` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Input`
[INFO] [stdout] 13 | pub struct Input {
[INFO] [stdout] | ----- `Input` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue
[INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout] --> dispatch-service/src/operations/dispatch_commands.rs:26:10
[INFO] [stdout] |
[INFO] [stdout] 26 | #[derive(Deserialize)]
[INFO] [stdout] | ^----------
[INFO] [stdout] | |
[INFO] [stdout] | `Deserialize` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Command`
[INFO] [stdout] 27 | pub struct Command {
[INFO] [stdout] | ------- `Command` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue
[INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout] --> dispatch-service/src/operations/dispatch_commands.rs:45:10
[INFO] [stdout] |
[INFO] [stdout] 45 | #[derive(Deserialize)]
[INFO] [stdout] | ^----------
[INFO] [stdout] | |
[INFO] [stdout] | `Deserialize` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Channel`
[INFO] [stdout] 46 | #[serde(tag = "type")]
[INFO] [stdout] 47 | pub enum Channel {
[INFO] [stdout] | ------- `Channel` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue
[INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout] --> dispatch-service/src/operations/dispatch_commands.rs:63:10
[INFO] [stdout] |
[INFO] [stdout] 63 | #[derive(Serialize)]
[INFO] [stdout] | ^--------
[INFO] [stdout] | |
[INFO] [stdout] | `Serialize` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Output`
[INFO] [stdout] 64 | pub struct Output {
[INFO] [stdout] | ------ `Output` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue
[INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout] --> dispatch-service/src/operations/heartbeat_command.rs:4:10
[INFO] [stdout] |
[INFO] [stdout] 4 | #[derive(Deserialize)]
[INFO] [stdout] | ^----------
[INFO] [stdout] | |
[INFO] [stdout] | `Deserialize` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Input`
[INFO] [stdout] 5 | pub struct Input {
[INFO] [stdout] | ----- `Input` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue
[INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout] --> dispatch-service/src/operations/heartbeat_command.rs:12:10
[INFO] [stdout] |
[INFO] [stdout] 12 | #[derive(Serialize)]
[INFO] [stdout] | ^--------
[INFO] [stdout] | |
[INFO] [stdout] | `Serialize` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Output`
[INFO] [stdout] 13 | #[serde(tag = "instruction")]
[INFO] [stdout] 14 | pub enum Output {
[INFO] [stdout] | ------ `Output` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue
[INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout] --> dispatch-service/src/operations/receive_commands.rs:6:10
[INFO] [stdout] |
[INFO] [stdout] 6 | #[derive(Deserialize)]
[INFO] [stdout] | ^----------
[INFO] [stdout] | |
[INFO] [stdout] | `Deserialize` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Input`
[INFO] [stdout] 7 | pub struct Input {
[INFO] [stdout] | ----- `Input` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue
[INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout] --> dispatch-service/src/operations/receive_commands.rs:19:10
[INFO] [stdout] |
[INFO] [stdout] 19 | #[derive(Serialize)]
[INFO] [stdout] | ^--------
[INFO] [stdout] | |
[INFO] [stdout] | `Serialize` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Output`
[INFO] [stdout] 20 | pub struct Output {
[INFO] [stdout] | ------ `Output` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue
[INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout] --> dispatch-service/src/operations/receive_commands.rs:25:10
[INFO] [stdout] |
[INFO] [stdout] 25 | #[derive(Serialize)]
[INFO] [stdout] | ^--------
[INFO] [stdout] | |
[INFO] [stdout] | `Serialize` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Batch`
[INFO] [stdout] 26 | pub struct Batch {
[INFO] [stdout] | ----- `Batch` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue
[INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout] --> dispatch-service/src/operations/receive_commands.rs:39:10
[INFO] [stdout] |
[INFO] [stdout] 39 | #[derive(Serialize)]
[INFO] [stdout] | ^--------
[INFO] [stdout] | |
[INFO] [stdout] | `Serialize` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Command`
[INFO] [stdout] 40 | pub struct Command {
[INFO] [stdout] | ------- `Command` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue
[INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout] --> dispatch-service/src/operations/start_command.rs:4:10
[INFO] [stdout] |
[INFO] [stdout] 4 | #[derive(Deserialize)]
[INFO] [stdout] | ^----------
[INFO] [stdout] | |
[INFO] [stdout] | `Deserialize` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Input`
[INFO] [stdout] 5 | pub struct Input {
[INFO] [stdout] | ----- `Input` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue
[INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout] --> dispatch-service/src/operations/start_command.rs:15:10
[INFO] [stdout] |
[INFO] [stdout] 15 | #[derive(Serialize)]
[INFO] [stdout] | ^--------
[INFO] [stdout] | |
[INFO] [stdout] | `Serialize` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Output`
[INFO] [stdout] 16 | #[serde(tag = "instruction")]
[INFO] [stdout] 17 | pub enum Output {
[INFO] [stdout] | ------ `Output` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue
[INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 70 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.70s
[INFO] running `Command { std: "docker" "inspect" "239ac8f9d25c67969095652fce4c55e72c022d7ac4780799ab34083e1f1b8f60", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "239ac8f9d25c67969095652fce4c55e72c022d7ac4780799ab34083e1f1b8f60", kill_on_drop: false }`
[INFO] [stdout] 239ac8f9d25c67969095652fce4c55e72c022d7ac4780799ab34083e1f1b8f60