[INFO] fetching crate cryptr 0.8.0... [INFO] testing cryptr-0.8.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate cryptr 0.8.0 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate cryptr 0.8.0 [INFO] finished tweaking crates.io crate cryptr 0.8.0 [INFO] tweaked toml for crates.io crate cryptr 0.8.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cryptr 0.8.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate cryptr 0.8.0 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5eb3d305835f5d35fc96481944a5416c975f7db91a16a6391e12eb7d7c677a14 [INFO] running `Command { std: "docker" "start" "-a" "5eb3d305835f5d35fc96481944a5416c975f7db91a16a6391e12eb7d7c677a14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5eb3d305835f5d35fc96481944a5416c975f7db91a16a6391e12eb7d7c677a14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5eb3d305835f5d35fc96481944a5416c975f7db91a16a6391e12eb7d7c677a14", kill_on_drop: false }` [INFO] [stdout] 5eb3d305835f5d35fc96481944a5416c975f7db91a16a6391e12eb7d7c677a14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 98bac16a96f734e1b2d1138ec808c0c9ef2bf070b8eac9ce510c7c9d86c4d086 [INFO] running `Command { std: "docker" "start" "-a" "98bac16a96f734e1b2d1138ec808c0c9ef2bf070b8eac9ce510c7c9d86c4d086", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling proc-macro2 v1.0.96 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling virtue v0.0.18 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling unty v0.0.4 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling bincode_derive v2.0.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling bincode v2.0.1 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling nanorand v0.7.0 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling poly1305 v0.8.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling chacha20 v0.9.1 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling chacha20poly1305 v0.10.1 [INFO] [stderr] Compiling argon2 v0.5.3 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling cryptr v0.8.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.18s [INFO] running `Command { std: "docker" "inspect" "98bac16a96f734e1b2d1138ec808c0c9ef2bf070b8eac9ce510c7c9d86c4d086", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98bac16a96f734e1b2d1138ec808c0c9ef2bf070b8eac9ce510c7c9d86c4d086", kill_on_drop: false }` [INFO] [stdout] 98bac16a96f734e1b2d1138ec808c0c9ef2bf070b8eac9ce510c7c9d86c4d086 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f737bd87bbe0b2699df50e1cbedd7ef84a3e51718e19fdfe2873466a6a845b4 [INFO] running `Command { std: "docker" "start" "-a" "6f737bd87bbe0b2699df50e1cbedd7ef84a3e51718e19fdfe2873466a6a845b4", kill_on_drop: false }` [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling winnow v0.7.12 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling rstest_macros v0.25.0 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling cryptr v0.8.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling rstest v0.25.0 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stdout] error[E0433]: failed to resolve: unresolved import [INFO] [stdout] --> src/value.rs:663:16 [INFO] [stdout] | [INFO] [stdout] 663 | use crate::stream::reader::channel_reader::ChannelReader; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `futures::stream` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 30 | #[cfg(feature = "streaming")] [INFO] [stdout] | --------------------- the item is gated behind the `streaming` feature [INFO] [stdout] 31 | pub mod stream; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: unresolved import [INFO] [stdout] --> src/value.rs:664:16 [INFO] [stdout] | [INFO] [stdout] 664 | use crate::stream::reader::file_reader::FileReader; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `futures::stream` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 30 | #[cfg(feature = "streaming")] [INFO] [stdout] | --------------------- the item is gated behind the `streaming` feature [INFO] [stdout] 31 | pub mod stream; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: unresolved import [INFO] [stdout] --> src/value.rs:665:16 [INFO] [stdout] | [INFO] [stdout] 665 | use crate::stream::reader::memory_reader::MemoryReader; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `futures::stream` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 30 | #[cfg(feature = "streaming")] [INFO] [stdout] | --------------------- the item is gated behind the `streaming` feature [INFO] [stdout] 31 | pub mod stream; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: unresolved import [INFO] [stdout] --> src/value.rs:666:16 [INFO] [stdout] | [INFO] [stdout] 666 | use crate::stream::reader::s3_reader::S3Reader; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `futures::stream` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 30 | #[cfg(feature = "streaming")] [INFO] [stdout] | --------------------- the item is gated behind the `streaming` feature [INFO] [stdout] 31 | pub mod stream; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: unresolved import [INFO] [stdout] --> src/value.rs:667:16 [INFO] [stdout] | [INFO] [stdout] 667 | use crate::stream::writer::channel_writer::ChannelWriter; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `futures::stream` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 30 | #[cfg(feature = "streaming")] [INFO] [stdout] | --------------------- the item is gated behind the `streaming` feature [INFO] [stdout] 31 | pub mod stream; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: unresolved import [INFO] [stdout] --> src/value.rs:668:16 [INFO] [stdout] | [INFO] [stdout] 668 | use crate::stream::writer::file_writer::FileWriter; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `futures::stream` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 30 | #[cfg(feature = "streaming")] [INFO] [stdout] | --------------------- the item is gated behind the `streaming` feature [INFO] [stdout] 31 | pub mod stream; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: unresolved import [INFO] [stdout] --> src/value.rs:669:16 [INFO] [stdout] | [INFO] [stdout] 669 | use crate::stream::writer::memory_writer::MemoryWriter; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `futures::stream` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 30 | #[cfg(feature = "streaming")] [INFO] [stdout] | --------------------- the item is gated behind the `streaming` feature [INFO] [stdout] 31 | pub mod stream; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: unresolved import [INFO] [stdout] --> src/value.rs:670:16 [INFO] [stdout] | [INFO] [stdout] 670 | use crate::stream::writer::s3_writer::S3Writer; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `futures::stream` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 30 | #[cfg(feature = "streaming")] [INFO] [stdout] | --------------------- the item is gated behind the `streaming` feature [INFO] [stdout] 31 | pub mod stream; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `s3_simple` [INFO] [stdout] --> src/value.rs:673:9 [INFO] [stdout] | [INFO] [stdout] 673 | use s3_simple::*; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `s3_simple` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `s3_simple`, use `cargo add s3_simple` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `encrypt_stream_with_chunk_size` found for struct `value::EncValue` in the current scope [INFO] [stdout] --> src/value.rs:728:19 [INFO] [stdout] | [INFO] [stdout] 206 | pub struct EncValue { [INFO] [stdout] | ------------------- function or associated item `encrypt_stream_with_chunk_size` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 728 | EncValue::encrypt_stream_with_chunk_size(reader, writer, chunk_size) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `value::EncValue` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `value::EncValue` consider using one of the following associated functions: [INFO] [stdout] value::EncValue::encrypt [INFO] [stdout] value::EncValue::encrypt_with_password [INFO] [stdout] value::EncValue::encrypt_with_keys [INFO] [stdout] value::EncValue::encrypt_with_key_id [INFO] [stdout] value::EncValue::try_from_bytes [INFO] [stdout] --> src/value.rs:225:5 [INFO] [stdout] | [INFO] [stdout] 225 | pub fn encrypt(value: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | pub fn encrypt_with_password(value: &[u8], password: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 281 | pub fn encrypt_with_keys(value: &[u8], enc_keys: &EncKeys) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | pub fn encrypt_with_key_id(value: &[u8], enc_key_id: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 364 | pub fn try_from_bytes(bytes: Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is an associated function `encrypt_with_key_id` with a similar name [INFO] [stdout] --> src/value.rs:290:5 [INFO] [stdout] | [INFO] [stdout] 290 | pub fn encrypt_with_key_id(value: &[u8], enc_key_id: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/value.rs:728:9 [INFO] [stdout] | [INFO] [stdout] 728 | / EncValue::encrypt_stream_with_chunk_size(reader, writer, chunk_size) [INFO] [stdout] 729 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decrypt_stream` found for struct `value::EncValue` in the current scope [INFO] [stdout] --> src/value.rs:739:19 [INFO] [stdout] | [INFO] [stdout] 206 | pub struct EncValue { [INFO] [stdout] | ------------------- function or associated item `decrypt_stream` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 739 | EncValue::decrypt_stream(reader, writer).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `value::EncValue` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `value::EncValue` consider using one of the following associated functions: [INFO] [stdout] value::EncValue::encrypt [INFO] [stdout] value::EncValue::encrypt_with_password [INFO] [stdout] value::EncValue::encrypt_with_keys [INFO] [stdout] value::EncValue::encrypt_with_key_id [INFO] [stdout] value::EncValue::try_from_bytes [INFO] [stdout] --> src/value.rs:225:5 [INFO] [stdout] | [INFO] [stdout] 225 | pub fn encrypt(value: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | pub fn encrypt_with_password(value: &[u8], password: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 281 | pub fn encrypt_with_keys(value: &[u8], enc_keys: &EncKeys) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | pub fn encrypt_with_key_id(value: &[u8], enc_key_id: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 364 | pub fn try_from_bytes(bytes: Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a method `decrypt` with a similar name, but with different arguments [INFO] [stdout] --> src/value.rs:299:5 [INFO] [stdout] | [INFO] [stdout] 299 | pub fn decrypt(mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/value.rs:739:9 [INFO] [stdout] | [INFO] [stdout] 739 | EncValue::decrypt_stream(reader, writer).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `encrypt_stream_with_chunk_size` found for struct `value::EncValue` in the current scope [INFO] [stdout] --> src/value.rs:768:19 [INFO] [stdout] | [INFO] [stdout] 206 | pub struct EncValue { [INFO] [stdout] | ------------------- function or associated item `encrypt_stream_with_chunk_size` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 768 | EncValue::encrypt_stream_with_chunk_size(reader, writer, chunk_size) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `value::EncValue` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `value::EncValue` consider using one of the following associated functions: [INFO] [stdout] value::EncValue::encrypt [INFO] [stdout] value::EncValue::encrypt_with_password [INFO] [stdout] value::EncValue::encrypt_with_keys [INFO] [stdout] value::EncValue::encrypt_with_key_id [INFO] [stdout] value::EncValue::try_from_bytes [INFO] [stdout] --> src/value.rs:225:5 [INFO] [stdout] | [INFO] [stdout] 225 | pub fn encrypt(value: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | pub fn encrypt_with_password(value: &[u8], password: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 281 | pub fn encrypt_with_keys(value: &[u8], enc_keys: &EncKeys) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | pub fn encrypt_with_key_id(value: &[u8], enc_key_id: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 364 | pub fn try_from_bytes(bytes: Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is an associated function `encrypt_with_key_id` with a similar name [INFO] [stdout] --> src/value.rs:290:5 [INFO] [stdout] | [INFO] [stdout] 290 | pub fn encrypt_with_key_id(value: &[u8], enc_key_id: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/value.rs:768:9 [INFO] [stdout] | [INFO] [stdout] 768 | / EncValue::encrypt_stream_with_chunk_size(reader, writer, chunk_size) [INFO] [stdout] 769 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decrypt_stream` found for struct `value::EncValue` in the current scope [INFO] [stdout] --> src/value.rs:779:19 [INFO] [stdout] | [INFO] [stdout] 206 | pub struct EncValue { [INFO] [stdout] | ------------------- function or associated item `decrypt_stream` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 779 | EncValue::decrypt_stream(reader, writer).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `value::EncValue` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `value::EncValue` consider using one of the following associated functions: [INFO] [stdout] value::EncValue::encrypt [INFO] [stdout] value::EncValue::encrypt_with_password [INFO] [stdout] value::EncValue::encrypt_with_keys [INFO] [stdout] value::EncValue::encrypt_with_key_id [INFO] [stdout] value::EncValue::try_from_bytes [INFO] [stdout] --> src/value.rs:225:5 [INFO] [stdout] | [INFO] [stdout] 225 | pub fn encrypt(value: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | pub fn encrypt_with_password(value: &[u8], password: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 281 | pub fn encrypt_with_keys(value: &[u8], enc_keys: &EncKeys) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | pub fn encrypt_with_key_id(value: &[u8], enc_key_id: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 364 | pub fn try_from_bytes(bytes: Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a method `decrypt` with a similar name, but with different arguments [INFO] [stdout] --> src/value.rs:299:5 [INFO] [stdout] | [INFO] [stdout] 299 | pub fn decrypt(mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/value.rs:779:9 [INFO] [stdout] | [INFO] [stdout] 779 | EncValue::decrypt_stream(reader, writer).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `encrypt_stream_with_chunk_size` found for struct `value::EncValue` in the current scope [INFO] [stdout] --> src/value.rs:835:19 [INFO] [stdout] | [INFO] [stdout] 206 | pub struct EncValue { [INFO] [stdout] | ------------------- function or associated item `encrypt_stream_with_chunk_size` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 835 | EncValue::encrypt_stream_with_chunk_size(reader, writer, chunk_size) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `value::EncValue` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `value::EncValue` consider using one of the following associated functions: [INFO] [stdout] value::EncValue::encrypt [INFO] [stdout] value::EncValue::encrypt_with_password [INFO] [stdout] value::EncValue::encrypt_with_keys [INFO] [stdout] value::EncValue::encrypt_with_key_id [INFO] [stdout] value::EncValue::try_from_bytes [INFO] [stdout] --> src/value.rs:225:5 [INFO] [stdout] | [INFO] [stdout] 225 | pub fn encrypt(value: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | pub fn encrypt_with_password(value: &[u8], password: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 281 | pub fn encrypt_with_keys(value: &[u8], enc_keys: &EncKeys) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | pub fn encrypt_with_key_id(value: &[u8], enc_key_id: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 364 | pub fn try_from_bytes(bytes: Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is an associated function `encrypt_with_key_id` with a similar name [INFO] [stdout] --> src/value.rs:290:5 [INFO] [stdout] | [INFO] [stdout] 290 | pub fn encrypt_with_key_id(value: &[u8], enc_key_id: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/value.rs:835:9 [INFO] [stdout] | [INFO] [stdout] 835 | / EncValue::encrypt_stream_with_chunk_size(reader, writer, chunk_size) [INFO] [stdout] 836 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decrypt_stream` found for struct `value::EncValue` in the current scope [INFO] [stdout] --> src/value.rs:848:19 [INFO] [stdout] | [INFO] [stdout] 206 | pub struct EncValue { [INFO] [stdout] | ------------------- function or associated item `decrypt_stream` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 848 | EncValue::decrypt_stream(reader, writer).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `value::EncValue` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `value::EncValue` consider using one of the following associated functions: [INFO] [stdout] value::EncValue::encrypt [INFO] [stdout] value::EncValue::encrypt_with_password [INFO] [stdout] value::EncValue::encrypt_with_keys [INFO] [stdout] value::EncValue::encrypt_with_key_id [INFO] [stdout] value::EncValue::try_from_bytes [INFO] [stdout] --> src/value.rs:225:5 [INFO] [stdout] | [INFO] [stdout] 225 | pub fn encrypt(value: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | pub fn encrypt_with_password(value: &[u8], password: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 281 | pub fn encrypt_with_keys(value: &[u8], enc_keys: &EncKeys) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | pub fn encrypt_with_key_id(value: &[u8], enc_key_id: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 364 | pub fn try_from_bytes(bytes: Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a method `decrypt` with a similar name, but with different arguments [INFO] [stdout] --> src/value.rs:299:5 [INFO] [stdout] | [INFO] [stdout] 299 | pub fn decrypt(mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/value.rs:848:9 [INFO] [stdout] | [INFO] [stdout] 848 | EncValue::decrypt_stream(reader, writer).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `encrypt_stream` found for struct `value::EncValue` in the current scope [INFO] [stdout] --> src/value.rs:904:19 [INFO] [stdout] | [INFO] [stdout] 206 | pub struct EncValue { [INFO] [stdout] | ------------------- function or associated item `encrypt_stream` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 904 | EncValue::encrypt_stream(reader, writer).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `value::EncValue` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `value::EncValue` consider using one of the following associated functions: [INFO] [stdout] value::EncValue::encrypt [INFO] [stdout] value::EncValue::encrypt_with_password [INFO] [stdout] value::EncValue::encrypt_with_keys [INFO] [stdout] value::EncValue::encrypt_with_key_id [INFO] [stdout] value::EncValue::try_from_bytes [INFO] [stdout] --> src/value.rs:225:5 [INFO] [stdout] | [INFO] [stdout] 225 | pub fn encrypt(value: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | pub fn encrypt_with_password(value: &[u8], password: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 281 | pub fn encrypt_with_keys(value: &[u8], enc_keys: &EncKeys) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | pub fn encrypt_with_key_id(value: &[u8], enc_key_id: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 364 | pub fn try_from_bytes(bytes: Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is an associated function `encrypt` with a similar name [INFO] [stdout] --> src/value.rs:225:5 [INFO] [stdout] | [INFO] [stdout] 225 | pub fn encrypt(value: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/value.rs:904:9 [INFO] [stdout] | [INFO] [stdout] 904 | EncValue::encrypt_stream(reader, writer).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decrypt_stream` found for struct `value::EncValue` in the current scope [INFO] [stdout] --> src/value.rs:916:19 [INFO] [stdout] | [INFO] [stdout] 206 | pub struct EncValue { [INFO] [stdout] | ------------------- function or associated item `decrypt_stream` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 916 | EncValue::decrypt_stream(reader, writer).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `value::EncValue` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `value::EncValue` consider using one of the following associated functions: [INFO] [stdout] value::EncValue::encrypt [INFO] [stdout] value::EncValue::encrypt_with_password [INFO] [stdout] value::EncValue::encrypt_with_keys [INFO] [stdout] value::EncValue::encrypt_with_key_id [INFO] [stdout] value::EncValue::try_from_bytes [INFO] [stdout] --> src/value.rs:225:5 [INFO] [stdout] | [INFO] [stdout] 225 | pub fn encrypt(value: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | pub fn encrypt_with_password(value: &[u8], password: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 281 | pub fn encrypt_with_keys(value: &[u8], enc_keys: &EncKeys) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | pub fn encrypt_with_key_id(value: &[u8], enc_key_id: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 364 | pub fn try_from_bytes(bytes: Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a method `decrypt` with a similar name, but with different arguments [INFO] [stdout] --> src/value.rs:299:5 [INFO] [stdout] | [INFO] [stdout] 299 | pub fn decrypt(mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/value.rs:916:9 [INFO] [stdout] | [INFO] [stdout] 916 | EncValue::decrypt_stream(reader, writer).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `try_enc_key_to_params` found for struct `kdf::KdfValue` in the current scope [INFO] [stdout] --> src/kdf.rs:81:32 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct KdfValue { [INFO] [stdout] | ------------------- function or associated item `try_enc_key_to_params` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 81 | let params = KdfValue::try_enc_key_to_params(&key_id).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `kdf::KdfValue` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `kdf::KdfValue` consider using one of the following associated functions: [INFO] [stdout] kdf::KdfValue::new [INFO] [stdout] kdf::KdfValue::new_with_params [INFO] [stdout] --> src/kdf.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(password: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn new_with_params(password: &str, params: Params) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/value.rs:944:45 [INFO] [stdout] | [INFO] [stdout] 944 | tokio::task::spawn(async move { tx.send(Ok(c1)).await.unwrap() }); [INFO] [stdout] | ^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/value.rs:944:45 [INFO] [stdout] | [INFO] [stdout] 944 | tokio::task::spawn(async move { tx.send(Ok(c1)).await.unwrap() }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `encrypt_stream_with_chunk_size` found for struct `value::EncValue` in the current scope [INFO] [stdout] --> src/value.rs:946:23 [INFO] [stdout] | [INFO] [stdout] 206 | pub struct EncValue { [INFO] [stdout] | ------------------- function or associated item `encrypt_stream_with_chunk_size` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 946 | EncValue::encrypt_stream_with_chunk_size(reader, writer, chunk_size.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `value::EncValue` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `value::EncValue` consider using one of the following associated functions: [INFO] [stdout] value::EncValue::encrypt [INFO] [stdout] value::EncValue::encrypt_with_password [INFO] [stdout] value::EncValue::encrypt_with_keys [INFO] [stdout] value::EncValue::encrypt_with_key_id [INFO] [stdout] value::EncValue::try_from_bytes [INFO] [stdout] --> src/value.rs:225:5 [INFO] [stdout] | [INFO] [stdout] 225 | pub fn encrypt(value: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | pub fn encrypt_with_password(value: &[u8], password: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 281 | pub fn encrypt_with_keys(value: &[u8], enc_keys: &EncKeys) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | pub fn encrypt_with_key_id(value: &[u8], enc_key_id: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 364 | pub fn try_from_bytes(bytes: Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is an associated function `encrypt_with_key_id` with a similar name [INFO] [stdout] --> src/value.rs:290:5 [INFO] [stdout] | [INFO] [stdout] 290 | pub fn encrypt_with_key_id(value: &[u8], enc_key_id: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/value.rs:946:13 [INFO] [stdout] | [INFO] [stdout] 946 | / EncValue::encrypt_stream_with_chunk_size(reader, writer, chunk_size.clone()) [INFO] [stdout] 947 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decrypt_stream` found for struct `value::EncValue` in the current scope [INFO] [stdout] --> src/value.rs:953:23 [INFO] [stdout] | [INFO] [stdout] 206 | pub struct EncValue { [INFO] [stdout] | ------------------- function or associated item `decrypt_stream` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 953 | EncValue::decrypt_stream(reader, writer).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `value::EncValue` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `value::EncValue` consider using one of the following associated functions: [INFO] [stdout] value::EncValue::encrypt [INFO] [stdout] value::EncValue::encrypt_with_password [INFO] [stdout] value::EncValue::encrypt_with_keys [INFO] [stdout] value::EncValue::encrypt_with_key_id [INFO] [stdout] value::EncValue::try_from_bytes [INFO] [stdout] --> src/value.rs:225:5 [INFO] [stdout] | [INFO] [stdout] 225 | pub fn encrypt(value: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | pub fn encrypt_with_password(value: &[u8], password: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 281 | pub fn encrypt_with_keys(value: &[u8], enc_keys: &EncKeys) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | pub fn encrypt_with_key_id(value: &[u8], enc_key_id: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 364 | pub fn try_from_bytes(bytes: Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a method `decrypt` with a similar name, but with different arguments [INFO] [stdout] --> src/value.rs:299:5 [INFO] [stdout] | [INFO] [stdout] 299 | pub fn decrypt(mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/value.rs:953:13 [INFO] [stdout] | [INFO] [stdout] 953 | EncValue::decrypt_stream(reader, writer).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/value.rs:969:45 [INFO] [stdout] | [INFO] [stdout] 969 | tokio::task::spawn(async move { tx.send(Ok(c1)).await.unwrap() }); [INFO] [stdout] | ^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/value.rs:969:45 [INFO] [stdout] | [INFO] [stdout] 969 | tokio::task::spawn(async move { tx.send(Ok(c1)).await.unwrap() }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `encrypt_stream_with_chunk_size` found for struct `value::EncValue` in the current scope [INFO] [stdout] --> src/value.rs:971:23 [INFO] [stdout] | [INFO] [stdout] 206 | pub struct EncValue { [INFO] [stdout] | ------------------- function or associated item `encrypt_stream_with_chunk_size` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 971 | EncValue::encrypt_stream_with_chunk_size(reader, writer, chunk_size.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `value::EncValue` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `value::EncValue` consider using one of the following associated functions: [INFO] [stdout] value::EncValue::encrypt [INFO] [stdout] value::EncValue::encrypt_with_password [INFO] [stdout] value::EncValue::encrypt_with_keys [INFO] [stdout] value::EncValue::encrypt_with_key_id [INFO] [stdout] value::EncValue::try_from_bytes [INFO] [stdout] --> src/value.rs:225:5 [INFO] [stdout] | [INFO] [stdout] 225 | pub fn encrypt(value: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | pub fn encrypt_with_password(value: &[u8], password: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 281 | pub fn encrypt_with_keys(value: &[u8], enc_keys: &EncKeys) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | pub fn encrypt_with_key_id(value: &[u8], enc_key_id: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 364 | pub fn try_from_bytes(bytes: Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is an associated function `encrypt_with_key_id` with a similar name [INFO] [stdout] --> src/value.rs:290:5 [INFO] [stdout] | [INFO] [stdout] 290 | pub fn encrypt_with_key_id(value: &[u8], enc_key_id: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/value.rs:971:13 [INFO] [stdout] | [INFO] [stdout] 971 | / EncValue::encrypt_stream_with_chunk_size(reader, writer, chunk_size.clone()) [INFO] [stdout] 972 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decrypt_stream` found for struct `value::EncValue` in the current scope [INFO] [stdout] --> src/value.rs:978:23 [INFO] [stdout] | [INFO] [stdout] 206 | pub struct EncValue { [INFO] [stdout] | ------------------- function or associated item `decrypt_stream` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 978 | EncValue::decrypt_stream(reader, writer).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `value::EncValue` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `value::EncValue` consider using one of the following associated functions: [INFO] [stdout] value::EncValue::encrypt [INFO] [stdout] value::EncValue::encrypt_with_password [INFO] [stdout] value::EncValue::encrypt_with_keys [INFO] [stdout] value::EncValue::encrypt_with_key_id [INFO] [stdout] value::EncValue::try_from_bytes [INFO] [stdout] --> src/value.rs:225:5 [INFO] [stdout] | [INFO] [stdout] 225 | pub fn encrypt(value: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | pub fn encrypt_with_password(value: &[u8], password: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 281 | pub fn encrypt_with_keys(value: &[u8], enc_keys: &EncKeys) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | pub fn encrypt_with_key_id(value: &[u8], enc_key_id: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 364 | pub fn try_from_bytes(bytes: Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a method `decrypt` with a similar name, but with different arguments [INFO] [stdout] --> src/value.rs:299:5 [INFO] [stdout] | [INFO] [stdout] 299 | pub fn decrypt(mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/value.rs:978:13 [INFO] [stdout] | [INFO] [stdout] 978 | EncValue::decrypt_stream(reader, writer).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/value.rs:1002:17 [INFO] [stdout] | [INFO] [stdout] 1002 | tx.send(Ok(c1)).await.unwrap(); [INFO] [stdout] | ^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/value.rs:1002:17 [INFO] [stdout] | [INFO] [stdout] 1002 | tx.send(Ok(c1)).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/value.rs:1003:17 [INFO] [stdout] | [INFO] [stdout] 1003 | tx.send(Ok(c2)).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/value.rs:1004:17 [INFO] [stdout] | [INFO] [stdout] 1004 | tx.send(Ok(c3)).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `encrypt_stream_with_chunk_size` found for struct `value::EncValue` in the current scope [INFO] [stdout] --> src/value.rs:1007:23 [INFO] [stdout] | [INFO] [stdout] 206 | pub struct EncValue { [INFO] [stdout] | ------------------- function or associated item `encrypt_stream_with_chunk_size` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 1007 | EncValue::encrypt_stream_with_chunk_size(reader, writer, chunk_size.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `value::EncValue` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `value::EncValue` consider using one of the following associated functions: [INFO] [stdout] value::EncValue::encrypt [INFO] [stdout] value::EncValue::encrypt_with_password [INFO] [stdout] value::EncValue::encrypt_with_keys [INFO] [stdout] value::EncValue::encrypt_with_key_id [INFO] [stdout] value::EncValue::try_from_bytes [INFO] [stdout] --> src/value.rs:225:5 [INFO] [stdout] | [INFO] [stdout] 225 | pub fn encrypt(value: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | pub fn encrypt_with_password(value: &[u8], password: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 281 | pub fn encrypt_with_keys(value: &[u8], enc_keys: &EncKeys) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | pub fn encrypt_with_key_id(value: &[u8], enc_key_id: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 364 | pub fn try_from_bytes(bytes: Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is an associated function `encrypt_with_key_id` with a similar name [INFO] [stdout] --> src/value.rs:290:5 [INFO] [stdout] | [INFO] [stdout] 290 | pub fn encrypt_with_key_id(value: &[u8], enc_key_id: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/value.rs:1007:13 [INFO] [stdout] | [INFO] [stdout] 1007 | / EncValue::encrypt_stream_with_chunk_size(reader, writer, chunk_size.clone()) [INFO] [stdout] 1008 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decrypt_stream` found for struct `value::EncValue` in the current scope [INFO] [stdout] --> src/value.rs:1014:23 [INFO] [stdout] | [INFO] [stdout] 206 | pub struct EncValue { [INFO] [stdout] | ------------------- function or associated item `decrypt_stream` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 1014 | EncValue::decrypt_stream(reader, writer).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `value::EncValue` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `value::EncValue` consider using one of the following associated functions: [INFO] [stdout] value::EncValue::encrypt [INFO] [stdout] value::EncValue::encrypt_with_password [INFO] [stdout] value::EncValue::encrypt_with_keys [INFO] [stdout] value::EncValue::encrypt_with_key_id [INFO] [stdout] value::EncValue::try_from_bytes [INFO] [stdout] --> src/value.rs:225:5 [INFO] [stdout] | [INFO] [stdout] 225 | pub fn encrypt(value: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | pub fn encrypt_with_password(value: &[u8], password: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 281 | pub fn encrypt_with_keys(value: &[u8], enc_keys: &EncKeys) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | pub fn encrypt_with_key_id(value: &[u8], enc_key_id: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 364 | pub fn try_from_bytes(bytes: Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a method `decrypt` with a similar name, but with different arguments [INFO] [stdout] --> src/value.rs:299:5 [INFO] [stdout] | [INFO] [stdout] 299 | pub fn decrypt(mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/value.rs:1014:13 [INFO] [stdout] | [INFO] [stdout] 1014 | EncValue::decrypt_stream(reader, writer).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/value.rs:1039:17 [INFO] [stdout] | [INFO] [stdout] 1039 | tx.send(Ok(c1)).await.unwrap(); [INFO] [stdout] | ^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/value.rs:1039:17 [INFO] [stdout] | [INFO] [stdout] 1039 | tx.send(Ok(c1)).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/value.rs:1040:17 [INFO] [stdout] | [INFO] [stdout] 1040 | tx.send(Ok(c2)).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/value.rs:1041:17 [INFO] [stdout] | [INFO] [stdout] 1041 | tx.send(Ok(c3)).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `encrypt_stream_with_chunk_size` found for struct `value::EncValue` in the current scope [INFO] [stdout] --> src/value.rs:1044:23 [INFO] [stdout] | [INFO] [stdout] 206 | pub struct EncValue { [INFO] [stdout] | ------------------- function or associated item `encrypt_stream_with_chunk_size` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 1044 | EncValue::encrypt_stream_with_chunk_size(reader, writer, chunk_size.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `value::EncValue` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `value::EncValue` consider using one of the following associated functions: [INFO] [stdout] value::EncValue::encrypt [INFO] [stdout] value::EncValue::encrypt_with_password [INFO] [stdout] value::EncValue::encrypt_with_keys [INFO] [stdout] value::EncValue::encrypt_with_key_id [INFO] [stdout] value::EncValue::try_from_bytes [INFO] [stdout] --> src/value.rs:225:5 [INFO] [stdout] | [INFO] [stdout] 225 | pub fn encrypt(value: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | pub fn encrypt_with_password(value: &[u8], password: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 281 | pub fn encrypt_with_keys(value: &[u8], enc_keys: &EncKeys) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | pub fn encrypt_with_key_id(value: &[u8], enc_key_id: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 364 | pub fn try_from_bytes(bytes: Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is an associated function `encrypt_with_key_id` with a similar name [INFO] [stdout] --> src/value.rs:290:5 [INFO] [stdout] | [INFO] [stdout] 290 | pub fn encrypt_with_key_id(value: &[u8], enc_key_id: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/value.rs:1044:13 [INFO] [stdout] | [INFO] [stdout] 1044 | / EncValue::encrypt_stream_with_chunk_size(reader, writer, chunk_size.clone()) [INFO] [stdout] 1045 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decrypt_stream` found for struct `value::EncValue` in the current scope [INFO] [stdout] --> src/value.rs:1051:23 [INFO] [stdout] | [INFO] [stdout] 206 | pub struct EncValue { [INFO] [stdout] | ------------------- function or associated item `decrypt_stream` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 1051 | EncValue::decrypt_stream(reader, writer).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `value::EncValue` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `value::EncValue` consider using one of the following associated functions: [INFO] [stdout] value::EncValue::encrypt [INFO] [stdout] value::EncValue::encrypt_with_password [INFO] [stdout] value::EncValue::encrypt_with_keys [INFO] [stdout] value::EncValue::encrypt_with_key_id [INFO] [stdout] value::EncValue::try_from_bytes [INFO] [stdout] --> src/value.rs:225:5 [INFO] [stdout] | [INFO] [stdout] 225 | pub fn encrypt(value: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | pub fn encrypt_with_password(value: &[u8], password: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 281 | pub fn encrypt_with_keys(value: &[u8], enc_keys: &EncKeys) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | pub fn encrypt_with_key_id(value: &[u8], enc_key_id: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 364 | pub fn try_from_bytes(bytes: Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a method `decrypt` with a similar name, but with different arguments [INFO] [stdout] --> src/value.rs:299:5 [INFO] [stdout] | [INFO] [stdout] 299 | pub fn decrypt(mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/value.rs:1051:13 [INFO] [stdout] | [INFO] [stdout] 1051 | EncValue::decrypt_stream(reader, writer).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/value.rs:1076:17 [INFO] [stdout] | [INFO] [stdout] 1076 | tx.send(Ok(c1)).await.unwrap(); [INFO] [stdout] | ^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/value.rs:1076:17 [INFO] [stdout] | [INFO] [stdout] 1076 | tx.send(Ok(c1)).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/value.rs:1077:17 [INFO] [stdout] | [INFO] [stdout] 1077 | tx.send(Ok(c2)).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/value.rs:1078:17 [INFO] [stdout] | [INFO] [stdout] 1078 | tx.send(Ok(c3)).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `encrypt_stream_with_chunk_size` found for struct `value::EncValue` in the current scope [INFO] [stdout] --> src/value.rs:1081:23 [INFO] [stdout] | [INFO] [stdout] 206 | pub struct EncValue { [INFO] [stdout] | ------------------- function or associated item `encrypt_stream_with_chunk_size` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 1081 | EncValue::encrypt_stream_with_chunk_size(reader, writer, chunk_size.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `value::EncValue` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `value::EncValue` consider using one of the following associated functions: [INFO] [stdout] value::EncValue::encrypt [INFO] [stdout] value::EncValue::encrypt_with_password [INFO] [stdout] value::EncValue::encrypt_with_keys [INFO] [stdout] value::EncValue::encrypt_with_key_id [INFO] [stdout] value::EncValue::try_from_bytes [INFO] [stdout] --> src/value.rs:225:5 [INFO] [stdout] | [INFO] [stdout] 225 | pub fn encrypt(value: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | pub fn encrypt_with_password(value: &[u8], password: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 281 | pub fn encrypt_with_keys(value: &[u8], enc_keys: &EncKeys) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | pub fn encrypt_with_key_id(value: &[u8], enc_key_id: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 364 | pub fn try_from_bytes(bytes: Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is an associated function `encrypt_with_key_id` with a similar name [INFO] [stdout] --> src/value.rs:290:5 [INFO] [stdout] | [INFO] [stdout] 290 | pub fn encrypt_with_key_id(value: &[u8], enc_key_id: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/value.rs:1081:13 [INFO] [stdout] | [INFO] [stdout] 1081 | / EncValue::encrypt_stream_with_chunk_size(reader, writer, chunk_size.clone()) [INFO] [stdout] 1082 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decrypt_stream` found for struct `value::EncValue` in the current scope [INFO] [stdout] --> src/value.rs:1088:23 [INFO] [stdout] | [INFO] [stdout] 206 | pub struct EncValue { [INFO] [stdout] | ------------------- function or associated item `decrypt_stream` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 1088 | EncValue::decrypt_stream(reader, writer).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `value::EncValue` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `value::EncValue` consider using one of the following associated functions: [INFO] [stdout] value::EncValue::encrypt [INFO] [stdout] value::EncValue::encrypt_with_password [INFO] [stdout] value::EncValue::encrypt_with_keys [INFO] [stdout] value::EncValue::encrypt_with_key_id [INFO] [stdout] value::EncValue::try_from_bytes [INFO] [stdout] --> src/value.rs:225:5 [INFO] [stdout] | [INFO] [stdout] 225 | pub fn encrypt(value: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | pub fn encrypt_with_password(value: &[u8], password: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 281 | pub fn encrypt_with_keys(value: &[u8], enc_keys: &EncKeys) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | pub fn encrypt_with_key_id(value: &[u8], enc_key_id: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 364 | pub fn try_from_bytes(bytes: Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a method `decrypt` with a similar name, but with different arguments [INFO] [stdout] --> src/value.rs:299:5 [INFO] [stdout] | [INFO] [stdout] 299 | pub fn decrypt(mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/value.rs:1088:13 [INFO] [stdout] | [INFO] [stdout] 1088 | EncValue::decrypt_stream(reader, writer).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `encrypt_stream_with_chunk_size` found for struct `value::EncValue` in the current scope [INFO] [stdout] --> src/value.rs:1107:19 [INFO] [stdout] | [INFO] [stdout] 206 | pub struct EncValue { [INFO] [stdout] | ------------------- function or associated item `encrypt_stream_with_chunk_size` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 1107 | EncValue::encrypt_stream_with_chunk_size(reader, writer, chunk_size) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `value::EncValue` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `value::EncValue` consider using one of the following associated functions: [INFO] [stdout] value::EncValue::encrypt [INFO] [stdout] value::EncValue::encrypt_with_password [INFO] [stdout] value::EncValue::encrypt_with_keys [INFO] [stdout] value::EncValue::encrypt_with_key_id [INFO] [stdout] value::EncValue::try_from_bytes [INFO] [stdout] --> src/value.rs:225:5 [INFO] [stdout] | [INFO] [stdout] 225 | pub fn encrypt(value: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | pub fn encrypt_with_password(value: &[u8], password: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 281 | pub fn encrypt_with_keys(value: &[u8], enc_keys: &EncKeys) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | pub fn encrypt_with_key_id(value: &[u8], enc_key_id: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 364 | pub fn try_from_bytes(bytes: Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is an associated function `encrypt_with_key_id` with a similar name [INFO] [stdout] --> src/value.rs:290:5 [INFO] [stdout] | [INFO] [stdout] 290 | pub fn encrypt_with_key_id(value: &[u8], enc_key_id: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/value.rs:1107:9 [INFO] [stdout] | [INFO] [stdout] 1107 | / EncValue::encrypt_stream_with_chunk_size(reader, writer, chunk_size) [INFO] [stdout] 1108 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/value.rs:1118:40 [INFO] [stdout] | [INFO] [stdout] 1118 | while let Some(Ok(data)) = rx.next().await { [INFO] [stdout] | ^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[_]` cannot be known at compilation time [INFO] [stdout] --> src/value.rs:1118:31 [INFO] [stdout] | [INFO] [stdout] 1118 | while let Some(Ok(data)) = rx.next().await { [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[_]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[_]` cannot be known at compilation time [INFO] [stdout] --> src/value.rs:1118:28 [INFO] [stdout] | [INFO] [stdout] 1118 | while let Some(Ok(data)) = rx.next().await { [INFO] [stdout] | ^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[_]` [INFO] [stdout] note: required by a bound in `Ok` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:561:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[_]` cannot be known at compilation time [INFO] [stdout] --> src/value.rs:1118:50 [INFO] [stdout] | [INFO] [stdout] 1118 | while let Some(Ok(data)) = rx.next().await { [INFO] [stdout] | ^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[_]` [INFO] [stdout] note: required by an implicit `Sized` bound in `Result` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:557:0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decrypt_stream` found for struct `value::EncValue` in the current scope [INFO] [stdout] --> src/value.rs:1124:19 [INFO] [stdout] | [INFO] [stdout] 206 | pub struct EncValue { [INFO] [stdout] | ------------------- function or associated item `decrypt_stream` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 1124 | EncValue::decrypt_stream(reader, writer).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `value::EncValue` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `value::EncValue` consider using one of the following associated functions: [INFO] [stdout] value::EncValue::encrypt [INFO] [stdout] value::EncValue::encrypt_with_password [INFO] [stdout] value::EncValue::encrypt_with_keys [INFO] [stdout] value::EncValue::encrypt_with_key_id [INFO] [stdout] value::EncValue::try_from_bytes [INFO] [stdout] --> src/value.rs:225:5 [INFO] [stdout] | [INFO] [stdout] 225 | pub fn encrypt(value: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | pub fn encrypt_with_password(value: &[u8], password: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 281 | pub fn encrypt_with_keys(value: &[u8], enc_keys: &EncKeys) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | pub fn encrypt_with_key_id(value: &[u8], enc_key_id: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 364 | pub fn try_from_bytes(bytes: Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a method `decrypt` with a similar name, but with different arguments [INFO] [stdout] --> src/value.rs:299:5 [INFO] [stdout] | [INFO] [stdout] 299 | pub fn decrypt(mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/value.rs:1124:9 [INFO] [stdout] | [INFO] [stdout] 1124 | EncValue::decrypt_stream(reader, writer).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cryptr` (lib test) due to 70 previous errors [INFO] running `Command { std: "docker" "inspect" "6f737bd87bbe0b2699df50e1cbedd7ef84a3e51718e19fdfe2873466a6a845b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f737bd87bbe0b2699df50e1cbedd7ef84a3e51718e19fdfe2873466a6a845b4", kill_on_drop: false }` [INFO] [stdout] 6f737bd87bbe0b2699df50e1cbedd7ef84a3e51718e19fdfe2873466a6a845b4