[INFO] cloning repository https://github.com/jonaserhart/rust-webapi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jonaserhart/rust-webapi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjonaserhart%2Frust-webapi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjonaserhart%2Frust-webapi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 94f6f952dd19865f2d16083ba69a5f10c58b74f6 [INFO] testing jonaserhart/rust-webapi against 1.79.0 for beta-1.80-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjonaserhart%2Frust-webapi" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jonaserhart/rust-webapi on toolchain 1.79.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.79.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jonaserhart/rust-webapi [INFO] finished tweaking git repo https://github.com/jonaserhart/rust-webapi [INFO] tweaked toml for git repo https://github.com/jonaserhart/rust-webapi written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jonaserhart/rust-webapi 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.79.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded axum-extra v0.9.0 [INFO] [stderr] Downloaded headers-core v0.3.0 [INFO] [stderr] Downloaded scoped-futures v0.1.3 [INFO] [stderr] Downloaded bb8 v0.8.1 [INFO] [stderr] Downloaded axum-core v0.4.1 [INFO] [stderr] Downloaded diesel-async v0.4.1 [INFO] [stderr] Downloaded headers v0.4.0 [INFO] [stderr] Downloaded blake2 v0.10.6 [INFO] [stderr] Downloaded password-hash v0.5.0 [INFO] [stderr] Downloaded argon2 v0.5.2 [INFO] [stderr] Downloaded h2 v0.4.0 [INFO] [stderr] Downloaded hyper v1.0.1 [INFO] [stderr] Downloaded hyper-util v0.1.1 [INFO] [stderr] Downloaded axum v0.7.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 355f58da7dde4efc062ce4b97da14e5e32a2773b950239cfa7508fb7f2928812 [INFO] running `Command { std: "docker" "start" "-a" "355f58da7dde4efc062ce4b97da14e5e32a2773b950239cfa7508fb7f2928812", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "355f58da7dde4efc062ce4b97da14e5e32a2773b950239cfa7508fb7f2928812", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "355f58da7dde4efc062ce4b97da14e5e32a2773b950239cfa7508fb7f2928812", kill_on_drop: false }` [INFO] [stdout] 355f58da7dde4efc062ce4b97da14e5e32a2773b950239cfa7508fb7f2928812 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 05183f2cf2876762c13d9b0c5719ac5169eaeb029acf5e1680e3311f67b2567d [INFO] running `Command { std: "docker" "start" "-a" "05183f2cf2876762c13d9b0c5719ac5169eaeb029acf5e1680e3311f67b2567d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling syn v2.0.41 [INFO] [stderr] Compiling http v1.0.0 [INFO] [stderr] Compiling async-trait v0.1.74 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling finl_unicode v1.2.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling deranged v0.3.10 [INFO] [stderr] Compiling time-macros v0.2.16 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling thiserror v1.0.51 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling stringprep v0.1.4 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling anstyle v1.0.4 [INFO] [stderr] Compiling headers-core v0.3.0 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling cookie v0.18.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling axum-core v0.4.1 [INFO] [stderr] Compiling axum v0.7.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling anstream v0.6.5 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling whoami v1.4.1 [INFO] [stderr] Compiling clap_lex v0.6.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling clap_builder v4.4.11 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling headers v0.4.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling pem v3.0.3 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling scoped-futures v0.1.3 [INFO] [stderr] Compiling thread_local v1.1.7 [INFO] [stderr] Compiling iana-time-zone v0.1.58 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling time v0.3.31 [INFO] [stderr] Compiling ring v0.17.7 [INFO] [stderr] Compiling argon2 v0.5.2 [INFO] [stderr] Compiling chrono v0.4.31 [INFO] [stderr] Compiling postgres-protocol v0.6.6 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling postgres-types v0.2.6 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.1.0 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling futures-macro v0.3.29 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling thiserror-impl v1.0.51 [INFO] [stderr] Compiling diesel_derives v2.1.2 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling tokio v1.35.0 [INFO] [stderr] Compiling simple_asn1 v0.6.2 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling pin-project v1.1.3 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling clap v4.4.11 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling http-body-util v0.1.0 [INFO] [stderr] Compiling diesel v2.1.4 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling bb8 v0.8.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.14 [INFO] [stderr] Compiling uuid v1.6.1 [INFO] [stderr] Compiling h2 v0.4.0 [INFO] [stderr] Compiling tokio-postgres v0.7.10 [INFO] [stderr] Compiling jsonwebtoken v9.2.0 [INFO] [stderr] Compiling hyper v1.0.1 [INFO] [stderr] Compiling hyper-util v0.1.1 [INFO] [stderr] Compiling axum-extra v0.9.0 [INFO] [stderr] Compiling diesel-async v0.4.1 [INFO] [stderr] Compiling webapi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `diesel_async::RunQueryDsl` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use diesel_async::RunQueryDsl; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/repos/user_repo.rs:41:23 [INFO] [stdout] | [INFO] [stdout] 41 | .map_err(|err| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/main.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl AppConfig{ [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 26 | pub fn new(jwt_keys: Keys) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `MissingPassword` is never constructed [INFO] [stdout] --> src/model/errors.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum AuthError { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 20 | MissingUserName, [INFO] [stdout] 21 | MissingPassword, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AuthError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model/errors.rs:30:21 [INFO] [stdout] | [INFO] [stdout] 30 | EncryptionError(EncryptionError), [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 30 | EncryptionError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 30s [INFO] running `Command { std: "docker" "inspect" "05183f2cf2876762c13d9b0c5719ac5169eaeb029acf5e1680e3311f67b2567d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05183f2cf2876762c13d9b0c5719ac5169eaeb029acf5e1680e3311f67b2567d", kill_on_drop: false }` [INFO] [stdout] 05183f2cf2876762c13d9b0c5719ac5169eaeb029acf5e1680e3311f67b2567d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ca48c9bcca291d5fe2c3192f11ca309d25cdc8d345b18890246b161038041df [INFO] running `Command { std: "docker" "start" "-a" "8ca48c9bcca291d5fe2c3192f11ca309d25cdc8d345b18890246b161038041df", kill_on_drop: false }` [INFO] [stderr] Compiling webapi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `diesel_async::RunQueryDsl` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use diesel_async::RunQueryDsl; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/repos/user_repo.rs:41:23 [INFO] [stdout] | [INFO] [stdout] 41 | .map_err(|err| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/main.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl AppConfig{ [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 26 | pub fn new(jwt_keys: Keys) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `MissingPassword` is never constructed [INFO] [stdout] --> src/model/errors.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum AuthError { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 20 | MissingUserName, [INFO] [stdout] 21 | MissingPassword, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AuthError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model/errors.rs:30:21 [INFO] [stdout] | [INFO] [stdout] 30 | EncryptionError(EncryptionError), [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 30 | EncryptionError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.93s [INFO] running `Command { std: "docker" "inspect" "8ca48c9bcca291d5fe2c3192f11ca309d25cdc8d345b18890246b161038041df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ca48c9bcca291d5fe2c3192f11ca309d25cdc8d345b18890246b161038041df", kill_on_drop: false }` [INFO] [stdout] 8ca48c9bcca291d5fe2c3192f11ca309d25cdc8d345b18890246b161038041df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 672a1864b55dc2dfad64a819f42ee9e1382902ecbb1c762beff1a8804e22e6e7 [INFO] running `Command { std: "docker" "start" "-a" "672a1864b55dc2dfad64a819f42ee9e1382902ecbb1c762beff1a8804e22e6e7", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `diesel_async::RunQueryDsl` [INFO] [stderr] --> src/main.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use diesel_async::RunQueryDsl; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `err` [INFO] [stderr] --> src/repos/user_repo.rs:41:23 [INFO] [stderr] | [INFO] [stderr] 41 | .map_err(|err| { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/main.rs:26:12 [INFO] [stderr] | [INFO] [stderr] 25 | impl AppConfig{ [INFO] [stderr] | -------------- associated function in this implementation [INFO] [stderr] 26 | pub fn new(jwt_keys: Keys) -> Self{ [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant `MissingPassword` is never constructed [INFO] [stderr] --> src/model/errors.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 19 | pub enum AuthError { [INFO] [stderr] | --------- variant in this enum [INFO] [stderr] 20 | MissingUserName, [INFO] [stderr] 21 | MissingPassword, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AuthError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/model/errors.rs:30:21 [INFO] [stderr] | [INFO] [stderr] 30 | EncryptionError(EncryptionError), [INFO] [stderr] | --------------- ^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 30 | EncryptionError(()), [INFO] [stderr] | ~~ [INFO] [stderr] [INFO] [stderr] warning: `webapi` (bin "webapi" test) generated 5 warnings (run `cargo fix --bin "webapi" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/webapi-5b4a02662c09cef8) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test common::encryption::tests::test_validate_successful ... ok [INFO] [stdout] test common::encryption::tests::test_validate_not_successful ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.62s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "672a1864b55dc2dfad64a819f42ee9e1382902ecbb1c762beff1a8804e22e6e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "672a1864b55dc2dfad64a819f42ee9e1382902ecbb1c762beff1a8804e22e6e7", kill_on_drop: false }` [INFO] [stdout] 672a1864b55dc2dfad64a819f42ee9e1382902ecbb1c762beff1a8804e22e6e7