[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.60.0 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 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.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-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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded google-authenticator v0.2.1 [INFO] [stderr] Downloaded hmac-sha1 v0.1.3 [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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b8c1aab631ab47146c442c921558dab04126c2248e2ba7b9f2b60e6f5329e4ea [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" "b8c1aab631ab47146c442c921558dab04126c2248e2ba7b9f2b60e6f5329e4ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b8c1aab631ab47146c442c921558dab04126c2248e2ba7b9f2b60e6f5329e4ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8c1aab631ab47146c442c921558dab04126c2248e2ba7b9f2b60e6f5329e4ea", kill_on_drop: false }` [INFO] [stdout] b8c1aab631ab47146c442c921558dab04126c2248e2ba7b9f2b60e6f5329e4ea [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" "+1.60.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] d0bc5bed322d2c39c0dccf1d2f457f7cf352176493d0a591b7b19f2d187faf2c [INFO] running `Command { std: "docker" "start" "-a" "d0bc5bed322d2c39c0dccf1d2f457f7cf352176493d0a591b7b19f2d187faf2c", 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 libsodium-sys v0.2.6 [INFO] [stderr] Compiling libsqlite3-sys v0.20.1 [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.5.1 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling regex v1.4.6 [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 47s [INFO] running `Command { std: "docker" "inspect" "d0bc5bed322d2c39c0dccf1d2f457f7cf352176493d0a591b7b19f2d187faf2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0bc5bed322d2c39c0dccf1d2f457f7cf352176493d0a591b7b19f2d187faf2c", kill_on_drop: false }` [INFO] [stdout] d0bc5bed322d2c39c0dccf1d2f457f7cf352176493d0a591b7b19f2d187faf2c [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" "+1.60.0" "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] 431ea8ab57f74c0d9f5f99eded9c78d5bb4753c584d58141b4ac0a2a03593df3 [INFO] running `Command { std: "docker" "start" "-a" "431ea8ab57f74c0d9f5f99eded9c78d5bb4753c584d58141b4ac0a2a03593df3", kill_on_drop: false }` [INFO] [stderr] Compiling predicates-core v1.0.2 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling fragile v1.0.0 [INFO] [stderr] Compiling downcast v0.10.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.15s [INFO] running `Command { std: "docker" "inspect" "431ea8ab57f74c0d9f5f99eded9c78d5bb4753c584d58141b4ac0a2a03593df3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "431ea8ab57f74c0d9f5f99eded9c78d5bb4753c584d58141b4ac0a2a03593df3", kill_on_drop: false }` [INFO] [stdout] 431ea8ab57f74c0d9f5f99eded9c78d5bb4753c584d58141b4ac0a2a03593df3 [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" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 42d9505f97bb2d3750602f1ddb9f1c8c8ef3e6db967fb417b70e64961b596473 [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" "42d9505f97bb2d3750602f1ddb9f1c8c8ef3e6db967fb417b70e64961b596473", 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.10s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/auth-567f601d6c12ff95) [INFO] [stdout] [INFO] [stdout] running 70 tests [INFO] [stdout] test auth::reset::test::test_check_token_with_known_user_and_wrong_reset_token ... ok [INFO] [stdout] test auth::twofa::test::test_generate_qr ... ok [INFO] [stdout] test auth::reset::test::test_check_token_with_known_user_and_no_reset_token ... ok [INFO] [stdout] test auth::reset::test::test_password_change_with_unknown_user ... 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::twofa::test::test_generate_secret ... ok [INFO] [stdout] test auth::register::test::test_register_with_invalid_password ... ok [INFO] [stdout] test auth::reset::test::test_check_token_with_unknown_user ... ok [INFO] [stdout] test auth::twofa::test::test_check_code ... ok [INFO] [stdout] test auth::register::test::test_register_with_existing_user_info ... 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_03 ... 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_04 ... 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_06 ... 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_01 ... ok [INFO] [stdout] test command::test::test_login_screen_cmd_from_string::case_02 ... ok [INFO] [stdout] test auth::register::test::test_register_with_invalid_email ... ok [INFO] [stdout] test auth::reset::test::test_check_token_with_known_user_and_reset_token ... 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_13 ... 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_01 ... 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_07 ... ok [INFO] [stdout] test command::test::test_user_profile_cmd_from_string::case_08 ... ok [INFO] [stdout] test command::test::test_login_screen_cmd_from_string::case_14 ... 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_11 ... ok [INFO] [stdout] test db::models::test::test_is_2fa_enabled ... ok [INFO] [stdout] test db::models::test::test_set_reset_token ... ok [INFO] [stdout] test user_input::test::test_check_cmd_syntax::case_1 ... 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_11 ... ok [INFO] [stdout] test command::test::test_login_screen_cmd_from_string::case_15 ... 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_2 ... ok [INFO] [stdout] test user_input::test::test_check_cmd_syntax::case_3 ... ok [INFO] [stdout] test command::test::test_user_profile_cmd_from_string::case_14 ... 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_4 ... ok [INFO] [stdout] test command::test::test_user_profile_cmd_from_string::case_13 ... ok [INFO] [stdout] test validation::test::test_if_password_respects_policy::case_5 ... 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_10 ... ok [INFO] [stdout] test user_input::test::test_check_cmd_syntax::case_4 ... 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_04 ... 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_12 ... ok [INFO] [stdout] test user_input::test::test_check_cmd_syntax::case_5 ... ok [INFO] [stdout] test validation::test::test_if_password_respects_policy::case_1 ... ok [INFO] [stdout] test validation::test::test_if_password_respects_policy::case_8 ... 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_if_password_respects_policy::case_7 ... 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_4 ... ok [INFO] [stdout] test validation::test::test_if_password_respects_policy::case_2 ... ok [INFO] [stdout] test validation::test::test_valid_email_format::case_7 ... ok [INFO] [stdout] test validation::test::test_if_password_respects_policy::case_6 ... ok [INFO] [stdout] test validation::test::test_valid_email_format::case_5 ... 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 2.99s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "42d9505f97bb2d3750602f1ddb9f1c8c8ef3e6db967fb417b70e64961b596473", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42d9505f97bb2d3750602f1ddb9f1c8c8ef3e6db967fb417b70e64961b596473", kill_on_drop: false }` [INFO] [stdout] 42d9505f97bb2d3750602f1ddb9f1c8c8ef3e6db967fb417b70e64961b596473