[INFO] cloning repository https://github.com/Marck-G/ceberus
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Marck-G/ceberus" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarck-G%2Fceberus", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarck-G%2Fceberus'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d699260f529ee64e37cfa9ee2949f2fa05530f89
[INFO] testing Marck-G/ceberus against try#33835004928d3bf65db4d4712e1330766263b0bd for pr-155739
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarck-G%2Fceberus" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Marck-G/ceberus
[INFO] finished tweaking git repo https://github.com/Marck-G/ceberus
[INFO] tweaked toml for git repo https://github.com/Marck-G/ceberus written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Marck-G/ceberus on toolchain 33835004928d3bf65db4d4712e1330766263b0bd
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Marck-G/ceberus already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 20e64a542b8c59eb477bc2a84d8d53d6dd9dfa6878ff46d1555eea734ba31c89
[INFO] running `Command { std: "docker" "start" "-a" "20e64a542b8c59eb477bc2a84d8d53d6dd9dfa6878ff46d1555eea734ba31c89", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "20e64a542b8c59eb477bc2a84d8d53d6dd9dfa6878ff46d1555eea734ba31c89", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "20e64a542b8c59eb477bc2a84d8d53d6dd9dfa6878ff46d1555eea734ba31c89", kill_on_drop: false }`
[INFO] [stdout] 20e64a542b8c59eb477bc2a84d8d53d6dd9dfa6878ff46d1555eea734ba31c89
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 330e19fda8cfe139d9ddf8896ca559060c316955b41710ba7e7fd518ec0065e0
[INFO] running `Command { std: "docker" "start" "-a" "330e19fda8cfe139d9ddf8896ca559060c316955b41710ba7e7fd518ec0065e0", kill_on_drop: false }`
[INFO] [stderr]    Compiling find-msvc-tools v0.1.5
[INFO] [stderr]    Compiling zeroize v1.8.2
[INFO] [stderr]    Compiling opaque-debug v0.3.1
[INFO] [stderr]    Compiling zstd-safe v7.2.4
[INFO] [stderr]    Compiling openssl v0.10.75
[INFO] [stderr]    Compiling jobserver v0.1.34
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling syn v2.0.111
[INFO] [stderr]    Compiling inout v0.1.4
[INFO] [stderr]    Compiling memchr v2.7.6
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling rand_core v0.9.3
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling crypto-common v0.1.7
[INFO] [stderr]    Compiling cipher v0.4.4
[INFO] [stderr]    Compiling universal-hash v0.5.1
[INFO] [stderr]    Compiling aead v0.5.2
[INFO] [stderr]    Compiling cc v1.2.49
[INFO] [stderr]    Compiling rand v0.9.2
[INFO] [stderr]    Compiling polyval v0.6.2
[INFO] [stderr]    Compiling poly1305 v0.8.0
[INFO] [stderr]    Compiling ctr v0.9.2
[INFO] [stderr]    Compiling chacha20 v0.9.1
[INFO] [stderr]    Compiling aes v0.8.4
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling ghash v0.5.1
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling chacha20poly1305 v0.10.1
[INFO] [stderr]    Compiling tracing-subscriber v0.3.22
[INFO] [stderr]    Compiling aes-gcm v0.10.3
[INFO] [stderr]    Compiling openssl-src v300.5.4+3.5.4
[INFO] [stderr]    Compiling zstd-sys v2.0.16+zstd.1.5.7
[INFO] [stderr]    Compiling openssl-sys v0.9.111
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling zstd v0.13.3
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling cerberus v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `EncryptionType`
[INFO] [stdout]   --> src/core/protocol.rs:11:34
[INFO] [stdout]    |
[INFO] [stdout] 11 |     crypto::{EncryptationConfig, EncryptionType, decrypt, encrypt},
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Payload`
[INFO] [stdout]  --> src/crypto/chacha/decrypt.rs:3:45
[INFO] [stdout]   |
[INFO] [stdout] 3 | use chacha20poly1305::aead::{Aead, KeyInit, Payload};
[INFO] [stdout]   |                                             ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SymmetricAlgo`
[INFO] [stdout]  --> src/main.rs:8:48
[INFO] [stdout]   |
[INFO] [stdout] 8 |     core::{CerberusProtocol, HandshakeSession, SymmetricAlgo}, errors::error::CerberusError}
[INFO] [stdout]   |                                                ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]   --> src/main.rs:62:10
[INFO] [stdout]    |
[INFO] [stdout] 62 |     let (key, algo) = client_session.receive_symmetric_key(&sym_msg, &server_public, &client_private);
[INFO] [stdout]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 48s
[INFO] running `Command { std: "docker" "inspect" "330e19fda8cfe139d9ddf8896ca559060c316955b41710ba7e7fd518ec0065e0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "330e19fda8cfe139d9ddf8896ca559060c316955b41710ba7e7fd518ec0065e0", kill_on_drop: false }`
[INFO] [stdout] 330e19fda8cfe139d9ddf8896ca559060c316955b41710ba7e7fd518ec0065e0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 48571eb9553f6e9bba3b3be899dad5ecedd0118439be9295a05931733437105e
[INFO] running `Command { std: "docker" "start" "-a" "48571eb9553f6e9bba3b3be899dad5ecedd0118439be9295a05931733437105e", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `EncryptionType`
[INFO] [stdout]   --> src/core/protocol.rs:11:34
[INFO] [stdout]    |
[INFO] [stdout] 11 |     crypto::{EncryptationConfig, EncryptionType, decrypt, encrypt},
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Payload`
[INFO] [stdout]  --> src/crypto/chacha/decrypt.rs:3:45
[INFO] [stdout]   |
[INFO] [stdout] 3 | use chacha20poly1305::aead::{Aead, KeyInit, Payload};
[INFO] [stdout]   |                                             ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling cerberus v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `SymmetricAlgo`
[INFO] [stdout]  --> src/main.rs:8:48
[INFO] [stdout]   |
[INFO] [stdout] 8 |     core::{CerberusProtocol, HandshakeSession, SymmetricAlgo}, errors::error::CerberusError}
[INFO] [stdout]   |                                                ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `EncryptionType`
[INFO] [stdout]   --> src/core/protocol.rs:11:34
[INFO] [stdout]    |
[INFO] [stdout] 11 |     crypto::{EncryptationConfig, EncryptionType, decrypt, encrypt},
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Payload`
[INFO] [stdout]  --> src/crypto/chacha/decrypt.rs:3:45
[INFO] [stdout]   |
[INFO] [stdout] 3 | use chacha20poly1305::aead::{Aead, KeyInit, Payload};
[INFO] [stdout]   |                                             ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]   --> src/main.rs:62:10
[INFO] [stdout]    |
[INFO] [stdout] 62 |     let (key, algo) = client_session.receive_symmetric_key(&sym_msg, &server_public, &client_private);
[INFO] [stdout]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.90s
[INFO] running `Command { std: "docker" "inspect" "48571eb9553f6e9bba3b3be899dad5ecedd0118439be9295a05931733437105e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "48571eb9553f6e9bba3b3be899dad5ecedd0118439be9295a05931733437105e", kill_on_drop: false }`
[INFO] [stdout] 48571eb9553f6e9bba3b3be899dad5ecedd0118439be9295a05931733437105e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 634c2ce210d562c2dbb1c4c77d997335652fadec3aad9cdbee341a8d646520e7
[INFO] running `Command { std: "docker" "start" "-a" "634c2ce210d562c2dbb1c4c77d997335652fadec3aad9cdbee341a8d646520e7", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `EncryptionType`
[INFO] [stderr]   --> src/core/protocol.rs:11:34
[INFO] [stderr]    |
[INFO] [stderr] 11 |     crypto::{EncryptationConfig, EncryptionType, decrypt, encrypt},
[INFO] [stderr]    |                                  ^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Payload`
[INFO] [stderr]  --> src/crypto/chacha/decrypt.rs:3:45
[INFO] [stderr]   |
[INFO] [stderr] 3 | use chacha20poly1305::aead::{Aead, KeyInit, Payload};
[INFO] [stderr]   |                                             ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `cerberus` (lib) generated 2 warnings (run `cargo fix --lib -p cerberus` to apply 2 suggestions)
[INFO] [stderr] warning: `cerberus` (lib test) generated 2 warnings (2 duplicates)
[INFO] [stderr] warning: unused import: `SymmetricAlgo`
[INFO] [stderr]  --> src/main.rs:8:48
[INFO] [stderr]   |
[INFO] [stderr] 8 |     core::{CerberusProtocol, HandshakeSession, SymmetricAlgo}, errors::error::CerberusError}
[INFO] [stderr]   |                                                ^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `key`
[INFO] [stderr]   --> src/main.rs:62:10
[INFO] [stderr]    |
[INFO] [stderr] 62 |     let (key, algo) = client_session.receive_symmetric_key(&sym_msg, &server_public, &client_private);
[INFO] [stderr]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `cerberus` (bin "cerberus" test) generated 2 warnings (run `cargo fix --bin "cerberus" -p cerberus --tests` to apply 2 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cerberus-f167bd1f5f2669bd)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test tests::it_works ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/cerberus-212d3933992b4692)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests cerberus
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 28 tests
[INFO] [stdout] test src/compresion/mod.rs - compresion::compress (line 47) ... FAILED
[INFO] [stdout] test src/core/protocol.rs - core::protocol::CerberusProtocol::from_session (line 130) ... FAILED
[INFO] [stdout] test src/core/protocol.rs - core::protocol::CerberusProtocol::new (line 93) ... FAILED
[INFO] [stdout] test src/certificates/sign.rs - certificates::sign::sign_message (line 41) ... FAILED
[INFO] [stdout] test src/core/protocol.rs - core::protocol::CerberusProtocol::decode_message (line 249) ... FAILED
[INFO] [stdout] test src/core/protocol.rs - core::protocol::CerberusProtocol (line 38) ... FAILED
[INFO] [stdout] test src/compresion/mod.rs - compresion::decompress (line 83) ... FAILED
[INFO] [stdout] test src/codification/mod.rs - codification::from_base64_string (line 61) ... FAILED
[INFO] [stdout] test src/certificates/certs.rs - certificates::certs::load_public_key_fs (line 33) ... FAILED
[INFO] [stdout] test src/certificates/certs.rs - certificates::certs::load_private_key (line 74) ... FAILED
[INFO] [stdout] test src/crypto/chacha/encrypt.rs - crypto::chacha::encrypt::encrypt_chacha (line 34) ... FAILED
[INFO] [stdout] test src/core/protocol.rs - core::protocol::CerberusProtocol::secure_decode (line 366) ... FAILED
[INFO] [stdout] test src/crypto/chacha/decrypt.rs - crypto::chacha::decrypt::decrypt_chacha (line 36) ... FAILED
[INFO] [stdout] test src/crypto/encrypt.rs - crypto::encrypt::encrypt (line 32) ... FAILED
[INFO] [stdout] test src/crypto/aes/decrypt.rs - crypto::aes::decrypt::decryp_aes_gcm (line 31) ... FAILED
[INFO] [stdout] test src/certificates/certs.rs - certificates::certs::load_private_key_fs (line 11) ... FAILED
[INFO] [stdout] test src/codification/mod.rs - codification::from_base64 (line 94) ... FAILED
[INFO] [stdout] test src/crypto/utils.rs - crypto::utils::EncryptationConfig (line 65) ... FAILED
[INFO] [stdout] test src/errors/error.rs - errors::error::CerberusError (line 45) ... FAILED
[INFO] [stdout] test src/crypto/decrypt.rs - crypto::decrypt::decrypt (line 29) ... FAILED
[INFO] [stdout] test src/codification/mod.rs - codification::to_base64 (line 26) ... FAILED
[INFO] [stdout] test src/core/protocol.rs - core::protocol::CerberusProtocol::secure_encode (line 325) ... FAILED
[INFO] [stdout] test src/core/protocol.rs - core::protocol::CerberusProtocol::encode_message (line 181) ... FAILED
[INFO] [stdout] test src/certificates/certs.rs - certificates::certs::load_public_key (line 54) ... FAILED
[INFO] [stdout] test src/crypto/aes/encrypt.rs - crypto::aes::encrypt::encrypt_aes_gcm (line 30) ... FAILED
[INFO] [stdout] test src/crypto/utils.rs - crypto::utils::check_config (line 101) ... FAILED
[INFO] [stdout] test src/crypto/utils.rs - crypto::utils::EncryptionType (line 30) ... FAILED
[INFO] [stdout] test src/certificates/sign.rs - certificates::sign::check_sign (line 91) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/compresion/mod.rs - compresion::compress (line 47) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `compress` in this scope
[INFO] [stdout]   --> src/compresion/mod.rs:49:18
[INFO] [stdout]    |
[INFO] [stdout] 49 | let compressed = compress(original).unwrap();
[INFO] [stdout]    |                  ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these functions
[INFO] [stdout]    |
[INFO] [stdout] 47 + use cerberus::compresion::compress;
[INFO] [stdout]    |
[INFO] [stdout] 47 + use zstd::bulk::compress;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/core/protocol.rs - core::protocol::CerberusProtocol::from_session (line 130) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `your_crate`
[INFO] [stdout]    --> src/core/protocol.rs:131:5
[INFO] [stdout]     |
[INFO] [stdout] 131 | use your_crate::{CerberusProtocol, HandshakeSession};
[INFO] [stdout]     |     ^^^^^^^^^^ use of unresolved module or unlinked crate `your_crate`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `your_crate`, use `cargo add your_crate` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/core/protocol.rs - core::protocol::CerberusProtocol::new (line 93) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `your_crate`
[INFO] [stdout]   --> src/core/protocol.rs:94:5
[INFO] [stdout]    |
[INFO] [stdout] 94 | use your_crate::{CerberusProtocol, EncryptionConfig};
[INFO] [stdout]    |     ^^^^^^^^^^ use of unresolved module or unlinked crate `your_crate`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `your_crate`, use `cargo add your_crate` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/certificates/sign.rs - certificates::sign::sign_message (line 41) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `sign_message` in this scope
[INFO] [stdout]   --> src/certificates/sign.rs:45:17
[INFO] [stdout]    |
[INFO] [stdout] 45 | let signature = sign_message(&private_key, data)?;
[INFO] [stdout]    |                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 41 + use cerberus::certificates::sign_message;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `private_key` in this scope
[INFO] [stdout]   --> src/certificates/sign.rs:45:31
[INFO] [stdout]    |
[INFO] [stdout] 45 | let signature = sign_message(&private_key, data)?;
[INFO] [stdout]    |                               ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/core/protocol.rs - core::protocol::CerberusProtocol::decode_message (line 249) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `your_crate`
[INFO] [stdout]    --> src/core/protocol.rs:250:5
[INFO] [stdout]     |
[INFO] [stdout] 250 | use your_crate::CerberusProtocol;
[INFO] [stdout]     |     ^^^^^^^^^^ use of unresolved module or unlinked crate `your_crate`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `your_crate`, use `cargo add your_crate` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/core/protocol.rs - core::protocol::CerberusProtocol (line 38) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `your_crate`
[INFO] [stdout]   --> src/core/protocol.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 39 | use your_crate::{CerberusProtocol, EncryptionConfig};
[INFO] [stdout]    |     ^^^^^^^^^^ use of unresolved module or unlinked crate `your_crate`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `your_crate`, use `cargo add your_crate` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/compresion/mod.rs - compresion::decompress (line 83) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `compress` in this scope
[INFO] [stdout]   --> src/compresion/mod.rs:84:18
[INFO] [stdout]    |
[INFO] [stdout] 84 | let compressed = compress(b"hello").unwrap();
[INFO] [stdout]    |                  ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these functions
[INFO] [stdout]    |
[INFO] [stdout] 83 + use cerberus::compresion::compress;
[INFO] [stdout]    |
[INFO] [stdout] 83 + use zstd::bulk::compress;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `decompress` in this scope
[INFO] [stdout]   --> src/compresion/mod.rs:85:16
[INFO] [stdout]    |
[INFO] [stdout] 85 | let original = decompress(&compressed).unwrap();
[INFO] [stdout]    |                ^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these functions
[INFO] [stdout]    |
[INFO] [stdout] 83 + use cerberus::compresion::decompress;
[INFO] [stdout]    |
[INFO] [stdout] 83 + use zstd::bulk::decompress;
[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 E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/codification/mod.rs - codification::from_base64_string (line 61) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `from_base64_string` in this scope
[INFO] [stdout]   --> src/codification/mod.rs:62:15
[INFO] [stdout]    |
[INFO] [stdout] 62 | let decoded = from_base64_string("aGVsbG8=").unwrap();
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 61 + use cerberus::codification::from_base64_string;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/certificates/certs.rs - certificates::certs::load_public_key_fs (line 33) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `load_public_key_fs` in this scope
[INFO] [stdout]   --> src/certificates/certs.rs:37:22
[INFO] [stdout]    |
[INFO] [stdout] 37 | let public: Public = load_public_key_fs(path).unwrap();
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 33 + use cerberus::certificates::load_public_key_fs;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied
[INFO] [stdout]   --> src/certificates/certs.rs:36:20
[INFO] [stdout]    |
[INFO] [stdout] 36 | let path: String = String::new("/usr/shared/certificates/owner_priv.pem");
[INFO] [stdout]    |                    ^^^^^^^^^^^ ----------------------------------------- unexpected argument of type `&'static str`
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/alloc/src/string.rs:437:17
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]    |
[INFO] [stdout] 36 - let path: String = String::new("/usr/shared/certificates/owner_priv.pem");
[INFO] [stdout] 36 + let path: String = String::new();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/certificates/certs.rs - certificates::certs::load_private_key (line 74) stdout ----
[INFO] [stdout] error: expected `::`, found `:`
[INFO] [stdout]   --> src/certificates/certs.rs:76:8
[INFO] [stdout]    |
[INFO] [stdout] 76 | use std:fs;
[INFO] [stdout]    |        ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import paths are delimited using `::`
[INFO] [stdout] help: use double colon
[INFO] [stdout]    |
[INFO] [stdout] 76 | use std::fs;
[INFO] [stdout]    |         +
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `openssl::pkey::private`
[INFO] [stdout]   --> src/certificates/certs.rs:75:5
[INFO] [stdout]    |
[INFO] [stdout] 75 | use openssl::pkey::private;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^ no `private` in `pkey`
[INFO] [stdout]    |
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]    |
[INFO] [stdout] 75 - use openssl::pkey::private;
[INFO] [stdout] 75 + use openssl::pkey::Private;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `load_private_key` in this scope
[INFO] [stdout]   --> src/certificates/certs.rs:79:24
[INFO] [stdout]    |
[INFO] [stdout] 79 | let private: private = load_private_key(bytes).unwrap();
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 74 + use cerberus::certificates::load_private_key;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/certificates/certs.rs:78:22
[INFO] [stdout]    |
[INFO] [stdout] 78 | let bytes: Vec<u8> = fs::read("/usr/shared/certificates/owner_priv.pem");
[INFO] [stdout]    |            -------   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Vec<u8>`, found `Result<Vec<u8>, Error>`
[INFO] [stdout]    |            |
[INFO] [stdout]    |            expected due to this
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Vec<_>`
[INFO] [stdout]                 found enum `Result<Vec<_>, std::io::Error>`
[INFO] [stdout] help: consider using `Result::expect` to unwrap the `Result<Vec<u8>, std::io::Error>` value, panicking if the value is a `Result::Err`
[INFO] [stdout]    |
[INFO] [stdout] 78 | let bytes: Vec<u8> = fs::read("/usr/shared/certificates/owner_priv.pem").expect("REASON");
[INFO] [stdout]    |                                                                         +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0432.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/crypto/chacha/encrypt.rs - crypto::chacha::encrypt::encrypt_chacha (line 34) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `your_crate`
[INFO] [stdout]   --> src/crypto/chacha/encrypt.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 35 | use your_crate::{encrypt_chacha, EncryptationConfig};
[INFO] [stdout]    |     ^^^^^^^^^^ use of unresolved module or unlinked crate `your_crate`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `your_crate`, use `cargo add your_crate` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/core/protocol.rs - core::protocol::CerberusProtocol::secure_decode (line 366) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `your_crate`
[INFO] [stdout]    --> src/core/protocol.rs:367:5
[INFO] [stdout]     |
[INFO] [stdout] 367 | use your_crate::CerberusProtocol;
[INFO] [stdout]     |     ^^^^^^^^^^ use of unresolved module or unlinked crate `your_crate`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `your_crate`, use `cargo add your_crate` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/crypto/chacha/decrypt.rs - crypto::chacha::decrypt::decrypt_chacha (line 36) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `your_crate`
[INFO] [stdout]   --> src/crypto/chacha/decrypt.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 37 | use your_crate::{decrypt_chacha, EncryptationConfig};
[INFO] [stdout]    |     ^^^^^^^^^^ use of unresolved module or unlinked crate `your_crate`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `your_crate`, use `cargo add your_crate` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/crypto/encrypt.rs - crypto::encrypt::encrypt (line 32) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `your_crate`
[INFO] [stdout]   --> src/crypto/encrypt.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 | use your_crate::{encrypt, EncryptationConfig, EncryptionType};
[INFO] [stdout]    |     ^^^^^^^^^^ use of unresolved module or unlinked crate `your_crate`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `your_crate`, use `cargo add your_crate` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/crypto/aes/decrypt.rs - crypto::aes::decrypt::decryp_aes_gcm (line 31) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `your_crate`
[INFO] [stdout]   --> src/crypto/aes/decrypt.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | use your_crate::{decryp_aes_gcm, EncryptationConfig};
[INFO] [stdout]    |     ^^^^^^^^^^ use of unresolved module or unlinked crate `your_crate`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `your_crate`, use `cargo add your_crate` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/certificates/certs.rs - certificates::certs::load_private_key_fs (line 11) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `load_private_key_fs` in this scope
[INFO] [stdout]   --> src/certificates/certs.rs:15:28
[INFO] [stdout]    |
[INFO] [stdout] 15 | let private_key: Private = load_private_key_fs(path).unwrap();
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 11 + use cerberus::certificates::load_private_key_fs;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied
[INFO] [stdout]   --> src/certificates/certs.rs:14:20
[INFO] [stdout]    |
[INFO] [stdout] 14 | let path: String = String::new("/usr/shared/certificates/owner_priv.pem");
[INFO] [stdout]    |                    ^^^^^^^^^^^ ----------------------------------------- unexpected argument of type `&'static str`
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/alloc/src/string.rs:437:17
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]    |
[INFO] [stdout] 14 - let path: String = String::new("/usr/shared/certificates/owner_priv.pem");
[INFO] [stdout] 14 + let path: String = String::new();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/codification/mod.rs - codification::from_base64 (line 94) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `from_base64` in this scope
[INFO] [stdout]   --> src/codification/mod.rs:96:15
[INFO] [stdout]    |
[INFO] [stdout] 96 | let decoded = from_base64(input).unwrap();
[INFO] [stdout]    |               ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 94 + use cerberus::codification::from_base64;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/crypto/utils.rs - crypto::utils::EncryptationConfig (line 65) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `your_crate`
[INFO] [stdout]   --> src/crypto/utils.rs:66:5
[INFO] [stdout]    |
[INFO] [stdout] 66 | use your_crate::{EncryptationConfig, EncryptionType};
[INFO] [stdout]    |     ^^^^^^^^^^ use of unresolved module or unlinked crate `your_crate`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `your_crate`, use `cargo add your_crate` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/errors/error.rs - errors::error::CerberusError (line 45) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `your_crate`
[INFO] [stdout]   --> src/errors/error.rs:46:5
[INFO] [stdout]    |
[INFO] [stdout] 46 | use your_crate::CerberusError;
[INFO] [stdout]    |     ^^^^^^^^^^ use of unresolved module or unlinked crate `your_crate`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `your_crate`, use `cargo add your_crate` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/crypto/decrypt.rs - crypto::decrypt::decrypt (line 29) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `your_crate`
[INFO] [stdout]   --> src/crypto/decrypt.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 | use your_crate::{decrypt, EncryptationConfig, EncryptionType};
[INFO] [stdout]    |     ^^^^^^^^^^ use of unresolved module or unlinked crate `your_crate`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `your_crate`, use `cargo add your_crate` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/codification/mod.rs - codification::to_base64 (line 26) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `to_base64` in this scope
[INFO] [stdout]   --> src/codification/mod.rs:27:15
[INFO] [stdout]    |
[INFO] [stdout] 27 | let encoded = to_base64(b"hello");
[INFO] [stdout]    |               ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 26 + use cerberus::codification::to_base64;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/core/protocol.rs - core::protocol::CerberusProtocol::secure_encode (line 325) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `your_crate`
[INFO] [stdout]    --> src/core/protocol.rs:326:5
[INFO] [stdout]     |
[INFO] [stdout] 326 | use your_crate::CerberusProtocol;
[INFO] [stdout]     |     ^^^^^^^^^^ use of unresolved module or unlinked crate `your_crate`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `your_crate`, use `cargo add your_crate` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/core/protocol.rs - core::protocol::CerberusProtocol::encode_message (line 181) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `your_crate`
[INFO] [stdout]    --> src/core/protocol.rs:182:5
[INFO] [stdout]     |
[INFO] [stdout] 182 | use your_crate::CerberusProtocol;
[INFO] [stdout]     |     ^^^^^^^^^^ use of unresolved module or unlinked crate `your_crate`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `your_crate`, use `cargo add your_crate` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/certificates/certs.rs - certificates::certs::load_public_key (line 54) stdout ----
[INFO] [stdout] error: expected `::`, found `:`
[INFO] [stdout]   --> src/certificates/certs.rs:56:8
[INFO] [stdout]    |
[INFO] [stdout] 56 | use std:fs;
[INFO] [stdout]    |        ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import paths are delimited using `::`
[INFO] [stdout] help: use double colon
[INFO] [stdout]    |
[INFO] [stdout] 56 | use std::fs;
[INFO] [stdout]    |         +
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `load_public_key` in this scope
[INFO] [stdout]   --> src/certificates/certs.rs:59:22
[INFO] [stdout]    |
[INFO] [stdout] 59 | let public: Public = load_public_key(bytes).unwrap();
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 54 + use cerberus::certificates::load_public_key;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/certificates/certs.rs:58:22
[INFO] [stdout]    |
[INFO] [stdout] 58 | let bytes: Vec<u8> = fs::read("/usr/shared/certificates/owner_priv.pem");
[INFO] [stdout]    |            -------   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Vec<u8>`, found `Result<Vec<u8>, Error>`
[INFO] [stdout]    |            |
[INFO] [stdout]    |            expected due to this
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Vec<_>`
[INFO] [stdout]                 found enum `Result<Vec<_>, std::io::Error>`
[INFO] [stdout] help: consider using `Result::expect` to unwrap the `Result<Vec<u8>, std::io::Error>` value, panicking if the value is a `Result::Err`
[INFO] [stdout]    |
[INFO] [stdout] 58 | let bytes: Vec<u8> = fs::read("/usr/shared/certificates/owner_priv.pem").expect("REASON");
[INFO] [stdout]    |                                                                         +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/crypto/aes/encrypt.rs - crypto::aes::encrypt::encrypt_aes_gcm (line 30) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `your_crate`
[INFO] [stdout]   --> src/crypto/aes/encrypt.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | use your_crate::{encrypt_aes_gcm, EncryptationConfig};
[INFO] [stdout]    |     ^^^^^^^^^^ use of unresolved module or unlinked crate `your_crate`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `your_crate`, use `cargo add your_crate` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/crypto/utils.rs - crypto::utils::check_config (line 101) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `your_crate`
[INFO] [stdout]    --> src/crypto/utils.rs:102:5
[INFO] [stdout]     |
[INFO] [stdout] 102 | use your_crate::{check_config, EncryptationConfig, EncryptionType};
[INFO] [stdout]     |     ^^^^^^^^^^ use of unresolved module or unlinked crate `your_crate`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `your_crate`, use `cargo add your_crate` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/crypto/utils.rs - crypto::utils::EncryptionType (line 30) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `your_crate`
[INFO] [stdout]   --> src/crypto/utils.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | use your_crate::EncryptionType;
[INFO] [stdout]    |     ^^^^^^^^^^ use of unresolved module or unlinked crate `your_crate`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `your_crate`, use `cargo add your_crate` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/certificates/sign.rs - certificates::sign::check_sign (line 91) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `check_sign` in this scope
[INFO] [stdout]   --> src/certificates/sign.rs:92:16
[INFO] [stdout]    |
[INFO] [stdout] 92 | let is_valid = check_sign(&public_key, data, &signature)?;
[INFO] [stdout]    |                ^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 91 + use cerberus::certificates::check_sign;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `public_key` in this scope
[INFO] [stdout]   --> src/certificates/sign.rs:92:28
[INFO] [stdout]    |
[INFO] [stdout] 92 | let is_valid = check_sign(&public_key, data, &signature)?;
[INFO] [stdout]    |                            ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `data` in this scope
[INFO] [stdout]   --> src/certificates/sign.rs:92:40
[INFO] [stdout]    |
[INFO] [stdout] 92 | let is_valid = check_sign(&public_key, data, &signature)?;
[INFO] [stdout]    |                                        ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `signature` in this scope
[INFO] [stdout]   --> src/certificates/sign.rs:92:47
[INFO] [stdout]    |
[INFO] [stdout] 92 | let is_valid = check_sign(&public_key, data, &signature)?;
[INFO] [stdout]    |                                               ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/certificates/certs.rs - certificates::certs::load_private_key (line 74)
[INFO] [stdout]     src/certificates/certs.rs - certificates::certs::load_private_key_fs (line 11)
[INFO] [stdout]     src/certificates/certs.rs - certificates::certs::load_public_key (line 54)
[INFO] [stdout]     src/certificates/certs.rs - certificates::certs::load_public_key_fs (line 33)
[INFO] [stdout]     src/certificates/sign.rs - certificates::sign::check_sign (line 91)
[INFO] [stdout]     src/certificates/sign.rs - certificates::sign::sign_message (line 41)
[INFO] [stdout]     src/codification/mod.rs - codification::from_base64 (line 94)
[INFO] [stdout]     src/codification/mod.rs - codification::from_base64_string (line 61)
[INFO] [stdout]     src/codification/mod.rs - codification::to_base64 (line 26)
[INFO] [stdout]     src/compresion/mod.rs - compresion::compress (line 47)
[INFO] [stdout]     src/compresion/mod.rs - compresion::decompress (line 83)
[INFO] [stdout]     src/core/protocol.rs - core::protocol::CerberusProtocol (line 38)
[INFO] [stdout]     src/core/protocol.rs - core::protocol::CerberusProtocol::decode_message (line 249)
[INFO] [stdout]     src/core/protocol.rs - core::protocol::CerberusProtocol::encode_message (line 181)
[INFO] [stdout]     src/core/protocol.rs - core::protocol::CerberusProtocol::from_session (line 130)
[INFO] [stdout]     src/core/protocol.rs - core::protocol::CerberusProtocol::new (line 93)
[INFO] [stdout]     src/core/protocol.rs - core::protocol::CerberusProtocol::secure_decode (line 366)
[INFO] [stdout]     src/core/protocol.rs - core::protocol::CerberusProtocol::secure_encode (line 325)
[INFO] [stdout]     src/crypto/aes/decrypt.rs - crypto::aes::decrypt::decryp_aes_gcm (line 31)
[INFO] [stdout]     src/crypto/aes/encrypt.rs - crypto::aes::encrypt::encrypt_aes_gcm (line 30)
[INFO] [stdout]     src/crypto/chacha/decrypt.rs - crypto::chacha::decrypt::decrypt_chacha (line 36)
[INFO] [stdout]     src/crypto/chacha/encrypt.rs - crypto::chacha::encrypt::encrypt_chacha (line 34)
[INFO] [stdout]     src/crypto/decrypt.rs - crypto::decrypt::decrypt (line 29)
[INFO] [stdout]     src/crypto/encrypt.rs - crypto::encrypt::encrypt (line 32)
[INFO] [stdout]     src/crypto/utils.rs - crypto::utils::EncryptationConfig (line 65)
[INFO] [stdout]     src/crypto/utils.rs - crypto::utils::EncryptionType (line 30)
[INFO] [stdout]     src/crypto/utils.rs - crypto::utils::check_config (line 101)
[INFO] [stdout]     src/errors/error.rs - errors::error::CerberusError (line 45)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 28 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.63s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 0.86s; merged doctests compilation took 0.22s
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "634c2ce210d562c2dbb1c4c77d997335652fadec3aad9cdbee341a8d646520e7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "634c2ce210d562c2dbb1c4c77d997335652fadec3aad9cdbee341a8d646520e7", kill_on_drop: false }`
[INFO] [stdout] 634c2ce210d562c2dbb1c4c77d997335652fadec3aad9cdbee341a8d646520e7
