[INFO] cloning repository https://github.com/yinyangji/trusted_manager [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yinyangji/trusted_manager" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyinyangji%2Ftrusted_manager", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyinyangji%2Ftrusted_manager'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 631b2add8044135362dc5eab02482e268d148896 [INFO] checking yinyangji/trusted_manager against try#1baf923b9c3a455162afe43e18647f494c1a4b73 for pr-151510 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyinyangji%2Ftrusted_manager" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/yinyangji/trusted_manager [INFO] finished tweaking git repo https://github.com/yinyangji/trusted_manager [INFO] tweaked toml for git repo https://github.com/yinyangji/trusted_manager written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/yinyangji/trusted_manager on toolchain 1baf923b9c3a455162afe43e18647f494c1a4b73 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1baf923b9c3a455162afe43e18647f494c1a4b73" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/yinyangji/trusted_manager 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" "+1baf923b9c3a455162afe43e18647f494c1a4b73" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking yinyangji/trusted_manager against try#1baf923b9c3a455162afe43e18647f494c1a4b73 for pr-151510 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyinyangji%2Ftrusted_manager" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/yinyangji/trusted_manager [INFO] finished tweaking git repo https://github.com/yinyangji/trusted_manager [INFO] tweaked toml for git repo https://github.com/yinyangji/trusted_manager written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/yinyangji/trusted_manager on toolchain 1baf923b9c3a455162afe43e18647f494c1a4b73 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1baf923b9c3a455162afe43e18647f494c1a4b73" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/yinyangji/trusted_manager 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" "+1baf923b9c3a455162afe43e18647f494c1a4b73" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustify_derive v0.5.4 [INFO] [stderr] Downloaded rustify v0.6.1 [INFO] [stderr] Downloaded vaultrs v0.7.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+1baf923b9c3a455162afe43e18647f494c1a4b73" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7203580d8975c884374924efa108cf142f988460ee7719bc9e754b5d1e274101 [INFO] running `Command { std: "docker" "start" "-a" "7203580d8975c884374924efa108cf142f988460ee7719bc9e754b5d1e274101", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7203580d8975c884374924efa108cf142f988460ee7719bc9e754b5d1e274101", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7203580d8975c884374924efa108cf142f988460ee7719bc9e754b5d1e274101", kill_on_drop: false }` [INFO] [stdout] 7203580d8975c884374924efa108cf142f988460ee7719bc9e754b5d1e274101 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+1baf923b9c3a455162afe43e18647f494c1a4b73" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 02471029a299fcfb638560cd4173dfa090d7e4e69ae7cf41c11a954df0f4220a [INFO] running `Command { std: "docker" "start" "-a" "02471029a299fcfb638560cd4173dfa090d7e4e69ae7cf41c11a954df0f4220a", kill_on_drop: false }` [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Checking ring v0.17.14 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking unicase v2.8.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking headers v0.3.9 [INFO] [stderr] Checking indexmap v2.10.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking tungstenite v0.21.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Checking rustls-webpki v0.103.4 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling rustify_derive v0.5.4 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling derive_builder_core v0.12.0 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking tokio-tungstenite v0.21.0 [INFO] [stderr] Checking tokio-rustls v0.26.2 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Compiling derive_builder_macro v0.12.0 [INFO] [stderr] Checking hyper-util v0.1.16 [INFO] [stderr] Checking derive_builder v0.12.0 [INFO] [stderr] Checking hyper-rustls v0.27.7 [INFO] [stderr] Checking reqwest v0.12.22 [INFO] [stderr] Checking rustify v0.6.1 [INFO] [stderr] Checking vaultrs v0.7.4 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking warp v0.3.7 [INFO] [stderr] Checking trusted_manager v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `openssl::sign::Verifier` [INFO] [stdout] --> src/server.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use openssl::sign::Verifier; [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: `openssl::hash::MessageDigest` [INFO] [stdout] --> src/server.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use openssl::hash::MessageDigest; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `openssl::sign::Verifier` [INFO] [stdout] --> src/server.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use openssl::sign::Verifier; [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: `openssl::hash::MessageDigest` [INFO] [stdout] --> src/server.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use openssl::hash::MessageDigest; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `reqwest` [INFO] [stdout] --> src/client.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use reqwest; [INFO] [stdout] | ^^^^^^^ no external crate `reqwest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `openssl::rsa::Rsa` [INFO] [stdout] --> src/client.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use openssl::rsa::Rsa; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `reqwest` [INFO] [stdout] --> src/client.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use reqwest; [INFO] [stdout] | ^^^^^^^ no external crate `reqwest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | let resp = reqwest::get(&url).await?; [INFO] [stdout] | ^^^^ [INFO] [stdout] 55 | let public_key_response: PublicKeyResponse = resp.json().await?; [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `resp` an explicit type [INFO] [stdout] | [INFO] [stdout] 54 | let resp: /* Type */ = reqwest::get(&url).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | let resp = client [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | let response: EncryptedDekResponse = resp.json().await?; [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `resp` an explicit type [INFO] [stdout] | [INFO] [stdout] 79 | let resp: /* Type */ = client [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | let resp = reqwest::get(&url).await?; [INFO] [stdout] | ^^^^ [INFO] [stdout] 55 | let public_key_response: PublicKeyResponse = resp.json().await?; [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `resp` an explicit type [INFO] [stdout] | [INFO] [stdout] 54 | let resp: /* Type */ = reqwest::get(&url).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | let resp = client [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | let response: EncryptedDekResponse = resp.json().await?; [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `resp` an explicit type [INFO] [stdout] | [INFO] [stdout] 79 | let resp: /* Type */ = client [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `decode` found for struct `GeneralPurpose` in the current scope [INFO] [stdout] --> src/server.rs:94:10 [INFO] [stdout] | [INFO] [stdout] 93 | let encrypted_dek_bytes = base64::engine::general_purpose::STANDARD [INFO] [stdout] | _______________________________- [INFO] [stdout] 94 | | .decode(&req.encrypted_dek) [INFO] [stdout] | |_________-^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/base64-0.22.1/src/engine/mod.rs:244:8 [INFO] [stdout] | [INFO] [stdout] 244 | fn decode>(&self, input: T) -> Result, DecodeError> { [INFO] [stdout] | ------ the method is available for `GeneralPurpose` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `decode_vec` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/base64-0.22.1/src/engine/mod.rs:302:5 [INFO] [stdout] | [INFO] [stdout] 302 | / fn decode_vec>( [INFO] [stdout] 303 | | &self, [INFO] [stdout] 304 | | input: T, [INFO] [stdout] 305 | | buffer: &mut Vec, [INFO] [stdout] 306 | | ) -> Result<(), DecodeError> { [INFO] [stdout] | |________________________________^ [INFO] [stdout] help: trait `Engine` which provides `decode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use base64::Engine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `decode` found for struct `GeneralPurpose` in the current scope [INFO] [stdout] --> src/client.rs:32:91 [INFO] [stdout] | [INFO] [stdout] 32 | let public_key = PKey::public_key_from_pem(&base64::engine::general_purpose::STANDARD.decode(&public_key_pem)?)?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/base64-0.22.1/src/engine/mod.rs:244:8 [INFO] [stdout] | [INFO] [stdout] 244 | fn decode>(&self, input: T) -> Result, DecodeError> { [INFO] [stdout] | ------ the method is available for `GeneralPurpose` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `decode_vec` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/base64-0.22.1/src/engine/mod.rs:302:5 [INFO] [stdout] | [INFO] [stdout] 302 | / fn decode_vec>( [INFO] [stdout] 303 | | &self, [INFO] [stdout] 304 | | input: T, [INFO] [stdout] 305 | | buffer: &mut Vec, [INFO] [stdout] 306 | | ) -> Result<(), DecodeError> { [INFO] [stdout] | |________________________________^ [INFO] [stdout] help: trait `Engine` which provides `decode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use base64::Engine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `decode` found for struct `GeneralPurpose` in the current scope [INFO] [stdout] --> src/server.rs:94:10 [INFO] [stdout] | [INFO] [stdout] 93 | let encrypted_dek_bytes = base64::engine::general_purpose::STANDARD [INFO] [stdout] | _______________________________- [INFO] [stdout] 94 | | .decode(&req.encrypted_dek) [INFO] [stdout] | |_________-^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/base64-0.22.1/src/engine/mod.rs:244:8 [INFO] [stdout] | [INFO] [stdout] 244 | fn decode>(&self, input: T) -> Result, DecodeError> { [INFO] [stdout] | ------ the method is available for `GeneralPurpose` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `decode_vec` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/base64-0.22.1/src/engine/mod.rs:302:5 [INFO] [stdout] | [INFO] [stdout] 302 | / fn decode_vec>( [INFO] [stdout] 303 | | &self, [INFO] [stdout] 304 | | input: T, [INFO] [stdout] 305 | | buffer: &mut Vec, [INFO] [stdout] 306 | | ) -> Result<(), DecodeError> { [INFO] [stdout] | |________________________________^ [INFO] [stdout] help: trait `Engine` which provides `decode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use base64::Engine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for struct `GeneralPurpose` in the current scope [INFO] [stdout] --> src/client.rs:49:47 [INFO] [stdout] | [INFO] [stdout] 49 | base64::engine::general_purpose::STANDARD.encode(dek) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/base64-0.22.1/src/engine/mod.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | fn encode>(&self, input: T) -> String { [INFO] [stdout] | ------ the method is available for `GeneralPurpose` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `encode_slice` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/base64-0.22.1/src/engine/mod.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 194 | / fn encode_slice>( [INFO] [stdout] 195 | | &self, [INFO] [stdout] 196 | | input: T, [INFO] [stdout] 197 | | output_buf: &mut [u8], [INFO] [stdout] 198 | | ) -> Result { [INFO] [stdout] | |________________________________________^ [INFO] [stdout] help: trait `Engine` which provides `encode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use base64::Engine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/server.rs:100:10 [INFO] [stdout] | [INFO] [stdout] 100 | .private_decrypt(&encrypted_dek_bytes, openssl::rsa::Padding::PKCS1) [INFO] [stdout] | ^^^^^^^^^^^^^^^ ---------------------------- argument #2 of type `&mut [u8]` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openssl-0.10.73/src/rsa.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn private_decrypt( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 100 | .private_decrypt(&encrypted_dek_bytes, /* &mut [u8] */, openssl::rsa::Padding::PKCS1) [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `decode` found for struct `GeneralPurpose` in the current scope [INFO] [stdout] --> src/client.rs:32:91 [INFO] [stdout] | [INFO] [stdout] 32 | let public_key = PKey::public_key_from_pem(&base64::engine::general_purpose::STANDARD.decode(&public_key_pem)?)?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/base64-0.22.1/src/engine/mod.rs:244:8 [INFO] [stdout] | [INFO] [stdout] 244 | fn decode>(&self, input: T) -> Result, DecodeError> { [INFO] [stdout] | ------ the method is available for `GeneralPurpose` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `decode_vec` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/base64-0.22.1/src/engine/mod.rs:302:5 [INFO] [stdout] | [INFO] [stdout] 302 | / fn decode_vec>( [INFO] [stdout] 303 | | &self, [INFO] [stdout] 304 | | input: T, [INFO] [stdout] 305 | | buffer: &mut Vec, [INFO] [stdout] 306 | | ) -> Result<(), DecodeError> { [INFO] [stdout] | |________________________________^ [INFO] [stdout] help: trait `Engine` which provides `decode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use base64::Engine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/server.rs:100:10 [INFO] [stdout] | [INFO] [stdout] 100 | .private_decrypt(&encrypted_dek_bytes, openssl::rsa::Padding::PKCS1) [INFO] [stdout] | ^^^^^^^^^^^^^^^ ---------------------------- argument #2 of type `&mut [u8]` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openssl-0.10.73/src/rsa.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn private_decrypt( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 100 | .private_decrypt(&encrypted_dek_bytes, /* &mut [u8] */, openssl::rsa::Padding::PKCS1) [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for struct `GeneralPurpose` in the current scope [INFO] [stdout] --> src/client.rs:68:50 [INFO] [stdout] | [INFO] [stdout] 68 | Ok(base64::engine::general_purpose::STANDARD.encode(&encrypted)) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/base64-0.22.1/src/engine/mod.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | fn encode>(&self, input: T) -> String { [INFO] [stdout] | ------ the method is available for `GeneralPurpose` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `encode_slice` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/base64-0.22.1/src/engine/mod.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 194 | / fn encode_slice>( [INFO] [stdout] 195 | | &self, [INFO] [stdout] 196 | | input: T, [INFO] [stdout] 197 | | output_buf: &mut [u8], [INFO] [stdout] 198 | | ) -> Result { [INFO] [stdout] | |________________________________________^ [INFO] [stdout] help: trait `Engine` which provides `encode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use base64::Engine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server.rs:103:37 [INFO] [stdout] | [INFO] [stdout] 103 | let dek_str = String::from_utf8(dek) [INFO] [stdout] | ----------------- ^^^ expected `Vec`, found `usize` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found type `usize` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/1baf923b9c3a455162afe43e18647f494c1a4b73/library/alloc/src/string.rs:560:11 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for struct `GeneralPurpose` in the current scope [INFO] [stdout] --> src/client.rs:49:47 [INFO] [stdout] | [INFO] [stdout] 49 | base64::engine::general_purpose::STANDARD.encode(dek) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/base64-0.22.1/src/engine/mod.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | fn encode>(&self, input: T) -> String { [INFO] [stdout] | ------ the method is available for `GeneralPurpose` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `encode_slice` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/base64-0.22.1/src/engine/mod.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 194 | / fn encode_slice>( [INFO] [stdout] 195 | | &self, [INFO] [stdout] 196 | | input: T, [INFO] [stdout] 197 | | output_buf: &mut [u8], [INFO] [stdout] 198 | | ) -> Result { [INFO] [stdout] | |________________________________________^ [INFO] [stdout] help: trait `Engine` which provides `encode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use base64::Engine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server.rs:103:37 [INFO] [stdout] | [INFO] [stdout] 103 | let dek_str = String::from_utf8(dek) [INFO] [stdout] | ----------------- ^^^ expected `Vec`, found `usize` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found type `usize` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/1baf923b9c3a455162afe43e18647f494c1a4b73/library/alloc/src/string.rs:560:11 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0599. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for struct `GeneralPurpose` in the current scope [INFO] [stdout] --> src/server.rs:51:76 [INFO] [stdout] | [INFO] [stdout] 51 | let public_key_str = base64::engine::general_purpose::STANDARD.encode(&public_key_pem); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/base64-0.22.1/src/engine/mod.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | fn encode>(&self, input: T) -> String { [INFO] [stdout] | ------ the method is available for `GeneralPurpose` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `encode_slice` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/base64-0.22.1/src/engine/mod.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 194 | / fn encode_slice>( [INFO] [stdout] 195 | | &self, [INFO] [stdout] 196 | | input: T, [INFO] [stdout] 197 | | output_buf: &mut [u8], [INFO] [stdout] 198 | | ) -> Result { [INFO] [stdout] | |________________________________________^ [INFO] [stdout] help: trait `Engine` which provides `encode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use base64::Engine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for struct `GeneralPurpose` in the current scope [INFO] [stdout] --> src/client.rs:68:50 [INFO] [stdout] | [INFO] [stdout] 68 | Ok(base64::engine::general_purpose::STANDARD.encode(&encrypted)) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/base64-0.22.1/src/engine/mod.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | fn encode>(&self, input: T) -> String { [INFO] [stdout] | ------ the method is available for `GeneralPurpose` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `encode_slice` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/base64-0.22.1/src/engine/mod.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 194 | / fn encode_slice>( [INFO] [stdout] 195 | | &self, [INFO] [stdout] 196 | | input: T, [INFO] [stdout] 197 | | output_buf: &mut [u8], [INFO] [stdout] 198 | | ) -> Result { [INFO] [stdout] | |________________________________________^ [INFO] [stdout] help: trait `Engine` which provides `encode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use base64::Engine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for struct `GeneralPurpose` in the current scope [INFO] [stdout] --> src/server.rs:51:76 [INFO] [stdout] | [INFO] [stdout] 51 | let public_key_str = base64::engine::general_purpose::STANDARD.encode(&public_key_pem); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/base64-0.22.1/src/engine/mod.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | fn encode>(&self, input: T) -> String { [INFO] [stdout] | ------ the method is available for `GeneralPurpose` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `encode_slice` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/base64-0.22.1/src/engine/mod.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 194 | / fn encode_slice>( [INFO] [stdout] 195 | | &self, [INFO] [stdout] 196 | | input: T, [INFO] [stdout] 197 | | output_buf: &mut [u8], [INFO] [stdout] 198 | | ) -> Result { [INFO] [stdout] | |________________________________________^ [INFO] [stdout] help: trait `Engine` which provides `encode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use base64::Engine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `trusted_manager` (bin "client") due to 6 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `decode` found for struct `GeneralPurpose` in the current scope [INFO] [stdout] --> src/client.rs:102:65 [INFO] [stdout] | [INFO] [stdout] 102 | let decoded = base64::engine::general_purpose::STANDARD.decode(&dek1); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/base64-0.22.1/src/engine/mod.rs:244:8 [INFO] [stdout] | [INFO] [stdout] 244 | fn decode>(&self, input: T) -> Result, DecodeError> { [INFO] [stdout] | ------ the method is available for `GeneralPurpose` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `decode_vec` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/base64-0.22.1/src/engine/mod.rs:302:5 [INFO] [stdout] | [INFO] [stdout] 302 | / fn decode_vec>( [INFO] [stdout] 303 | | &self, [INFO] [stdout] 304 | | input: T, [INFO] [stdout] 305 | | buffer: &mut Vec, [INFO] [stdout] 306 | | ) -> Result<(), DecodeError> { [INFO] [stdout] | |________________________________^ [INFO] [stdout] help: trait `Engine` which provides `decode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 91 + use base64::Engine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for struct `GeneralPurpose` in the current scope [INFO] [stdout] --> src/server.rs:154:80 [INFO] [stdout] | [INFO] [stdout] 154 | let public_key_str = base64::engine::general_purpose::STANDARD.encode(&public_key_pem); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/base64-0.22.1/src/engine/mod.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | fn encode>(&self, input: T) -> String { [INFO] [stdout] | ------ the method is available for `GeneralPurpose` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `encode_slice` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/base64-0.22.1/src/engine/mod.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 194 | / fn encode_slice>( [INFO] [stdout] 195 | | &self, [INFO] [stdout] 196 | | input: T, [INFO] [stdout] 197 | | output_buf: &mut [u8], [INFO] [stdout] 198 | | ) -> Result { [INFO] [stdout] | |________________________________________^ [INFO] [stdout] help: trait `Engine` which provides `encode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 140 + use base64::Engine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/client.rs:116:69 [INFO] [stdout] | [INFO] [stdout] 116 | let encrypted_dek_result = encrypt_dek_with_public_key(dek, &public_key); [INFO] [stdout] | --------------------------- ^^^^^^^^^^^ expected `&PKey`, found `&PKey` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&openssl::pkey::PKey` [INFO] [stdout] found reference `&openssl::pkey::PKey` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/client.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn encrypt_dek_with_public_key(dek: &str, public_key: &PKey) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ---------------------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `decode` found for struct `GeneralPurpose` in the current scope [INFO] [stdout] --> src/client.rs:122:65 [INFO] [stdout] | [INFO] [stdout] 122 | let decoded = base64::engine::general_purpose::STANDARD.decode(&encrypted_dek); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/base64-0.22.1/src/engine/mod.rs:244:8 [INFO] [stdout] | [INFO] [stdout] 244 | fn decode>(&self, input: T) -> Result, DecodeError> { [INFO] [stdout] | ------ the method is available for `GeneralPurpose` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `decode_vec` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/base64-0.22.1/src/engine/mod.rs:302:5 [INFO] [stdout] | [INFO] [stdout] 302 | / fn decode_vec>( [INFO] [stdout] 303 | | &self, [INFO] [stdout] 304 | | input: T, [INFO] [stdout] 305 | | buffer: &mut Vec, [INFO] [stdout] 306 | | ) -> Result<(), DecodeError> { [INFO] [stdout] | |________________________________^ [INFO] [stdout] help: trait `Engine` which provides `decode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 91 + use base64::Engine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/client.rs:136:71 [INFO] [stdout] | [INFO] [stdout] 136 | let encrypted_dek = encrypt_dek_with_public_key(original_dek, &public_key).unwrap(); [INFO] [stdout] | --------------------------- ^^^^^^^^^^^ expected `&PKey`, found `&PKey` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&openssl::pkey::PKey` [INFO] [stdout] found reference `&openssl::pkey::PKey` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/client.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn encrypt_dek_with_public_key(dek: &str, public_key: &PKey) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ---------------------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for struct `GeneralPurpose` in the current scope [INFO] [stdout] --> src/server.rs:202:65 [INFO] [stdout] | [INFO] [stdout] 202 | let encoded = base64::engine::general_purpose::STANDARD.encode(original_data); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/base64-0.22.1/src/engine/mod.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | fn encode>(&self, input: T) -> String { [INFO] [stdout] | ------ the method is available for `GeneralPurpose` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `encode_slice` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/base64-0.22.1/src/engine/mod.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 194 | / fn encode_slice>( [INFO] [stdout] 195 | | &self, [INFO] [stdout] 196 | | input: T, [INFO] [stdout] 197 | | output_buf: &mut [u8], [INFO] [stdout] 198 | | ) -> Result { [INFO] [stdout] | |________________________________________^ [INFO] [stdout] help: trait `Engine` which provides `encode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 140 + use base64::Engine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `decode` found for struct `GeneralPurpose` in the current scope [INFO] [stdout] --> src/server.rs:203:65 [INFO] [stdout] | [INFO] [stdout] 203 | let decoded = base64::engine::general_purpose::STANDARD.decode(&encoded).unwrap(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/base64-0.22.1/src/engine/mod.rs:244:8 [INFO] [stdout] | [INFO] [stdout] 244 | fn decode>(&self, input: T) -> Result, DecodeError> { [INFO] [stdout] | ------ the method is available for `GeneralPurpose` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `decode_vec` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/base64-0.22.1/src/engine/mod.rs:302:5 [INFO] [stdout] | [INFO] [stdout] 302 | / fn decode_vec>( [INFO] [stdout] 303 | | &self, [INFO] [stdout] 304 | | input: T, [INFO] [stdout] 305 | | buffer: &mut Vec, [INFO] [stdout] 306 | | ) -> Result<(), DecodeError> { [INFO] [stdout] | |________________________________^ [INFO] [stdout] help: trait `Engine` which provides `decode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 140 + use base64::Engine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `decode` found for struct `GeneralPurpose` in the current scope [INFO] [stdout] --> src/client.rs:138:14 [INFO] [stdout] | [INFO] [stdout] 137 | let encrypted_bytes = base64::engine::general_purpose::STANDARD [INFO] [stdout] | _______________________________- [INFO] [stdout] 138 | | .decode(&encrypted_dek) [INFO] [stdout] | |_____________-^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/base64-0.22.1/src/engine/mod.rs:244:8 [INFO] [stdout] | [INFO] [stdout] 244 | fn decode>(&self, input: T) -> Result, DecodeError> { [INFO] [stdout] | ------ the method is available for `GeneralPurpose` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `decode_vec` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/base64-0.22.1/src/engine/mod.rs:302:5 [INFO] [stdout] | [INFO] [stdout] 302 | / fn decode_vec>( [INFO] [stdout] 303 | | &self, [INFO] [stdout] 304 | | input: T, [INFO] [stdout] 305 | | buffer: &mut Vec, [INFO] [stdout] 306 | | ) -> Result<(), DecodeError> { [INFO] [stdout] | |________________________________^ [INFO] [stdout] help: trait `Engine` which provides `decode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 91 + use base64::Engine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `trusted_manager` (bin "server") due to 4 previous errors; 2 warnings emitted [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0308, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `trusted_manager` (bin "server" test) due to 7 previous errors; 2 warnings emitted [INFO] [stderr] error: could not compile `trusted_manager` (bin "client" test) due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "02471029a299fcfb638560cd4173dfa090d7e4e69ae7cf41c11a954df0f4220a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02471029a299fcfb638560cd4173dfa090d7e4e69ae7cf41c11a954df0f4220a", kill_on_drop: false }` [INFO] [stdout] 02471029a299fcfb638560cd4173dfa090d7e4e69ae7cf41c11a954df0f4220a