[INFO] cloning repository https://github.com/itedya/remote_compilation [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/itedya/remote_compilation" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitedya%2Fremote_compilation", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitedya%2Fremote_compilation'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6811bc0999de60c4d5db49b25561540b734b21f1 [INFO] testing itedya/remote_compilation/6811bc0999de60c4d5db49b25561540b734b21f1 against 1.94.0 for beta-1.95-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitedya%2Fremote_compilation" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/itedya/remote_compilation [INFO] finished tweaking git repo https://github.com/itedya/remote_compilation [INFO] tweaked toml for git repo https://github.com/itedya/remote_compilation written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/itedya/remote_compilation on toolchain 1.94.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.94.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/itedya/remote_compilation 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" "+1.94.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hyper-util v0.1.14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 86521d9b1b567be90894e9ad45b4b85c999cbb449a3c11e63ab8e79b140dd20c [INFO] running `Command { std: "docker" "start" "-a" "86521d9b1b567be90894e9ad45b4b85c999cbb449a3c11e63ab8e79b140dd20c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "86521d9b1b567be90894e9ad45b4b85c999cbb449a3c11e63ab8e79b140dd20c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86521d9b1b567be90894e9ad45b4b85c999cbb449a3c11e63ab8e79b140dd20c", kill_on_drop: false }` [INFO] [stdout] 86521d9b1b567be90894e9ad45b4b85c999cbb449a3c11e63ab8e79b140dd20c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 35300346a6825ca8b464b7e56e4d84efd6d945d1f6b78c234a62dec8bdb7749a [INFO] running `Command { std: "docker" "start" "-a" "35300346a6825ca8b464b7e56e4d84efd6d945d1f6b78c234a62dec8bdb7749a", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling axum-macros v0.5.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling axum-core v0.5.2 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling hyper-util v0.1.14 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Compiling axum v0.8.4 [INFO] [stderr] Compiling sqlx-sqlite v0.8.6 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Compiling sqlx v0.8.6 [INFO] [stderr] Compiling remote_compiler_server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Json` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | Json, debug_handler, [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: `Executor` [INFO] [stdout] --> src/database/auth.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use sqlx::{Executor, SqliteExecutor}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_char` [INFO] [stdout] --> src/database/auth.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | for token_char in 0..128 { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_char` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `form` [INFO] [stdout] --> src/handlers/auth.rs:94:25 [INFO] [stdout] | [INFO] [stdout] 94 | pub async fn login(Json(form): Json) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_form` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_token` is never used [INFO] [stdout] --> src/database/auth.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | pub async fn check_token<'a, E: SqliteExecutor<'a> + Copy>( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_token_for_user` is never used [INFO] [stdout] --> src/database/auth.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | pub async fn create_token_for_user<'a, E: SqliteExecutor<'a> + Copy>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AllowedCharacters` is never used [INFO] [stdout] --> src/handlers/auth.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 4 | enum AllowedCharacters { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_allowed_chars` is never used [INFO] [stdout] --> src/handlers/auth.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl AllowedCharacters { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] 10 | pub fn get_allowed_chars(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PossibleAppError` is never used [INFO] [stdout] --> src/handlers/auth.rs:23:6 [INFO] [stdout] | [INFO] [stdout] 23 | enum PossibleAppError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `validate` is never used [INFO] [stdout] --> src/handlers/auth.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 51 | impl LoginForm { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 52 | pub fn validate(&self) -> LoginFormErrors { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LoginFormErrors` is never constructed [INFO] [stdout] --> src/handlers/auth.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct LoginFormErrors { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `login` is never used [INFO] [stdout] --> src/handlers/auth.rs:94:14 [INFO] [stdout] | [INFO] [stdout] 94 | pub async fn login(Json(form): Json) {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 09s [INFO] running `Command { std: "docker" "inspect" "35300346a6825ca8b464b7e56e4d84efd6d945d1f6b78c234a62dec8bdb7749a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35300346a6825ca8b464b7e56e4d84efd6d945d1f6b78c234a62dec8bdb7749a", kill_on_drop: false }` [INFO] [stdout] 35300346a6825ca8b464b7e56e4d84efd6d945d1f6b78c234a62dec8bdb7749a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ae21a8e59180ecc24b6ae31ec46908328c2f96f6ea51598a7b7632a66d0101d2 [INFO] running `Command { std: "docker" "start" "-a" "ae21a8e59180ecc24b6ae31ec46908328c2f96f6ea51598a7b7632a66d0101d2", kill_on_drop: false }` [INFO] [stderr] Compiling remote_compiler_server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Json` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | Json, debug_handler, [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: `Executor` [INFO] [stdout] --> src/database/auth.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use sqlx::{Executor, SqliteExecutor}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_char` [INFO] [stdout] --> src/database/auth.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | for token_char in 0..128 { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_char` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `form` [INFO] [stdout] --> src/handlers/auth.rs:94:25 [INFO] [stdout] | [INFO] [stdout] 94 | pub async fn login(Json(form): Json) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_form` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_token` is never used [INFO] [stdout] --> src/database/auth.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | pub async fn check_token<'a, E: SqliteExecutor<'a> + Copy>( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_token_for_user` is never used [INFO] [stdout] --> src/database/auth.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | pub async fn create_token_for_user<'a, E: SqliteExecutor<'a> + Copy>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AllowedCharacters` is never used [INFO] [stdout] --> src/handlers/auth.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 4 | enum AllowedCharacters { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_allowed_chars` is never used [INFO] [stdout] --> src/handlers/auth.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl AllowedCharacters { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] 10 | pub fn get_allowed_chars(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PossibleAppError` is never used [INFO] [stdout] --> src/handlers/auth.rs:23:6 [INFO] [stdout] | [INFO] [stdout] 23 | enum PossibleAppError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `validate` is never used [INFO] [stdout] --> src/handlers/auth.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 51 | impl LoginForm { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 52 | pub fn validate(&self) -> LoginFormErrors { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LoginFormErrors` is never constructed [INFO] [stdout] --> src/handlers/auth.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct LoginFormErrors { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `login` is never used [INFO] [stdout] --> src/handlers/auth.rs:94:14 [INFO] [stdout] | [INFO] [stdout] 94 | pub async fn login(Json(form): Json) {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.22s [INFO] running `Command { std: "docker" "inspect" "ae21a8e59180ecc24b6ae31ec46908328c2f96f6ea51598a7b7632a66d0101d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae21a8e59180ecc24b6ae31ec46908328c2f96f6ea51598a7b7632a66d0101d2", kill_on_drop: false }` [INFO] [stdout] ae21a8e59180ecc24b6ae31ec46908328c2f96f6ea51598a7b7632a66d0101d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ee51202280ab6103c8914f44015bb1ae9664b38d7a833a9758141e632c4dd1ae [INFO] running `Command { std: "docker" "start" "-a" "ee51202280ab6103c8914f44015bb1ae9664b38d7a833a9758141e632c4dd1ae", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Json` [INFO] [stderr] --> src/main.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | Json, debug_handler, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Executor` [INFO] [stderr] --> src/database/auth.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | use sqlx::{Executor, SqliteExecutor}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `token_char` [INFO] [stderr] --> src/database/auth.rs:23:9 [INFO] [stderr] | [INFO] [stderr] 23 | for token_char in 0..128 { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_char` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `form` [INFO] [stderr] --> src/handlers/auth.rs:94:25 [INFO] [stderr] | [INFO] [stderr] 94 | pub async fn login(Json(form): Json) {} [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_form` [INFO] [stderr] [INFO] [stderr] warning: function `check_token` is never used [INFO] [stderr] --> src/database/auth.rs:3:14 [INFO] [stderr] | [INFO] [stderr] 3 | pub async fn check_token<'a, E: SqliteExecutor<'a> + Copy>( [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `create_token_for_user` is never used [INFO] [stderr] --> src/database/auth.rs:15:14 [INFO] [stderr] | [INFO] [stderr] 15 | pub async fn create_token_for_user<'a, E: SqliteExecutor<'a> + Copy>( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `AllowedCharacters` is never used [INFO] [stderr] --> src/handlers/auth.rs:4:6 [INFO] [stderr] | [INFO] [stderr] 4 | enum AllowedCharacters { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `get_allowed_chars` is never used [INFO] [stderr] --> src/handlers/auth.rs:10:12 [INFO] [stderr] | [INFO] [stderr] 9 | impl AllowedCharacters { [INFO] [stderr] | ---------------------- method in this implementation [INFO] [stderr] 10 | pub fn get_allowed_chars(&self) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `PossibleAppError` is never used [INFO] [stderr] --> src/handlers/auth.rs:23:6 [INFO] [stderr] | [INFO] [stderr] 23 | enum PossibleAppError { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `validate` is never used [INFO] [stderr] --> src/handlers/auth.rs:52:12 [INFO] [stderr] | [INFO] [stderr] 51 | impl LoginForm { [INFO] [stderr] | -------------- method in this implementation [INFO] [stderr] 52 | pub fn validate(&self) -> LoginFormErrors { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `LoginFormErrors` is never constructed [INFO] [stderr] --> src/handlers/auth.rs:88:12 [INFO] [stderr] | [INFO] [stderr] 88 | pub struct LoginFormErrors { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `login` is never used [INFO] [stderr] --> src/handlers/auth.rs:94:14 [INFO] [stderr] | [INFO] [stderr] 94 | pub async fn login(Json(form): Json) {} [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `remote_compiler_server` (bin "remote_compiler_server" test) generated 12 warnings (run `cargo fix --bin "remote_compiler_server" -p remote_compiler_server --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/remote_compiler_server-caedff659c33501e) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ee51202280ab6103c8914f44015bb1ae9664b38d7a833a9758141e632c4dd1ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee51202280ab6103c8914f44015bb1ae9664b38d7a833a9758141e632c4dd1ae", kill_on_drop: false }` [INFO] [stdout] ee51202280ab6103c8914f44015bb1ae9664b38d7a833a9758141e632c4dd1ae