[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 try#a7ee93192a766fb0dafa23def7154fc03cfcfc3e for pr-146989 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnoovertime7%2Fstudent-system" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/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-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/noovertime7/student-system on toolchain a7ee93192a766fb0dafa23def7154fc03cfcfc3e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "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" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 593578b0e966f3d47e39d3648ba6c9d0e886cb9e681f7ba50008a0b4de662c12 [INFO] running `Command { std: "docker" "start" "-a" "593578b0e966f3d47e39d3648ba6c9d0e886cb9e681f7ba50008a0b4de662c12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "593578b0e966f3d47e39d3648ba6c9d0e886cb9e681f7ba50008a0b4de662c12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "593578b0e966f3d47e39d3648ba6c9d0e886cb9e681f7ba50008a0b4de662c12", kill_on_drop: false }` [INFO] [stdout] 593578b0e966f3d47e39d3648ba6c9d0e886cb9e681f7ba50008a0b4de662c12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9010ca6f5b1f80981c57335a258966081eb19c125da6002941788cf2f40249ee [INFO] running `Command { std: "docker" "start" "-a" "9010ca6f5b1f80981c57335a258966081eb19c125da6002941788cf2f40249ee", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling cc v1.2.41 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling rustls v0.23.33 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling indexmap v2.12.0 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling webpki-roots v1.0.3 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling pest v2.8.3 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling typeid v1.0.3 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling erased-serde v0.4.8 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling deranged v0.5.4 [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 const-random-macro v0.1.16 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling dlv-list v0.5.2 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling pest_meta v2.8.3 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling anstyle v1.0.13 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling anstream v0.6.21 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling ordered-multimap v0.7.3 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling clap_lex v0.7.6 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling serde_spanned v1.0.3 [INFO] [stderr] Compiling toml_datetime v0.7.3 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling arraydeque v0.5.1 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling serde-untagged v0.1.9 [INFO] [stderr] Compiling clap_builder v4.5.49 [INFO] [stderr] Compiling serde_path_to_error v0.1.20 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling yaml-rust2 v0.10.4 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling blowfish v0.9.1 [INFO] [stderr] Compiling rust-ini v0.21.3 [INFO] [stderr] Compiling pem v3.0.6 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling toml_parser v1.0.4 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling nu-ansi-term v0.50.3 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling bcrypt v0.15.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling rustls-webpki v0.103.7 [INFO] [stderr] Compiling pest_generator v2.8.3 [INFO] [stderr] Compiling toml v0.9.8 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [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 zerofrom v0.1.6 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling simple_asn1 v0.6.3 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling clap v4.5.49 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections 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 hyper v1.7.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling sqlx-core v0.8.6 [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 52s [INFO] running `Command { std: "docker" "inspect" "9010ca6f5b1f80981c57335a258966081eb19c125da6002941788cf2f40249ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9010ca6f5b1f80981c57335a258966081eb19c125da6002941788cf2f40249ee", kill_on_drop: false }` [INFO] [stdout] 9010ca6f5b1f80981c57335a258966081eb19c125da6002941788cf2f40249ee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 317da7cd6763d6c33257a22508f6a62b7ab1a52c0a6be43c2a5bc8b2b8965c18 [INFO] running `Command { std: "docker" "start" "-a" "317da7cd6763d6c33257a22508f6a62b7ab1a52c0a6be43c2a5bc8b2b8965c18", 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.86s [INFO] running `Command { std: "docker" "inspect" "317da7cd6763d6c33257a22508f6a62b7ab1a52c0a6be43c2a5bc8b2b8965c18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "317da7cd6763d6c33257a22508f6a62b7ab1a52c0a6be43c2a5bc8b2b8965c18", kill_on_drop: false }` [INFO] [stdout] 317da7cd6763d6c33257a22508f6a62b7ab1a52c0a6be43c2a5bc8b2b8965c18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f1b3d0726d293998fea84e09e3fb0685d0414b0b465ee0eb94206898eeaef1e9 [INFO] running `Command { std: "docker" "start" "-a" "f1b3d0726d293998fea84e09e3fb0685d0414b0b465ee0eb94206898eeaef1e9", 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.32s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/student_system-98c958238fa03c43) [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] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 7.30s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/student_system-ce4ce37a4f4abea8) [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] [stderr] Doc-tests student_system [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.23s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "f1b3d0726d293998fea84e09e3fb0685d0414b0b465ee0eb94206898eeaef1e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1b3d0726d293998fea84e09e3fb0685d0414b0b465ee0eb94206898eeaef1e9", kill_on_drop: false }` [INFO] [stdout] f1b3d0726d293998fea84e09e3fb0685d0414b0b465ee0eb94206898eeaef1e9