[INFO] fetching crate dexios-core 1.1.1...
[INFO] testing dexios-core-1.1.1 against beta-2022-07-10 for beta-1.63-1
[INFO] extracting crate dexios-core 1.1.1 into /workspace/builds/worker-1/source
[INFO] validating manifest of crates.io crate dexios-core 1.1.1 on toolchain beta-2022-07-10
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate dexios-core 1.1.1
[INFO] finished tweaking crates.io crate dexios-core 1.1.1
[INFO] tweaked toml for crates.io crate dexios-core 1.1.1 written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 203f34e3e635e99f0146a2f0a7bd99fe03861e4f16b23be57aea3106aa0ca90b
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "203f34e3e635e99f0146a2f0a7bd99fe03861e4f16b23be57aea3106aa0ca90b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "203f34e3e635e99f0146a2f0a7bd99fe03861e4f16b23be57aea3106aa0ca90b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "203f34e3e635e99f0146a2f0a7bd99fe03861e4f16b23be57aea3106aa0ca90b", kill_on_drop: false }`
[INFO] [stdout] 203f34e3e635e99f0146a2f0a7bd99fe03861e4f16b23be57aea3106aa0ca90b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bdcf37a3c36ff4eb05a44ac15c1bf2ae1095f75aadce3589f676cc75f3bdb5fc
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "bdcf37a3c36ff4eb05a44ac15c1bf2ae1095f75aadce3589f676cc75f3bdb5fc", kill_on_drop: false }`
[INFO] [stderr]    Compiling base64ct v1.5.1
[INFO] [stderr]    Compiling zeroize v1.3.0
[INFO] [stderr]    Compiling blake3 v1.3.1
[INFO] [stderr]    Compiling cipher v0.3.0
[INFO] [stderr]    Compiling universal-hash v0.4.1
[INFO] [stderr]    Compiling aead v0.4.3
[INFO] [stderr]    Compiling crypto-bigint v0.4.8
[INFO] [stderr]    Compiling blake2 v0.10.4
[INFO] [stderr]    Compiling polyval v0.5.3
[INFO] [stderr]    Compiling poly1305 v0.7.2
[INFO] [stderr]    Compiling aes v0.7.5
[INFO] [stderr]    Compiling ctr v0.8.0
[INFO] [stderr]    Compiling chacha20 v0.8.2
[INFO] [stderr]    Compiling ghash v0.4.4
[INFO] [stderr]    Compiling password-hash v0.4.2
[INFO] [stderr]    Compiling chacha20poly1305 v0.9.1
[INFO] [stderr]    Compiling deoxys v0.0.2
[INFO] [stderr]    Compiling aes-gcm v0.9.4
[INFO] [stderr]    Compiling balloon-hash v0.2.1
[INFO] [stderr]    Compiling argon2 v0.4.1
[INFO] [stderr]    Compiling dexios-core v1.1.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 12.81s
[INFO] running `Command { std: "docker" "inspect" "bdcf37a3c36ff4eb05a44ac15c1bf2ae1095f75aadce3589f676cc75f3bdb5fc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bdcf37a3c36ff4eb05a44ac15c1bf2ae1095f75aadce3589f676cc75f3bdb5fc", kill_on_drop: false }`
[INFO] [stdout] bdcf37a3c36ff4eb05a44ac15c1bf2ae1095f75aadce3589f676cc75f3bdb5fc
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 902e3813de3f3f4e2e3858218a2e93cf5ab074240ae21047bb79ae150fdc1a43
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "902e3813de3f3f4e2e3858218a2e93cf5ab074240ae21047bb79ae150fdc1a43", kill_on_drop: false }`
[INFO] [stderr]    Compiling dexios-core v1.1.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 1.68s
[INFO] running `Command { std: "docker" "inspect" "902e3813de3f3f4e2e3858218a2e93cf5ab074240ae21047bb79ae150fdc1a43", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "902e3813de3f3f4e2e3858218a2e93cf5ab074240ae21047bb79ae150fdc1a43", kill_on_drop: false }`
[INFO] [stdout] 902e3813de3f3f4e2e3858218a2e93cf5ab074240ae21047bb79ae150fdc1a43
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] b9937da8b65c94b1c25c30cffeb2908afabf67c65d04d06bb9c3cd36ee008844
[INFO] running `Command { std: "docker" "start" "-a" "b9937da8b65c94b1c25c30cffeb2908afabf67c65d04d06bb9c3cd36ee008844", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.08s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/dexios_core-4f48a1217251b76c)
[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/lib.rs - (line 24) ... FAILED
[INFO] [stdout] test src/cipher.rs - cipher (line 6) ... FAILED
[INFO] [stdout] test src/protected.rs - protected (line 18) ... FAILED
[INFO] [stdout] test src/header.rs - header (line 14) ... 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/key.rs - key (line 7) ... FAILED
[INFO] [stdout] test src/key.rs - key::gen_salt (line 30) ... FAILED
[INFO] [stdout] test src/key.rs - key::argon2id_hash (line 53) ... FAILED
[INFO] [stdout] test src/stream.rs - stream (line 9) ... FAILED
[INFO] [stdout] test src/header.rs - header (line 28) ... FAILED
[INFO] [stdout] test src/key.rs - key::balloon_hash (line 127) ... FAILED
[INFO] [stdout] test src/header.rs - header::Header::serialize (line 431) ... FAILED
[INFO] [stdout] test src/primitives.rs - primitives::gen_nonce (line 51) ... FAILED
[INFO] [stdout] test src/stream.rs - stream::DecryptionStreams::decrypt_file (line 361) ... FAILED
[INFO] [stdout] test src/cipher.rs - cipher::Ciphers::initialize (line 46) ... FAILED
[INFO] [stdout] test src/stream.rs - stream::EncryptionStreams::encrypt_file (line 185) ... FAILED
[INFO] [stdout] test src/stream.rs - stream::DecryptionStreams::initialize (line 262) ... FAILED
[INFO] [stdout] test src/stream.rs - stream::EncryptionStreams::initialize (line 78) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[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/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] [stderr] error: test failed, to rerun pass '--doc'
[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/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/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::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/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::gen_salt (line 30) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `gen_salt` in this scope
[INFO] [stdout]  --> src/key.rs:31: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/key.rs - key::argon2id_hash (line 53) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeaderVersion`
[INFO] [stdout]  --> src/key.rs:57: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:54: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:56: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:57: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 (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/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/key.rs - key::balloon_hash (line 127) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeaderVersion`
[INFO] [stdout]  --> src/key.rs:131: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:128: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:130: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:131: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/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/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/stream.rs - stream::DecryptionStreams::decrypt_file (line 361) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Algorithm`
[INFO] [stdout]  --> src/stream.rs:368: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:362: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:363: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:368: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:368: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:368: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::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/stream.rs - stream::EncryptionStreams::encrypt_file (line 185) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Algorithm`
[INFO] [stdout]  --> src/stream.rs:192: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:186: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:187: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:190: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:192: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:192: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:192: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/stream.rs - stream::DecryptionStreams::initialize (line 262) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeaderVersion`
[INFO] [stdout]  --> src/stream.rs:266: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:269: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:269: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:271: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:264: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:265: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:266: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:269: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:271: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 53)
[INFO] [stdout]     src/key.rs - key::balloon_hash (line 127)
[INFO] [stdout]     src/key.rs - key::gen_salt (line 30)
[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 361)
[INFO] [stdout]     src/stream.rs - stream::DecryptionStreams::initialize (line 262)
[INFO] [stdout]     src/stream.rs - stream::EncryptionStreams::encrypt_file (line 185)
[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 2.35s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "b9937da8b65c94b1c25c30cffeb2908afabf67c65d04d06bb9c3cd36ee008844", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b9937da8b65c94b1c25c30cffeb2908afabf67c65d04d06bb9c3cd36ee008844", kill_on_drop: false }`
[INFO] [stdout] b9937da8b65c94b1c25c30cffeb2908afabf67c65d04d06bb9c3cd36ee008844
