[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 beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkayoumido%2FSEC_LABO2" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kayoumido/SEC_LABO2 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-5/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" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", 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] a2d58ff24a26194e116e6b5c78e9dd696637072f3dea8dbf151f9babd0c4671d [INFO] running `Command { std: "docker" "start" "-a" "a2d58ff24a26194e116e6b5c78e9dd696637072f3dea8dbf151f9babd0c4671d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a2d58ff24a26194e116e6b5c78e9dd696637072f3dea8dbf151f9babd0c4671d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2d58ff24a26194e116e6b5c78e9dd696637072f3dea8dbf151f9babd0c4671d", kill_on_drop: false }` [INFO] [stdout] a2d58ff24a26194e116e6b5c78e9dd696637072f3dea8dbf151f9babd0c4671d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "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] a99ba70957fe261a3933716a173733b776eff359109593e90cce0c2b8e70303e [INFO] running `Command { std: "docker" "start" "-a" "a99ba70957fe261a3933716a173733b776eff359109593e90cce0c2b8e70303e", 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 sha1 v0.2.0 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling regex-syntax v0.6.23 [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 libsqlite3-sys v0.20.1 [INFO] [stderr] Compiling libsodium-sys v0.2.6 [INFO] [stderr] Compiling rstest v0.6.4 [INFO] [stderr] Compiling hmac-sha1 v0.1.3 [INFO] [stderr] Compiling heck v0.3.2 [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.6.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling regex v1.4.6 [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 4m 03s [INFO] running `Command { std: "docker" "inspect" "a99ba70957fe261a3933716a173733b776eff359109593e90cce0c2b8e70303e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a99ba70957fe261a3933716a173733b776eff359109593e90cce0c2b8e70303e", kill_on_drop: false }` [INFO] [stdout] a99ba70957fe261a3933716a173733b776eff359109593e90cce0c2b8e70303e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--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] 587a24fea17e2a130ba62f9a955992956671308ffaadc1f0df956e6066f76d7a [INFO] running `Command { std: "docker" "start" "-a" "587a24fea17e2a130ba62f9a955992956671308ffaadc1f0df956e6066f76d7a", kill_on_drop: false }` [INFO] [stderr] Compiling predicates-core v1.0.2 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling downcast v0.10.0 [INFO] [stderr] Compiling fragile v1.0.0 [INFO] [stderr] Compiling float-cmp v0.8.0 [INFO] [stderr] Compiling mockall_derive v0.9.1 [INFO] [stderr] Compiling predicates-tree v1.0.2 [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 19.84s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/auth-9002aad4d6a4c3d7) [INFO] running `Command { std: "docker" "inspect" "587a24fea17e2a130ba62f9a955992956671308ffaadc1f0df956e6066f76d7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "587a24fea17e2a130ba62f9a955992956671308ffaadc1f0df956e6066f76d7a", kill_on_drop: false }` [INFO] [stdout] 587a24fea17e2a130ba62f9a955992956671308ffaadc1f0df956e6066f76d7a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", 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] aae8c6b0996de09251de92da15a424122df822dd79a02b22c2812d5b0eefba04 [INFO] running `Command { std: "docker" "start" "-a" "aae8c6b0996de09251de92da15a424122df822dd79a02b22c2812d5b0eefba04", 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.13s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/auth-9002aad4d6a4c3d7) [INFO] [stdout] [INFO] [stdout] running 70 tests [INFO] [stdout] test auth::twofa::test::test_generate_qr ... 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_02 ... 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 command::test::test_login_screen_cmd_from_string::case_05 ... ok [INFO] [stdout] test command::test::test_login_screen_cmd_from_string::case_06 ... ok [INFO] [stdout] test command::test::test_login_screen_cmd_from_string::case_07 ... 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_10 ... ok [INFO] [stdout] test command::test::test_login_screen_cmd_from_string::case_11 ... ok [INFO] [stdout] test command::test::test_login_screen_cmd_from_string::case_12 ... ok [INFO] [stdout] test command::test::test_login_screen_cmd_from_string::case_13 ... ok [INFO] [stdout] test command::test::test_login_screen_cmd_from_string::case_14 ... 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_16 ... ok [INFO] [stdout] test auth::reset::test::test_check_token_with_unknown_user ... ok [INFO] [stdout] test command::test::test_user_profile_cmd_from_string::case_01 ... ok [INFO] [stdout] test auth::twofa::test::test_check_code ... ok [INFO] [stdout] test auth::twofa::test::test_generate_secret ... ok [INFO] [stdout] test auth::reset::test::test_token_generation_with_unknown_user ... ok [INFO] [stdout] test auth::reset::test::test_token_generation_with_known_user ... ok [INFO] [stdout] test auth::reset::test::test_check_token_with_known_user_and_wrong_reset_token ... ok [INFO] [stdout] test auth::reset::test::test_check_token_with_known_user_and_reset_token ... ok [INFO] [stdout] test command::test::test_user_profile_cmd_from_string::case_03 ... ok [INFO] [stdout] test command::test::test_login_screen_cmd_from_string::case_01 ... ok [INFO] [stdout] test auth::reset::test::test_check_token_with_known_user_and_no_reset_token ... 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_10 ... ok [INFO] [stdout] test auth::reset::test::test_password_change_with_unknown_user ... 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 command::test::test_user_profile_cmd_from_string::case_04 ... 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_08 ... 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_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_05 ... 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_14 ... ok [INFO] [stdout] test db::models::test::test_is_2fa_enabled ... ok [INFO] [stdout] test command::test::test_user_profile_cmd_from_string::case_13 ... ok [INFO] [stdout] test db::models::test::test_set_reset_token ... ok [INFO] [stdout] test validation::test::test_if_password_respects_policy::case_3 ... ok [INFO] [stdout] test user_input::test::test_check_cmd_syntax::case_1 ... ok [INFO] [stdout] test user_input::test::test_check_cmd_syntax::case_2 ... 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_4 ... ok [INFO] [stdout] test validation::test::test_if_password_respects_policy::case_5 ... 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_2 ... ok [INFO] [stdout] test validation::test::test_if_password_respects_policy::case_1 ... ok [INFO] [stdout] test user_input::test::test_check_cmd_syntax::case_5 ... ok [INFO] [stdout] test command::test::test_user_profile_cmd_from_string::case_15 ... 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_8 ... ok [INFO] [stdout] test user_input::test::test_check_cmd_syntax::case_3 ... ok [INFO] [stdout] test validation::test::test_valid_email_format::case_1 ... ok [INFO] [stdout] test validation::test::test_valid_email_format::case_2 ... ok [INFO] [stdout] test validation::test::test_valid_email_format::case_3 ... ok [INFO] [stdout] test validation::test::test_valid_email_format::case_6 ... ok [INFO] [stdout] test validation::test::test_valid_email_format::case_7 ... ok [INFO] [stdout] test validation::test::test_valid_email_format::case_4 ... ok [INFO] [stdout] test validation::test::test_valid_email_format::case_5 ... ok [INFO] [stdout] test auth::reset::test::test_password_change_with_known_user ... ok [INFO] [stdout] test auth::login::test::test_login_with_unknown_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.89s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "aae8c6b0996de09251de92da15a424122df822dd79a02b22c2812d5b0eefba04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aae8c6b0996de09251de92da15a424122df822dd79a02b22c2812d5b0eefba04", kill_on_drop: false }` [INFO] [stdout] aae8c6b0996de09251de92da15a424122df822dd79a02b22c2812d5b0eefba04