[INFO] cloning repository https://github.com/noovertime7/student-system [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/noovertime7/student-system" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnoovertime7%2Fstudent-system", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnoovertime7%2Fstudent-system'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9e75ae3493708da09edc46b5bb1400404fa0d0eb [INFO] testing noovertime7/student-system against master#ec6f9a5b4413f74386267ef8efc93712c2ce6db6 for pr-155739 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnoovertime7%2Fstudent-system" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/noovertime7/student-system [INFO] finished tweaking git repo https://github.com/noovertime7/student-system [INFO] tweaked toml for git repo https://github.com/noovertime7/student-system written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/noovertime7/student-system on toolchain ec6f9a5b4413f74386267ef8efc93712c2ce6db6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/noovertime7/student-system 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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_spanned v1.0.3 [INFO] [stderr] Downloaded bcrypt v0.15.1 [INFO] [stderr] Downloaded config v0.15.18 [INFO] [stderr] Downloaded toml v0.9.8 [INFO] [stderr] Downloaded deranged v0.5.4 [INFO] [stderr] Downloaded pest_generator v2.8.3 [INFO] [stderr] Downloaded pest_derive v2.8.3 [INFO] [stderr] Downloaded pest_meta v2.8.3 [INFO] [stderr] Downloaded rustls v0.23.33 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3788f8ff15955e8d09d3204734a48659314fbe3310248bb956895f01a32b38e9 [INFO] running `Command { std: "docker" "start" "-a" "3788f8ff15955e8d09d3204734a48659314fbe3310248bb956895f01a32b38e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3788f8ff15955e8d09d3204734a48659314fbe3310248bb956895f01a32b38e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3788f8ff15955e8d09d3204734a48659314fbe3310248bb956895f01a32b38e9", kill_on_drop: false }` [INFO] [stdout] 3788f8ff15955e8d09d3204734a48659314fbe3310248bb956895f01a32b38e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 570690e4ed9bec81c0ddef978ee75cae20f0938e2f9cdb625add417eb6689bc1 [INFO] running `Command { std: "docker" "start" "-a" "570690e4ed9bec81c0ddef978ee75cae20f0938e2f9cdb625add417eb6689bc1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling find-msvc-tools v0.1.4 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rustls v0.23.33 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling cc v1.2.41 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling webpki-roots v1.0.3 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling mio v1.1.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling indexmap v2.12.0 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling pest v2.8.3 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling erased-serde v0.4.8 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling deranged v0.5.4 [INFO] [stderr] Compiling dlv-list v0.5.2 [INFO] [stderr] Compiling pest_meta v2.8.3 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling toml_parser v1.0.4 [INFO] [stderr] Compiling anstream v0.6.21 [INFO] [stderr] Compiling ordered-multimap v0.7.3 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling clap_lex v0.7.6 [INFO] [stderr] Compiling blowfish v0.9.1 [INFO] [stderr] Compiling clap_builder v4.5.49 [INFO] [stderr] Compiling rust-ini v0.21.3 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling toml_datetime v0.7.3 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling serde_spanned v1.0.3 [INFO] [stderr] Compiling serde_path_to_error v0.1.20 [INFO] [stderr] Compiling toml v0.9.8 [INFO] [stderr] Compiling yaml-rust2 v0.10.4 [INFO] [stderr] Compiling serde-untagged v0.1.9 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling bcrypt v0.15.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling rustls-webpki v0.103.7 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling pest_generator v2.8.3 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling pest_derive v2.8.3 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling simple_asn1 v0.6.3 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling clap v4.5.49 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling jsonwebtoken v9.3.1 [INFO] [stderr] Compiling ron v0.8.1 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling config v0.15.18 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling hyper-util v0.1.17 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling sqlx-sqlite v0.8.6 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Compiling sqlx v0.8.6 [INFO] [stderr] Compiling student-system v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Router` [INFO] [stdout] --> src/main.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use axum::{ Router,serve}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 53s [INFO] running `Command { std: "docker" "inspect" "570690e4ed9bec81c0ddef978ee75cae20f0938e2f9cdb625add417eb6689bc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "570690e4ed9bec81c0ddef978ee75cae20f0938e2f9cdb625add417eb6689bc1", kill_on_drop: false }` [INFO] [stdout] 570690e4ed9bec81c0ddef978ee75cae20f0938e2f9cdb625add417eb6689bc1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f734555c099211de597712a6fe5e87b4c8f98dfb40cf1624676cb8a8ec7827b3 [INFO] running `Command { std: "docker" "start" "-a" "f734555c099211de597712a6fe5e87b4c8f98dfb40cf1624676cb8a8ec7827b3", kill_on_drop: false }` [INFO] [stderr] Compiling student-system v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Router` [INFO] [stdout] --> src/main.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use axum::{ Router,serve}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.93s [INFO] running `Command { std: "docker" "inspect" "f734555c099211de597712a6fe5e87b4c8f98dfb40cf1624676cb8a8ec7827b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f734555c099211de597712a6fe5e87b4c8f98dfb40cf1624676cb8a8ec7827b3", kill_on_drop: false }` [INFO] [stdout] f734555c099211de597712a6fe5e87b4c8f98dfb40cf1624676cb8a8ec7827b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e0f2f7da15dafd2dadbd0a5e80ea3371935bbec6407d55ea5c5cb8dace8dfed7 [INFO] running `Command { std: "docker" "start" "-a" "e0f2f7da15dafd2dadbd0a5e80ea3371935bbec6407d55ea5c5cb8dace8dfed7", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Router` [INFO] [stderr] --> src/main.rs:2:13 [INFO] [stderr] | [INFO] [stderr] 2 | use axum::{ Router,serve}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `student-system` (bin "student-system" test) generated 1 warning (run `cargo fix --bin "student-system" -p student-system --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.52s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/student_system-876c327369ba9f76) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test utils::jwt::tests::test_invalid_token ... ok [INFO] [stdout] test utils::jwt::tests::test_generate_and_verify_token ... ok [INFO] [stdout] test utils::password::tests::test_different_passwords_different_hashes ... ok [INFO] [stdout] test utils::password::tests::test_hash_and_verify ... ok [INFO] [stdout] test utils::password::tests::test_same_password_different_hashes ... ok [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/student_system-23731e953d6c4618) [INFO] [stdout] [INFO] [stderr] Doc-tests student_system [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 7.01s [INFO] [stdout] [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] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/utils/password.rs - utils::password::hash_password (line 13) ... FAILED [INFO] [stdout] test src/utils/password.rs - utils::password::verify_password (line 32) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/utils/password.rs - utils::password::hash_password (line 13) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `hash_password` in this scope [INFO] [stdout] --> src/utils/password.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | let hashed = hash_password("my_password")?; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 13 + use student_system::utils::password::hash_password; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/utils/password.rs - utils::password::verify_password (line 32) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `verify_password` in this scope [INFO] [stdout] --> src/utils/password.rs:33:16 [INFO] [stdout] | [INFO] [stdout] 33 | let is_valid = verify_password("my_password", &hashed_password)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 32 + use student_system::utils::password::verify_password; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `hashed_password` in this scope [INFO] [stdout] --> src/utils/password.rs:33:48 [INFO] [stdout] | [INFO] [stdout] 33 | let is_valid = verify_password("my_password", &hashed_password)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/utils/password.rs - utils::password::hash_password (line 13) [INFO] [stdout] src/utils/password.rs - utils::password::verify_password (line 32) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.22s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "e0f2f7da15dafd2dadbd0a5e80ea3371935bbec6407d55ea5c5cb8dace8dfed7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0f2f7da15dafd2dadbd0a5e80ea3371935bbec6407d55ea5c5cb8dace8dfed7", kill_on_drop: false }` [INFO] [stdout] e0f2f7da15dafd2dadbd0a5e80ea3371935bbec6407d55ea5c5cb8dace8dfed7