[INFO] cloning repository https://github.com/kekley/lab4helper
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kekley/lab4helper" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkekley%2Flab4helper", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkekley%2Flab4helper'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1c5bec7c278e605c225c7e36397abf8f332390ac
[INFO] testing kekley/lab4helper against try#9f93af291970322f4f1c6315ccde4d7078201159 for pr-146098-6
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkekley%2Flab4helper" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/kekley/lab4helper
[INFO] finished tweaking git repo https://github.com/kekley/lab4helper
[INFO] tweaked toml for git repo https://github.com/kekley/lab4helper written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/kekley/lab4helper on toolchain 9f93af291970322f4f1c6315ccde4d7078201159
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/kekley/lab4helper 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" "+9f93af291970322f4f1c6315ccde4d7078201159" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b148f2e1b5a6a63d43b1d07e7fa3427224c23be981acfd983877425ffcc9ed5e
[INFO] running `Command { std: "docker" "start" "-a" "b148f2e1b5a6a63d43b1d07e7fa3427224c23be981acfd983877425ffcc9ed5e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b148f2e1b5a6a63d43b1d07e7fa3427224c23be981acfd983877425ffcc9ed5e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b148f2e1b5a6a63d43b1d07e7fa3427224c23be981acfd983877425ffcc9ed5e", kill_on_drop: false }`
[INFO] [stdout] b148f2e1b5a6a63d43b1d07e7fa3427224c23be981acfd983877425ffcc9ed5e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 24b4818b1227e2847e02365b8ddad4587cce458fa41716a46357c9590656bbc4
[INFO] running `Command { std: "docker" "start" "-a" "24b4818b1227e2847e02365b8ddad4587cce458fa41716a46357c9590656bbc4", kill_on_drop: false }`
[INFO] [stderr]    Compiling rustix v1.1.2
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling bitflags v2.9.4
[INFO] [stderr]    Compiling linux-raw-sys v0.11.0
[INFO] [stderr]    Compiling unicode-width v0.2.2
[INFO] [stderr]    Compiling fastrand v2.3.0
[INFO] [stderr]    Compiling shell-words v1.1.0
[INFO] [stderr]    Compiling zeroize v1.8.2
[INFO] [stderr]    Compiling console v0.16.1
[INFO] [stderr]    Compiling tempfile v3.23.0
[INFO] [stderr]    Compiling dialoguer v0.12.0
[INFO] [stderr]    Compiling lab4helper v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.72s
[INFO] running `Command { std: "docker" "inspect" "24b4818b1227e2847e02365b8ddad4587cce458fa41716a46357c9590656bbc4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "24b4818b1227e2847e02365b8ddad4587cce458fa41716a46357c9590656bbc4", kill_on_drop: false }`
[INFO] [stdout] 24b4818b1227e2847e02365b8ddad4587cce458fa41716a46357c9590656bbc4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e56ecdc267f60c948f1fecf95a440ee94f0dcb478518a2145ffe5ef6fc32997f
[INFO] running `Command { std: "docker" "start" "-a" "e56ecdc267f60c948f1fecf95a440ee94f0dcb478518a2145ffe5ef6fc32997f", kill_on_drop: false }`
[INFO] [stderr]    Compiling lab4helper v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.47s
[INFO] running `Command { std: "docker" "inspect" "e56ecdc267f60c948f1fecf95a440ee94f0dcb478518a2145ffe5ef6fc32997f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e56ecdc267f60c948f1fecf95a440ee94f0dcb478518a2145ffe5ef6fc32997f", kill_on_drop: false }`
[INFO] [stdout] e56ecdc267f60c948f1fecf95a440ee94f0dcb478518a2145ffe5ef6fc32997f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 604fd439a22c9157aecd963af14f9a0220578bba179d3657028e5d6bed6e62fe
[INFO] running `Command { std: "docker" "start" "-a" "604fd439a22c9157aecd963af14f9a0220578bba179d3657028e5d6bed6e62fe", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/lab4helper-5df47836e3b59ba5)
[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]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/lab4helper-ae7136ecf9dfc53f)
[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 lab4helper
[INFO] [stdout] 
[INFO] [stdout] running 9 tests
[INFO] [stdout] test src/hashlib.rs - hashlib::Hash::verify (line 413) ... FAILED
[INFO] [stdout] test src/hashlib.rs - hashlib::Hash::hash (line 472) ... FAILED
[INFO] [stdout] test src/hashlib.rs - hashlib::Hash (line 274) ... FAILED
[INFO] [stdout] test src/hashlib.rs - hashlib::Hash::update (line 348) ... FAILED
[INFO] [stdout] test src/hashlib.rs - hashlib::Hash::verify_with_ref (line 442) ... FAILED
[INFO] [stdout] test src/hashlib.rs - hashlib::Hash::finalize (line 364) ... FAILED
[INFO] [stdout] test src/hashlib.rs - hashlib::Hash::finalize_verify (line 390) ... FAILED
[INFO] [stdout] test src/hashlib.rs - hashlib (line 14) ... FAILED
[INFO] [stdout] test src/hashlib.rs - hashlib::Hash (line 269) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/hashlib.rs - hashlib::Hash::verify (line 413) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hmac_sha256`
[INFO] [stdout]  --> src/hashlib.rs:414:16
[INFO] [stdout]   |
[INFO] [stdout] 3 | let expected = hmac_sha256::Hash::hash(b"original data");
[INFO] [stdout]   |                ^^^^^^^^^^^ use of unresolved module or unlinked crate `hmac_sha256`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `hmac_sha256`, use `cargo add hmac_sha256` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::hash::Hash;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use lab4helper::hashlib::Hash;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `Hash`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 3 - let expected = hmac_sha256::Hash::hash(b"original data");
[INFO] [stdout] 3 + let expected = Hash::hash(b"original data");
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hmac_sha256`
[INFO] [stdout]  --> src/hashlib.rs:417:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | assert!(hmac_sha256::Hash::verify(b"original data", &expected));
[INFO] [stdout]   |         ^^^^^^^^^^^ use of unresolved module or unlinked crate `hmac_sha256`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `hmac_sha256`, use `cargo add hmac_sha256` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::hash::Hash;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use lab4helper::hashlib::Hash;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `Hash`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 6 - assert!(hmac_sha256::Hash::verify(b"original data", &expected));
[INFO] [stdout] 6 + assert!(Hash::verify(b"original data", &expected));
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hmac_sha256`
[INFO] [stdout]  --> src/hashlib.rs:418:10
[INFO] [stdout]   |
[INFO] [stdout] 7 | assert!(!hmac_sha256::Hash::verify(b"modified data", &expected));
[INFO] [stdout]   |          ^^^^^^^^^^^ use of unresolved module or unlinked crate `hmac_sha256`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `hmac_sha256`, use `cargo add hmac_sha256` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::hash::Hash;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use lab4helper::hashlib::Hash;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `Hash`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 7 - assert!(!hmac_sha256::Hash::verify(b"modified data", &expected));
[INFO] [stdout] 7 + assert!(!Hash::verify(b"modified data", &expected));
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/hashlib.rs - hashlib::Hash::hash (line 472) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hmac_sha256`
[INFO] [stdout]  --> src/hashlib.rs:473:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | let hash = hmac_sha256::Hash::hash(b"data to hash");
[INFO] [stdout]   |            ^^^^^^^^^^^ use of unresolved module or unlinked crate `hmac_sha256`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `hmac_sha256`, use `cargo add hmac_sha256` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::hash::Hash;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use lab4helper::hashlib::Hash;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `Hash`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 3 - let hash = hmac_sha256::Hash::hash(b"data to hash");
[INFO] [stdout] 3 + let hash = Hash::hash(b"data to hash");
[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 E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/hashlib.rs - hashlib::Hash (line 274) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hmac_sha256`
[INFO] [stdout]  --> src/hashlib.rs:275:18
[INFO] [stdout]   |
[INFO] [stdout] 3 | let mut hasher = hmac_sha256::Hash::new();
[INFO] [stdout]   |                  ^^^^^^^^^^^ use of unresolved module or unlinked crate `hmac_sha256`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `hmac_sha256`, use `cargo add hmac_sha256` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::hash::Hash;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use lab4helper::hashlib::Hash;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `Hash`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 3 - let mut hasher = hmac_sha256::Hash::new();
[INFO] [stdout] 3 + let mut hasher = Hash::new();
[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 E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/hashlib.rs - hashlib::Hash::update (line 348) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hmac_sha256`
[INFO] [stdout]  --> src/hashlib.rs:349:18
[INFO] [stdout]   |
[INFO] [stdout] 3 | let mut hasher = hmac_sha256::Hash::new();
[INFO] [stdout]   |                  ^^^^^^^^^^^ use of unresolved module or unlinked crate `hmac_sha256`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `hmac_sha256`, use `cargo add hmac_sha256` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::hash::Hash;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use lab4helper::hashlib::Hash;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `Hash`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 3 - let mut hasher = hmac_sha256::Hash::new();
[INFO] [stdout] 3 + let mut hasher = Hash::new();
[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 E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/hashlib.rs - hashlib::Hash::verify_with_ref (line 442) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hmac_sha256`
[INFO] [stdout]  --> src/hashlib.rs:443:16
[INFO] [stdout]   |
[INFO] [stdout] 3 | let expected = hmac_sha256::Hash::hash(b"original data");
[INFO] [stdout]   |                ^^^^^^^^^^^ use of unresolved module or unlinked crate `hmac_sha256`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `hmac_sha256`, use `cargo add hmac_sha256` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::hash::Hash;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use lab4helper::hashlib::Hash;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `Hash`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 3 - let expected = hmac_sha256::Hash::hash(b"original data");
[INFO] [stdout] 3 + let expected = Hash::hash(b"original data");
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hmac_sha256`
[INFO] [stdout]  --> src/hashlib.rs:445:18
[INFO] [stdout]   |
[INFO] [stdout] 5 | let mut hasher = hmac_sha256::Hash::new();
[INFO] [stdout]   |                  ^^^^^^^^^^^ use of unresolved module or unlinked crate `hmac_sha256`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `hmac_sha256`, use `cargo add hmac_sha256` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::hash::Hash;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use lab4helper::hashlib::Hash;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `Hash`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 5 - let mut hasher = hmac_sha256::Hash::new();
[INFO] [stdout] 5 + let mut hasher = Hash::new();
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hmac_sha256`
[INFO] [stdout]   --> src/hashlib.rs:451:19
[INFO] [stdout]    |
[INFO] [stdout] 11 | let mut hasher2 = hmac_sha256::Hash::new();
[INFO] [stdout]    |                   ^^^^^^^^^^^ use of unresolved module or unlinked crate `hmac_sha256`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `hmac_sha256`, use `cargo add hmac_sha256` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout]  2 + use std::hash::Hash;
[INFO] [stdout]    |
[INFO] [stdout]  2 + use lab4helper::hashlib::Hash;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `Hash`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 11 - let mut hasher2 = hmac_sha256::Hash::new();
[INFO] [stdout] 11 + let mut hasher2 = Hash::new();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hmac_sha256`
[INFO] [stdout]   --> src/hashlib.rs:456:9
[INFO] [stdout]    |
[INFO] [stdout] 16 | assert!(hmac_sha256::Hash::verify(b"original data", &expected));
[INFO] [stdout]    |         ^^^^^^^^^^^ use of unresolved module or unlinked crate `hmac_sha256`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `hmac_sha256`, use `cargo add hmac_sha256` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout]  2 + use std::hash::Hash;
[INFO] [stdout]    |
[INFO] [stdout]  2 + use lab4helper::hashlib::Hash;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `Hash`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 16 - assert!(hmac_sha256::Hash::verify(b"original data", &expected));
[INFO] [stdout] 16 + assert!(Hash::verify(b"original data", &expected));
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/hashlib.rs - hashlib::Hash::finalize (line 364) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hmac_sha256`
[INFO] [stdout]  --> src/hashlib.rs:365:18
[INFO] [stdout]   |
[INFO] [stdout] 3 | let mut hasher = hmac_sha256::Hash::new();
[INFO] [stdout]   |                  ^^^^^^^^^^^ use of unresolved module or unlinked crate `hmac_sha256`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `hmac_sha256`, use `cargo add hmac_sha256` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::hash::Hash;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use lab4helper::hashlib::Hash;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `Hash`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 3 - let mut hasher = hmac_sha256::Hash::new();
[INFO] [stdout] 3 + let mut hasher = Hash::new();
[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 E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/hashlib.rs - hashlib::Hash::finalize_verify (line 390) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hmac_sha256`
[INFO] [stdout]  --> src/hashlib.rs:391:16
[INFO] [stdout]   |
[INFO] [stdout] 3 | let expected = hmac_sha256::Hash::hash(b"original data");
[INFO] [stdout]   |                ^^^^^^^^^^^ use of unresolved module or unlinked crate `hmac_sha256`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `hmac_sha256`, use `cargo add hmac_sha256` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::hash::Hash;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use lab4helper::hashlib::Hash;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `Hash`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 3 - let expected = hmac_sha256::Hash::hash(b"original data");
[INFO] [stdout] 3 + let expected = Hash::hash(b"original data");
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hmac_sha256`
[INFO] [stdout]  --> src/hashlib.rs:393:18
[INFO] [stdout]   |
[INFO] [stdout] 5 | let mut hasher = hmac_sha256::Hash::new();
[INFO] [stdout]   |                  ^^^^^^^^^^^ use of unresolved module or unlinked crate `hmac_sha256`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `hmac_sha256`, use `cargo add hmac_sha256` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::hash::Hash;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use lab4helper::hashlib::Hash;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `Hash`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 5 - let mut hasher = hmac_sha256::Hash::new();
[INFO] [stdout] 5 + let mut hasher = Hash::new();
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hmac_sha256`
[INFO] [stdout]  --> src/hashlib.rs:397:18
[INFO] [stdout]   |
[INFO] [stdout] 9 | let mut hasher = hmac_sha256::Hash::new();
[INFO] [stdout]   |                  ^^^^^^^^^^^ use of unresolved module or unlinked crate `hmac_sha256`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `hmac_sha256`, use `cargo add hmac_sha256` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::hash::Hash;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use lab4helper::hashlib::Hash;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `Hash`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 9 - let mut hasher = hmac_sha256::Hash::new();
[INFO] [stdout] 9 + let mut hasher = Hash::new();
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/hashlib.rs - hashlib (line 14) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hmac_sha256`
[INFO] [stdout]   --> src/hashlib.rs:23:11
[INFO] [stdout]    |
[INFO] [stdout] 11 | let mac = hmac_sha256::HMAC::mac(b"message", b"key");
[INFO] [stdout]    |           ^^^^^^^^^^^ use of unresolved module or unlinked crate `hmac_sha256`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `hmac_sha256`, use `cargo add hmac_sha256` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hmac_sha256`
[INFO] [stdout]   --> src/hashlib.rs:26:16
[INFO] [stdout]    |
[INFO] [stdout] 14 | let expected = hmac_sha256::HMAC::mac(b"message", b"key");
[INFO] [stdout]    |                ^^^^^^^^^^^ use of unresolved module or unlinked crate `hmac_sha256`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `hmac_sha256`, use `cargo add hmac_sha256` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hmac_sha256`
[INFO] [stdout]   --> src/hashlib.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 15 | assert!(hmac_sha256::HMAC::verify(b"message", b"key", &expected));
[INFO] [stdout]    |         ^^^^^^^^^^^ use of unresolved module or unlinked crate `hmac_sha256`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `hmac_sha256`, use `cargo add hmac_sha256` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hmac_sha256`
[INFO] [stdout]   --> src/hashlib.rs:30:11
[INFO] [stdout]    |
[INFO] [stdout] 18 | let prk = hmac_sha256::HKDF::extract(b"salt", b"input key material");
[INFO] [stdout]    |           ^^^^^^^^^^^ use of unresolved module or unlinked crate `hmac_sha256`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `hmac_sha256`, use `cargo add hmac_sha256` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hmac_sha256`
[INFO] [stdout]   --> src/hashlib.rs:32:1
[INFO] [stdout]    |
[INFO] [stdout] 20 | hmac_sha256::HKDF::expand(&mut output, prk, b"context info");
[INFO] [stdout]    | ^^^^^^^^^^^ use of unresolved module or unlinked crate `hmac_sha256`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `hmac_sha256`, use `cargo add hmac_sha256` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hmac_sha256`
[INFO] [stdout]  --> src/hashlib.rs:16:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | let hash = hmac_sha256::Hash::hash(b"hello world");
[INFO] [stdout]   |            ^^^^^^^^^^^ use of unresolved module or unlinked crate `hmac_sha256`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `hmac_sha256`, use `cargo add hmac_sha256` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::hash::Hash;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use lab4helper::hashlib::Hash;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `Hash`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 4 - let hash = hmac_sha256::Hash::hash(b"hello world");
[INFO] [stdout] 4 + let hash = Hash::hash(b"hello world");
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hmac_sha256`
[INFO] [stdout]  --> src/hashlib.rs:19:16
[INFO] [stdout]   |
[INFO] [stdout] 7 | let expected = hmac_sha256::Hash::hash(b"hello world");
[INFO] [stdout]   |                ^^^^^^^^^^^ use of unresolved module or unlinked crate `hmac_sha256`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `hmac_sha256`, use `cargo add hmac_sha256` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::hash::Hash;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use lab4helper::hashlib::Hash;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `Hash`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 7 - let expected = hmac_sha256::Hash::hash(b"hello world");
[INFO] [stdout] 7 + let expected = Hash::hash(b"hello world");
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hmac_sha256`
[INFO] [stdout]  --> src/hashlib.rs:20:9
[INFO] [stdout]   |
[INFO] [stdout] 8 | assert!(hmac_sha256::Hash::verify(b"hello world", &expected));
[INFO] [stdout]   |         ^^^^^^^^^^^ use of unresolved module or unlinked crate `hmac_sha256`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `hmac_sha256`, use `cargo add hmac_sha256` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::hash::Hash;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use lab4helper::hashlib::Hash;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `Hash`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 8 - assert!(hmac_sha256::Hash::verify(b"hello world", &expected));
[INFO] [stdout] 8 + assert!(Hash::verify(b"hello world", &expected));
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/hashlib.rs - hashlib::Hash (line 269) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hmac_sha256`
[INFO] [stdout]  --> src/hashlib.rs:270:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | let hash = hmac_sha256::Hash::hash(b"hello world");
[INFO] [stdout]   |            ^^^^^^^^^^^ use of unresolved module or unlinked crate `hmac_sha256`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `hmac_sha256`, use `cargo add hmac_sha256` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::hash::Hash;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use lab4helper::hashlib::Hash;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `Hash`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 3 - let hash = hmac_sha256::Hash::hash(b"hello world");
[INFO] [stdout] 3 + let hash = Hash::hash(b"hello world");
[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 E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/hashlib.rs - hashlib (line 14)
[INFO] [stdout]     src/hashlib.rs - hashlib::Hash (line 269)
[INFO] [stdout]     src/hashlib.rs - hashlib::Hash (line 274)
[INFO] [stdout]     src/hashlib.rs - hashlib::Hash::finalize (line 364)
[INFO] [stdout]     src/hashlib.rs - hashlib::Hash::finalize_verify (line 390)
[INFO] [stdout]     src/hashlib.rs - hashlib::Hash::hash (line 472)
[INFO] [stdout]     src/hashlib.rs - hashlib::Hash::update (line 348)
[INFO] [stdout]     src/hashlib.rs - hashlib::Hash::verify (line 413)
[INFO] [stdout]     src/hashlib.rs - hashlib::Hash::verify_with_ref (line 442)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 9 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.37s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 0.53s; merged doctests compilation took 0.15s
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "604fd439a22c9157aecd963af14f9a0220578bba179d3657028e5d6bed6e62fe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "604fd439a22c9157aecd963af14f9a0220578bba179d3657028e5d6bed6e62fe", kill_on_drop: false }`
[INFO] [stdout] 604fd439a22c9157aecd963af14f9a0220578bba179d3657028e5d6bed6e62fe
