[INFO] cloning repository https://github.com/domisafonov/dumbnotes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/domisafonov/dumbnotes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdomisafonov%2Fdumbnotes", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdomisafonov%2Fdumbnotes'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] acb7256f146be101ec5af4d9593edbc048765f64 [INFO] checking domisafonov/dumbnotes against master#5dbf4069dc98bbbca98dd600a65f50c258fbfd56 for pr-148477-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdomisafonov%2Fdumbnotes" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/domisafonov/dumbnotes [INFO] finished tweaking git repo https://github.com/domisafonov/dumbnotes [INFO] tweaked toml for git repo https://github.com/domisafonov/dumbnotes written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/domisafonov/dumbnotes on toolchain 5dbf4069dc98bbbca98dd600a65f50c258fbfd56 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5dbf4069dc98bbbca98dd600a65f50c258fbfd56" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/domisafonov/dumbnotes 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" "+5dbf4069dc98bbbca98dd600a65f50c258fbfd56" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded syslog v7.0.0 [INFO] [stderr] Downloaded notify-debouncer-full v0.6.0 [INFO] [stderr] Downloaded password-hash v0.6.0-rc.1 [INFO] [stderr] Downloaded file-id v0.2.3 [INFO] [stderr] Downloaded argon2 v0.6.0-rc.1 [INFO] [stderr] Downloaded block-buffer v0.11.0-rc.5 [INFO] [stderr] Downloaded crypto-common v0.2.0-rc.4 [INFO] [stderr] Downloaded digest v0.11.0-rc.3 [INFO] [stderr] Downloaded hybrid-array v0.4.5 [INFO] [stderr] Downloaded blake2 v0.11.0-rc.2 [INFO] [stderr] Downloaded josekit v0.10.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+5dbf4069dc98bbbca98dd600a65f50c258fbfd56" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1e8e57aef34bd5b0e6de5325a785cc83f27272d60c3531893378bf65220d7336 [INFO] running `Command { std: "docker" "start" "-a" "1e8e57aef34bd5b0e6de5325a785cc83f27272d60c3531893378bf65220d7336", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1e8e57aef34bd5b0e6de5325a785cc83f27272d60c3531893378bf65220d7336", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e8e57aef34bd5b0e6de5325a785cc83f27272d60c3531893378bf65220d7336", kill_on_drop: false }` [INFO] [stdout] 1e8e57aef34bd5b0e6de5325a785cc83f27272d60c3531893378bf65220d7336 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+5dbf4069dc98bbbca98dd600a65f50c258fbfd56" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5738d9092461289fd4f7368c066830c263e3ad73b744b751e6a0b523ccb69ab8 [INFO] running `Command { std: "docker" "start" "-a" "5738d9092461289fd4f7368c066830c263e3ad73b744b751e6a0b523ccb69ab8", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Checking cfg-if v1.0.4 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking memchr v2.7.6 [INFO] [stderr] Checking log v0.4.28 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Checking hashbrown v0.16.0 [INFO] [stderr] Compiling find-msvc-tools v0.1.4 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling indexmap v2.12.0 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Checking mio v1.1.0 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling cc v1.2.41 [INFO] [stderr] Checking socket2 v0.6.1 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling ref-cast v1.0.25 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Compiling deranged v0.5.4 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Checking inlinable_string v0.1.15 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Checking anstream v0.6.21 [INFO] [stderr] Compiling petgraph v0.7.1 [INFO] [stderr] Checking hybrid-array v0.4.5 [INFO] [stderr] Compiling openssl-src v300.5.3+3.5.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Checking block-buffer v0.11.0-rc.5 [INFO] [stderr] Checking crypto-common v0.2.0-rc.4 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling openssl-sys v0.9.110 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling multimap v0.10.1 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling openssl v0.10.74 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking inotify v0.11.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking crc32fast v1.5.0 [INFO] [stderr] Checking digest v0.11.0-rc.3 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Checking notify-types v2.0.0 [INFO] [stderr] Checking base64ct v1.8.0 [INFO] [stderr] Checking clap_builder v4.5.49 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking notify v8.2.0 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking flate2 v1.1.4 [INFO] [stderr] Checking password-hash v0.6.0-rc.1 [INFO] [stderr] Checking blake2 v0.11.0-rc.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Checking toml_datetime v0.7.3 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Checking serde_spanned v1.0.3 [INFO] [stderr] Checking toml_parser v1.0.4 [INFO] [stderr] Checking hostname v0.4.1 [INFO] [stderr] Checking rtoolbox v0.0.3 [INFO] [stderr] Checking toml_writer v1.0.4 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Checking file-id v0.2.3 [INFO] [stderr] Checking atomic v0.5.3 [INFO] [stderr] Checking argon2 v0.6.0-rc.1 [INFO] [stderr] Checking notify-debouncer-full v0.6.0 [INFO] [stderr] Checking env_filter v0.1.4 [INFO] [stderr] Checking toml v0.9.8 [INFO] [stderr] Checking rpassword v7.4.0 [INFO] [stderr] Checking env_logger v0.11.8 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling ref-cast-impl v1.0.25 [INFO] [stderr] Compiling prost-derive v0.14.1 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Checking clap v4.5.49 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Compiling prost v0.14.1 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Compiling prost-types v0.14.1 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking ubyte v0.10.4 [INFO] [stderr] Checking uuid v1.18.1 [INFO] [stderr] Compiling prost-build v0.14.1 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Compiling dumbnotes v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking syslog v7.0.0 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking josekit v0.10.3 [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/storage/internal.rs:105:24 [INFO] [stdout] | [INFO] [stdout] 105 | if let Err(e) = self.io.remove_file(&tmp_filename).await { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/storage/internal.rs:161:46 [INFO] [stdout] | [INFO] [stdout] 161 | ... .unwrap_or_else(|e| [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/storage/internal.rs:154:46 [INFO] [stdout] | [INFO] [stdout] 154 | ... .unwrap_or_else(|e| [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/serde/base64_vec.rs:32:27 [INFO] [stdout] | [INFO] [stdout] 32 | .map_err(|e| Error::invalid_value(Str(v), &self)) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/storage/internal/tests/data.rs:137:25 [INFO] [stdout] | [INFO] [stdout] 137 | |mut r, (k, mut v): (_, VersionedFileSpec)| { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/storage/internal/tests/mocks.rs:270:51 [INFO] [stdout] | [INFO] [stdout] 270 | ... StorageWrite::Write { path, .. } [INFO] [stdout] | ^^^^ help: try ignoring the field: `path: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/storage/internal/tests/mocks.rs:316:29 [INFO] [stdout] | [INFO] [stdout] 316 | .find(|(key, name)| [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AppConfig` is never constructed [INFO] [stdout] --> src/bin/dumbnotes_gen/config.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct AppConfig { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `app_config_default_data_dir` is never used [INFO] [stdout] --> src/bin/dumbnotes_gen/config.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn app_config_default_data_dir() -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `app_config_default_hmac_key` is never used [INFO] [stdout] --> src/bin/dumbnotes_gen/config.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn app_config_default_hmac_key() -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AppConfig` is never constructed [INFO] [stdout] --> src/bin/dumbnotes_gen/config.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct AppConfig { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `app_config_default_data_dir` is never used [INFO] [stdout] --> src/bin/dumbnotes_gen/config.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn app_config_default_data_dir() -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `app_config_default_hmac_key` is never used [INFO] [stdout] --> src/bin/dumbnotes_gen/config.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn app_config_default_hmac_key() -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/storage/internal.rs:105:24 [INFO] [stdout] | [INFO] [stdout] 105 | if let Err(e) = self.io.remove_file(&tmp_filename).await { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/bin/dumbnotesd/user_db/internal/io_trait.rs:73:40 [INFO] [stdout] | [INFO] [stdout] 73 | Err(e) => match(e) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 73 - Err(e) => match(e) { [INFO] [stdout] 73 + Err(e) => match e { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/bin/dumbnotesd/user_db/internal/io_trait.rs:73:40 [INFO] [stdout] | [INFO] [stdout] 73 | Err(e) => match(e) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 73 - Err(e) => match(e) { [INFO] [stdout] 73 + Err(e) => match e { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Catcher` and `Route` [INFO] [stdout] --> src/bin/dumbnotesd/routes/api.rs:13:57 [INFO] [stdout] | [INFO] [stdout] 13 | use rocket::{catch, catchers, get, post, routes, Build, Catcher, Rocket, Route, State}; [INFO] [stdout] | ^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Catcher` and `Route` [INFO] [stdout] --> src/bin/dumbnotesd/routes/api.rs:13:57 [INFO] [stdout] | [INFO] [stdout] 13 | use rocket::{catch, catchers, get, post, routes, Build, Catcher, Rocket, Route, State}; [INFO] [stdout] | ^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Route` [INFO] [stdout] --> src/bin/dumbnotesd/routes/web.rs:1:42 [INFO] [stdout] | [INFO] [stdout] 1 | use rocket::{get, routes, Build, Rocket, Route}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Route` [INFO] [stdout] --> src/bin/dumbnotesd/routes/web.rs:1:42 [INFO] [stdout] | [INFO] [stdout] 1 | use rocket::{get, routes, Build, Rocket, Route}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Add` [INFO] [stdout] --> src/bin/dumbnotesd/access_token/generator.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Add; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Add` [INFO] [stdout] --> src/bin/dumbnotesd/access_token/generator.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Add; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `decoder::errors::AccessTokenDecoderError` [INFO] [stdout] --> src/bin/dumbnotesd/access_token.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use decoder::errors::AccessTokenDecoderError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `decoder::errors::AccessTokenDecoderError` [INFO] [stdout] --> src/bin/dumbnotesd/access_token.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use decoder::errors::AccessTokenDecoderError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Status` [INFO] [stdout] --> src/bin/dumbnotesd/http.rs:2:32 [INFO] [stdout] | [INFO] [stdout] 2 | use rocket::http::{Header, Status}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Status` [INFO] [stdout] --> src/bin/dumbnotesd/http.rs:2:32 [INFO] [stdout] | [INFO] [stdout] 2 | use rocket::http::{Header, Status}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/bin/dumbnotesd/file_watcher/internal/tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/storage/internal.rs:161:46 [INFO] [stdout] | [INFO] [stdout] 161 | ... .unwrap_or_else(|e| [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/storage/internal.rs:154:46 [INFO] [stdout] | [INFO] [stdout] 154 | ... .unwrap_or_else(|e| [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/serde/base64_vec.rs:32:27 [INFO] [stdout] | [INFO] [stdout] 32 | .map_err(|e| Error::invalid_value(Str(v), &self)) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path` is never read [INFO] [stdout] --> src/storage/internal/tests/mocks.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 84 | RenameWrittenTmpFile { [INFO] [stdout] | -------------------- field in this variant [INFO] [stdout] 85 | path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `path` and `rename_to` are never read [INFO] [stdout] --> src/storage/internal/tests/mocks.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 88 | CantRename { [INFO] [stdout] | ---------- fields in this variant [INFO] [stdout] 89 | path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 90 | rename_to: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `bump_spec` is never used [INFO] [stdout] --> src/storage/internal/tests/mocks.rs:213:8 [INFO] [stdout] | [INFO] [stdout] 176 | impl TestStorageIo { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 213 | fn bump_spec(&self, path: impl AsRef) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/bin/dumbnotesd/session_storage/internal.rs:163:17 [INFO] [stdout] | [INFO] [stdout] 163 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/bin/dumbnotesd/session_storage/internal.rs:163:17 [INFO] [stdout] | [INFO] [stdout] 163 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/bin/dumbnotesd/user_db/internal/io_trait.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/bin/dumbnotesd/user_db/internal/io_trait.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header` [INFO] [stdout] --> src/bin/dumbnotesd/access_token/decoder.rs:30:23 [INFO] [stdout] | [INFO] [stdout] 30 | let (payload, header) = jwt::decode_with_verifier( [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header` [INFO] [stdout] --> src/bin/dumbnotesd/access_token/decoder.rs:30:23 [INFO] [stdout] | [INFO] [stdout] 30 | let (payload, header) = jwt::decode_with_verifier( [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bin/dumbnotesd/routes/api/authentication_guard.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | Expired(KnownSession), [INFO] [stdout] | ------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MaybeAuthenticated` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 19 - Expired(KnownSession), [INFO] [stdout] 19 + Expired(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bin/dumbnotesd/routes/api/authentication_guard.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | Expired(KnownSession), [INFO] [stdout] | ------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MaybeAuthenticated` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 19 - Expired(KnownSession), [INFO] [stdout] 19 + Expired(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 24s [INFO] running `Command { std: "docker" "inspect" "5738d9092461289fd4f7368c066830c263e3ad73b744b751e6a0b523ccb69ab8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5738d9092461289fd4f7368c066830c263e3ad73b744b751e6a0b523ccb69ab8", kill_on_drop: false }` [INFO] [stdout] 5738d9092461289fd4f7368c066830c263e3ad73b744b751e6a0b523ccb69ab8