[INFO] cloning repository https://github.com/mvk25/blogapp_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mvk25/blogapp_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmvk25%2Fblogapp_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmvk25%2Fblogapp_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a671f8c21581448e1a49fdb84e81055c6f12f6a9 [INFO] building mvk25/blogapp_rust against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmvk25%2Fblogapp_rust" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mvk25/blogapp_rust [INFO] finished tweaking git repo https://github.com/mvk25/blogapp_rust [INFO] tweaked toml for git repo https://github.com/mvk25/blogapp_rust written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mvk25/blogapp_rust on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mvk25/blogapp_rust 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded diesel_table_macro_syntax v0.2.0 [INFO] [stderr] Downloaded actix-files v0.6.6 [INFO] [stderr] Downloaded v_htmlescape v0.15.8 [INFO] [stderr] Downloaded bcrypt v0.15.1 [INFO] [stderr] Downloaded http-range v0.1.5 [INFO] [stderr] Downloaded pq-sys v0.6.1 [INFO] [stderr] Downloaded zstd-safe v7.2.0 [INFO] [stderr] Downloaded serde_json v1.0.120 [INFO] [stderr] Downloaded actix-session v0.6.2 [INFO] [stderr] Downloaded actix-server v2.4.0 [INFO] [stderr] Downloaded actix-http v3.8.0 [INFO] [stderr] Downloaded bytes v1.6.1 [INFO] [stderr] Downloaded cc v1.1.6 [INFO] [stderr] Downloaded diesel_derives v2.2.2 [INFO] [stderr] Downloaded flate2 v1.0.30 [INFO] [stderr] Downloaded dsl_auto_type v0.1.2 [INFO] [stderr] Downloaded object v0.36.1 [INFO] [stderr] Downloaded actix-web v4.8.0 [INFO] [stderr] Downloaded syn v2.0.71 [INFO] [stderr] Downloaded diesel v2.2.2 [INFO] [stderr] Downloaded tokio v1.38.1 [INFO] [stderr] Downloaded base64 v0.20.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bff57d9b43bde3f551d8a013b56eec3e6a0ffb463a46dd9e17664e69e87df519 [INFO] running `Command { std: "docker" "start" "-a" "bff57d9b43bde3f551d8a013b56eec3e6a0ffb463a46dd9e17664e69e87df519", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bff57d9b43bde3f551d8a013b56eec3e6a0ffb463a46dd9e17664e69e87df519", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bff57d9b43bde3f551d8a013b56eec3e6a0ffb463a46dd9e17664e69e87df519", kill_on_drop: false }` [INFO] [stdout] bff57d9b43bde3f551d8a013b56eec3e6a0ffb463a46dd9e17664e69e87df519 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 69d6f5dcaa3581db3e96b6c42eec7c511c5291af00122948c34ad7338a09b50a [INFO] running `Command { std: "docker" "start" "-a" "69d6f5dcaa3581db3e96b6c42eec7c511c5291af00122948c34ad7338a09b50a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling bytes v1.6.1 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling zstd-safe v7.2.0 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling syn v2.0.71 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling brotli-decompressor v4.0.1 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling bytestring v1.3.1 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling cc v1.1.6 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling tokio v1.38.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling brotli v6.0.0 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling base64 v0.20.0 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling v_htmlescape v0.15.8 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling pq-sys v0.6.1 [INFO] [stderr] Compiling zstd-sys v2.0.12+zstd.1.5.6 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling blowfish v0.9.1 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling http-range v0.1.5 [INFO] [stderr] Compiling askama_escape v0.10.3 [INFO] [stderr] Compiling bcrypt v0.15.1 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling askama_parser v0.2.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.2.0 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling askama_derive v0.12.5 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling actix-server v2.4.0 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling dsl_auto_type v0.1.2 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling askama v0.12.1 [INFO] [stderr] Compiling diesel_derives v2.2.2 [INFO] [stderr] Compiling zstd v0.13.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling actix-http v3.8.0 [INFO] [stderr] Compiling diesel v2.2.2 [INFO] [stderr] Compiling actix-web v4.8.0 [INFO] [stderr] Compiling actix-files v0.6.6 [INFO] [stderr] Compiling actix-session v0.6.2 [INFO] [stderr] Compiling blogapp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `get_user_by_id` [INFO] [stdout] --> src/controllers/users.rs:2:54 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::db_operations::users::{get_user_by_email, get_user_by_id}; [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 variable: `e` [INFO] [stdout] --> src/controllers/users.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/controllers/users.rs:72:75 [INFO] [stdout] | [INFO] [stdout] 72 | pub async fn dashboard_page(state: web::Data, session: Session, req: HttpRequest) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `error` is never read [INFO] [stdout] --> src/models/ui.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct RegisterTemplate{ [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 22 | pub(crate) error: Option [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `email` is never read [INFO] [stdout] --> src/models/ui.rs:29:16 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct DashboardTemplate { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 29 | pub(crate) email: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_user_by_id` is never used [INFO] [stdout] --> src/db_operations/users.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn get_user_by_id(connection: &mut PgConnection, user_id: i32) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 29s [INFO] running `Command { std: "docker" "inspect" "69d6f5dcaa3581db3e96b6c42eec7c511c5291af00122948c34ad7338a09b50a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69d6f5dcaa3581db3e96b6c42eec7c511c5291af00122948c34ad7338a09b50a", kill_on_drop: false }` [INFO] [stdout] 69d6f5dcaa3581db3e96b6c42eec7c511c5291af00122948c34ad7338a09b50a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 22b5be1741261d2fb7fd9c1566c7b03fe52d5cd9da9192f54e9c4665c9f8858f [INFO] running `Command { std: "docker" "start" "-a" "22b5be1741261d2fb7fd9c1566c7b03fe52d5cd9da9192f54e9c4665c9f8858f", kill_on_drop: false }` [INFO] [stderr] Compiling blogapp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `get_user_by_id` [INFO] [stdout] --> src/controllers/users.rs:2:54 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::db_operations::users::{get_user_by_email, get_user_by_id}; [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 variable: `e` [INFO] [stdout] --> src/controllers/users.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/controllers/users.rs:72:75 [INFO] [stdout] | [INFO] [stdout] 72 | pub async fn dashboard_page(state: web::Data, session: Session, req: HttpRequest) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `error` is never read [INFO] [stdout] --> src/models/ui.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct RegisterTemplate{ [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 22 | pub(crate) error: Option [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `email` is never read [INFO] [stdout] --> src/models/ui.rs:29:16 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct DashboardTemplate { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 29 | pub(crate) email: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_user_by_id` is never used [INFO] [stdout] --> src/db_operations/users.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn get_user_by_id(connection: &mut PgConnection, user_id: i32) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.53s [INFO] running `Command { std: "docker" "inspect" "22b5be1741261d2fb7fd9c1566c7b03fe52d5cd9da9192f54e9c4665c9f8858f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22b5be1741261d2fb7fd9c1566c7b03fe52d5cd9da9192f54e9c4665c9f8858f", kill_on_drop: false }` [INFO] [stdout] 22b5be1741261d2fb7fd9c1566c7b03fe52d5cd9da9192f54e9c4665c9f8858f