[INFO] cloning repository https://github.com/czhaos/first-vibe-coding [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/czhaos/first-vibe-coding" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fczhaos%2Ffirst-vibe-coding", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fczhaos%2Ffirst-vibe-coding'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8da601a49cb42204b1f7b072fb8da54f8e9c9a2c [INFO] testing czhaos/first-vibe-coding against try#33835004928d3bf65db4d4712e1330766263b0bd for pr-155739-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fczhaos%2Ffirst-vibe-coding" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/czhaos/first-vibe-coding [INFO] finished tweaking git repo https://github.com/czhaos/first-vibe-coding [INFO] tweaked toml for git repo https://github.com/czhaos/first-vibe-coding written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/czhaos/first-vibe-coding on toolchain 33835004928d3bf65db4d4712e1330766263b0bd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/czhaos/first-vibe-coding 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" "+33835004928d3bf65db4d4712e1330766263b0bd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d1b9585a61a448c5a17f4b442552b252df7509eeb197a759205d01f3847fb0f3 [INFO] running `Command { std: "docker" "start" "-a" "d1b9585a61a448c5a17f4b442552b252df7509eeb197a759205d01f3847fb0f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d1b9585a61a448c5a17f4b442552b252df7509eeb197a759205d01f3847fb0f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1b9585a61a448c5a17f4b442552b252df7509eeb197a759205d01f3847fb0f3", kill_on_drop: false }` [INFO] [stdout] d1b9585a61a448c5a17f4b442552b252df7509eeb197a759205d01f3847fb0f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 18a9fc12fcf95690661eb97dce5c16aab5ad0e9883bffeaef0e5e46326c81d92 [INFO] running `Command { std: "docker" "start" "-a" "18a9fc12fcf95690661eb97dce5c16aab5ad0e9883bffeaef0e5e46326c81d92", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling libc v0.2.182 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling local-waker v0.1.4 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling simd-adler32 v0.3.8 [INFO] [stderr] Compiling bytes v1.11.1 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling regex-lite v0.1.9 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling num-conv v0.2.0 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling siphasher v1.0.2 [INFO] [stderr] Compiling time-macros v0.2.27 [INFO] [stderr] Compiling convert_case v0.10.0 [INFO] [stderr] Compiling phf_shared v0.13.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling brotli-decompressor v5.0.0 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Compiling bytestring v1.5.0 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling actix-service v2.0.3 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling phf v0.13.1 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling flate2 v1.1.9 [INFO] [stderr] Compiling if_chain v1.0.3 [INFO] [stderr] Compiling brotli v8.0.2 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling socket2 v0.6.2 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling time v0.3.47 [INFO] [stderr] Compiling cc v1.2.56 [INFO] [stderr] Compiling rand_core v0.9.5 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling actix-router v0.5.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling whoami v2.1.1 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling validator_types v0.16.0 [INFO] [stderr] Compiling is-terminal v0.4.17 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling humantime v2.3.0 [INFO] [stderr] Compiling impl-more v0.1.9 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling postgres-protocol v0.6.10 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling postgres-types v0.2.12 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling derive_more-impl v2.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling validator_derive v0.16.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling actix-rt v2.11.0 [INFO] [stderr] Compiling deadpool-runtime v0.1.4 [INFO] [stderr] Compiling deadpool v0.10.0 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling tokio-postgres v0.7.16 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling actix-server v2.6.0 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling derive_more v2.1.1 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling deadpool-postgres v0.12.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling actix-http v3.12.0 [INFO] [stderr] Compiling validator v0.16.1 [INFO] [stderr] Compiling actix-web v4.13.0 [INFO] [stderr] Compiling web v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `database_url` is never read [INFO] [stdout] --> src/app/config/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | pub database_url: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Authentication`, `Authorization`, `NotFound`, and `Internal` are never constructed [INFO] [stdout] --> src/app/errors/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum AppError { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 15 | Authentication(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 16 | #[error("Authorization error: {0}")] [INFO] [stdout] 17 | Authorization(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 18 | #[error("NotFound error: {0}")] [INFO] [stdout] 19 | NotFound(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 20 | #[error("Internal server error: {0}")] [INFO] [stdout] 21 | Internal(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppError` 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 `password` is never read [INFO] [stdout] --> src/app/handlers/user.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct LoginRequest { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | pub password: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LoginRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UserUpdate` is never constructed [INFO] [stdout] --> src/app/models/user.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct UserUpdate { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_user_by_email` is never used [INFO] [stdout] --> src/app/schema/user.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | pub async fn get_user_by_email(pool: &Pool, email: &str) -> Result, AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_user_by_id` is never used [INFO] [stdout] --> src/app/schema/user.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | pub async fn get_user_by_id(pool: &Pool, id: i32) -> Result, AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_user` is never used [INFO] [stdout] --> src/app/schema/user.rs:52:14 [INFO] [stdout] | [INFO] [stdout] 52 | pub async fn update_user(pool: &Pool, id: i32, user: UserUpdate) -> Result, AppError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_user` is never used [INFO] [stdout] --> src/app/schema/user.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 65 | pub async fn delete_user(pool: &Pool, id: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ServerConfig` is never constructed [INFO] [stdout] --> src/server/config.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct ServerConfig { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_env` is never used [INFO] [stdout] --> src/server/config.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl ServerConfig { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 8 | pub fn from_env() -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 28s [INFO] running `Command { std: "docker" "inspect" "18a9fc12fcf95690661eb97dce5c16aab5ad0e9883bffeaef0e5e46326c81d92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18a9fc12fcf95690661eb97dce5c16aab5ad0e9883bffeaef0e5e46326c81d92", kill_on_drop: false }` [INFO] [stdout] 18a9fc12fcf95690661eb97dce5c16aab5ad0e9883bffeaef0e5e46326c81d92 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 835cdd7ad7831faa48dcc2ac18a2f2dacdb2e1594acee3c6e9573c6a0ead1cc9 [INFO] running `Command { std: "docker" "start" "-a" "835cdd7ad7831faa48dcc2ac18a2f2dacdb2e1594acee3c6e9573c6a0ead1cc9", kill_on_drop: false }` [INFO] [stderr] Compiling web v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `database_url` is never read [INFO] [stdout] --> src/app/config/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | pub database_url: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Authentication`, `Authorization`, `NotFound`, and `Internal` are never constructed [INFO] [stdout] --> src/app/errors/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum AppError { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 15 | Authentication(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 16 | #[error("Authorization error: {0}")] [INFO] [stdout] 17 | Authorization(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 18 | #[error("NotFound error: {0}")] [INFO] [stdout] 19 | NotFound(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 20 | #[error("Internal server error: {0}")] [INFO] [stdout] 21 | Internal(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppError` 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 `password` is never read [INFO] [stdout] --> src/app/handlers/user.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct LoginRequest { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | pub password: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LoginRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UserUpdate` is never constructed [INFO] [stdout] --> src/app/models/user.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct UserUpdate { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_user_by_email` is never used [INFO] [stdout] --> src/app/schema/user.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | pub async fn get_user_by_email(pool: &Pool, email: &str) -> Result, AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_user_by_id` is never used [INFO] [stdout] --> src/app/schema/user.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | pub async fn get_user_by_id(pool: &Pool, id: i32) -> Result, AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_user` is never used [INFO] [stdout] --> src/app/schema/user.rs:52:14 [INFO] [stdout] | [INFO] [stdout] 52 | pub async fn update_user(pool: &Pool, id: i32, user: UserUpdate) -> Result, AppError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_user` is never used [INFO] [stdout] --> src/app/schema/user.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 65 | pub async fn delete_user(pool: &Pool, id: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ServerConfig` is never constructed [INFO] [stdout] --> src/server/config.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct ServerConfig { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_env` is never used [INFO] [stdout] --> src/server/config.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl ServerConfig { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 8 | pub fn from_env() -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `database_url` is never read [INFO] [stdout] --> src/app/config/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | pub database_url: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Authentication`, `Authorization`, `NotFound`, and `Internal` are never constructed [INFO] [stdout] --> src/app/errors/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum AppError { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 15 | Authentication(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 16 | #[error("Authorization error: {0}")] [INFO] [stdout] 17 | Authorization(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 18 | #[error("NotFound error: {0}")] [INFO] [stdout] 19 | NotFound(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 20 | #[error("Internal server error: {0}")] [INFO] [stdout] 21 | Internal(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppError` 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 `password` is never read [INFO] [stdout] --> src/app/handlers/user.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct LoginRequest { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | pub password: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LoginRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UserUpdate` is never constructed [INFO] [stdout] --> src/app/models/user.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct UserUpdate { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_user_by_email` is never used [INFO] [stdout] --> src/app/schema/user.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | pub async fn get_user_by_email(pool: &Pool, email: &str) -> Result, AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_user_by_id` is never used [INFO] [stdout] --> src/app/schema/user.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | pub async fn get_user_by_id(pool: &Pool, id: i32) -> Result, AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_user` is never used [INFO] [stdout] --> src/app/schema/user.rs:52:14 [INFO] [stdout] | [INFO] [stdout] 52 | pub async fn update_user(pool: &Pool, id: i32, user: UserUpdate) -> Result, AppError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_user` is never used [INFO] [stdout] --> src/app/schema/user.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 65 | pub async fn delete_user(pool: &Pool, id: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ServerConfig` is never constructed [INFO] [stdout] --> src/server/config.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct ServerConfig { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_env` is never used [INFO] [stdout] --> src/server/config.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl ServerConfig { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 8 | pub fn from_env() -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.41s [INFO] running `Command { std: "docker" "inspect" "835cdd7ad7831faa48dcc2ac18a2f2dacdb2e1594acee3c6e9573c6a0ead1cc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "835cdd7ad7831faa48dcc2ac18a2f2dacdb2e1594acee3c6e9573c6a0ead1cc9", kill_on_drop: false }` [INFO] [stdout] 835cdd7ad7831faa48dcc2ac18a2f2dacdb2e1594acee3c6e9573c6a0ead1cc9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b15d80236c0516c9a3054b3cca50bd6f2dbc3707683c1271b2faa8b8119ba795 [INFO] running `Command { std: "docker" "start" "-a" "b15d80236c0516c9a3054b3cca50bd6f2dbc3707683c1271b2faa8b8119ba795", kill_on_drop: false }` [INFO] [stderr] warning: field `database_url` is never read [INFO] [stderr] --> src/app/config/mod.rs:7:9 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct Config { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 7 | pub database_url: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variants `Authentication`, `Authorization`, `NotFound`, and `Internal` are never constructed [INFO] [stderr] --> src/app/errors/mod.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 7 | pub enum AppError { [INFO] [stderr] | -------- variants in this enum [INFO] [stderr] ... [INFO] [stderr] 15 | Authentication(String), [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 16 | #[error("Authorization error: {0}")] [INFO] [stderr] 17 | Authorization(String), [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 18 | #[error("NotFound error: {0}")] [INFO] [stderr] 19 | NotFound(String), [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 20 | #[error("Internal server error: {0}")] [INFO] [stderr] 21 | Internal(String), [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `password` is never read [INFO] [stderr] --> src/app/handlers/user.rs:23:9 [INFO] [stderr] | [INFO] [stderr] 20 | pub struct LoginRequest { [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 23 | pub password: String, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `LoginRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `UserUpdate` is never constructed [INFO] [stderr] --> src/app/models/user.rs:21:12 [INFO] [stderr] | [INFO] [stderr] 21 | pub struct UserUpdate { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_user_by_email` is never used [INFO] [stderr] --> src/app/schema/user.rs:20:14 [INFO] [stderr] | [INFO] [stderr] 20 | pub async fn get_user_by_email(pool: &Pool, email: &str) -> Result, AppError> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_user_by_id` is never used [INFO] [stderr] --> src/app/schema/user.rs:36:14 [INFO] [stderr] | [INFO] [stderr] 36 | pub async fn get_user_by_id(pool: &Pool, id: i32) -> Result, AppError> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `update_user` is never used [INFO] [stderr] --> src/app/schema/user.rs:52:14 [INFO] [stderr] | [INFO] [stderr] 52 | pub async fn update_user(pool: &Pool, id: i32, user: UserUpdate) -> Result, AppError> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `delete_user` is never used [INFO] [stderr] --> src/app/schema/user.rs:65:14 [INFO] [stderr] | [INFO] [stderr] 65 | pub async fn delete_user(pool: &Pool, id: i32) -> Result { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ServerConfig` is never constructed [INFO] [stderr] --> src/server/config.rs:2:12 [INFO] [stderr] | [INFO] [stderr] 2 | pub struct ServerConfig { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `from_env` is never used [INFO] [stderr] --> src/server/config.rs:8:12 [INFO] [stderr] | [INFO] [stderr] 7 | impl ServerConfig { [INFO] [stderr] | ----------------- associated function in this implementation [INFO] [stderr] 8 | pub fn from_env() -> Self { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `web` (bin "web") generated 10 warnings [INFO] [stderr] warning: `web` (bin "web" test) generated 10 warnings (10 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.38s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/web-e902370e534a8ec0) [INFO] [stdout] running 0 tests [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/web-4885f626a902435f) [INFO] [stdout] [INFO] [stderr] Running tests/health.rs (/opt/rustwide/target/debug/deps/health-1628909f4bed3894) [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [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] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_health_check ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Running tests/user.rs (/opt/rustwide/target/debug/deps/user-e36438b2d830122b) [INFO] [stdout] running 2 tests [INFO] [stdout] test test_register ... ok [INFO] [stdout] test test_login ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests web [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" "b15d80236c0516c9a3054b3cca50bd6f2dbc3707683c1271b2faa8b8119ba795", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b15d80236c0516c9a3054b3cca50bd6f2dbc3707683c1271b2faa8b8119ba795", kill_on_drop: false }` [INFO] [stdout] b15d80236c0516c9a3054b3cca50bd6f2dbc3707683c1271b2faa8b8119ba795