[INFO] cloning repository https://github.com/toastinthetub/CCweb
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/toastinthetub/CCweb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftoastinthetub%2FCCweb", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftoastinthetub%2FCCweb'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ee225233636cc2f9e068a743cb03b9cc08408c66
[INFO] checking toastinthetub/CCweb against master#22572d0994593197593e2a1b7b18d720a9a349a7 for pr-126452-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftoastinthetub%2FCCweb" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/toastinthetub/CCweb on toolchain 22572d0994593197593e2a1b7b18d720a9a349a7
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/toastinthetub/CCweb
[INFO] finished tweaking git repo https://github.com/toastinthetub/CCweb
[INFO] tweaked toml for git repo https://github.com/toastinthetub/CCweb written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/toastinthetub/CCweb 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" "+22572d0994593197593e2a1b7b18d720a9a349a7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr] Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] aa185f9c973b2731ef4b6d21c28675d3a504358416b6fcbcfead507250704bda
[INFO] running `Command { std: "docker" "start" "-a" "aa185f9c973b2731ef4b6d21c28675d3a504358416b6fcbcfead507250704bda", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "aa185f9c973b2731ef4b6d21c28675d3a504358416b6fcbcfead507250704bda", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "aa185f9c973b2731ef4b6d21c28675d3a504358416b6fcbcfead507250704bda", kill_on_drop: false }`
[INFO] [stdout] aa185f9c973b2731ef4b6d21c28675d3a504358416b6fcbcfead507250704bda
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fc04a7b675781c3a555c00fcbf6d582f8070c8b62fefb50204e185fdb4dcfad7
[INFO] running `Command { std: "docker" "start" "-a" "fc04a7b675781c3a555c00fcbf6d582f8070c8b62fefb50204e185fdb4dcfad7", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr] Compiling libc v0.2.155
[INFO] [stderr] Checking log v0.4.22
[INFO] [stderr] Compiling syn v2.0.66
[INFO] [stderr] Checking tracing-core v0.1.32
[INFO] [stderr] Compiling cc v1.0.99
[INFO] [stderr] Compiling serde v1.0.204
[INFO] [stderr] Checking atomic-waker v1.1.2
[INFO] [stderr] Compiling rustversion v1.0.17
[INFO] [stderr] Compiling generic-array v0.14.7
[INFO] [stderr] Checking http-body-util v0.1.2
[INFO] [stderr] Compiling serde_json v1.0.120
[INFO] [stderr] Compiling native-tls v0.2.12
[INFO] [stderr] Checking tracing v0.1.40
[INFO] [stderr] Compiling signal-hook v0.3.17
[INFO] [stderr] Checking sync_wrapper v1.0.1
[INFO] [stderr] Checking rustls-pki-types v1.7.0
[INFO] [stderr] Checking byteorder v1.5.0
[INFO] [stderr] Checking matchit v0.7.3
[INFO] [stderr] Checking rustls-pemfile v2.1.2
[INFO] [stderr] Checking zeroize v1.8.1
[INFO] [stderr] Checking subtle v2.6.1
[INFO] [stderr] Compiling axum-core v0.4.3
[INFO] [stderr] Compiling axum v0.7.5
[INFO] [stderr] Checking crypto-common v0.1.6
[INFO] [stderr] Checking inout v0.1.3
[INFO] [stderr] Checking cipher v0.4.4
[INFO] [stderr] Compiling openssl-sys v0.9.102
[INFO] [stderr] Checking blowfish v0.9.1
[INFO] [stderr] Compiling openssl v0.10.64
[INFO] [stderr] Checking signal-hook-registry v1.4.2
[INFO] [stderr] Checking parking_lot_core v0.9.10
[INFO] [stderr] Checking mio v0.8.11
[INFO] [stderr] Checking num_cpus v1.16.0
[INFO] [stderr] Checking socket2 v0.5.7
[INFO] [stderr] Checking getrandom v0.2.15
[INFO] [stderr] Checking uuid v1.9.1
[INFO] [stderr] Checking bcrypt v0.15.1
[INFO] [stderr] Checking parking_lot v0.12.3
[INFO] [stderr] Checking signal-hook-mio v0.2.3
[INFO] [stderr] Checking crossterm v0.27.0
[INFO] [stderr] Compiling tokio-macros v2.3.0
[INFO] [stderr] Compiling serde_derive v1.0.204
[INFO] [stderr] Compiling pin-project-internal v1.1.5
[INFO] [stderr] Compiling openssl-macros v0.1.1
[INFO] [stderr] Compiling async-trait v0.1.81
[INFO] [stderr] Checking tokio v1.38.0
[INFO] [stderr] Checking pin-project v1.1.5
[INFO] [stderr] Checking tokio-util v0.7.11
[INFO] [stderr] Checking tower v0.4.13
[INFO] [stderr] Checking tokio-native-tls v0.3.1
[INFO] [stderr] Checking h2 v0.4.5
[INFO] [stderr] Checking serde_urlencoded v0.7.1
[INFO] [stderr] Checking serde_path_to_error v0.1.16
[INFO] [stderr] Checking hyper v1.4.0
[INFO] [stderr] Checking hyper-util v0.1.6
[INFO] [stderr] Checking hyper-tls v0.6.0
[INFO] [stderr] Checking reqwest v0.12.5
[INFO] [stderr] Checking client v0.1.0 (/opt/rustwide/workdir/client)
[INFO] [stdout] warning: unused imports: `QueueableCommand`, `position`, `self`, `self`, and `style::Stylize`
[INFO] [stdout] --> client/src/main.rs:2:14
[INFO] [stdout] |
[INFO] [stdout] 2 | cursor::{self, position, MoveTo},
[INFO] [stdout] | ^^^^ ^^^^^^^^
[INFO] [stdout] 3 | queue,
[INFO] [stdout] 4 | style::Stylize,
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout] 5 | terminal::{self, Clear, ClearType},
[INFO] [stdout] | ^^^^
[INFO] [stdout] 6 | QueueableCommand,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: value assigned to `tmp2` is never read
[INFO] [stdout] --> client/src/main.rs:270:17
[INFO] [stdout] |
[INFO] [stdout] 270 | let mut tmp2: String = String::new();
[INFO] [stdout] | ^^^^
[INFO] [stdout] |
[INFO] [stdout] = help: maybe it is overwritten before being read?
[INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout] --> client/src/main.rs:70:17
[INFO] [stdout] |
[INFO] [stdout] 67 | todo!();
[INFO] [stdout] | ------- any code following this expression is unreachable
[INFO] [stdout] ...
[INFO] [stdout] 70 | break;
[INFO] [stdout] | ^^^^^^ unreachable statement
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `QueueableCommand`, `position`, `self`, `self`, and `style::Stylize`
[INFO] [stdout] --> client/src/main.rs:2:14
[INFO] [stdout] |
[INFO] [stdout] 2 | cursor::{self, position, MoveTo},
[INFO] [stdout] | ^^^^ ^^^^^^^^
[INFO] [stdout] 3 | queue,
[INFO] [stdout] 4 | style::Stylize,
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout] 5 | terminal::{self, Clear, ClearType},
[INFO] [stdout] | ^^^^
[INFO] [stdout] 6 | QueueableCommand,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: value assigned to `mode` is never read
[INFO] [stdout] --> client/src/main.rs:201:17
[INFO] [stdout] |
[INFO] [stdout] 201 | mode = "";
[INFO] [stdout] | ^^^^
[INFO] [stdout] |
[INFO] [stdout] = help: maybe it is overwritten before being read?
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: value assigned to `mode` is never read
[INFO] [stdout] --> client/src/main.rs:203:13
[INFO] [stdout] |
[INFO] [stdout] 203 | mode = "";
[INFO] [stdout] | ^^^^
[INFO] [stdout] |
[INFO] [stdout] = help: maybe it is overwritten before being read?
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: value assigned to `istring` is never read
[INFO] [stdout] --> client/src/main.rs:298:17
[INFO] [stdout] |
[INFO] [stdout] 298 | let mut istring: String = String::new();
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = help: maybe it is overwritten before being read?
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: value assigned to `tmp2` is never read
[INFO] [stdout] --> client/src/main.rs:270:17
[INFO] [stdout] |
[INFO] [stdout] 270 | let mut tmp2: String = String::new();
[INFO] [stdout] | ^^^^
[INFO] [stdout] |
[INFO] [stdout] = help: maybe it is overwritten before being read?
[INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 6 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout] --> client/src/main.rs:70:17
[INFO] [stdout] |
[INFO] [stdout] 67 | todo!();
[INFO] [stdout] | ------- any code following this expression is unreachable
[INFO] [stdout] ...
[INFO] [stdout] 70 | break;
[INFO] [stdout] | ^^^^^^ unreachable statement
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: value assigned to `mode` is never read
[INFO] [stdout] --> client/src/main.rs:201:17
[INFO] [stdout] |
[INFO] [stdout] 201 | mode = "";
[INFO] [stdout] | ^^^^
[INFO] [stdout] |
[INFO] [stdout] = help: maybe it is overwritten before being read?
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: value assigned to `mode` is never read
[INFO] [stdout] --> client/src/main.rs:203:13
[INFO] [stdout] |
[INFO] [stdout] 203 | mode = "";
[INFO] [stdout] | ^^^^
[INFO] [stdout] |
[INFO] [stdout] = help: maybe it is overwritten before being read?
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: value assigned to `istring` is never read
[INFO] [stdout] --> client/src/main.rs:298:17
[INFO] [stdout] |
[INFO] [stdout] 298 | let mut istring: String = String::new();
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = help: maybe it is overwritten before being read?
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 6 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Checking CCweb v0.1.0 (/opt/rustwide/workdir/server)
[INFO] [stdout] warning: unused imports: `Form`, `Router`, `response::Html`, and `routing::get`
[INFO] [stdout] --> server/src/server.rs:2:27
[INFO] [stdout] |
[INFO] [stdout] 2 | use axum::{extract::Path, response::Html, routing::get, Form, Json, Router};
[INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `Serialize`
[INFO] [stdout] --> server/src/server.rs:3:26
[INFO] [stdout] |
[INFO] [stdout] 3 | use serde::{Deserialize, Serialize};
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `tokio::net::lookup_host`
[INFO] [stdout] --> server/src/server.rs:5:5
[INFO] [stdout] |
[INFO] [stdout] 5 | use tokio::net::lookup_host;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout] --> server/src/user.rs:2:5
[INFO] [stdout] |
[INFO] [stdout] 2 | use std::error::Error;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `axum::handler`
[INFO] [stdout] --> server/src/main.rs:4:5
[INFO] [stdout] |
[INFO] [stdout] 4 | use axum::handler;
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `post` and `response::Html`
[INFO] [stdout] --> server/src/main.rs:7:5
[INFO] [stdout] |
[INFO] [stdout] 7 | response::Html,
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout] 8 | routing::{get, post},
[INFO] [stdout] | ^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `Form`, `Router`, `response::Html`, and `routing::get`
[INFO] [stdout] --> server/src/server.rs:2:27
[INFO] [stdout] |
[INFO] [stdout] 2 | use axum::{extract::Path, response::Html, routing::get, Form, Json, Router};
[INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `Serialize`
[INFO] [stdout] --> server/src/server.rs:3:26
[INFO] [stdout] |
[INFO] [stdout] 3 | use serde::{Deserialize, Serialize};
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `tokio::net::lookup_host`
[INFO] [stdout] --> server/src/server.rs:5:5
[INFO] [stdout] |
[INFO] [stdout] 5 | use tokio::net::lookup_host;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout] --> server/src/user.rs:2:5
[INFO] [stdout] |
[INFO] [stdout] 2 | use std::error::Error;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `axum::handler`
[INFO] [stdout] --> server/src/main.rs:4:5
[INFO] [stdout] |
[INFO] [stdout] 4 | use axum::handler;
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `post` and `response::Html`
[INFO] [stdout] --> server/src/main.rs:7:5
[INFO] [stdout] |
[INFO] [stdout] 7 | response::Html,
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout] 8 | routing::{get, post},
[INFO] [stdout] | ^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout] --> server/src/server.rs:346:5
[INFO] [stdout] |
[INFO] [stdout] 134 | / match params.mode {
[INFO] [stdout] 135 | | Some(mode) => match mode {
[INFO] [stdout] 136 | | CommandMode::Create => {
[INFO] [stdout] 137 | | let user = match user::User::create_user(
[INFO] [stdout] ... |
[INFO] [stdout] 343 | | }
[INFO] [stdout] 344 | | }
[INFO] [stdout] | |_____- any code following this `match` expression is unreachable, as all arms diverge
[INFO] [stdout] 345 |
[INFO] [stdout] 346 | let json = format!("this is json.");
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `user`
[INFO] [stdout] --> server/src/server.rs:137:21
[INFO] [stdout] |
[INFO] [stdout] 137 | let user = match user::User::create_user(
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `html`
[INFO] [stdout] --> server/src/server.rs:146:37
[INFO] [stdout] |
[INFO] [stdout] 146 | ... let html = format!(
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_html`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `html`
[INFO] [stdout] --> server/src/server.rs:164:37
[INFO] [stdout] |
[INFO] [stdout] 164 | ... let html = format!(
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_html`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `html`
[INFO] [stdout] --> server/src/server.rs:180:29
[INFO] [stdout] |
[INFO] [stdout] 180 | let html =
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_html`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `user`
[INFO] [stdout] --> server/src/server.rs:192:21
[INFO] [stdout] |
[INFO] [stdout] 192 | let user = match user::User::lookup_user(FILEPATH, ¶ms.user.clone().unwrap()) {
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `html`
[INFO] [stdout] --> server/src/server.rs:197:37
[INFO] [stdout] |
[INFO] [stdout] 197 | ... let html = format!(
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_html`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `html`
[INFO] [stdout] --> server/src/server.rs:210:37
[INFO] [stdout] |
[INFO] [stdout] 210 | ... let html = format!(
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_html`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `html`
[INFO] [stdout] --> server/src/server.rs:223:29
[INFO] [stdout] |
[INFO] [stdout] 223 | let html = format!("
Could not find user: {:?}
", e);
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_html`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `user`
[INFO] [stdout] --> server/src/server.rs:233:25
[INFO] [stdout] |
[INFO] [stdout] 233 | let mut user =
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `html`
[INFO] [stdout] --> server/src/server.rs:242:41
[INFO] [stdout] |
[INFO] [stdout] 242 | ... let html = format!(
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_html`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `html`
[INFO] [stdout] --> server/src/server.rs:257:41
[INFO] [stdout] |
[INFO] [stdout] 257 | ... let html = format!(
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_html`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `html`
[INFO] [stdout] --> server/src/server.rs:273:33
[INFO] [stdout] |
[INFO] [stdout] 273 | ... let html = format!("Could not find user: {:?}
", e);
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_html`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `user`
[INFO] [stdout] --> server/src/server.rs:282:25
[INFO] [stdout] |
[INFO] [stdout] 282 | let mut user =
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `html`
[INFO] [stdout] --> server/src/server.rs:295:41
[INFO] [stdout] |
[INFO] [stdout] 295 | ... let html = format!(
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_html`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `html`
[INFO] [stdout] --> server/src/server.rs:310:41
[INFO] [stdout] |
[INFO] [stdout] 310 | ... let html = format!(
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_html`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `html`
[INFO] [stdout] --> server/src/server.rs:326:33
[INFO] [stdout] |
[INFO] [stdout] 326 | ... let html = format!("Could not find user: {:?}
", e);
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_html`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `html`
[INFO] [stdout] --> server/src/server.rs:337:17
[INFO] [stdout] |
[INFO] [stdout] 337 | let html = format!("Invalid mode: {:?}
", params.mode);
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_html`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `html`
[INFO] [stdout] --> server/src/server.rs:347:9
[INFO] [stdout] |
[INFO] [stdout] 347 | let html = format!("this is html. you reached the bottom of the function.
"); // you should never see this
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_html`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `placeholder`
[INFO] [stdout] --> server/src/server.rs:356:9
[INFO] [stdout] |
[INFO] [stdout] 356 | let placeholder: String = String::from("monkey!");
[INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_placeholder`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout] --> server/src/server.rs:346:5
[INFO] [stdout] |
[INFO] [stdout] 134 | / match params.mode {
[INFO] [stdout] 135 | | Some(mode) => match mode {
[INFO] [stdout] 136 | | CommandMode::Create => {
[INFO] [stdout] 137 | | let user = match user::User::create_user(
[INFO] [stdout] ... |
[INFO] [stdout] 343 | | }
[INFO] [stdout] 344 | | }
[INFO] [stdout] | |_____- any code following this `match` expression is unreachable, as all arms diverge
[INFO] [stdout] 345 |
[INFO] [stdout] 346 | let json = format!("this is json.");
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `user`
[INFO] [stdout] --> server/src/server.rs:137:21
[INFO] [stdout] |
[INFO] [stdout] 137 | let user = match user::User::create_user(
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `html`
[INFO] [stdout] --> server/src/server.rs:146:37
[INFO] [stdout] |
[INFO] [stdout] 146 | ... let html = format!(
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_html`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `html`
[INFO] [stdout] --> server/src/server.rs:164:37
[INFO] [stdout] |
[INFO] [stdout] 164 | ... let html = format!(
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_html`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `html`
[INFO] [stdout] --> server/src/server.rs:180:29
[INFO] [stdout] |
[INFO] [stdout] 180 | let html =
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_html`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `user`
[INFO] [stdout] --> server/src/server.rs:192:21
[INFO] [stdout] |
[INFO] [stdout] 192 | let user = match user::User::lookup_user(FILEPATH, ¶ms.user.clone().unwrap()) {
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `html`
[INFO] [stdout] --> server/src/server.rs:197:37
[INFO] [stdout] |
[INFO] [stdout] 197 | ... let html = format!(
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_html`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `html`
[INFO] [stdout] --> server/src/server.rs:210:37
[INFO] [stdout] |
[INFO] [stdout] 210 | ... let html = format!(
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_html`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `html`
[INFO] [stdout] --> server/src/server.rs:223:29
[INFO] [stdout] |
[INFO] [stdout] 223 | let html = format!("Could not find user: {:?}
", e);
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_html`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `user`
[INFO] [stdout] --> server/src/server.rs:233:25
[INFO] [stdout] |
[INFO] [stdout] 233 | let mut user =
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `html`
[INFO] [stdout] --> server/src/server.rs:242:41
[INFO] [stdout] |
[INFO] [stdout] 242 | ... let html = format!(
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_html`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `html`
[INFO] [stdout] --> server/src/server.rs:257:41
[INFO] [stdout] |
[INFO] [stdout] 257 | ... let html = format!(
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_html`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `html`
[INFO] [stdout] --> server/src/server.rs:273:33
[INFO] [stdout] |
[INFO] [stdout] 273 | ... let html = format!("Could not find user: {:?}
", e);
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_html`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `user`
[INFO] [stdout] --> server/src/server.rs:282:25
[INFO] [stdout] |
[INFO] [stdout] 282 | let mut user =
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `html`
[INFO] [stdout] --> server/src/server.rs:295:41
[INFO] [stdout] |
[INFO] [stdout] 295 | ... let html = format!(
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_html`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `html`
[INFO] [stdout] --> server/src/server.rs:310:41
[INFO] [stdout] |
[INFO] [stdout] 310 | ... let html = format!(
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_html`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `html`
[INFO] [stdout] --> server/src/server.rs:326:33
[INFO] [stdout] |
[INFO] [stdout] 326 | ... let html = format!("Could not find user: {:?}
", e);
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_html`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `html`
[INFO] [stdout] --> server/src/server.rs:337:17
[INFO] [stdout] |
[INFO] [stdout] 337 | let html = format!("Invalid mode: {:?}
", params.mode);
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_html`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `html`
[INFO] [stdout] --> server/src/server.rs:347:9
[INFO] [stdout] |
[INFO] [stdout] 347 | let html = format!("this is html. you reached the bottom of the function.
"); // you should never see this
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_html`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `placeholder`
[INFO] [stdout] --> server/src/server.rs:356:9
[INFO] [stdout] |
[INFO] [stdout] 356 | let placeholder: String = String::from("monkey!");
[INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_placeholder`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `languages`
[INFO] [stdout] --> server/src/main.rs:15:9
[INFO] [stdout] |
[INFO] [stdout] 15 | let languages: Vec =
[INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_languages`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout] --> server/src/user.rs:74:13
[INFO] [stdout] |
[INFO] [stdout] 74 | IoError(io::Error),
[INFO] [stdout] | ------- ^^^^^^^^^
[INFO] [stdout] | |
[INFO] [stdout] | field in this variant
[INFO] [stdout] |
[INFO] [stdout] = note: `DatabaseError` 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] 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] 74 | IoError(()),
[INFO] [stdout] | ~~
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: method `to_string` is never used
[INFO] [stdout] --> server/src/user.rs:261:12
[INFO] [stdout] |
[INFO] [stdout] 144 | impl User {
[INFO] [stdout] | --------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 261 | pub fn to_string(&self) -> String {
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 29 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `languages`
[INFO] [stdout] --> server/src/main.rs:15:9
[INFO] [stdout] |
[INFO] [stdout] 15 | let languages: Vec =
[INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_languages`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout] --> server/src/user.rs:74:13
[INFO] [stdout] |
[INFO] [stdout] 74 | IoError(io::Error),
[INFO] [stdout] | ------- ^^^^^^^^^
[INFO] [stdout] | |
[INFO] [stdout] | field in this variant
[INFO] [stdout] |
[INFO] [stdout] = note: `DatabaseError` 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] 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] 74 | IoError(()),
[INFO] [stdout] | ~~
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: method `to_string` is never used
[INFO] [stdout] --> server/src/user.rs:261:12
[INFO] [stdout] |
[INFO] [stdout] 144 | impl User {
[INFO] [stdout] | --------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 261 | pub fn to_string(&self) -> String {
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 29 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 50.20s
[INFO] running `Command { std: "docker" "inspect" "fc04a7b675781c3a555c00fcbf6d582f8070c8b62fefb50204e185fdb4dcfad7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fc04a7b675781c3a555c00fcbf6d582f8070c8b62fefb50204e185fdb4dcfad7", kill_on_drop: false }`
[INFO] [stdout] fc04a7b675781c3a555c00fcbf6d582f8070c8b62fefb50204e185fdb4dcfad7
[INFO] checking toastinthetub/CCweb against try#6289438dbad80b1a0029c66dd3f6abf57c2c51be for pr-126452-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftoastinthetub%2FCCweb" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/toastinthetub/CCweb on toolchain 6289438dbad80b1a0029c66dd3f6abf57c2c51be
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/toastinthetub/CCweb
[INFO] finished tweaking git repo https://github.com/toastinthetub/CCweb
[INFO] tweaked toml for git repo https://github.com/toastinthetub/CCweb written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/toastinthetub/CCweb 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" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 13b3be5113cc67701f151fd2ba9ad48c2fa1d913e7043bb7f07d5432e860c35b
[INFO] running `Command { std: "docker" "start" "-a" "13b3be5113cc67701f151fd2ba9ad48c2fa1d913e7043bb7f07d5432e860c35b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "13b3be5113cc67701f151fd2ba9ad48c2fa1d913e7043bb7f07d5432e860c35b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "13b3be5113cc67701f151fd2ba9ad48c2fa1d913e7043bb7f07d5432e860c35b", kill_on_drop: false }`
[INFO] [stdout] 13b3be5113cc67701f151fd2ba9ad48c2fa1d913e7043bb7f07d5432e860c35b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0ef5f8980d6a8f0181f40433900cc63f7d17cff9c2c80d214be41358067506fb
[INFO] running `Command { std: "docker" "start" "-a" "0ef5f8980d6a8f0181f40433900cc63f7d17cff9c2c80d214be41358067506fb", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr] Compiling libc v0.2.155
[INFO] [stderr] Compiling syn v2.0.66
[INFO] [stderr] Checking log v0.4.22
[INFO] [stderr] Checking tracing-core v0.1.32
[INFO] [stderr] Compiling cc v1.0.99
[INFO] [stderr] Compiling serde v1.0.204
[INFO] [stderr] Checking atomic-waker v1.1.2
[INFO] [stderr] Compiling rustversion v1.0.17
[INFO] [stderr] Compiling generic-array v0.14.7
[INFO] [stderr] Checking http-body-util v0.1.2
[INFO] [stderr] Compiling serde_json v1.0.120
[INFO] [stderr] Compiling native-tls v0.2.12
[INFO] [stderr] Checking tracing v0.1.40
[INFO] [stderr] Compiling signal-hook v0.3.17
[INFO] [stderr] Checking sync_wrapper v1.0.1
[INFO] [stderr] Checking inout v0.1.3
[INFO] [stderr] Checking crypto-common v0.1.6
[INFO] [stderr] Checking rustls-pki-types v1.7.0
[INFO] [stderr] Checking byteorder v1.5.0
[INFO] [stderr] Checking cipher v0.4.4
[INFO] [stderr] Checking matchit v0.7.3
[INFO] [stderr] Checking zeroize v1.8.1
[INFO] [stderr] Checking blowfish v0.9.1
[INFO] [stderr] Compiling axum-core v0.4.3
[INFO] [stderr] Compiling axum v0.7.5
[INFO] [stderr] Checking rustls-pemfile v2.1.2
[INFO] [stderr] Checking subtle v2.6.1
[INFO] [stderr] Compiling openssl-sys v0.9.102
[INFO] [stderr] Compiling openssl v0.10.64
[INFO] [stderr] Checking signal-hook-registry v1.4.2
[INFO] [stderr] Checking mio v0.8.11
[INFO] [stderr] Checking parking_lot_core v0.9.10
[INFO] [stderr] Checking num_cpus v1.16.0
[INFO] [stderr] Checking socket2 v0.5.7
[INFO] [stderr] Checking getrandom v0.2.15
[INFO] [stderr] Checking uuid v1.9.1
[INFO] [stderr] Checking bcrypt v0.15.1
[INFO] [stderr] Checking parking_lot v0.12.3
[INFO] [stderr] Checking signal-hook-mio v0.2.3
[INFO] [stderr] Checking crossterm v0.27.0
[INFO] [stderr] Compiling tokio-macros v2.3.0
[INFO] [stderr] Compiling pin-project-internal v1.1.5
[INFO] [stderr] Compiling serde_derive v1.0.204
[INFO] [stderr] Compiling openssl-macros v0.1.1
[INFO] [stderr] Compiling async-trait v0.1.81
[INFO] [stderr] Checking tokio v1.38.0
[INFO] [stderr] Checking pin-project v1.1.5
[INFO] [stderr] Checking tokio-util v0.7.11
[INFO] [stderr] Checking tower v0.4.13
[INFO] [stderr] Checking tokio-native-tls v0.3.1
[INFO] [stderr] Checking h2 v0.4.5
[INFO] [stderr] Checking serde_urlencoded v0.7.1
[INFO] [stderr] Checking serde_path_to_error v0.1.16
[INFO] [stderr] Checking hyper v1.4.0
[INFO] [stderr] Checking hyper-util v0.1.6
[INFO] [stderr] Checking hyper-tls v0.6.0
[INFO] [stderr] Checking reqwest v0.12.5
[INFO] [stderr] Checking client v0.1.0 (/opt/rustwide/workdir/client)
[INFO] [stdout] warning: unused imports: `QueueableCommand`, `position`, `self`, `self`, and `style::Stylize`
[INFO] [stdout] --> client/src/main.rs:2:14
[INFO] [stdout] |
[INFO] [stdout] 2 | cursor::{self, position, MoveTo},
[INFO] [stdout] | ^^^^ ^^^^^^^^
[INFO] [stdout] 3 | queue,
[INFO] [stdout] 4 | style::Stylize,
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout] 5 | terminal::{self, Clear, ClearType},
[INFO] [stdout] | ^^^^
[INFO] [stdout] 6 | QueueableCommand,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `QueueableCommand`, `position`, `self`, `self`, and `style::Stylize`
[INFO] [stdout] --> client/src/main.rs:2:14
[INFO] [stdout] |
[INFO] [stdout] 2 | cursor::{self, position, MoveTo},
[INFO] [stdout] | ^^^^ ^^^^^^^^
[INFO] [stdout] 3 | queue,
[INFO] [stdout] 4 | style::Stylize,
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout] 5 | terminal::{self, Clear, ClearType},
[INFO] [stdout] | ^^^^
[INFO] [stdout] 6 | QueueableCommand,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: value assigned to `tmp2` is never read
[INFO] [stdout] --> client/src/main.rs:270:17
[INFO] [stdout] |
[INFO] [stdout] 270 | let mut tmp2: String = String::new();
[INFO] [stdout] | ^^^^
[INFO] [stdout] |
[INFO] [stdout] = help: maybe it is overwritten before being read?
[INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: value assigned to `tmp2` is never read
[INFO] [stdout] --> client/src/main.rs:270:17
[INFO] [stdout] |
[INFO] [stdout] 270 | let mut tmp2: String = String::new();
[INFO] [stdout] | ^^^^
[INFO] [stdout] |
[INFO] [stdout] = help: maybe it is overwritten before being read?
[INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout] --> client/src/main.rs:70:17
[INFO] [stdout] |
[INFO] [stdout] 67 | todo!();
[INFO] [stdout] | ------- any code following this expression is unreachable
[INFO] [stdout] ...
[INFO] [stdout] 70 | break;
[INFO] [stdout] | ^^^^^^ unreachable statement
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout] --> client/src/main.rs:70:17
[INFO] [stdout] |
[INFO] [stdout] 67 | todo!();
[INFO] [stdout] | ------- any code following this expression is unreachable
[INFO] [stdout] ...
[INFO] [stdout] 70 | break;
[INFO] [stdout] | ^^^^^^ unreachable statement
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: value assigned to `mode` is never read
[INFO] [stdout] --> client/src/main.rs:201:17
[INFO] [stdout] |
[INFO] [stdout] 201 | mode = "";
[INFO] [stdout] | ^^^^
[INFO] [stdout] |
[INFO] [stdout] = help: maybe it is overwritten before being read?
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: value assigned to `mode` is never read
[INFO] [stdout] --> client/src/main.rs:203:13
[INFO] [stdout] |
[INFO] [stdout] 203 | mode = "";
[INFO] [stdout] | ^^^^
[INFO] [stdout] |
[INFO] [stdout] = help: maybe it is overwritten before being read?
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: value assigned to `mode` is never read
[INFO] [stdout] --> client/src/main.rs:201:17
[INFO] [stdout] |
[INFO] [stdout] 201 | mode = "";
[INFO] [stdout] | ^^^^
[INFO] [stdout] |
[INFO] [stdout] = help: maybe it is overwritten before being read?
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: value assigned to `mode` is never read
[INFO] [stdout] --> client/src/main.rs:203:13
[INFO] [stdout] |
[INFO] [stdout] 203 | mode = "";
[INFO] [stdout] | ^^^^
[INFO] [stdout] |
[INFO] [stdout] = help: maybe it is overwritten before being read?
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: value assigned to `istring` is never read
[INFO] [stdout] --> client/src/main.rs:298:17
[INFO] [stdout] |
[INFO] [stdout] 298 | let mut istring: String = String::new();
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = help: maybe it is overwritten before being read?
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 6 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: value assigned to `istring` is never read
[INFO] [stdout] --> client/src/main.rs:298:17
[INFO] [stdout] |
[INFO] [stdout] 298 | let mut istring: String = String::new();
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = help: maybe it is overwritten before being read?
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 6 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Checking CCweb v0.1.0 (/opt/rustwide/workdir/server)
[INFO] [stdout] warning: unused imports: `Form`, `Router`, `response::Html`, and `routing::get`
[INFO] [stdout] --> server/src/server.rs:2:27
[INFO] [stdout] |
[INFO] [stdout] 2 | use axum::{extract::Path, response::Html, routing::get, Form, Json, Router};
[INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `Serialize`
[INFO] [stdout] --> server/src/server.rs:3:26
[INFO] [stdout] |
[INFO] [stdout] 3 | use serde::{Deserialize, Serialize};
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `tokio::net::lookup_host`
[INFO] [stdout] --> server/src/server.rs:5:5
[INFO] [stdout] |
[INFO] [stdout] 5 | use tokio::net::lookup_host;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `Form`, `Router`, `response::Html`, and `routing::get`
[INFO] [stdout] --> server/src/server.rs:2:27
[INFO] [stdout] |
[INFO] [stdout] 2 | use axum::{extract::Path, response::Html, routing::get, Form, Json, Router};
[INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `Serialize`
[INFO] [stdout] --> server/src/server.rs:3:26
[INFO] [stdout] |
[INFO] [stdout] 3 | use serde::{Deserialize, Serialize};
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `tokio::net::lookup_host`
[INFO] [stdout] --> server/src/server.rs:5:5
[INFO] [stdout] |
[INFO] [stdout] 5 | use tokio::net::lookup_host;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout] --> server/src/user.rs:2:5
[INFO] [stdout] |
[INFO] [stdout] 2 | use std::error::Error;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `axum::handler`
[INFO] [stdout] --> server/src/main.rs:4:5
[INFO] [stdout] |
[INFO] [stdout] 4 | use axum::handler;
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `post` and `response::Html`
[INFO] [stdout] --> server/src/main.rs:7:5
[INFO] [stdout] |
[INFO] [stdout] 7 | response::Html,
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout] 8 | routing::{get, post},
[INFO] [stdout] | ^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout] --> server/src/user.rs:2:5
[INFO] [stdout] |
[INFO] [stdout] 2 | use std::error::Error;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `axum::handler`
[INFO] [stdout] --> server/src/main.rs:4:5
[INFO] [stdout] |
[INFO] [stdout] 4 | use axum::handler;
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `post` and `response::Html`
[INFO] [stdout] --> server/src/main.rs:7:5
[INFO] [stdout] |
[INFO] [stdout] 7 | response::Html,
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout] 8 | routing::{get, post},
[INFO] [stdout] | ^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout] --> server/src/server.rs:346:5
[INFO] [stdout] |
[INFO] [stdout] 134 | / match params.mode {
[INFO] [stdout] 135 | | Some(mode) => match mode {
[INFO] [stdout] 136 | | CommandMode::Create => {
[INFO] [stdout] 137 | | let user = match user::User::create_user(
[INFO] [stdout] ... |
[INFO] [stdout] 343 | | }
[INFO] [stdout] 344 | | }
[INFO] [stdout] | |_____- any code following this `match` expression is unreachable, as all arms diverge
[INFO] [stdout] 345 |
[INFO] [stdout] 346 | let json = format!("this is json.");
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `user`
[INFO] [stdout] --> server/src/server.rs:137:21
[INFO] [stdout] |
[INFO] [stdout] 137 | let user = match user::User::create_user(
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `html`
[INFO] [stdout] --> server/src/server.rs:146:37
[INFO] [stdout] |
[INFO] [stdout] 146 | ... let html = format!(
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_html`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `html`
[INFO] [stdout] --> server/src/server.rs:164:37
[INFO] [stdout] |
[INFO] [stdout] 164 | ... let html = format!(
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_html`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `html`
[INFO] [stdout] --> server/src/server.rs:180:29
[INFO] [stdout] |
[INFO] [stdout] 180 | let html =
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_html`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `user`
[INFO] [stdout] --> server/src/server.rs:192:21
[INFO] [stdout] |
[INFO] [stdout] 192 | let user = match user::User::lookup_user(FILEPATH, ¶ms.user.clone().unwrap()) {
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `html`
[INFO] [stdout] --> server/src/server.rs:197:37
[INFO] [stdout] |
[INFO] [stdout] 197 | ... let html = format!(
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_html`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `html`
[INFO] [stdout] --> server/src/server.rs:210:37
[INFO] [stdout] |
[INFO] [stdout] 210 | ... let html = format!(
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_html`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `html`
[INFO] [stdout] --> server/src/server.rs:223:29
[INFO] [stdout] |
[INFO] [stdout] 223 | let html = format!("Could not find user: {:?}
", e);
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_html`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `user`
[INFO] [stdout] --> server/src/server.rs:233:25
[INFO] [stdout] |
[INFO] [stdout] 233 | let mut user =
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `html`
[INFO] [stdout] --> server/src/server.rs:242:41
[INFO] [stdout] |
[INFO] [stdout] 242 | ... let html = format!(
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_html`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `html`
[INFO] [stdout] --> server/src/server.rs:257:41
[INFO] [stdout] |
[INFO] [stdout] 257 | ... let html = format!(
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_html`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `html`
[INFO] [stdout] --> server/src/server.rs:273:33
[INFO] [stdout] |
[INFO] [stdout] 273 | ... let html = format!("Could not find user: {:?}
", e);
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_html`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `user`
[INFO] [stdout] --> server/src/server.rs:282:25
[INFO] [stdout] |
[INFO] [stdout] 282 | let mut user =
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `html`
[INFO] [stdout] --> server/src/server.rs:295:41
[INFO] [stdout] |
[INFO] [stdout] 295 | ... let html = format!(
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_html`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `html`
[INFO] [stdout] --> server/src/server.rs:310:41
[INFO] [stdout] |
[INFO] [stdout] 310 | ... let html = format!(
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_html`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `html`
[INFO] [stdout] --> server/src/server.rs:326:33
[INFO] [stdout] |
[INFO] [stdout] 326 | ... let html = format!("Could not find user: {:?}
", e);
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_html`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `html`
[INFO] [stdout] --> server/src/server.rs:337:17
[INFO] [stdout] |
[INFO] [stdout] 337 | let html = format!("Invalid mode: {:?}
", params.mode);
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_html`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `html`
[INFO] [stdout] --> server/src/server.rs:347:9
[INFO] [stdout] |
[INFO] [stdout] 347 | let html = format!("this is html. you reached the bottom of the function.
"); // you should never see this
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_html`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout] --> server/src/server.rs:346:5
[INFO] [stdout] |
[INFO] [stdout] 134 | / match params.mode {
[INFO] [stdout] 135 | | Some(mode) => match mode {
[INFO] [stdout] 136 | | CommandMode::Create => {
[INFO] [stdout] 137 | | let user = match user::User::create_user(
[INFO] [stdout] ... |
[INFO] [stdout] 343 | | }
[INFO] [stdout] 344 | | }
[INFO] [stdout] | |_____- any code following this `match` expression is unreachable, as all arms diverge
[INFO] [stdout] 345 |
[INFO] [stdout] 346 | let json = format!("this is json.");
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `user`
[INFO] [stdout] --> server/src/server.rs:137:21
[INFO] [stdout] |
[INFO] [stdout] 137 | let user = match user::User::create_user(
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `html`
[INFO] [stdout] --> server/src/server.rs:146:37
[INFO] [stdout] |
[INFO] [stdout] 146 | ... let html = format!(
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_html`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `html`
[INFO] [stdout] --> server/src/server.rs:164:37
[INFO] [stdout] |
[INFO] [stdout] 164 | ... let html = format!(
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_html`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `html`
[INFO] [stdout] --> server/src/server.rs:180:29
[INFO] [stdout] |
[INFO] [stdout] 180 | let html =
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_html`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `user`
[INFO] [stdout] --> server/src/server.rs:192:21
[INFO] [stdout] |
[INFO] [stdout] 192 | let user = match user::User::lookup_user(FILEPATH, ¶ms.user.clone().unwrap()) {
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `html`
[INFO] [stdout] --> server/src/server.rs:197:37
[INFO] [stdout] |
[INFO] [stdout] 197 | ... let html = format!(
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_html`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `html`
[INFO] [stdout] --> server/src/server.rs:210:37
[INFO] [stdout] |
[INFO] [stdout] 210 | ... let html = format!(
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_html`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `html`
[INFO] [stdout] --> server/src/server.rs:223:29
[INFO] [stdout] |
[INFO] [stdout] 223 | let html = format!("Could not find user: {:?}
", e);
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_html`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `user`
[INFO] [stdout] --> server/src/server.rs:233:25
[INFO] [stdout] |
[INFO] [stdout] 233 | let mut user =
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `html`
[INFO] [stdout] --> server/src/server.rs:242:41
[INFO] [stdout] |
[INFO] [stdout] 242 | ... let html = format!(
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_html`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `html`
[INFO] [stdout] --> server/src/server.rs:257:41
[INFO] [stdout] |
[INFO] [stdout] 257 | ... let html = format!(
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_html`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `html`
[INFO] [stdout] --> server/src/server.rs:273:33
[INFO] [stdout] |
[INFO] [stdout] 273 | ... let html = format!("Could not find user: {:?}
", e);
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_html`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `user`
[INFO] [stdout] --> server/src/server.rs:282:25
[INFO] [stdout] |
[INFO] [stdout] 282 | let mut user =
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `html`
[INFO] [stdout] --> server/src/server.rs:295:41
[INFO] [stdout] |
[INFO] [stdout] 295 | ... let html = format!(
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_html`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `html`
[INFO] [stdout] --> server/src/server.rs:310:41
[INFO] [stdout] |
[INFO] [stdout] 310 | ... let html = format!(
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_html`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `html`
[INFO] [stdout] --> server/src/server.rs:326:33
[INFO] [stdout] |
[INFO] [stdout] 326 | ... let html = format!("Could not find user: {:?}
", e);
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_html`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `html`
[INFO] [stdout] --> server/src/server.rs:337:17
[INFO] [stdout] |
[INFO] [stdout] 337 | let html = format!("Invalid mode: {:?}
", params.mode);
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_html`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `html`
[INFO] [stdout] --> server/src/server.rs:347:9
[INFO] [stdout] |
[INFO] [stdout] 347 | let html = format!("this is html. you reached the bottom of the function.
"); // you should never see this
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_html`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `placeholder`
[INFO] [stdout] --> server/src/server.rs:356:9
[INFO] [stdout] |
[INFO] [stdout] 356 | let placeholder: String = String::from("monkey!");
[INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_placeholder`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `placeholder`
[INFO] [stdout] --> server/src/server.rs:356:9
[INFO] [stdout] |
[INFO] [stdout] 356 | let placeholder: String = String::from("monkey!");
[INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_placeholder`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `languages`
[INFO] [stdout] --> server/src/main.rs:15:9
[INFO] [stdout] |
[INFO] [stdout] 15 | let languages: Vec =
[INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_languages`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `languages`
[INFO] [stdout] --> server/src/main.rs:15:9
[INFO] [stdout] |
[INFO] [stdout] 15 | let languages: Vec =
[INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_languages`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout] --> server/src/user.rs:74:13
[INFO] [stdout] |
[INFO] [stdout] 74 | IoError(io::Error),
[INFO] [stdout] | ------- ^^^^^^^^^
[INFO] [stdout] | |
[INFO] [stdout] | field in this variant
[INFO] [stdout] |
[INFO] [stdout] = note: `DatabaseError` 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] 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] 74 | IoError(()),
[INFO] [stdout] | ~~
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: method `to_string` is never used
[INFO] [stdout] --> server/src/user.rs:261:12
[INFO] [stdout] |
[INFO] [stdout] 144 | impl User {
[INFO] [stdout] | --------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 261 | pub fn to_string(&self) -> String {
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout] --> server/src/user.rs:74:13
[INFO] [stdout] |
[INFO] [stdout] 74 | IoError(io::Error),
[INFO] [stdout] | ------- ^^^^^^^^^
[INFO] [stdout] | |
[INFO] [stdout] | field in this variant
[INFO] [stdout] |
[INFO] [stdout] = note: `DatabaseError` 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] 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] 74 | IoError(()),
[INFO] [stdout] | ~~
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: method `to_string` is never used
[INFO] [stdout] --> server/src/user.rs:261:12
[INFO] [stdout] |
[INFO] [stdout] 144 | impl User {
[INFO] [stdout] | --------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 261 | pub fn to_string(&self) -> String {
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 29 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 29 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 47.58s
[INFO] running `Command { std: "docker" "inspect" "0ef5f8980d6a8f0181f40433900cc63f7d17cff9c2c80d214be41358067506fb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0ef5f8980d6a8f0181f40433900cc63f7d17cff9c2c80d214be41358067506fb", kill_on_drop: false }`
[INFO] [stdout] 0ef5f8980d6a8f0181f40433900cc63f7d17cff9c2c80d214be41358067506fb