[INFO] cloning repository https://github.com/sstelfox/web-app-template [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sstelfox/web-app-template" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsstelfox%2Fweb-app-template", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsstelfox%2Fweb-app-template'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 265a2da0dbe8c5b83b9946e0a6d6c82480ce1a61 [INFO] checking sstelfox/web-app-template against try#a3e4be48b4c3670ac65b4a34314d0d9527a4941d for pr-116284 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsstelfox%2Fweb-app-template" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sstelfox/web-app-template on toolchain a3e4be48b4c3670ac65b4a34314d0d9527a4941d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a3e4be48b4c3670ac65b4a34314d0d9527a4941d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sstelfox/web-app-template [INFO] finished tweaking git repo https://github.com/sstelfox/web-app-template [INFO] tweaked toml for git repo https://github.com/sstelfox/web-app-template written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/sstelfox/web-app-template 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" "+a3e4be48b4c3670ac65b4a34314d0d9527a4941d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+a3e4be48b4c3670ac65b4a34314d0d9527a4941d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c72628e0430c6f63d052c149a15cbae4a1c9a8eba8b461de7120e0f7a0e949e1 [INFO] running `Command { std: "docker" "start" "-a" "c72628e0430c6f63d052c149a15cbae4a1c9a8eba8b461de7120e0f7a0e949e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c72628e0430c6f63d052c149a15cbae4a1c9a8eba8b461de7120e0f7a0e949e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c72628e0430c6f63d052c149a15cbae4a1c9a8eba8b461de7120e0f7a0e949e1", kill_on_drop: false }` [INFO] [stdout] c72628e0430c6f63d052c149a15cbae4a1c9a8eba8b461de7120e0f7a0e949e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+a3e4be48b4c3670ac65b4a34314d0d9527a4941d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9895d2760dc03555ae1a332e35967a1cb0ed36a49cf0fefae6215b78cc54d69a [INFO] running `Command { std: "docker" "start" "-a" "9895d2760dc03555ae1a332e35967a1cb0ed36a49cf0fefae6215b78cc54d69a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Checking zeroize v1.6.0 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Checking const-oid v0.9.5 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling serde v1.0.185 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Checking pin-project-lite v0.2.12 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Compiling serde_json v1.0.105 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling ahash v0.8.3 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling libm v0.2.7 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling thiserror v1.0.47 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking cpufeatures v0.2.9 [INFO] [stderr] Compiling crossbeam-queue v0.3.8 [INFO] [stderr] Compiling rustls v0.21.6 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Checking der v0.7.8 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Compiling rustix v0.38.8 [INFO] [stderr] Compiling syn v2.0.29 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking socket2 v0.5.3 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling allocator-api2 v0.2.16 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking spki v0.7.2 [INFO] [stderr] Compiling hashbrown v0.14.0 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.7 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Checking hkdf v0.12.3 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling libsqlite3-sys v0.26.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking crypto-bigint v0.5.2 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Compiling tokio v1.32.0 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Checking base64 v0.21.2 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling crc-catalog v2.2.0 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling crc v3.0.1 [INFO] [stderr] Compiling url v2.4.0 [INFO] [stderr] Compiling indexmap v2.0.0 [INFO] [stderr] Compiling rustls-pemfile v1.0.3 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling hashlink v0.8.3 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Checking elliptic-curve v0.13.5 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking pem-rfc7468 v0.6.0 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Checking der v0.6.1 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking signature v2.1.0 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Compiling linux-raw-sys v0.4.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking ecdsa v0.16.8 [INFO] [stderr] Checking spki v0.6.0 [INFO] [stderr] Compiling sha1 v0.10.5 [INFO] [stderr] Compiling md-5 v0.10.5 [INFO] [stderr] Compiling stringprep v0.1.3 [INFO] [stderr] Compiling async-trait v0.1.73 [INFO] [stderr] Checking regex-syntax v0.7.4 [INFO] [stderr] Compiling fastrand v2.0.0 [INFO] [stderr] Checking try-lock v0.2.4 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling home v0.5.5 [INFO] [stderr] Compiling whoami v1.4.1 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Compiling futures-executor v0.3.28 [INFO] [stderr] Checking pkcs8 v0.9.0 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Checking primeorder v0.13.2 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking rustls-webpki v0.101.4 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking num_threads v0.1.6 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking time-core v0.1.1 [INFO] [stderr] Checking deranged v0.3.8 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking pkcs1 v0.4.1 [INFO] [stderr] Checking webpki-roots v0.24.0 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Checking regex-automata v0.3.6 [INFO] [stderr] Compiling tempfile v3.8.0 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking time v0.3.27 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Checking signature v1.6.4 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking ct-codecs v1.1.1 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking ed25519-compact v2.0.4 [INFO] [stderr] Checking p384 v0.13.0 [INFO] [stderr] Checking p256 v0.13.2 [INFO] [stderr] Checking headers v0.3.8 [INFO] [stderr] Checking k256 v0.13.1 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Checking rsa v0.7.2 [INFO] [stderr] Checking hmac-sha256 v1.1.7 [INFO] [stderr] Checking hmac-sha512 v1.1.5 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Compiling serde_derive v1.0.185 [INFO] [stderr] Compiling tracing-attributes v0.1.26 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling thiserror-impl v1.0.47 [INFO] [stderr] Checking coarsetime v0.1.23 [INFO] [stderr] Compiling web-app-template v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking binstring v0.1.1 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking matchit v0.7.2 [INFO] [stderr] Checking regex v1.9.3 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking http-range-header v0.3.1 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking hmac-sha1-compact v1.1.4 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking ipnet v2.8.0 [INFO] [stderr] Checking pico-args v0.5.0 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Checking proptest v1.2.0 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Compiling flume v0.10.14 [INFO] [stderr] Checking tracing-subscriber v0.3.17 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking tracing-appender v0.2.2 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking h2 v0.3.21 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_path_to_error v0.1.14 [INFO] [stderr] Checking uuid v1.4.1 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking tower-http v0.4.3 [INFO] [stderr] Checking jwt-simple v0.11.6 [INFO] [stderr] Checking sqlformat v0.2.1 [INFO] [stderr] Checking sqlx-core v0.7.1 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking sqlx-postgres v0.7.1 [INFO] [stderr] Checking sqlx-sqlite v0.7.1 [INFO] [stderr] Checking reqwest v0.11.19 [INFO] [stderr] Compiling sqlx-macros-core v0.7.1 [INFO] [stderr] Compiling sqlx-macros v0.7.1 [INFO] [stderr] Checking sqlx v0.7.1 [INFO] [stdout] warning: unused import: `oneshot` [INFO] [stdout] --> src/tasks/mod.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio::sync::{oneshot, Mutex}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `oneshot` [INFO] [stdout] --> src/tasks/mod.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio::sync::{oneshot, Mutex}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queue_name` [INFO] [stdout] --> src/tasks/mod.rs:169:26 [INFO] [stdout] | [INFO] [stdout] 169 | async fn next(&self, queue_name: &str) -> Result<Option<Task>, TaskQueueError> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_queue_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `task` [INFO] [stdout] --> src/tasks/mod.rs:173:19 [INFO] [stdout] | [INFO] [stdout] 173 | for (_id, task) in tasks.iter().filter(|(_, task)| task.state == TaskState::New) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_task` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tasks/mod.rs:170:13 [INFO] [stdout] | [INFO] [stdout] 170 | let mut tasks = self.tasks.lock().await; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tasks/mod.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | let mut next_task = None; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/tasks/mod.rs:181:32 [INFO] [stdout] | [INFO] [stdout] 181 | async fn reschedule(&self, id: Uuid, err: String) -> Result<(), TaskQueueError> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/tasks/mod.rs:181:42 [INFO] [stdout] | [INFO] [stdout] 181 | async fn reschedule(&self, id: Uuid, err: String) -> Result<(), TaskQueueError> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/tasks/mod.rs:185:34 [INFO] [stdout] | [INFO] [stdout] 185 | async fn update_state(&self, id: Uuid, state: TaskState) -> Result<(), TaskQueueError> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/tasks/mod.rs:185:44 [INFO] [stdout] | [INFO] [stdout] 185 | async fn update_state(&self, id: Uuid, state: TaskState) -> Result<(), TaskQueueError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ShuttingDown` is never constructed [INFO] [stdout] --> src/health_check/data_source.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum DataSourceError { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 22 | ShuttingDown, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DataSourceError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `user_id` and `key_id` are never read [INFO] [stdout] --> src/middleware/api_key_identity.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct ApiKeyIdentity { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 28 | user_id: Uuid, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 29 | key_id: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `key_id` and `user_id` are never used [INFO] [stdout] --> src/middleware/api_key_identity.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl ApiKeyIdentity { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] 33 | pub fn key_id(&self) -> &str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn user_id(&self) -> &Uuid { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/tasks/mod.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl TaskContext { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 20 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InProgress`, `Cancelled`, `Failed`, `Complete`, and `Dead` are never constructed [INFO] [stdout] --> src/tasks/mod.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub enum TaskState { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 114 | New, [INFO] [stdout] 115 | InProgress, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 116 | Cancelled, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 117 | Failed, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 118 | Complete, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 119 | Dead, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `queue_name`, `unique_key`, and `payload` are never read [INFO] [stdout] --> src/tasks/mod.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 122 | pub struct Task { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 126 | queue_name: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 127 | [INFO] [stdout] 128 | unique_key: Option<String>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | payload: serde_json::Value, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queue_name` [INFO] [stdout] --> src/tasks/mod.rs:169:26 [INFO] [stdout] | [INFO] [stdout] 169 | async fn next(&self, queue_name: &str) -> Result<Option<Task>, TaskQueueError> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_queue_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `task` [INFO] [stdout] --> src/tasks/mod.rs:173:19 [INFO] [stdout] | [INFO] [stdout] 173 | for (_id, task) in tasks.iter().filter(|(_, task)| task.state == TaskState::New) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_task` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tasks/mod.rs:170:13 [INFO] [stdout] | [INFO] [stdout] 170 | let mut tasks = self.tasks.lock().await; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tasks/mod.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | let mut next_task = None; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/tasks/mod.rs:181:32 [INFO] [stdout] | [INFO] [stdout] 181 | async fn reschedule(&self, id: Uuid, err: String) -> Result<(), TaskQueueError> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/tasks/mod.rs:181:42 [INFO] [stdout] | [INFO] [stdout] 181 | async fn reschedule(&self, id: Uuid, err: String) -> Result<(), TaskQueueError> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/tasks/mod.rs:185:34 [INFO] [stdout] | [INFO] [stdout] 185 | async fn update_state(&self, id: Uuid, state: TaskState) -> Result<(), TaskQueueError> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/tasks/mod.rs:185:44 [INFO] [stdout] | [INFO] [stdout] 185 | async fn update_state(&self, id: Uuid, state: TaskState) -> Result<(), TaskQueueError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `user_id` and `key_id` are never read [INFO] [stdout] --> src/middleware/api_key_identity.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct ApiKeyIdentity { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 28 | user_id: Uuid, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 29 | key_id: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `key_id` and `user_id` are never used [INFO] [stdout] --> src/middleware/api_key_identity.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl ApiKeyIdentity { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] 33 | pub fn key_id(&self) -> &str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn user_id(&self) -> &Uuid { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/tasks/mod.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl TaskContext { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 20 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InProgress`, `Cancelled`, `Failed`, `Complete`, and `Dead` are never constructed [INFO] [stdout] --> src/tasks/mod.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub enum TaskState { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 114 | New, [INFO] [stdout] 115 | InProgress, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 116 | Cancelled, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 117 | Failed, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 118 | Complete, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 119 | Dead, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `queue_name`, `unique_key`, and `payload` are never read [INFO] [stdout] --> src/tasks/mod.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 122 | pub struct Task { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 126 | queue_name: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 127 | [INFO] [stdout] 128 | unique_key: Option<String>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | payload: serde_json::Value, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 22.77s [INFO] running `Command { std: "docker" "inspect" "9895d2760dc03555ae1a332e35967a1cb0ed36a49cf0fefae6215b78cc54d69a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9895d2760dc03555ae1a332e35967a1cb0ed36a49cf0fefae6215b78cc54d69a", kill_on_drop: false }` [INFO] [stdout] 9895d2760dc03555ae1a332e35967a1cb0ed36a49cf0fefae6215b78cc54d69a