[INFO] cloning repository https://github.com/SarathLUN/phishing_simulation [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SarathLUN/phishing_simulation" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSarathLUN%2Fphishing_simulation", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSarathLUN%2Fphishing_simulation'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ef17026aef31fcebbf7c397c3a141b3d0537d494 [INFO] testing SarathLUN/phishing_simulation against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSarathLUN%2Fphishing_simulation" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/SarathLUN/phishing_simulation [INFO] finished tweaking git repo https://github.com/SarathLUN/phishing_simulation [INFO] tweaked toml for git repo https://github.com/SarathLUN/phishing_simulation written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/SarathLUN/phishing_simulation 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/SarathLUN/phishing_simulation 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 r2d2_sqlite v0.25.0 [INFO] [stderr] Downloaded email_address v0.2.9 [INFO] [stderr] Downloaded chumsky v0.9.3 [INFO] [stderr] Downloaded quoted_printable v0.5.1 [INFO] [stderr] Downloaded email-encoding v0.4.1 [INFO] [stderr] Downloaded brotli-decompressor v4.0.3 [INFO] [stderr] Downloaded rusqlite v0.32.1 [INFO] [stderr] Downloaded nom v8.0.0 [INFO] [stderr] Downloaded lettre v0.11.15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1d9e32151b706a3ba1f74e55895319efab61ddcaccd7b3d750818c7a98644b07 [INFO] running `Command { std: "docker" "start" "-a" "1d9e32151b706a3ba1f74e55895319efab61ddcaccd7b3d750818c7a98644b07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1d9e32151b706a3ba1f74e55895319efab61ddcaccd7b3d750818c7a98644b07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d9e32151b706a3ba1f74e55895319efab61ddcaccd7b3d750818c7a98644b07", kill_on_drop: false }` [INFO] [stdout] 1d9e32151b706a3ba1f74e55895319efab61ddcaccd7b3d750818c7a98644b07 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5f0bc691ce54d598a753f1b7539e437ff468e0aff9fd7b8b5ac649154e034292 [INFO] running `Command { std: "docker" "start" "-a" "5f0bc691ce54d598a753f1b7539e437ff468e0aff9fd7b8b5ac649154e034292", kill_on_drop: false }` [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling cc v1.2.20 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling miniz_oxide v0.8.8 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling brotli-decompressor v4.0.3 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling flate2 v1.1.1 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling hashlink v0.9.1 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.7 [INFO] [stderr] Compiling brotli v7.0.0 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling openssl-sys v0.9.107 [INFO] [stderr] Compiling psm v0.1.26 [INFO] [stderr] Compiling stacker v0.1.21 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling chumsky v0.9.3 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling r2d2 v0.8.10 [INFO] [stderr] Compiling email-encoding v0.4.1 [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling nom v8.0.0 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling hostname v0.4.1 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling email_address v0.2.9 [INFO] [stderr] Compiling quoted_printable v0.5.1 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling actix-server v2.5.1 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling lettre v0.11.15 [INFO] [stderr] Compiling actix-http v3.10.0 [INFO] [stderr] Compiling rusqlite v0.32.1 [INFO] [stderr] Compiling actix-web v4.10.2 [INFO] [stderr] Compiling r2d2_sqlite v0.25.0 [INFO] [stderr] Compiling phishing_simulation v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Result as SqlResult` [INFO] [stdout] --> src/main.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | use rusqlite::{params, Result as SqlResult}; [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: `pool` [INFO] [stdout] --> src/main.rs:314:25 [INFO] [stdout] | [INFO] [stdout] 314 | fn send_phishing_emails(pool: &DbPool) -> Result<(), Box> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 59.28s [INFO] running `Command { std: "docker" "inspect" "5f0bc691ce54d598a753f1b7539e437ff468e0aff9fd7b8b5ac649154e034292", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f0bc691ce54d598a753f1b7539e437ff468e0aff9fd7b8b5ac649154e034292", kill_on_drop: false }` [INFO] [stdout] 5f0bc691ce54d598a753f1b7539e437ff468e0aff9fd7b8b5ac649154e034292 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d6cf33f43bb5ecd3cb07612ae2e1cddfa9f44af5ca9ad2190caa1e01c902aee6 [INFO] running `Command { std: "docker" "start" "-a" "d6cf33f43bb5ecd3cb07612ae2e1cddfa9f44af5ca9ad2190caa1e01c902aee6", kill_on_drop: false }` [INFO] [stderr] Compiling phishing_simulation v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Result as SqlResult` [INFO] [stdout] --> src/main.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | use rusqlite::{params, Result as SqlResult}; [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: `pool` [INFO] [stdout] --> src/main.rs:314:25 [INFO] [stdout] | [INFO] [stdout] 314 | fn send_phishing_emails(pool: &DbPool) -> Result<(), Box> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.12s [INFO] running `Command { std: "docker" "inspect" "d6cf33f43bb5ecd3cb07612ae2e1cddfa9f44af5ca9ad2190caa1e01c902aee6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6cf33f43bb5ecd3cb07612ae2e1cddfa9f44af5ca9ad2190caa1e01c902aee6", kill_on_drop: false }` [INFO] [stdout] d6cf33f43bb5ecd3cb07612ae2e1cddfa9f44af5ca9ad2190caa1e01c902aee6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a65157adb9219e3198e03d42f922755e15c0b2be5d6cf4cb881fc71af3efd6dd [INFO] running `Command { std: "docker" "start" "-a" "a65157adb9219e3198e03d42f922755e15c0b2be5d6cf4cb881fc71af3efd6dd", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Result as SqlResult` [INFO] [stderr] --> src/main.rs:7:24 [INFO] [stderr] | [INFO] [stderr] 7 | use rusqlite::{params, Result as SqlResult}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pool` [INFO] [stderr] --> src/main.rs:314:25 [INFO] [stderr] | [INFO] [stderr] 314 | fn send_phishing_emails(pool: &DbPool) -> Result<(), Box> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `phishing_simulation` (bin "phishing_simulation" test) generated 2 warnings (run `cargo fix --bin "phishing_simulation" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/phishing_simulation-1c0a8d2b20cae5ae) [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" "a65157adb9219e3198e03d42f922755e15c0b2be5d6cf4cb881fc71af3efd6dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a65157adb9219e3198e03d42f922755e15c0b2be5d6cf4cb881fc71af3efd6dd", kill_on_drop: false }` [INFO] [stdout] a65157adb9219e3198e03d42f922755e15c0b2be5d6cf4cb881fc71af3efd6dd