[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 master#ec6f9a5b4413f74386267ef8efc93712c2ce6db6 for pr-155739
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fczhaos%2Ffirst-vibe-coding" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/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-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/czhaos/first-vibe-coding on toolchain ec6f9a5b4413f74386267ef8efc93712c2ce6db6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded validator_types v0.16.0
[INFO] [stderr]   Downloaded if_chain v1.0.3
[INFO] [stderr]   Downloaded validator v0.16.1
[INFO] [stderr]   Downloaded validator_derive v0.16.0
[INFO] [stderr]   Downloaded wasite v1.0.2
[INFO] [stderr]   Downloaded tokio-postgres v0.7.16
[INFO] [stderr]   Downloaded wasm-bindgen-macro v0.2.112
[INFO] [stderr]   Downloaded postgres-protocol v0.6.10
[INFO] [stderr]   Downloaded postgres-types v0.2.12
[INFO] [stderr]   Downloaded wasm-bindgen-shared v0.2.112
[INFO] [stderr]   Downloaded deadpool-postgres v0.12.1
[INFO] [stderr]   Downloaded whoami v2.1.1
[INFO] [stderr]   Downloaded deadpool v0.10.0
[INFO] [stderr]   Downloaded objc2-system-configuration v0.3.2
[INFO] [stderr]   Downloaded wasm-bindgen v0.2.112
[INFO] [stderr]   Downloaded wasm-bindgen-macro-support v0.2.112
[INFO] [stderr]   Downloaded js-sys v0.3.89
[INFO] [stderr]   Downloaded web-sys v0.3.89
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 31515825a8a7e4053cdbe96059805ad219f38c3cc6b31d95bf16ea6e0e301642
[INFO] running `Command { std: "docker" "start" "-a" "31515825a8a7e4053cdbe96059805ad219f38c3cc6b31d95bf16ea6e0e301642", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "31515825a8a7e4053cdbe96059805ad219f38c3cc6b31d95bf16ea6e0e301642", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "31515825a8a7e4053cdbe96059805ad219f38c3cc6b31d95bf16ea6e0e301642", kill_on_drop: false }`
[INFO] [stdout] 31515825a8a7e4053cdbe96059805ad219f38c3cc6b31d95bf16ea6e0e301642
[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=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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b5c105234ea0ff2453244e86540967ccee8fc0b2669126630b73b6bb088eea13
[INFO] running `Command { std: "docker" "start" "-a" "b5c105234ea0ff2453244e86540967ccee8fc0b2669126630b73b6bb088eea13", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.182
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling bytes v1.11.1
[INFO] [stderr]    Compiling typenum v1.19.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling futures-core v0.3.32
[INFO] [stderr]    Compiling zerocopy v0.8.39
[INFO] [stderr]    Compiling futures-sink v0.3.32
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling quote v1.0.44
[INFO] [stderr]    Compiling litemap v0.8.1
[INFO] [stderr]    Compiling writeable v0.6.2
[INFO] [stderr]    Compiling percent-encoding v2.3.2
[INFO] [stderr]    Compiling tinyvec v1.10.0
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]    Compiling icu_normalizer_data v2.1.1
[INFO] [stderr]    Compiling icu_properties_data v2.1.2
[INFO] [stderr]    Compiling unicode-bidi v0.3.18
[INFO] [stderr]    Compiling futures-task v0.3.32
[INFO] [stderr]    Compiling slab v0.4.12
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling unicode-properties v0.1.4
[INFO] [stderr]    Compiling local-waker v0.1.4
[INFO] [stderr]    Compiling memchr v2.8.0
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling futures-util v0.3.32
[INFO] [stderr]    Compiling convert_case v0.10.0
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling unicode-normalization v0.1.25
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling httparse v1.10.1
[INFO] [stderr]    Compiling time-core v0.1.8
[INFO] [stderr]    Compiling regex-lite v0.1.9
[INFO] [stderr]    Compiling fallible-iterator v0.2.0
[INFO] [stderr]    Compiling num-conv v0.2.0
[INFO] [stderr]    Compiling simd-adler32 v0.3.8
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling siphasher v1.0.2
[INFO] [stderr]    Compiling miniz_oxide v0.8.9
[INFO] [stderr]    Compiling phf_shared v0.13.1
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling errno v0.3.14
[INFO] [stderr]    Compiling signal-hook-registry v1.4.8
[INFO] [stderr]    Compiling mio v1.1.1
[INFO] [stderr]    Compiling socket2 v0.6.2
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling jobserver v0.1.34
[INFO] [stderr]    Compiling rand_core v0.9.5
[INFO] [stderr]    Compiling bytestring v1.5.0
[INFO] [stderr]    Compiling crypto-common v0.1.7
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling cc v1.2.56
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling time-macros v0.2.27
[INFO] [stderr]    Compiling deranged v0.5.8
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling brotli-decompressor v5.0.0
[INFO] [stderr]    Compiling actix-utils v3.0.1
[INFO] [stderr]    Compiling tokio v1.49.0
[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 actix-service v2.0.3
[INFO] [stderr]    Compiling cookie v0.16.2
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]    Compiling bitflags v2.11.0
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling flate2 v1.1.9
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling actix-router v0.5.4
[INFO] [stderr]    Compiling phf v0.13.1
[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 brotli v8.0.2
[INFO] [stderr]    Compiling local-channel v0.1.5
[INFO] [stderr]    Compiling futures-channel v0.3.32
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling time v0.3.47
[INFO] [stderr]    Compiling if_chain v1.0.3
[INFO] [stderr]    Compiling foldhash v0.1.5
[INFO] [stderr]    Compiling language-tags v0.3.2
[INFO] [stderr]    Compiling is-terminal v0.4.17
[INFO] [stderr]    Compiling idna v0.4.0
[INFO] [stderr]    Compiling impl-more v0.1.9
[INFO] [stderr]    Compiling humantime v2.3.0
[INFO] [stderr]    Compiling zstd-sys v2.0.16+zstd.1.5.7
[INFO] [stderr]    Compiling validator_types v0.16.0
[INFO] [stderr]    Compiling iana-time-zone v0.1.65
[INFO] [stderr]    Compiling env_logger v0.10.2
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling regex v1.12.3
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling rand v0.9.2
[INFO] [stderr]    Compiling tokio-util v0.7.18
[INFO] [stderr]    Compiling deadpool-runtime v0.1.4
[INFO] [stderr]    Compiling validator_derive v0.16.0
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling postgres-protocol v0.6.10
[INFO] [stderr]    Compiling postgres-types v0.2.12
[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 actix-web-codegen v4.3.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling actix-rt v2.11.0
[INFO] [stderr]    Compiling deadpool v0.10.0
[INFO] [stderr]    Compiling tokio-postgres v0.7.16
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.1
[INFO] [stderr]    Compiling zstd-safe v7.2.4
[INFO] [stderr]    Compiling zerotrie v0.2.3
[INFO] [stderr]    Compiling h2 v0.3.27
[INFO] [stderr]    Compiling actix-codec v0.5.2
[INFO] [stderr]    Compiling actix-server v2.6.0
[INFO] [stderr]    Compiling zerovec v0.11.5
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling zstd v0.13.3
[INFO] [stderr]    Compiling tinystr v0.8.2
[INFO] [stderr]    Compiling potential_utf v0.1.4
[INFO] [stderr]    Compiling icu_collections v2.1.1
[INFO] [stderr]    Compiling icu_locale_core v2.1.1
[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_properties v2.1.2
[INFO] [stderr]    Compiling icu_normalizer v2.1.1
[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<Option<User>, 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<Option<User>, 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<Option<User>, 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<bool, AppError> {
[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 03s
[INFO] running `Command { std: "docker" "inspect" "b5c105234ea0ff2453244e86540967ccee8fc0b2669126630b73b6bb088eea13", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b5c105234ea0ff2453244e86540967ccee8fc0b2669126630b73b6bb088eea13", kill_on_drop: false }`
[INFO] [stdout] b5c105234ea0ff2453244e86540967ccee8fc0b2669126630b73b6bb088eea13
[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=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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] deb8b9ebb10cdfadd48bd9992947cb39ed1a1a178a4f082c8c318082e691b961
[INFO] running `Command { std: "docker" "start" "-a" "deb8b9ebb10cdfadd48bd9992947cb39ed1a1a178a4f082c8c318082e691b961", 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<Option<User>, 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<Option<User>, 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<Option<User>, 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<bool, AppError> {
[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<Option<User>, 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<Option<User>, 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<Option<User>, 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<bool, AppError> {
[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 3.59s
[INFO] running `Command { std: "docker" "inspect" "deb8b9ebb10cdfadd48bd9992947cb39ed1a1a178a4f082c8c318082e691b961", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "deb8b9ebb10cdfadd48bd9992947cb39ed1a1a178a4f082c8c318082e691b961", kill_on_drop: false }`
[INFO] [stdout] deb8b9ebb10cdfadd48bd9992947cb39ed1a1a178a4f082c8c318082e691b961
[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=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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] f0a352c172107dc380c27c7284ad9d1d7ad3c587a088b09673aeb519481afc81
[INFO] running `Command { std: "docker" "start" "-a" "f0a352c172107dc380c27c7284ad9d1d7ad3c587a088b09673aeb519481afc81", 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<Option<User>, 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<Option<User>, 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<Option<User>, 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<bool, AppError> {
[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.25s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/web-e902370e534a8ec0)
[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] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/web-4885f626a902435f)
[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] [stderr]      Running tests/health.rs (/opt/rustwide/target/debug/deps/health-1628909f4bed3894)
[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.00s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/user.rs (/opt/rustwide/target/debug/deps/user-e36438b2d830122b)
[INFO] [stdout] 
[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" "f0a352c172107dc380c27c7284ad9d1d7ad3c587a088b09673aeb519481afc81", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f0a352c172107dc380c27c7284ad9d1d7ad3c587a088b09673aeb519481afc81", kill_on_drop: false }`
[INFO] [stdout] f0a352c172107dc380c27c7284ad9d1d7ad3c587a088b09673aeb519481afc81
