[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 1.93.0 for beta-1.94-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkekley%2Flab4helper" "/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/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-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/kekley/lab4helper on toolchain 1.93.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.93.0" "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" "+1.93.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded console v0.16.1
[INFO] [stderr]   Downloaded dialoguer v0.12.0
[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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+1.93.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fe7c17fab7c907fbf06ed6979857c6881cf59d6d632044e0dad42b4bf640b467
[INFO] running `Command { std: "docker" "start" "-a" "fe7c17fab7c907fbf06ed6979857c6881cf59d6d632044e0dad42b4bf640b467", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fe7c17fab7c907fbf06ed6979857c6881cf59d6d632044e0dad42b4bf640b467", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fe7c17fab7c907fbf06ed6979857c6881cf59d6d632044e0dad42b4bf640b467", kill_on_drop: false }`
[INFO] [stdout] fe7c17fab7c907fbf06ed6979857c6881cf59d6d632044e0dad42b4bf640b467
[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=warn" "-e" "RUSTDOCFLAGS=--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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+1.93.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7e2f54296382b148718afc57292278d7e7cb1323723fc206595fbbd47e1c0d00
[INFO] running `Command { std: "docker" "start" "-a" "7e2f54296382b148718afc57292278d7e7cb1323723fc206595fbbd47e1c0d00", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.177
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling bitflags v2.9.4
[INFO] [stderr]    Compiling unicode-width v0.2.2
[INFO] [stderr]    Compiling zeroize v1.8.2
[INFO] [stderr]    Compiling shell-words v1.1.0
[INFO] [stderr]    Compiling rustix v1.1.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.30s
[INFO] running `Command { std: "docker" "inspect" "7e2f54296382b148718afc57292278d7e7cb1323723fc206595fbbd47e1c0d00", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7e2f54296382b148718afc57292278d7e7cb1323723fc206595fbbd47e1c0d00", kill_on_drop: false }`
[INFO] [stdout] 7e2f54296382b148718afc57292278d7e7cb1323723fc206595fbbd47e1c0d00
[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=warn" "-e" "RUSTDOCFLAGS=--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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+1.93.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bf0e0ee6cce3b66fa80afa7e39eab34e54597c9ab5165eeaecd979a80e259454
[INFO] running `Command { std: "docker" "start" "-a" "bf0e0ee6cce3b66fa80afa7e39eab34e54597c9ab5165eeaecd979a80e259454", 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.74s
[INFO] running `Command { std: "docker" "inspect" "bf0e0ee6cce3b66fa80afa7e39eab34e54597c9ab5165eeaecd979a80e259454", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bf0e0ee6cce3b66fa80afa7e39eab34e54597c9ab5165eeaecd979a80e259454", kill_on_drop: false }`
[INFO] [stdout] bf0e0ee6cce3b66fa80afa7e39eab34e54597c9ab5165eeaecd979a80e259454
[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=warn" "-e" "RUSTDOCFLAGS=--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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+1.93.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] e34c19dde6262306de2f07c3edbb29dfe57bbb393095452c7b179078f9146b70
[INFO] running `Command { std: "docker" "start" "-a" "e34c19dde6262306de2f07c3edbb29dfe57bbb393095452c7b179078f9146b70", 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-33132c3e73cac96e)
[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-43cd574abe888032)
[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::update (line 348) ... 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::verify (line 413) ... FAILED
[INFO] [stdout] test src/hashlib.rs - hashlib (line 14) ... FAILED
[INFO] [stdout] test src/hashlib.rs - hashlib::Hash::finalize (line 364) ... FAILED
[INFO] [stdout] test src/hashlib.rs - hashlib::Hash (line 269) ... FAILED
[INFO] [stdout] test src/hashlib.rs - hashlib::Hash::finalize_verify (line 390) ... FAILED
[INFO] [stdout] test src/hashlib.rs - hashlib::Hash::verify_with_ref (line 442) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[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::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::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 (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::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 (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] ---- 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::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] 
[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.54s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 0.86s; merged doctests compilation took 0.24s
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "e34c19dde6262306de2f07c3edbb29dfe57bbb393095452c7b179078f9146b70", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e34c19dde6262306de2f07c3edbb29dfe57bbb393095452c7b179078f9146b70", kill_on_drop: false }`
[INFO] [stdout] e34c19dde6262306de2f07c3edbb29dfe57bbb393095452c7b179078f9146b70
