[INFO] cloning repository https://github.com/premagarwals/rustyrawrunner
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/premagarwals/rustyrawrunner" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpremagarwals%2Frustyrawrunner", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpremagarwals%2Frustyrawrunner'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0b570cdb8f8efe7f4d74d27213dc088986663baf
[INFO] building premagarwals/rustyrawrunner against try#4987e9d4227139400384ab59296ffee3b0fb1183 for pr-146237-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpremagarwals%2Frustyrawrunner" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/premagarwals/rustyrawrunner
[INFO] finished tweaking git repo https://github.com/premagarwals/rustyrawrunner
[INFO] tweaked toml for git repo https://github.com/premagarwals/rustyrawrunner written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/premagarwals/rustyrawrunner on toolchain 4987e9d4227139400384ab59296ffee3b0fb1183
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/premagarwals/rustyrawrunner 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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 347fa6ec87b9af7dd075bc3e74bd0ae527880f5cb2387cfa9274621a3b32ffc7
[INFO] running `Command { std: "docker" "start" "-a" "347fa6ec87b9af7dd075bc3e74bd0ae527880f5cb2387cfa9274621a3b32ffc7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "347fa6ec87b9af7dd075bc3e74bd0ae527880f5cb2387cfa9274621a3b32ffc7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "347fa6ec87b9af7dd075bc3e74bd0ae527880f5cb2387cfa9274621a3b32ffc7", kill_on_drop: false }`
[INFO] [stdout] 347fa6ec87b9af7dd075bc3e74bd0ae527880f5cb2387cfa9274621a3b32ffc7
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5e6286110d14ec1b4dabb6ad8a683099ad325c0ca87cb93e081a726dce60aff0
[INFO] running `Command { std: "docker" "start" "-a" "5e6286110d14ec1b4dabb6ad8a683099ad325c0ca87cb93e081a726dce60aff0", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.101
[INFO] [stderr]    Compiling libc v0.2.172
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling litemap v0.8.0
[INFO] [stderr]    Compiling writeable v0.6.1
[INFO] [stderr]    Compiling icu_properties_data v2.0.0
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling icu_normalizer_data v2.0.0
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling zerocopy v0.8.25
[INFO] [stderr]    Compiling hashbrown v0.15.3
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling toml_datetime v0.6.9
[INFO] [stderr]    Compiling zstd-safe v7.2.4
[INFO] [stderr]    Compiling indexmap v2.9.0
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]    Compiling smallvec v1.15.0
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling jobserver v0.1.33
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling winnow v0.7.10
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling cc v1.2.22
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling subprocess v0.2.9
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling proc-macro-error-attr2 v2.0.0
[INFO] [stderr]    Compiling cmake v0.1.54
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling time-macros v0.2.22
[INFO] [stderr]    Compiling toml_edit v0.22.26
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling zstd-sys v2.0.15+zstd.1.5.7
[INFO] [stderr]    Compiling libz-sys v1.1.22
[INFO] [stderr]    Compiling mysql_common v0.34.1
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling termcolor v1.4.1
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling time v0.3.41
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]    Compiling proc-macro-error2 v2.0.1
[INFO] [stderr]    Compiling derive_utils v0.15.0
[INFO] [stderr]    Compiling proc-macro-crate v3.3.0
[INFO] [stderr]    Compiling flate2 v1.1.1
[INFO] [stderr]    Compiling cipher v0.4.4
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]    Compiling zerotrie v0.2.2
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling zerovec v0.11.2
[INFO] [stderr]    Compiling mysql-common-derive v0.32.1
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling btoi v0.4.3
[INFO] [stderr]    Compiling pem v3.0.5
[INFO] [stderr]    Compiling bitflags v2.9.0
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling saturating v0.1.0
[INFO] [stderr]    Compiling uuid v1.16.0
[INFO] [stderr]    Compiling mysql v26.0.0
[INFO] [stderr]    Compiling crossbeam-queue v0.3.12
[INFO] [stderr]    Compiling tinystr v0.8.1
[INFO] [stderr]    Compiling potential_utf v0.1.2
[INFO] [stderr]    Compiling simple_asn1 v0.6.3
[INFO] [stderr]    Compiling icu_collections v2.0.0
[INFO] [stderr]    Compiling icu_locale_core v2.0.0
[INFO] [stderr]    Compiling io-enum v1.2.0
[INFO] [stderr]    Compiling blowfish v0.9.1
[INFO] [stderr]    Compiling socket2 v0.5.9
[INFO] [stderr]    Compiling lru v0.12.5
[INFO] [stderr]    Compiling twox-hash v2.1.0
[INFO] [stderr]    Compiling zeroize v1.8.1
[INFO] [stderr]    Compiling bufstream v0.1.4
[INFO] [stderr]    Compiling icu_provider v2.0.0
[INFO] [stderr]    Compiling bcrypt v0.17.0
[INFO] [stderr]    Compiling icu_normalizer v2.0.0
[INFO] [stderr]    Compiling icu_properties v2.0.0
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling jsonwebtoken v9.3.1
[INFO] [stderr]    Compiling zstd v0.13.3
[INFO] [stderr]    Compiling onlinecompiler v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `File` and `self`
[INFO] [stdout]  --> src/models/codehandler.rs:1:15
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fs::{self, File};
[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: `std::io::Write`
[INFO] [stdout]  --> src/models/codehandler.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::Write;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Command` and `Stdio`
[INFO] [stdout]  --> src/models/codehandler.rs:3:20
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::process::{Command, Stdio};
[INFO] [stdout]   |                    ^^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Duration` and `Instant`
[INFO] [stdout]  --> src/models/codehandler.rs:4:17
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::time::{Duration, Instant};
[INFO] [stdout]   |                 ^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::Value as JsonValue`
[INFO] [stdout]  --> src/models/user.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use serde_json::Value as JsonValue;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `request`
[INFO] [stdout]    --> src/views.rs:254:26
[INFO] [stdout]     |
[INFO] [stdout] 254 | pub fn get_problem_by_id(request: &Request, id: u64) -> Response {
[INFO] [stdout]     |                          ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_string` is never used
[INFO] [stdout]   --> src/network.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl Method {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub fn to_string(&self) -> 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: field `version` is never read
[INFO] [stdout]   --> src/network.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub struct Request {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 43 |     version: String,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Request` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `get_version`, and `to_string` are never used
[INFO] [stdout]    --> src/network.rs:60:12
[INFO] [stdout]     |
[INFO] [stdout]  59 | impl Request {
[INFO] [stdout]     | ------------ associated items in this implementation
[INFO] [stdout]  60 |     pub fn new(method: String, path: String, version: String, headers: HashMap<String, String>, body: String) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 109 |     pub fn get_version(&self) -> &String {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 121 |     pub fn to_string(&self) -> String {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `parse` is never used
[INFO] [stdout]    --> src/network.rs:157:12
[INFO] [stdout]     |
[INFO] [stdout] 132 | impl Response {
[INFO] [stdout]     | ------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 157 |     pub fn parse(raw: &str) -> Result<Self, &'static str> {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `use_code` and `use_language` are never used
[INFO] [stdout]   --> src/models/codehandler.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | impl CodeHandler {
[INFO] [stdout]    | ---------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub fn use_code(&mut self, code: String) {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 52 |     pub fn use_language(&mut self, language: Language) {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `get_solves` and `get_user_by_username` are never used
[INFO] [stdout]    --> src/models/user.rs:143:12
[INFO] [stdout]     |
[INFO] [stdout]  22 | impl User {
[INFO] [stdout]     | --------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 143 |     pub fn get_solves(&self) -> &Vec<u64> {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 147 |     pub fn get_user_by_username(username: &str) -> Result<User, String> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]  --> src/routes.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | impl Router {
[INFO] [stdout]   | ----------- associated function in this implementation
[INFO] [stdout] 7 |     pub fn new() -> Router {
[INFO] [stdout]   |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/views.rs:143:5
[INFO] [stdout]     |
[INFO] [stdout] 143 |     handler.execute();
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 143 |     let _ = handler.execute();
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/views.rs:338:5
[INFO] [stdout]     |
[INFO] [stdout] 338 |     handler.execute();
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 338 |     let _ = handler.execute();
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 52s
[INFO] running `Command { std: "docker" "inspect" "5e6286110d14ec1b4dabb6ad8a683099ad325c0ca87cb93e081a726dce60aff0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5e6286110d14ec1b4dabb6ad8a683099ad325c0ca87cb93e081a726dce60aff0", kill_on_drop: false }`
[INFO] [stdout] 5e6286110d14ec1b4dabb6ad8a683099ad325c0ca87cb93e081a726dce60aff0
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2ec038cfd8577b39d89a94a95ccb08e37d66aca0bf4b05b4ab8c4da059bddba5
[INFO] running `Command { std: "docker" "start" "-a" "2ec038cfd8577b39d89a94a95ccb08e37d66aca0bf4b05b4ab8c4da059bddba5", kill_on_drop: false }`
[INFO] [stderr]    Compiling onlinecompiler v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `File` and `self`
[INFO] [stdout]  --> src/models/codehandler.rs:1:15
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fs::{self, File};
[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: `std::io::Write`
[INFO] [stdout]  --> src/models/codehandler.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::Write;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Command` and `Stdio`
[INFO] [stdout]  --> src/models/codehandler.rs:3:20
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::process::{Command, Stdio};
[INFO] [stdout]   |                    ^^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Duration` and `Instant`
[INFO] [stdout]  --> src/models/codehandler.rs:4:17
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::time::{Duration, Instant};
[INFO] [stdout]   |                 ^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::Value as JsonValue`
[INFO] [stdout]  --> src/models/user.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use serde_json::Value as JsonValue;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `request`
[INFO] [stdout]    --> src/views.rs:254:26
[INFO] [stdout]     |
[INFO] [stdout] 254 | pub fn get_problem_by_id(request: &Request, id: u64) -> Response {
[INFO] [stdout]     |                          ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_string` is never used
[INFO] [stdout]   --> src/network.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl Method {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub fn to_string(&self) -> 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: methods `use_code` and `use_language` are never used
[INFO] [stdout]   --> src/models/codehandler.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | impl CodeHandler {
[INFO] [stdout]    | ---------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub fn use_code(&mut self, code: String) {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 52 |     pub fn use_language(&mut self, language: Language) {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `get_solves` and `get_user_by_username` are never used
[INFO] [stdout]    --> src/models/user.rs:143:12
[INFO] [stdout]     |
[INFO] [stdout]  22 | impl User {
[INFO] [stdout]     | --------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 143 |     pub fn get_solves(&self) -> &Vec<u64> {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 147 |     pub fn get_user_by_username(username: &str) -> Result<User, String> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]  --> src/routes.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | impl Router {
[INFO] [stdout]   | ----------- associated function in this implementation
[INFO] [stdout] 7 |     pub fn new() -> Router {
[INFO] [stdout]   |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `version` is never read
[INFO] [stdout]   --> src/network.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub struct Request {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 43 |     version: String,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Request` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `get_version`, and `to_string` are never used
[INFO] [stdout]    --> src/network.rs:60:12
[INFO] [stdout]     |
[INFO] [stdout]  59 | impl Request {
[INFO] [stdout]     | ------------ associated items in this implementation
[INFO] [stdout]  60 |     pub fn new(method: String, path: String, version: String, headers: HashMap<String, String>, body: String) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 109 |     pub fn get_version(&self) -> &String {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 121 |     pub fn to_string(&self) -> String {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `parse` is never used
[INFO] [stdout]    --> src/network.rs:157:12
[INFO] [stdout]     |
[INFO] [stdout] 132 | impl Response {
[INFO] [stdout]     | ------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 157 |     pub fn parse(raw: &str) -> Result<Self, &'static str> {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/views.rs:143:5
[INFO] [stdout]     |
[INFO] [stdout] 143 |     handler.execute();
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 143 |     let _ = handler.execute();
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/views.rs:338:5
[INFO] [stdout]     |
[INFO] [stdout] 338 |     handler.execute();
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 338 |     let _ = handler.execute();
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.10s
[INFO] running `Command { std: "docker" "inspect" "2ec038cfd8577b39d89a94a95ccb08e37d66aca0bf4b05b4ab8c4da059bddba5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2ec038cfd8577b39d89a94a95ccb08e37d66aca0bf4b05b4ab8c4da059bddba5", kill_on_drop: false }`
[INFO] [stdout] 2ec038cfd8577b39d89a94a95ccb08e37d66aca0bf4b05b4ab8c4da059bddba5
