[INFO] cloning repository https://github.com/brxken128/dexios
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/brxken128/dexios" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrxken128%2Fdexios", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrxken128%2Fdexios'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a1dcfa7051a8125b54f42489bb408b1eef8eda9b
[INFO] testing brxken128/dexios against 1.62.0 for beta-1.63-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrxken128%2Fdexios" "/workspace/builds/worker-7/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/brxken128/dexios on toolchain 1.62.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/brxken128/dexios
[INFO] finished tweaking git repo https://github.com/brxken128/dexios
[INFO] tweaked toml for git repo https://github.com/brxken128/dexios written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] crate git repo https://github.com/brxken128/dexios already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded argon2 v0.4.1
[INFO] [stderr]   Downloaded paris v1.5.13
[INFO] [stderr]   Downloaded balloon-hash v0.3.0
[INFO] [stderr]   Downloaded deoxys v0.0.2
[INFO] [stderr]   Downloaded crypto-bigint v0.4.7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 593222cf44c5033ecd971805405671b5cbb423352da394b95e861f51cebfa8f6
[INFO] running `Command { std: "docker" "start" "-a" "593222cf44c5033ecd971805405671b5cbb423352da394b95e861f51cebfa8f6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "593222cf44c5033ecd971805405671b5cbb423352da394b95e861f51cebfa8f6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "593222cf44c5033ecd971805405671b5cbb423352da394b95e861f51cebfa8f6", kill_on_drop: false }`
[INFO] [stdout] 593222cf44c5033ecd971805405671b5cbb423352da394b95e861f51cebfa8f6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 06904eea27be03c733224708112c627ed727bf60d09bc62c8401a91f39761458
[INFO] running `Command { std: "docker" "start" "-a" "06904eea27be03c733224708112c627ed727bf60d09bc62c8401a91f39761458", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.126
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling typenum v1.15.0
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling subtle v2.4.1
[INFO] [stderr]    Compiling cpufeatures v0.2.2
[INFO] [stderr]    Compiling opaque-debug v0.3.0
[INFO] [stderr]    Compiling zstd-safe v4.1.6+zstd.1.5.2
[INFO] [stderr]    Compiling zeroize v1.3.0
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling base64ct v1.5.0
[INFO] [stderr]    Compiling anyhow v1.0.58
[INFO] [stderr]    Compiling ppv-lite86 v0.2.16
[INFO] [stderr]    Compiling crc32fast v1.3.2
[INFO] [stderr]    Compiling os_str_bytes v6.1.0
[INFO] [stderr]    Compiling constant_time_eq v0.1.5
[INFO] [stderr]    Compiling arrayvec v0.7.2
[INFO] [stderr]    Compiling hashbrown v0.12.1
[INFO] [stderr]    Compiling arrayref v0.3.6
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling textwrap v0.15.0
[INFO] [stderr]    Compiling once_cell v1.12.0
[INFO] [stderr]    Compiling numtoa v0.1.0
[INFO] [stderr]    Compiling termcolor v1.1.3
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling paris v1.5.13
[INFO] [stderr]    Compiling clap_lex v0.2.3
[INFO] [stderr]    Compiling walkdir v2.3.2
[INFO] [stderr]    Compiling generic-array v0.14.5
[INFO] [stderr]    Compiling indexmap v1.9.1
[INFO] [stderr]    Compiling jobserver v0.1.24
[INFO] [stderr]    Compiling getrandom v0.2.7
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling termion v1.5.6
[INFO] [stderr]    Compiling clap v3.2.8
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]    Compiling rand_core v0.6.3
[INFO] [stderr]    Compiling password-hash v0.4.1
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling cipher v0.3.0
[INFO] [stderr]    Compiling universal-hash v0.4.1
[INFO] [stderr]    Compiling block-buffer v0.10.2
[INFO] [stderr]    Compiling crypto-common v0.1.3
[INFO] [stderr]    Compiling aead v0.4.3
[INFO] [stderr]    Compiling crypto-bigint v0.4.7
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling polyval v0.5.3
[INFO] [stderr]    Compiling poly1305 v0.7.2
[INFO] [stderr]    Compiling digest v0.10.3
[INFO] [stderr]    Compiling aes v0.7.5
[INFO] [stderr]    Compiling chacha20 v0.8.1
[INFO] [stderr]    Compiling ctr v0.8.0
[INFO] [stderr]    Compiling ghash v0.4.4
[INFO] [stderr]    Compiling zstd-sys v1.6.3+zstd.1.5.2
[INFO] [stderr]    Compiling blake3 v1.3.1
[INFO] [stderr]    Compiling blake2 v0.10.4
[INFO] [stderr]    Compiling chacha20poly1305 v0.9.1
[INFO] [stderr]    Compiling balloon-hash v0.3.0
[INFO] [stderr]    Compiling aes-gcm v0.9.4
[INFO] [stderr]    Compiling deoxys v0.0.2
[INFO] [stderr]    Compiling argon2 v0.4.1
[INFO] [stderr]    Compiling dexios-core v1.1.1 (/opt/rustwide/workdir/dexios-core)
[INFO] [stderr]    Compiling zstd v0.10.2+zstd.1.5.2
[INFO] [stderr]    Compiling zip v0.6.2
[INFO] [stderr]    Compiling dexios v8.7.0 (/opt/rustwide/workdir/dexios)
[INFO] [stdout] warning: associated function is never used: `try_reader`
[INFO] [stdout]    --> dexios/src/domain/storage.rs:276:12
[INFO] [stdout]     |
[INFO] [stdout] 276 |     pub fn try_reader(&self) -> Result<&RefCell<RW>, Error> {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 27.78s
[INFO] running `Command { std: "docker" "inspect" "06904eea27be03c733224708112c627ed727bf60d09bc62c8401a91f39761458", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "06904eea27be03c733224708112c627ed727bf60d09bc62c8401a91f39761458", kill_on_drop: false }`
[INFO] [stdout] 06904eea27be03c733224708112c627ed727bf60d09bc62c8401a91f39761458
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8756cad62610ddbf8ef81f56bbd114aac70f60f765f4a91885e997691dfd99df
[INFO] running `Command { std: "docker" "start" "-a" "8756cad62610ddbf8ef81f56bbd114aac70f60f765f4a91885e997691dfd99df", kill_on_drop: false }`
[INFO] [stderr]    Compiling dexios-core v1.1.1 (/opt/rustwide/workdir/dexios-core)
[INFO] [stderr]    Compiling dexios v8.7.0 (/opt/rustwide/workdir/dexios)
[INFO] [stdout] warning: associated function is never used: `try_reader`
[INFO] [stdout]    --> dexios/src/domain/storage.rs:276:12
[INFO] [stdout]     |
[INFO] [stdout] 276 |     pub fn try_reader(&self) -> Result<&RefCell<RW>, Error> {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 1.87s
[INFO] [stderr]   Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/dexios-9372c871460036c6)
[INFO] [stderr]   Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/dexios_core-4c2036a159daa5c5)
[INFO] running `Command { std: "docker" "inspect" "8756cad62610ddbf8ef81f56bbd114aac70f60f765f4a91885e997691dfd99df", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8756cad62610ddbf8ef81f56bbd114aac70f60f765f4a91885e997691dfd99df", kill_on_drop: false }`
[INFO] [stdout] 8756cad62610ddbf8ef81f56bbd114aac70f60f765f4a91885e997691dfd99df
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] a9d942c5b96ccea2d920ea40d79fbcf34352baafbf821a24821e7f39830bb159
[INFO] running `Command { std: "docker" "start" "-a" "a9d942c5b96ccea2d920ea40d79fbcf34352baafbf821a24821e7f39830bb159", kill_on_drop: false }`
[INFO] [stderr] warning: associated function is never used: `try_reader`
[INFO] [stderr]    --> dexios/src/domain/storage.rs:276:12
[INFO] [stderr]     |
[INFO] [stderr] 276 |     pub fn try_reader(&self) -> Result<&RefCell<RW>, Error> {
[INFO] [stderr]     |            ^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `dexios` (bin "dexios" test) generated 1 warning
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.07s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/dexios-9372c871460036c6)
[INFO] [stdout] 
[INFO] [stdout] running 22 tests
[INFO] [stdout] test domain::erase::tests::should_not_open_file ... ok
[INFO] [stdout] test domain::hash::tests::should_hash_big_string ... ok
[INFO] [stdout] test domain::hash::tests::should_reset_position_and_make_hash ... ok
[INFO] [stdout] test domain::erase::tests::should_erase_file ... ok
[INFO] [stdout] test domain::overwrite::tests::should_erase_fill_random_bytes_zero_times ... ok
[INFO] [stdout] test domain::hash::tests::should_hash_string ... ok
[INFO] [stdout] test domain::overwrite::tests::should_overwrite_empty_content ... ok
[INFO] [stdout] test domain::overwrite::tests::should_erase_fill_random_bytes_one_hundred_times ... ok
[INFO] [stdout] test domain::overwrite::tests::should_overwrite_not_perfectly_divisible_content ... ok
[INFO] [stdout] test domain::overwrite::tests::should_overwrite_small_content ... ok
[INFO] [stdout] test domain::overwrite::tests::should_overwrite_perfectly_divisible_content ... ok
[INFO] [stdout] test domain::overwrite::tests::should_overwrite_large_content ... ok
[INFO] [stdout] test domain::storage::tests::should_get_file_length ... ok
[INFO] [stdout] test domain::storage::tests::should_create_a_new_file ... ok
[INFO] [stdout] test domain::storage::tests::should_not_open_file_to_read ... ok
[INFO] [stdout] test domain::storage::tests::should_not_open_file_to_write ... ok
[INFO] [stdout] test domain::storage::tests::should_open_exist_file_in_read_mode ... ok
[INFO] [stdout] test domain::storage::tests::should_open_exist_file_in_write_mode ... ok
[INFO] [stdout] test domain::storage::tests::should_remove_a_file_in_read_mode ... ok
[INFO] [stdout] test domain::storage::tests::should_remove_a_file_in_write_mode ... ok
[INFO] [stdout] test domain::storage::tests::should_throw_an_error_if_file_already_exist ... ok
[INFO] [stdout] test domain::storage::tests::should_write_content_to_file ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 22 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/dexios_core-4c2036a159daa5c5)
[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 dexios-core
[INFO] [stdout] 
[INFO] [stdout] running 19 tests
[INFO] [stdout] test src/header.rs - header::Header::serialize (line 431) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 24) ... FAILED
[INFO] [stdout] test src/key.rs - key::gen_salt (line 29) ... FAILED
[INFO] [stdout] test src/cipher.rs - cipher::Ciphers::initialize (line 46) ... FAILED
[INFO] [stdout] test src/header.rs - header::Header::write (line 497) ... FAILED
[INFO] [stdout] test src/header.rs - header::Header::deserialize (line 160) ... FAILED
[INFO] [stdout] test src/primitives.rs - primitives::gen_nonce (line 51) ... FAILED
[INFO] [stdout] test src/key.rs - key::argon2id_hash (line 52) ... FAILED
[INFO] [stdout] test src/stream.rs - stream::DecryptionStreams::decrypt_file (line 335) ... FAILED
[INFO] [stdout] test src/cipher.rs - cipher (line 6) ... FAILED
[INFO] [stdout] test src/key.rs - key (line 7) ... FAILED
[INFO] [stdout] test src/key.rs - key::balloon_hash (line 116) ... FAILED
[INFO] [stdout] test src/protected.rs - protected (line 18) ... FAILED
[INFO] [stdout] test src/stream.rs - stream (line 9) ... FAILED
[INFO] [stdout] test src/stream.rs - stream::EncryptionStreams::encrypt_file (line 173) ... FAILED
[INFO] [stdout] test src/header.rs - header (line 14) ... FAILED
[INFO] [stdout] test src/header.rs - header (line 28) ... FAILED
[INFO] [stdout] test src/stream.rs - stream::DecryptionStreams::initialize (line 248) ... FAILED
[INFO] [stdout] test src/stream.rs - stream::EncryptionStreams::initialize (line 78) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/header.rs - header::Header::serialize (line 431) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `header` in this scope
[INFO] [stdout]  --> src/header.rs:432:20
[INFO] [stdout]   |
[INFO] [stdout] 3 | let header_bytes = header.serialize().unwrap();
[INFO] [stdout]   |                    ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 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/lib.rs - (line 24) stdout ----
[INFO] [stdout] error: invalid suffix `zSGS18aHtT3CZjZUnnWpCsz1wmA5f65G6BXisbrvAiH7PxZpP8GorbdjAQYRtfeiANZywwUPjZcHu8eXJeWdafJQFK46G` for number literal
[INFO] [stdout]  --> src/lib.rs:25:6
[INFO] [stdout]   |
[INFO] [stdout] 3 | XMR: 84zSGS18aHtT3CZjZUnnWpCsz1wmA5f65G6BXisbrvAiH7PxZpP8GorbdjAQYRtfeiANZywwUPjZcHu8eXJeWdafJQFK46G
[INFO] [stdout]   |      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ invalid suffix `zSGS18aHtT3CZjZUnnWpCsz1wmA5f65G6BXisbrvAiH7PxZpP8GorbdjAQYRtfeiANZywwUPjZcHu8eXJeWdafJQFK46G`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] error: expected type, found `84zSGS18aHtT3CZjZUnnWpCsz1wmA5f65G6BXisbrvAiH7PxZpP8GorbdjAQYRtfeiANZywwUPjZcHu8eXJeWdafJQFK46G`
[INFO] [stdout]  --> src/lib.rs:25:6
[INFO] [stdout]   |
[INFO] [stdout] 3 | XMR: 84zSGS18aHtT3CZjZUnnWpCsz1wmA5f65G6BXisbrvAiH7PxZpP8GorbdjAQYRtfeiANZywwUPjZcHu8eXJeWdafJQFK46G
[INFO] [stdout]   |    - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected type
[INFO] [stdout]   |    |
[INFO] [stdout]   |    tried to parse a type due to this
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/key.rs - key::gen_salt (line 29) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `gen_salt` in this scope
[INFO] [stdout]  --> src/key.rs:30:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | let salt = gen_salt();
[INFO] [stdout]   |            ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 | use dexios_core::key::gen_salt;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 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/cipher.rs - cipher::Ciphers::initialize (line 46) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeaderVersion`
[INFO] [stdout]  --> src/cipher.rs:50:41
[INFO] [stdout]   |
[INFO] [stdout] 6 | let key = balloon_hash(raw_key, &salt, &HeaderVersion::V4).unwrap();
[INFO] [stdout]   |                                         ^^^^^^^^^^^^^ use of undeclared type `HeaderVersion`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Algorithm`
[INFO] [stdout]  --> src/cipher.rs:51:40
[INFO] [stdout]   |
[INFO] [stdout] 7 | let cipher = Ciphers::initialize(key, &Algorithm::XChaCha20Poly1305).unwrap();
[INFO] [stdout]   |                                        ^^^^^^^^^ use of undeclared type `Algorithm`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Protected`
[INFO] [stdout]  --> src/cipher.rs:48:15
[INFO] [stdout]   |
[INFO] [stdout] 4 | let raw_key = Protected::new(vec![0u8; 128]);
[INFO] [stdout]   |               ^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 | use dexios_core::protected::Protected;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `gen_salt` in this scope
[INFO] [stdout]  --> src/cipher.rs:49:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | let salt = gen_salt();
[INFO] [stdout]   |            ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 3 | use dexios_core::key::gen_salt;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, found crate `balloon_hash`
[INFO] [stdout]  --> src/cipher.rs:50:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | let key = balloon_hash(raw_key, &salt, &HeaderVersion::V4).unwrap();
[INFO] [stdout]   |           ^^^^^^^^^^^^ not a function
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function instead
[INFO] [stdout]   |
[INFO] [stdout] 3 | use dexios_core::key::balloon_hash;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ciphers`
[INFO] [stdout]  --> src/cipher.rs:51:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | let cipher = Ciphers::initialize(key, &Algorithm::XChaCha20Poly1305).unwrap();
[INFO] [stdout]   |              ^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 3 | use dexios_core::cipher::Ciphers;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/header.rs - header::Header::write (line 497) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `File`
[INFO] [stdout]  --> src/header.rs:498:23
[INFO] [stdout]   |
[INFO] [stdout] 3 | let mut output_file = File::create("test").unwrap();
[INFO] [stdout]   |                       ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fs::File;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `header` in this scope
[INFO] [stdout]  --> src/header.rs:500:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | header.write(&mut output_file).unwrap();
[INFO] [stdout]   | ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/header.rs - header::Header::deserialize (line 160) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cursor`
[INFO] [stdout]  --> src/header.rs:167:18
[INFO] [stdout]   |
[INFO] [stdout] 9 | let mut cursor = Cursor::new(header_bytes);
[INFO] [stdout]   |                  ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::collections::linked_list::Cursor;
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::Cursor;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Header`
[INFO] [stdout]   --> src/header.rs:171:21
[INFO] [stdout]    |
[INFO] [stdout] 13 | let (header, aad) = Header::deserialize(&mut cursor).unwrap();
[INFO] [stdout]    |                     ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  | use dexios_core::header::Header;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 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/primitives.rs - primitives::gen_nonce (line 51) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Algorithm`
[INFO] [stdout]  --> src/primitives.rs:52:24
[INFO] [stdout]   |
[INFO] [stdout] 3 | let nonce = gen_nonce(&Algorithm::XChaCha20Poly1305, &Mode::StreamMode);
[INFO] [stdout]   |                        ^^^^^^^^^ use of undeclared type `Algorithm`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mode`
[INFO] [stdout]  --> src/primitives.rs:52:55
[INFO] [stdout]   |
[INFO] [stdout] 3 | let nonce = gen_nonce(&Algorithm::XChaCha20Poly1305, &Mode::StreamMode);
[INFO] [stdout]   |                                                       ^^^^ use of undeclared type `Mode`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `gen_nonce` in this scope
[INFO] [stdout]  --> src/primitives.rs:52:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | let nonce = gen_nonce(&Algorithm::XChaCha20Poly1305, &Mode::StreamMode);
[INFO] [stdout]   |             ^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 | use dexios_core::primitives::gen_nonce;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/key.rs - key::argon2id_hash (line 52) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeaderVersion`
[INFO] [stdout]  --> src/key.rs:56:42
[INFO] [stdout]   |
[INFO] [stdout] 6 | let key = argon2id_hash(raw_key, &salt, &HeaderVersion::V3).unwrap();
[INFO] [stdout]   |                                          ^^^^^^^^^^^^^ use of undeclared type `HeaderVersion`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `gen_salt` in this scope
[INFO] [stdout]  --> src/key.rs:53:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | let salt = gen_salt();
[INFO] [stdout]   |            ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 | use dexios_core::key::gen_salt;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Protected`
[INFO] [stdout]  --> src/key.rs:55:15
[INFO] [stdout]   |
[INFO] [stdout] 5 | let raw_key = Protected::new(secret_data);
[INFO] [stdout]   |               ^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 | use dexios_core::protected::Protected;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `argon2id_hash` in this scope
[INFO] [stdout]  --> src/key.rs:56:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | let key = argon2id_hash(raw_key, &salt, &HeaderVersion::V3).unwrap();
[INFO] [stdout]   |           ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 | use dexios_core::key::argon2id_hash;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stream.rs - stream::DecryptionStreams::decrypt_file (line 335) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Algorithm`
[INFO] [stdout]  --> src/stream.rs:342:66
[INFO] [stdout]   |
[INFO] [stdout] 9 | let decrypt_stream = DecryptionStreams::initialize(key, &nonce, &Algorithm::XChaCha20Poly1305).unwrap();
[INFO] [stdout]   |                                                                  ^^^^^^^^^ use of undeclared type `Algorithm`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `File`
[INFO] [stdout]  --> src/stream.rs:336:22
[INFO] [stdout]   |
[INFO] [stdout] 3 | let mut input_file = File::open("input.encrypted").unwrap();
[INFO] [stdout]   |                      ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fs::File;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `File`
[INFO] [stdout]  --> src/stream.rs:337:23
[INFO] [stdout]   |
[INFO] [stdout] 4 | let mut output_file = File::create("output").unwrap();
[INFO] [stdout]   |                       ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fs::File;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DecryptionStreams`
[INFO] [stdout]  --> src/stream.rs:342:22
[INFO] [stdout]   |
[INFO] [stdout] 9 | let decrypt_stream = DecryptionStreams::initialize(key, &nonce, &Algorithm::XChaCha20Poly1305).unwrap();
[INFO] [stdout]   |                      ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 | use dexios_core::stream::DecryptionStreams;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `key` in this scope
[INFO] [stdout]  --> src/stream.rs:342:52
[INFO] [stdout]   |
[INFO] [stdout] 9 | let decrypt_stream = DecryptionStreams::initialize(key, &nonce, &Algorithm::XChaCha20Poly1305).unwrap();
[INFO] [stdout]   |                                                    ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `nonce` in this scope
[INFO] [stdout]  --> src/stream.rs:342:58
[INFO] [stdout]   |
[INFO] [stdout] 9 | let decrypt_stream = DecryptionStreams::initialize(key, &nonce, &Algorithm::XChaCha20Poly1305).unwrap();
[INFO] [stdout]   |                                                          ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/cipher.rs - cipher (line 6) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeaderVersion`
[INFO] [stdout]  --> src/cipher.rs:10:41
[INFO] [stdout]   |
[INFO] [stdout] 6 | let key = balloon_hash(raw_key, &salt, &HeaderVersion::V4).unwrap();
[INFO] [stdout]   |                                         ^^^^^^^^^^^^^ use of undeclared type `HeaderVersion`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Algorithm`
[INFO] [stdout]  --> src/cipher.rs:11:40
[INFO] [stdout]   |
[INFO] [stdout] 7 | let cipher = Ciphers::initialize(key, &Algorithm::XChaCha20Poly1305).unwrap();
[INFO] [stdout]   |                                        ^^^^^^^^^ use of undeclared type `Algorithm`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Algorithm`
[INFO] [stdout]   --> src/cipher.rs:15:24
[INFO] [stdout]    |
[INFO] [stdout] 11 | let nonce = gen_nonce(&Algorithm::XChaCha20Poly1305, &Mode::MemoryMode);
[INFO] [stdout]    |                        ^^^^^^^^^ use of undeclared type `Algorithm`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mode`
[INFO] [stdout]   --> src/cipher.rs:15:55
[INFO] [stdout]    |
[INFO] [stdout] 11 | let nonce = gen_nonce(&Algorithm::XChaCha20Poly1305, &Mode::MemoryMode);
[INFO] [stdout]    |                                                       ^^^^ use of undeclared type `Mode`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Protected`
[INFO] [stdout]  --> src/cipher.rs:8:15
[INFO] [stdout]   |
[INFO] [stdout] 4 | let raw_key = Protected::new(vec![0u8; 128]);
[INFO] [stdout]   |               ^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 | use dexios_core::protected::Protected;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `gen_salt` in this scope
[INFO] [stdout]  --> src/cipher.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | let salt = gen_salt();
[INFO] [stdout]   |            ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 3 | use dexios_core::key::gen_salt;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, found crate `balloon_hash`
[INFO] [stdout]  --> src/cipher.rs:10:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | let key = balloon_hash(raw_key, &salt, &HeaderVersion::V4).unwrap();
[INFO] [stdout]   |           ^^^^^^^^^^^^ not a function
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function instead
[INFO] [stdout]   |
[INFO] [stdout] 3 | use dexios_core::key::balloon_hash;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ciphers`
[INFO] [stdout]  --> src/cipher.rs:11:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | let cipher = Ciphers::initialize(key, &Algorithm::XChaCha20Poly1305).unwrap();
[INFO] [stdout]   |              ^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 3 | use dexios_core::cipher::Ciphers;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `gen_nonce` in this scope
[INFO] [stdout]   --> src/cipher.rs:15:13
[INFO] [stdout]    |
[INFO] [stdout] 11 | let nonce = gen_nonce(&Algorithm::XChaCha20Poly1305, &Mode::MemoryMode);
[INFO] [stdout]    |             ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 3  | use dexios_core::primitives::gen_nonce;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/key.rs - key (line 7) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeaderVersion`
[INFO] [stdout]  --> src/key.rs:11:42
[INFO] [stdout]   |
[INFO] [stdout] 6 | let key = argon2id_hash(raw_key, &salt, &HeaderVersion::V3).unwrap();
[INFO] [stdout]   |                                          ^^^^^^^^^^^^^ use of undeclared type `HeaderVersion`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `gen_salt` in this scope
[INFO] [stdout]  --> src/key.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | let salt = gen_salt();
[INFO] [stdout]   |            ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 | use dexios_core::key::gen_salt;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Protected`
[INFO] [stdout]  --> src/key.rs:10:15
[INFO] [stdout]   |
[INFO] [stdout] 5 | let raw_key = Protected::new(secret_data);
[INFO] [stdout]   |               ^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 | use dexios_core::protected::Protected;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `argon2id_hash` in this scope
[INFO] [stdout]  --> src/key.rs:11:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | let key = argon2id_hash(raw_key, &salt, &HeaderVersion::V3).unwrap();
[INFO] [stdout]   |           ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 | use dexios_core::key::argon2id_hash;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/key.rs - key::balloon_hash (line 116) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeaderVersion`
[INFO] [stdout]  --> src/key.rs:120:41
[INFO] [stdout]   |
[INFO] [stdout] 6 | let key = balloon_hash(raw_key, &salt, &HeaderVersion::V4).unwrap();
[INFO] [stdout]   |                                         ^^^^^^^^^^^^^ use of undeclared type `HeaderVersion`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `gen_salt` in this scope
[INFO] [stdout]  --> src/key.rs:117:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | let salt = gen_salt();
[INFO] [stdout]   |            ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 | use dexios_core::key::gen_salt;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Protected`
[INFO] [stdout]  --> src/key.rs:119:15
[INFO] [stdout]   |
[INFO] [stdout] 5 | let raw_key = Protected::new(secret_data);
[INFO] [stdout]   |               ^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 | use dexios_core::protected::Protected;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, found crate `balloon_hash`
[INFO] [stdout]  --> src/key.rs:120:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | let key = balloon_hash(raw_key, &salt, &HeaderVersion::V4).unwrap();
[INFO] [stdout]   |           ^^^^^^^^^^^^ not a function
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function instead
[INFO] [stdout]   |
[INFO] [stdout] 2 | use dexios_core::key::balloon_hash;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/protected.rs - protected (line 18) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Protected`
[INFO] [stdout]  --> src/protected.rs:20:22
[INFO] [stdout]   |
[INFO] [stdout] 4 | let protected_data = Protected::new(secret_data);
[INFO] [stdout]   |                      ^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 | use dexios_core::protected::Protected;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 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/stream.rs - stream (line 9) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeaderVersion`
[INFO] [stdout]  --> src/stream.rs:13:41
[INFO] [stdout]   |
[INFO] [stdout] 6 | let key = balloon_hash(raw_key, &salt, &HeaderVersion::V4).unwrap();
[INFO] [stdout]   |                                         ^^^^^^^^^^^^^ use of undeclared type `HeaderVersion`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Algorithm`
[INFO] [stdout]  --> src/stream.rs:16:24
[INFO] [stdout]   |
[INFO] [stdout] 9 | let nonce = gen_nonce(&Algorithm::XChaCha20Poly1305, &Mode::StreamMode);
[INFO] [stdout]   |                        ^^^^^^^^^ use of undeclared type `Algorithm`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mode`
[INFO] [stdout]  --> src/stream.rs:16:55
[INFO] [stdout]   |
[INFO] [stdout] 9 | let nonce = gen_nonce(&Algorithm::XChaCha20Poly1305, &Mode::StreamMode);
[INFO] [stdout]   |                                                       ^^^^ use of undeclared type `Mode`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Algorithm`
[INFO] [stdout]   --> src/stream.rs:18:66
[INFO] [stdout]    |
[INFO] [stdout] 11 | let decrypt_stream = DecryptionStreams::initialize(key, &nonce, &Algorithm::XChaCha20Poly1305).unwrap();
[INFO] [stdout]    |                                                                  ^^^^^^^^^ use of undeclared type `Algorithm`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Protected`
[INFO] [stdout]  --> src/stream.rs:11:15
[INFO] [stdout]   |
[INFO] [stdout] 4 | let raw_key = Protected::new(vec![0u8; 128]);
[INFO] [stdout]   |               ^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 | use dexios_core::protected::Protected;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `gen_salt` in this scope
[INFO] [stdout]  --> src/stream.rs:12:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | let salt = gen_salt();
[INFO] [stdout]   |            ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 3 | use dexios_core::key::gen_salt;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, found crate `balloon_hash`
[INFO] [stdout]  --> src/stream.rs:13:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | let key = balloon_hash(raw_key, &salt, &HeaderVersion::V4).unwrap();
[INFO] [stdout]   |           ^^^^^^^^^^^^ not a function
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function instead
[INFO] [stdout]   |
[INFO] [stdout] 3 | use dexios_core::key::balloon_hash;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `gen_nonce` in this scope
[INFO] [stdout]  --> src/stream.rs:16:13
[INFO] [stdout]   |
[INFO] [stdout] 9 | let nonce = gen_nonce(&Algorithm::XChaCha20Poly1305, &Mode::StreamMode);
[INFO] [stdout]   |             ^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 3 | use dexios_core::primitives::gen_nonce;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DecryptionStreams`
[INFO] [stdout]   --> src/stream.rs:18:22
[INFO] [stdout]    |
[INFO] [stdout] 11 | let decrypt_stream = DecryptionStreams::initialize(key, &nonce, &Algorithm::XChaCha20Poly1305).unwrap();
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 3  | use dexios_core::stream::DecryptionStreams;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `File`
[INFO] [stdout]   --> src/stream.rs:20:22
[INFO] [stdout]    |
[INFO] [stdout] 13 | let mut input_file = File::open("input.encrypted").unwrap();
[INFO] [stdout]    |                      ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  | use std::fs::File;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `File`
[INFO] [stdout]   --> src/stream.rs:21:23
[INFO] [stdout]    |
[INFO] [stdout] 14 | let mut output_file = File::create("output").unwrap();
[INFO] [stdout]    |                       ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  | use std::fs::File;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 11 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stream.rs - stream::EncryptionStreams::encrypt_file (line 173) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Algorithm`
[INFO] [stdout]  --> src/stream.rs:180:66
[INFO] [stdout]   |
[INFO] [stdout] 9 | let encrypt_stream = EncryptionStreams::initialize(key, &nonce, &Algorithm::XChaCha20Poly1305).unwrap();
[INFO] [stdout]   |                                                                  ^^^^^^^^^ use of undeclared type `Algorithm`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `File`
[INFO] [stdout]  --> src/stream.rs:174:22
[INFO] [stdout]   |
[INFO] [stdout] 3 | let mut input_file = File::open("input").unwrap();
[INFO] [stdout]   |                      ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fs::File;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `File`
[INFO] [stdout]  --> src/stream.rs:175:23
[INFO] [stdout]   |
[INFO] [stdout] 4 | let mut output_file = File::create("output.encrypted").unwrap();
[INFO] [stdout]   |                       ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fs::File;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `header` in this scope
[INFO] [stdout]  --> src/stream.rs:178:11
[INFO] [stdout]   |
[INFO] [stdout] 7 | let aad = header.serialize().unwrap();
[INFO] [stdout]   |           ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EncryptionStreams`
[INFO] [stdout]  --> src/stream.rs:180:22
[INFO] [stdout]   |
[INFO] [stdout] 9 | let encrypt_stream = EncryptionStreams::initialize(key, &nonce, &Algorithm::XChaCha20Poly1305).unwrap();
[INFO] [stdout]   |                      ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 | use dexios_core::stream::EncryptionStreams;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `key` in this scope
[INFO] [stdout]  --> src/stream.rs:180:52
[INFO] [stdout]   |
[INFO] [stdout] 9 | let encrypt_stream = EncryptionStreams::initialize(key, &nonce, &Algorithm::XChaCha20Poly1305).unwrap();
[INFO] [stdout]   |                                                    ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `nonce` in this scope
[INFO] [stdout]  --> src/stream.rs:180:58
[INFO] [stdout]   |
[INFO] [stdout] 9 | let encrypt_stream = EncryptionStreams::initialize(key, &nonce, &Algorithm::XChaCha20Poly1305).unwrap();
[INFO] [stdout]   |                                                          ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/header.rs - header (line 14) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cursor`
[INFO] [stdout]  --> src/header.rs:21:18
[INFO] [stdout]   |
[INFO] [stdout] 9 | let mut cursor = Cursor::new(header_bytes);
[INFO] [stdout]   |                  ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::collections::linked_list::Cursor;
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::Cursor;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Header`
[INFO] [stdout]   --> src/header.rs:25:21
[INFO] [stdout]    |
[INFO] [stdout] 13 | let (header, aad) = Header::deserialize(&mut cursor).unwrap();
[INFO] [stdout]    |                     ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  | use dexios_core::header::Header;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 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/header.rs - header (line 28) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `File`
[INFO] [stdout]  --> src/header.rs:29:23
[INFO] [stdout]   |
[INFO] [stdout] 3 | let mut output_file = File::create("test").unwrap();
[INFO] [stdout]   |                       ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fs::File;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `header` in this scope
[INFO] [stdout]  --> src/header.rs:31:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | header.write(&mut output_file).unwrap();
[INFO] [stdout]   | ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stream.rs - stream::DecryptionStreams::initialize (line 248) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeaderVersion`
[INFO] [stdout]  --> src/stream.rs:252:41
[INFO] [stdout]   |
[INFO] [stdout] 6 | let key = balloon_hash(raw_key, &salt, &HeaderVersion::V4).unwrap();
[INFO] [stdout]   |                                         ^^^^^^^^^^^^^ use of undeclared type `HeaderVersion`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Algorithm`
[INFO] [stdout]  --> src/stream.rs:255:24
[INFO] [stdout]   |
[INFO] [stdout] 9 | let nonce = gen_nonce(&Algorithm::XChaCha20Poly1305, &Mode::StreamMode);
[INFO] [stdout]   |                        ^^^^^^^^^ use of undeclared type `Algorithm`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mode`
[INFO] [stdout]  --> src/stream.rs:255:55
[INFO] [stdout]   |
[INFO] [stdout] 9 | let nonce = gen_nonce(&Algorithm::XChaCha20Poly1305, &Mode::StreamMode);
[INFO] [stdout]   |                                                       ^^^^ use of undeclared type `Mode`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Algorithm`
[INFO] [stdout]   --> src/stream.rs:257:66
[INFO] [stdout]    |
[INFO] [stdout] 11 | let decrypt_stream = DecryptionStreams::initialize(key, &nonce, &Algorithm::XChaCha20Poly1305).unwrap();
[INFO] [stdout]    |                                                                  ^^^^^^^^^ use of undeclared type `Algorithm`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Protected`
[INFO] [stdout]  --> src/stream.rs:250:15
[INFO] [stdout]   |
[INFO] [stdout] 4 | let raw_key = Protected::new(vec![0u8; 128]);
[INFO] [stdout]   |               ^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 | use dexios_core::protected::Protected;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `gen_salt` in this scope
[INFO] [stdout]  --> src/stream.rs:251:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | let salt = gen_salt();
[INFO] [stdout]   |            ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 3 | use dexios_core::key::gen_salt;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, found crate `balloon_hash`
[INFO] [stdout]  --> src/stream.rs:252:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | let key = balloon_hash(raw_key, &salt, &HeaderVersion::V4).unwrap();
[INFO] [stdout]   |           ^^^^^^^^^^^^ not a function
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function instead
[INFO] [stdout]   |
[INFO] [stdout] 3 | use dexios_core::key::balloon_hash;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `gen_nonce` in this scope
[INFO] [stdout]  --> src/stream.rs:255:13
[INFO] [stdout]   |
[INFO] [stdout] 9 | let nonce = gen_nonce(&Algorithm::XChaCha20Poly1305, &Mode::StreamMode);
[INFO] [stdout]   |             ^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 3 | use dexios_core::primitives::gen_nonce;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass '--doc'
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DecryptionStreams`
[INFO] [stdout]   --> src/stream.rs:257:22
[INFO] [stdout]    |
[INFO] [stdout] 11 | let decrypt_stream = DecryptionStreams::initialize(key, &nonce, &Algorithm::XChaCha20Poly1305).unwrap();
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 3  | use dexios_core::stream::DecryptionStreams;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stream.rs - stream::EncryptionStreams::initialize (line 78) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeaderVersion`
[INFO] [stdout]  --> src/stream.rs:82:41
[INFO] [stdout]   |
[INFO] [stdout] 6 | let key = balloon_hash(raw_key, &salt, &HeaderVersion::V4).unwrap();
[INFO] [stdout]   |                                         ^^^^^^^^^^^^^ use of undeclared type `HeaderVersion`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Algorithm`
[INFO] [stdout]  --> src/stream.rs:84:24
[INFO] [stdout]   |
[INFO] [stdout] 8 | let nonce = gen_nonce(&Algorithm::XChaCha20Poly1305, &Mode::StreamMode);
[INFO] [stdout]   |                        ^^^^^^^^^ use of undeclared type `Algorithm`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mode`
[INFO] [stdout]  --> src/stream.rs:84:55
[INFO] [stdout]   |
[INFO] [stdout] 8 | let nonce = gen_nonce(&Algorithm::XChaCha20Poly1305, &Mode::StreamMode);
[INFO] [stdout]   |                                                       ^^^^ use of undeclared type `Mode`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Algorithm`
[INFO] [stdout]  --> src/stream.rs:85:66
[INFO] [stdout]   |
[INFO] [stdout] 9 | let encrypt_stream = EncryptionStreams::initialize(key, &nonce, &Algorithm::XChaCha20Poly1305).unwrap();
[INFO] [stdout]   |                                                                  ^^^^^^^^^ use of undeclared type `Algorithm`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Protected`
[INFO] [stdout]  --> src/stream.rs:80:15
[INFO] [stdout]   |
[INFO] [stdout] 4 | let raw_key = Protected::new(vec![0u8; 128]);
[INFO] [stdout]   |               ^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 | use dexios_core::protected::Protected;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `gen_salt` in this scope
[INFO] [stdout]  --> src/stream.rs:81:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | let salt = gen_salt();
[INFO] [stdout]   |            ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 3 | use dexios_core::key::gen_salt;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, found crate `balloon_hash`
[INFO] [stdout]  --> src/stream.rs:82:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | let key = balloon_hash(raw_key, &salt, &HeaderVersion::V4).unwrap();
[INFO] [stdout]   |           ^^^^^^^^^^^^ not a function
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function instead
[INFO] [stdout]   |
[INFO] [stdout] 3 | use dexios_core::key::balloon_hash;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `gen_nonce` in this scope
[INFO] [stdout]  --> src/stream.rs:84:13
[INFO] [stdout]   |
[INFO] [stdout] 8 | let nonce = gen_nonce(&Algorithm::XChaCha20Poly1305, &Mode::StreamMode);
[INFO] [stdout]   |             ^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 3 | use dexios_core::primitives::gen_nonce;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EncryptionStreams`
[INFO] [stdout]  --> src/stream.rs:85:22
[INFO] [stdout]   |
[INFO] [stdout] 9 | let encrypt_stream = EncryptionStreams::initialize(key, &nonce, &Algorithm::XChaCha20Poly1305).unwrap();
[INFO] [stdout]   |                      ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 3 | use dexios_core::stream::EncryptionStreams;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/cipher.rs - cipher (line 6)
[INFO] [stdout]     src/cipher.rs - cipher::Ciphers::initialize (line 46)
[INFO] [stdout]     src/header.rs - header (line 14)
[INFO] [stdout]     src/header.rs - header (line 28)
[INFO] [stdout]     src/header.rs - header::Header::deserialize (line 160)
[INFO] [stdout]     src/header.rs - header::Header::serialize (line 431)
[INFO] [stdout]     src/header.rs - header::Header::write (line 497)
[INFO] [stdout]     src/key.rs - key (line 7)
[INFO] [stdout]     src/key.rs - key::argon2id_hash (line 52)
[INFO] [stdout]     src/key.rs - key::balloon_hash (line 116)
[INFO] [stdout]     src/key.rs - key::gen_salt (line 29)
[INFO] [stdout]     src/lib.rs - (line 24)
[INFO] [stdout]     src/primitives.rs - primitives::gen_nonce (line 51)
[INFO] [stdout]     src/protected.rs - protected (line 18)
[INFO] [stdout]     src/stream.rs - stream (line 9)
[INFO] [stdout]     src/stream.rs - stream::DecryptionStreams::decrypt_file (line 335)
[INFO] [stdout]     src/stream.rs - stream::DecryptionStreams::initialize (line 248)
[INFO] [stdout]     src/stream.rs - stream::EncryptionStreams::encrypt_file (line 173)
[INFO] [stdout]     src/stream.rs - stream::EncryptionStreams::initialize (line 78)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 19 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.31s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "a9d942c5b96ccea2d920ea40d79fbcf34352baafbf821a24821e7f39830bb159", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a9d942c5b96ccea2d920ea40d79fbcf34352baafbf821a24821e7f39830bb159", kill_on_drop: false }`
[INFO] [stdout] a9d942c5b96ccea2d920ea40d79fbcf34352baafbf821a24821e7f39830bb159
