[INFO] cloning repository https://github.com/bultauzor/frontend-ng-r-discorde [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bultauzor/frontend-ng-r-discorde" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbultauzor%2Ffrontend-ng-r-discorde", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbultauzor%2Ffrontend-ng-r-discorde'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] afaeeadf29baa6d05c30f9a3492d71a14a52504d [INFO] building bultauzor/frontend-ng-r-discorde against try#8b8eff55bd72abbb57167bc42222a7f91d41cb0d for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbultauzor%2Ffrontend-ng-r-discorde" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bultauzor/frontend-ng-r-discorde on toolchain 8b8eff55bd72abbb57167bc42222a7f91d41cb0d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bultauzor/frontend-ng-r-discorde [INFO] finished tweaking git repo https://github.com/bultauzor/frontend-ng-r-discorde [INFO] tweaked toml for git repo https://github.com/bultauzor/frontend-ng-r-discorde written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/bultauzor/frontend-ng-r-discorde 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" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 69777b28b6b626329cadc91e4ddcc62b1cf0fe5784b62360c1bcf68b9a49c9e4 [INFO] running `Command { std: "docker" "start" "-a" "69777b28b6b626329cadc91e4ddcc62b1cf0fe5784b62360c1bcf68b9a49c9e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "69777b28b6b626329cadc91e4ddcc62b1cf0fe5784b62360c1bcf68b9a49c9e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69777b28b6b626329cadc91e4ddcc62b1cf0fe5784b62360c1bcf68b9a49c9e4", kill_on_drop: false }` [INFO] [stdout] 69777b28b6b626329cadc91e4ddcc62b1cf0fe5784b62360c1bcf68b9a49c9e4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 366c8386059947f899c649ac21d8629b12e0aab3154758f21bdc0ad22c49cb2d [INFO] running `Command { std: "docker" "start" "-a" "366c8386059947f899c649ac21d8629b12e0aab3154758f21bdc0ad22c49cb2d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.91 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling libc v0.2.164 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling bytes v1.8.0 [INFO] [stderr] Compiling itoa v1.0.13 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling hashbrown v0.15.1 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling cpufeatures v0.2.15 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Compiling tower-http v0.6.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling uuid v1.11.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling axum-macros v0.4.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio v1.41.1 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tungstenite v0.24.0 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling tokio-tungstenite v0.24.0 [INFO] [stderr] Compiling tower v0.5.1 [INFO] [stderr] Compiling tokio-stream v0.1.16 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling h2 v0.4.7 [INFO] [stderr] Compiling hyper v1.5.1 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling discorde-api v0.1.0 (/opt/rustwide/workdir/discorde-api) [INFO] [stdout] warning: unused import: `AllowCredentials` [INFO] [stdout] --> discorde-api/src/api/mod.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | use tower_http::cors::{AllowCredentials, Any}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::user::UserInput` [INFO] [stdout] --> discorde-api/src/api/login.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::models::user::UserInput; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get` [INFO] [stdout] --> discorde-api/src/api/login.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use axum::routing::{get, post}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `libc::user` [INFO] [stdout] --> discorde-api/src/api/login.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use libc::user; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> discorde-api/src/api/login.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | use tracing::{error, info}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `User` [INFO] [stdout] --> discorde-api/src/api/user.rs:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::models::user::{User, UserInput, UserView}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `libc::user` [INFO] [stdout] --> discorde-api/src/api/user.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use libc::user; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Debug` [INFO] [stdout] --> discorde-api/src/api/user.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::fmt::Debug; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Error` [INFO] [stdout] --> discorde-api/src/api/user.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::io::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IdDocument` [INFO] [stdout] --> discorde-api/src/db/mod.rs:1:38 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::db::core::{Condition, Db, IdDocument}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug` and `warn` [INFO] [stdout] --> discorde-api/src/db/core.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | use tracing::{debug, error, warn}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> discorde-api/src/chat.rs:38:62 [INFO] [stdout] | [INFO] [stdout] 38 | async fn worker(mut comm_rx: UnboundedReceiver, db: Arc) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> discorde-api/src/db/core.rs:248:25 [INFO] [stdout] | [INFO] [stdout] 248 | Err(e) => continue, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `unlock` is never used [INFO] [stdout] --> discorde-api/src/db/core.rs:98:18 [INFO] [stdout] | [INFO] [stdout] 27 | impl Db { [INFO] [stdout] | ------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 98 | pub async fn unlock(&mut self) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> discorde-api/src/db/core.rs:307:9 [INFO] [stdout] | [INFO] [stdout] 305 | pub struct Document { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 306 | path: PathBuf, [INFO] [stdout] 307 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Document` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `delete` is never used [INFO] [stdout] --> discorde-api/src/db/core.rs:378:18 [INFO] [stdout] | [INFO] [stdout] 312 | impl Document { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 378 | pub async fn delete(&mut self) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 56.10s [INFO] running `Command { std: "docker" "inspect" "366c8386059947f899c649ac21d8629b12e0aab3154758f21bdc0ad22c49cb2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "366c8386059947f899c649ac21d8629b12e0aab3154758f21bdc0ad22c49cb2d", kill_on_drop: false }` [INFO] [stdout] 366c8386059947f899c649ac21d8629b12e0aab3154758f21bdc0ad22c49cb2d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e7ad986c57c6779ff2f8f2b49bf77692aa1945c8dfebac2d51b5ac4353dcaca9 [INFO] running `Command { std: "docker" "start" "-a" "e7ad986c57c6779ff2f8f2b49bf77692aa1945c8dfebac2d51b5ac4353dcaca9", kill_on_drop: false }` [INFO] [stderr] Compiling discorde-api v0.1.0 (/opt/rustwide/workdir/discorde-api) [INFO] [stdout] warning: unused import: `AllowCredentials` [INFO] [stdout] --> discorde-api/src/api/mod.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | use tower_http::cors::{AllowCredentials, Any}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::user::UserInput` [INFO] [stdout] --> discorde-api/src/api/login.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::models::user::UserInput; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get` [INFO] [stdout] --> discorde-api/src/api/login.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use axum::routing::{get, post}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `libc::user` [INFO] [stdout] --> discorde-api/src/api/login.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use libc::user; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> discorde-api/src/api/login.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | use tracing::{error, info}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `User` [INFO] [stdout] --> discorde-api/src/api/user.rs:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::models::user::{User, UserInput, UserView}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `libc::user` [INFO] [stdout] --> discorde-api/src/api/user.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use libc::user; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Debug` [INFO] [stdout] --> discorde-api/src/api/user.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::fmt::Debug; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Error` [INFO] [stdout] --> discorde-api/src/api/user.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::io::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IdDocument` [INFO] [stdout] --> discorde-api/src/db/mod.rs:1:38 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::db::core::{Condition, Db, IdDocument}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug` and `warn` [INFO] [stdout] --> discorde-api/src/db/core.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | use tracing::{debug, error, warn}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> discorde-api/src/chat.rs:38:62 [INFO] [stdout] | [INFO] [stdout] 38 | async fn worker(mut comm_rx: UnboundedReceiver, db: Arc) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> discorde-api/src/db/core.rs:248:25 [INFO] [stdout] | [INFO] [stdout] 248 | Err(e) => continue, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `unlock` is never used [INFO] [stdout] --> discorde-api/src/db/core.rs:98:18 [INFO] [stdout] | [INFO] [stdout] 27 | impl Db { [INFO] [stdout] | ------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 98 | pub async fn unlock(&mut self) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> discorde-api/src/db/core.rs:307:9 [INFO] [stdout] | [INFO] [stdout] 305 | pub struct Document { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 306 | path: PathBuf, [INFO] [stdout] 307 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Document` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `delete` is never used [INFO] [stdout] --> discorde-api/src/db/core.rs:378:18 [INFO] [stdout] | [INFO] [stdout] 312 | impl Document { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 378 | pub async fn delete(&mut self) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.74s [INFO] running `Command { std: "docker" "inspect" "e7ad986c57c6779ff2f8f2b49bf77692aa1945c8dfebac2d51b5ac4353dcaca9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7ad986c57c6779ff2f8f2b49bf77692aa1945c8dfebac2d51b5ac4353dcaca9", kill_on_drop: false }` [INFO] [stdout] e7ad986c57c6779ff2f8f2b49bf77692aa1945c8dfebac2d51b5ac4353dcaca9