[INFO] cloning repository https://github.com/kayoumido/SEC_LABO2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kayoumido/SEC_LABO2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkayoumido%2FSEC_LABO2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkayoumido%2FSEC_LABO2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b0ec2ead1550056f22e554c0177b0b4f2f122043 [INFO] testing kayoumido/SEC_LABO2 against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkayoumido%2FSEC_LABO2" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kayoumido/SEC_LABO2 on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kayoumido/SEC_LABO2 [INFO] finished tweaking git repo https://github.com/kayoumido/SEC_LABO2 [INFO] tweaked toml for git repo https://github.com/kayoumido/SEC_LABO2 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/kayoumido/SEC_LABO2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4d5fd6435e207a23b12be588962ac4ba5d0bfc8ea785d825c650a56ca1c34a25 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "4d5fd6435e207a23b12be588962ac4ba5d0bfc8ea785d825c650a56ca1c34a25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4d5fd6435e207a23b12be588962ac4ba5d0bfc8ea785d825c650a56ca1c34a25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d5fd6435e207a23b12be588962ac4ba5d0bfc8ea785d825c650a56ca1c34a25", kill_on_drop: false }` [INFO] [stdout] 4d5fd6435e207a23b12be588962ac4ba5d0bfc8ea785d825c650a56ca1c34a25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 163a4ac52d7f72ad6488f6a47321a4302e3500d76696619abcf737baf41e3684 [INFO] running `Command { std: "docker" "start" "-a" "163a4ac52d7f72ad6488f6a47321a4302e3500d76696619abcf737baf41e3684", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling syn v1.0.70 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling base32 v0.4.0 [INFO] [stderr] Compiling read_input v0.8.4 [INFO] [stderr] Compiling strum v0.20.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling libsodium-sys v0.2.6 [INFO] [stderr] Compiling libsqlite3-sys v0.20.1 [INFO] [stderr] Compiling hmac-sha1 v0.1.3 [INFO] [stderr] Compiling rstest v0.6.4 [INFO] [stderr] Compiling regex v1.4.6 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling google-authenticator v0.2.1 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling strum_macros v0.20.1 [INFO] [stderr] Compiling diesel v1.4.6 [INFO] [stderr] Compiling sodiumoxide v0.2.6 [INFO] [stderr] Compiling auth v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/process.rs:132:16 [INFO] [stdout] | [INFO] [stdout] 132 | panic!(e); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 132 | panic!("{}", e); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 132 | std::panic::panic_any(e); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 31s [INFO] running `Command { std: "docker" "inspect" "163a4ac52d7f72ad6488f6a47321a4302e3500d76696619abcf737baf41e3684", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "163a4ac52d7f72ad6488f6a47321a4302e3500d76696619abcf737baf41e3684", kill_on_drop: false }` [INFO] [stdout] 163a4ac52d7f72ad6488f6a47321a4302e3500d76696619abcf737baf41e3684 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8dc1d54bcc30c1b64d580526e8168151102ab9210e40d8d5b9118154c041be7f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8dc1d54bcc30c1b64d580526e8168151102ab9210e40d8d5b9118154c041be7f", kill_on_drop: false }` [INFO] [stderr] Compiling downcast v0.10.0 [INFO] [stderr] Compiling fragile v1.0.0 [INFO] [stderr] Compiling predicates-tree v1.0.2 [INFO] [stderr] Compiling float-cmp v0.8.0 [INFO] [stderr] Compiling mockall_derive v0.9.1 [INFO] [stderr] Compiling predicates v1.0.8 [INFO] [stderr] Compiling mockall v0.9.1 [INFO] [stderr] Compiling auth v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/process.rs:132:16 [INFO] [stdout] | [INFO] [stdout] 132 | panic!(e); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 132 | panic!("{}", e); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 132 | std::panic::panic_any(e); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 18.62s [INFO] running `Command { std: "docker" "inspect" "8dc1d54bcc30c1b64d580526e8168151102ab9210e40d8d5b9118154c041be7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8dc1d54bcc30c1b64d580526e8168151102ab9210e40d8d5b9118154c041be7f", kill_on_drop: false }` [INFO] [stdout] 8dc1d54bcc30c1b64d580526e8168151102ab9210e40d8d5b9118154c041be7f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a3c4efe33d00d868e4915db0c5ed1cb8bc08a010be1d5a40a6e66892c26d7bc4 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a3c4efe33d00d868e4915db0c5ed1cb8bc08a010be1d5a40a6e66892c26d7bc4", kill_on_drop: false }` [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/process.rs:132:16 [INFO] [stderr] | [INFO] [stderr] 132 | panic!(e); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 132 | panic!("{}", e); [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 132 | std::panic::panic_any(e); [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: `auth` (bin "auth" test) generated 1 warning [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/auth-4ea9d814a75bbab3) [INFO] [stdout] [INFO] [stdout] running 70 tests [INFO] [stdout] test auth::reset::test::test_check_token_with_known_user_and_no_reset_token ... ok [INFO] [stdout] test auth::reset::test::test_check_token_with_known_user_and_reset_token ... ok [INFO] [stdout] test auth::reset::test::test_check_token_with_known_user_and_wrong_reset_token ... ok [INFO] [stdout] test auth::register::test::test_register_with_existing_user_info ... ok [INFO] [stdout] test auth::register::test::test_register_with_invalid_password ... ok [INFO] [stdout] test auth::register::test::test_register_with_invalid_email ... ok [INFO] [stdout] test command::test::test_login_screen_cmd_from_string::case_03 ... ok [INFO] [stdout] test command::test::test_login_screen_cmd_from_string::case_04 ... ok [INFO] [stdout] test auth::reset::test::test_password_change_with_unknown_user ... ok [INFO] [stdout] test auth::reset::test::test_token_generation_with_known_user ... ok [INFO] [stdout] test auth::twofa::test::test_generate_qr ... ok [INFO] [stdout] test auth::reset::test::test_check_token_with_unknown_user ... ok [INFO] [stdout] test command::test::test_login_screen_cmd_from_string::case_02 ... ok [INFO] [stdout] test command::test::test_login_screen_cmd_from_string::case_01 ... ok [INFO] [stdout] test auth::twofa::test::test_generate_secret ... ok [INFO] [stdout] test command::test::test_login_screen_cmd_from_string::case_05 ... ok [INFO] [stdout] test command::test::test_login_screen_cmd_from_string::case_08 ... ok [INFO] [stdout] test command::test::test_login_screen_cmd_from_string::case_09 ... ok [INFO] [stdout] test command::test::test_login_screen_cmd_from_string::case_06 ... ok [INFO] [stdout] test auth::reset::test::test_token_generation_with_unknown_user ... ok [INFO] [stdout] test command::test::test_login_screen_cmd_from_string::case_10 ... ok [INFO] [stdout] test auth::twofa::test::test_check_code ... ok [INFO] [stdout] test command::test::test_login_screen_cmd_from_string::case_07 ... ok [INFO] [stdout] test command::test::test_user_profile_cmd_from_string::case_06 ... ok [INFO] [stdout] test command::test::test_user_profile_cmd_from_string::case_07 ... ok [INFO] [stdout] test command::test::test_user_profile_cmd_from_string::case_04 ... ok [INFO] [stdout] test command::test::test_user_profile_cmd_from_string::case_02 ... ok [INFO] [stdout] test command::test::test_user_profile_cmd_from_string::case_01 ... ok [INFO] [stdout] test command::test::test_user_profile_cmd_from_string::case_03 ... ok [INFO] [stdout] test command::test::test_user_profile_cmd_from_string::case_12 ... ok [INFO] [stdout] test command::test::test_user_profile_cmd_from_string::case_11 ... ok [INFO] [stdout] test command::test::test_user_profile_cmd_from_string::case_14 ... ok [INFO] [stdout] test command::test::test_user_profile_cmd_from_string::case_15 ... ok [INFO] [stdout] test command::test::test_login_screen_cmd_from_string::case_16 ... ok [INFO] [stdout] test command::test::test_user_profile_cmd_from_string::case_13 ... ok [INFO] [stdout] test command::test::test_user_profile_cmd_from_string::case_05 ... ok [INFO] [stdout] test db::models::test::test_is_2fa_enabled ... ok [INFO] [stdout] test command::test::test_login_screen_cmd_from_string::case_14 ... ok [INFO] [stdout] test db::models::test::test_set_reset_token ... ok [INFO] [stdout] test command::test::test_login_screen_cmd_from_string::case_11 ... ok [INFO] [stdout] test user_input::test::test_check_cmd_syntax::case_4 ... ok [INFO] [stdout] test validation::test::test_if_password_respects_policy::case_1 ... ok [INFO] [stdout] test command::test::test_login_screen_cmd_from_string::case_12 ... ok [INFO] [stdout] test command::test::test_user_profile_cmd_from_string::case_08 ... ok [INFO] [stdout] test command::test::test_user_profile_cmd_from_string::case_09 ... ok [INFO] [stdout] test command::test::test_user_profile_cmd_from_string::case_10 ... ok [INFO] [stdout] test validation::test::test_if_password_respects_policy::case_2 ... ok [INFO] [stdout] test validation::test::test_if_password_respects_policy::case_3 ... ok [INFO] [stdout] test validation::test::test_if_password_respects_policy::case_6 ... ok [INFO] [stdout] test validation::test::test_if_password_respects_policy::case_7 ... ok [INFO] [stdout] test validation::test::test_if_password_respects_policy::case_8 ... ok [INFO] [stdout] test validation::test::test_valid_email_format::case_2 ... ok [INFO] [stdout] test user_input::test::test_check_cmd_syntax::case_5 ... ok [INFO] [stdout] test validation::test::test_valid_email_format::case_3 ... ok [INFO] [stdout] test validation::test::test_valid_email_format::case_5 ... ok [INFO] [stdout] test validation::test::test_valid_email_format::case_6 ... ok [INFO] [stdout] test validation::test::test_if_password_respects_policy::case_5 ... ok [INFO] [stdout] test validation::test::test_valid_email_format::case_1 ... ok [INFO] [stdout] test validation::test::test_valid_email_format::case_4 ... ok [INFO] [stdout] test command::test::test_login_screen_cmd_from_string::case_15 ... ok [INFO] [stdout] test command::test::test_login_screen_cmd_from_string::case_13 ... ok [INFO] [stdout] test validation::test::test_valid_email_format::case_7 ... ok [INFO] [stdout] test user_input::test::test_check_cmd_syntax::case_1 ... ok [INFO] [stdout] test validation::test::test_if_password_respects_policy::case_4 ... ok [INFO] [stdout] test user_input::test::test_check_cmd_syntax::case_2 ... ok [INFO] [stdout] test user_input::test::test_check_cmd_syntax::case_3 ... ok [INFO] [stdout] test auth::login::test::test_login_with_unknown_user ... ok [INFO] [stdout] test auth::reset::test::test_password_change_with_known_user ... ok [INFO] [stdout] test auth::register::test::test_register_with_valid_info ... ok [INFO] [stdout] test utils::test::test_hash ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 70 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.86s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a3c4efe33d00d868e4915db0c5ed1cb8bc08a010be1d5a40a6e66892c26d7bc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3c4efe33d00d868e4915db0c5ed1cb8bc08a010be1d5a40a6e66892c26d7bc4", kill_on_drop: false }` [INFO] [stdout] a3c4efe33d00d868e4915db0c5ed1cb8bc08a010be1d5a40a6e66892c26d7bc4