[INFO] fetching crate tink-prf 0.1.0... [INFO] checking tink-prf-0.1.0 against master#836c31742687ba4e2f857b5b698e1e9e6b67619c for pr-81789 [INFO] extracting crate tink-prf 0.1.0 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate tink-prf 0.1.0 on toolchain 836c31742687ba4e2f857b5b698e1e9e6b67619c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tink-prf 0.1.0 [INFO] finished tweaking crates.io crate tink-prf 0.1.0 [INFO] tweaked toml for crates.io crate tink-prf 0.1.0 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d2db47fa58ff1bc60133038e5605861e76e8c60974976e64600b4e93443c882b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d2db47fa58ff1bc60133038e5605861e76e8c60974976e64600b4e93443c882b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d2db47fa58ff1bc60133038e5605861e76e8c60974976e64600b4e93443c882b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2db47fa58ff1bc60133038e5605861e76e8c60974976e64600b4e93443c882b", kill_on_drop: false }` [INFO] [stdout] d2db47fa58ff1bc60133038e5605861e76e8c60974976e64600b4e93443c882b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0396717d9db2c9655081774069ccf9a94d649a15ad0f0209058558ff915297c6 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0396717d9db2c9655081774069ccf9a94d649a15ad0f0209058558ff915297c6", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.70 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Checking cipher v0.2.5 [INFO] [stderr] Checking dbl v0.3.1 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking sha-1 v0.9.4 [INFO] [stderr] Checking sha2 v0.9.3 [INFO] [stderr] Checking crypto-mac v0.10.0 [INFO] [stderr] Checking aes-soft v0.6.4 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking hmac v0.10.1 [INFO] [stderr] Checking cmac v0.5.1 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Checking hkdf v0.10.0 [INFO] [stderr] Checking aes v0.6.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling which v4.1.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling prost-build v0.7.0 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling prost-derive v0.7.0 [INFO] [stderr] Compiling prost-derive v0.6.1 [INFO] [stderr] Checking prost v0.6.1 [INFO] [stderr] Compiling prost v0.7.0 [INFO] [stderr] Compiling prost-types v0.7.0 [INFO] [stderr] Compiling tink-proto v0.1.1 [INFO] [stderr] Checking tink-core v0.1.1 [INFO] [stderr] Checking tink-prf v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for struct `AesCmacPrfKey` in the current scope [INFO] [stdout] --> src/aes_cmac_prf_key_manager.rs:40:46 [INFO] [stdout] | [INFO] [stdout] 40 | let key = tink_proto::AesCmacPrfKey::decode(serialized_key) [INFO] [stdout] | ^^^^^^ function or associated item not found in `AesCmacPrfKey` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use prost::message::Message;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for struct `AesCmacPrfKeyFormat` in the current scope [INFO] [stdout] --> src/aes_cmac_prf_key_manager.rs:58:59 [INFO] [stdout] | [INFO] [stdout] 58 | let key_format = tink_proto::AesCmacPrfKeyFormat::decode(serialized_key_format) [INFO] [stdout] | ^^^^^^ function or associated item not found in `AesCmacPrfKeyFormat` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use prost::message::Message;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for struct `AesCmacPrfKey` in the current scope [INFO] [stdout] --> src/aes_cmac_prf_key_manager.rs:69:10 [INFO] [stdout] | [INFO] [stdout] 69 | .encode(&mut sk) [INFO] [stdout] | ^^^^^^ method not found in `AesCmacPrfKey` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/prost-0.7.0/src/message.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | fn encode(&self, buf: &mut B) -> Result<(), EncodeError> [INFO] [stdout] | ------ the method is available for `Box` here [INFO] [stdout] | [INFO] [stdout] help: consider wrapping the receiver expression with the appropriate type [INFO] [stdout] | [INFO] [stdout] 65 | Box::new(tink_proto::AesCmacPrfKey { [INFO] [stdout] 66 | version: AES_CMAC_PRF_KEY_VERSION, [INFO] [stdout] 67 | key_value, [INFO] [stdout] 68 | }) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for struct `HkdfPrfKey` in the current scope [INFO] [stdout] --> src/hkdf_prf_key_manager.rs:39:43 [INFO] [stdout] | [INFO] [stdout] 39 | let key = tink_proto::HkdfPrfKey::decode(serialized_key) [INFO] [stdout] | ^^^^^^ function or associated item not found in `HkdfPrfKey` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use prost::message::Message;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for struct `HkdfPrfKeyFormat` in the current scope [INFO] [stdout] --> src/hkdf_prf_key_manager.rs:56:56 [INFO] [stdout] | [INFO] [stdout] 56 | let key_format = tink_proto::HkdfPrfKeyFormat::decode(serialized_key_format) [INFO] [stdout] | ^^^^^^ function or associated item not found in `HkdfPrfKeyFormat` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use prost::message::Message;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for struct `HkdfPrfKey` in the current scope [INFO] [stdout] --> src/hkdf_prf_key_manager.rs:69:10 [INFO] [stdout] | [INFO] [stdout] 69 | .encode(&mut sk) [INFO] [stdout] | ^^^^^^ method not found in `HkdfPrfKey` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/prost-0.7.0/src/message.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | fn encode(&self, buf: &mut B) -> Result<(), EncodeError> [INFO] [stdout] | ------ the method is available for `Box` here [INFO] [stdout] | [INFO] [stdout] help: consider wrapping the receiver expression with the appropriate type [INFO] [stdout] | [INFO] [stdout] 64 | Box::new(tink_proto::HkdfPrfKey { [INFO] [stdout] 65 | version: HKDF_PRF_KEY_VERSION, [INFO] [stdout] 66 | params: key_format.params, [INFO] [stdout] 67 | key_value, [INFO] [stdout] 68 | }) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for struct `HmacPrfKey` in the current scope [INFO] [stdout] --> src/hmac_prf_key_manager.rs:39:43 [INFO] [stdout] | [INFO] [stdout] 39 | let key = tink_proto::HmacPrfKey::decode(serialized_key) [INFO] [stdout] | ^^^^^^ function or associated item not found in `HmacPrfKey` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use prost::message::Message;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for struct `HmacPrfKeyFormat` in the current scope [INFO] [stdout] --> src/hmac_prf_key_manager.rs:55:56 [INFO] [stdout] | [INFO] [stdout] 55 | let key_format = tink_proto::HmacPrfKeyFormat::decode(serialized_key_format) [INFO] [stdout] | ^^^^^^ function or associated item not found in `HmacPrfKeyFormat` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use prost::message::Message;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for struct `HmacPrfKey` in the current scope [INFO] [stdout] --> src/hmac_prf_key_manager.rs:67:10 [INFO] [stdout] | [INFO] [stdout] 67 | .encode(&mut sk) [INFO] [stdout] | ^^^^^^ method not found in `HmacPrfKey` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/prost-0.7.0/src/message.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | fn encode(&self, buf: &mut B) -> Result<(), EncodeError> [INFO] [stdout] | ------ the method is available for `Box` here [INFO] [stdout] | [INFO] [stdout] help: consider wrapping the receiver expression with the appropriate type [INFO] [stdout] | [INFO] [stdout] 62 | Box::new(tink_proto::HmacPrfKey { [INFO] [stdout] 63 | version: HMAC_PRF_KEY_VERSION, [INFO] [stdout] 64 | params: key_format.params, [INFO] [stdout] 65 | key_value, [INFO] [stdout] 66 | }) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for struct `HmacPrfKeyFormat` in the current scope [INFO] [stdout] --> src/key_templates.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | format.encode(&mut serialized_format).unwrap(); // safe: proto-encode [INFO] [stdout] | ^^^^^^ method not found in `HmacPrfKeyFormat` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/prost-0.7.0/src/message.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | fn encode(&self, buf: &mut B) -> Result<(), EncodeError> [INFO] [stdout] | ------ the method is available for `Box` here [INFO] [stdout] | [INFO] [stdout] help: consider wrapping the receiver expression with the appropriate type [INFO] [stdout] | [INFO] [stdout] 61 | Box::new(format).encode(&mut serialized_format).unwrap(); // safe: proto-encode [INFO] [stdout] | ^^^^^^^^^ ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for struct `HkdfPrfKeyFormat` in the current scope [INFO] [stdout] --> src/key_templates.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | format.encode(&mut serialized_format).unwrap(); // safe: proto-encode [INFO] [stdout] | ^^^^^^ method not found in `HkdfPrfKeyFormat` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/prost-0.7.0/src/message.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | fn encode(&self, buf: &mut B) -> Result<(), EncodeError> [INFO] [stdout] | ------ the method is available for `Box` here [INFO] [stdout] | [INFO] [stdout] help: consider wrapping the receiver expression with the appropriate type [INFO] [stdout] | [INFO] [stdout] 85 | Box::new(format).encode(&mut serialized_format).unwrap(); // safe: proto-encode [INFO] [stdout] | ^^^^^^^^^ ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for struct `AesCmacPrfKeyFormat` in the current scope [INFO] [stdout] --> src/key_templates.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | format.encode(&mut serialized_format).unwrap(); // safe: proto-encode [INFO] [stdout] | ^^^^^^ method not found in `AesCmacPrfKeyFormat` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/prost-0.7.0/src/message.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | fn encode(&self, buf: &mut B) -> Result<(), EncodeError> [INFO] [stdout] | ------ the method is available for `Box` here [INFO] [stdout] | [INFO] [stdout] help: consider wrapping the receiver expression with the appropriate type [INFO] [stdout] | [INFO] [stdout] 100 | Box::new(format).encode(&mut serialized_format).unwrap(); // safe: proto-encode [INFO] [stdout] | ^^^^^^^^^ ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prost::Message` [INFO] [stdout] --> src/aes_cmac_prf_key_manager.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use prost::Message; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prost::Message` [INFO] [stdout] --> src/hkdf_prf_key_manager.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use prost::Message; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prost::Message` [INFO] [stdout] --> src/hmac_prf_key_manager.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use prost::Message; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prost::Message` [INFO] [stdout] --> src/key_templates.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use prost::Message; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tink-prf` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for struct `AesCmacPrfKey` in the current scope [INFO] [stdout] --> src/aes_cmac_prf_key_manager.rs:40:46 [INFO] [stdout] | [INFO] [stdout] 40 | let key = tink_proto::AesCmacPrfKey::decode(serialized_key) [INFO] [stdout] | ^^^^^^ function or associated item not found in `AesCmacPrfKey` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use prost::message::Message;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for struct `AesCmacPrfKeyFormat` in the current scope [INFO] [stdout] --> src/aes_cmac_prf_key_manager.rs:58:59 [INFO] [stdout] | [INFO] [stdout] 58 | let key_format = tink_proto::AesCmacPrfKeyFormat::decode(serialized_key_format) [INFO] [stdout] | ^^^^^^ function or associated item not found in `AesCmacPrfKeyFormat` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use prost::message::Message;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for struct `AesCmacPrfKey` in the current scope [INFO] [stdout] --> src/aes_cmac_prf_key_manager.rs:69:10 [INFO] [stdout] | [INFO] [stdout] 69 | .encode(&mut sk) [INFO] [stdout] | ^^^^^^ method not found in `AesCmacPrfKey` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/prost-0.7.0/src/message.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | fn encode(&self, buf: &mut B) -> Result<(), EncodeError> [INFO] [stdout] | ------ the method is available for `Box` here [INFO] [stdout] | [INFO] [stdout] help: consider wrapping the receiver expression with the appropriate type [INFO] [stdout] | [INFO] [stdout] 65 | Box::new(tink_proto::AesCmacPrfKey { [INFO] [stdout] 66 | version: AES_CMAC_PRF_KEY_VERSION, [INFO] [stdout] 67 | key_value, [INFO] [stdout] 68 | }) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for struct `HkdfPrfKey` in the current scope [INFO] [stdout] --> src/hkdf_prf_key_manager.rs:39:43 [INFO] [stdout] | [INFO] [stdout] 39 | let key = tink_proto::HkdfPrfKey::decode(serialized_key) [INFO] [stdout] | ^^^^^^ function or associated item not found in `HkdfPrfKey` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use prost::message::Message;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for struct `HkdfPrfKeyFormat` in the current scope [INFO] [stdout] --> src/hkdf_prf_key_manager.rs:56:56 [INFO] [stdout] | [INFO] [stdout] 56 | let key_format = tink_proto::HkdfPrfKeyFormat::decode(serialized_key_format) [INFO] [stdout] | ^^^^^^ function or associated item not found in `HkdfPrfKeyFormat` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use prost::message::Message;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for struct `HkdfPrfKey` in the current scope [INFO] [stdout] --> src/hkdf_prf_key_manager.rs:69:10 [INFO] [stdout] | [INFO] [stdout] 69 | .encode(&mut sk) [INFO] [stdout] | ^^^^^^ method not found in `HkdfPrfKey` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/prost-0.7.0/src/message.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | fn encode(&self, buf: &mut B) -> Result<(), EncodeError> [INFO] [stdout] | ------ the method is available for `Box` here [INFO] [stdout] | [INFO] [stdout] help: consider wrapping the receiver expression with the appropriate type [INFO] [stdout] | [INFO] [stdout] 64 | Box::new(tink_proto::HkdfPrfKey { [INFO] [stdout] 65 | version: HKDF_PRF_KEY_VERSION, [INFO] [stdout] 66 | params: key_format.params, [INFO] [stdout] 67 | key_value, [INFO] [stdout] 68 | }) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for struct `HmacPrfKey` in the current scope [INFO] [stdout] --> src/hmac_prf_key_manager.rs:39:43 [INFO] [stdout] | [INFO] [stdout] 39 | let key = tink_proto::HmacPrfKey::decode(serialized_key) [INFO] [stdout] | ^^^^^^ function or associated item not found in `HmacPrfKey` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use prost::message::Message;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for struct `HmacPrfKeyFormat` in the current scope [INFO] [stdout] --> src/hmac_prf_key_manager.rs:55:56 [INFO] [stdout] | [INFO] [stdout] 55 | let key_format = tink_proto::HmacPrfKeyFormat::decode(serialized_key_format) [INFO] [stdout] | ^^^^^^ function or associated item not found in `HmacPrfKeyFormat` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use prost::message::Message;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for struct `HmacPrfKey` in the current scope [INFO] [stdout] --> src/hmac_prf_key_manager.rs:67:10 [INFO] [stdout] | [INFO] [stdout] 67 | .encode(&mut sk) [INFO] [stdout] | ^^^^^^ method not found in `HmacPrfKey` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/prost-0.7.0/src/message.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | fn encode(&self, buf: &mut B) -> Result<(), EncodeError> [INFO] [stdout] | ------ the method is available for `Box` here [INFO] [stdout] | [INFO] [stdout] help: consider wrapping the receiver expression with the appropriate type [INFO] [stdout] | [INFO] [stdout] 62 | Box::new(tink_proto::HmacPrfKey { [INFO] [stdout] 63 | version: HMAC_PRF_KEY_VERSION, [INFO] [stdout] 64 | params: key_format.params, [INFO] [stdout] 65 | key_value, [INFO] [stdout] 66 | }) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for struct `HmacPrfKeyFormat` in the current scope [INFO] [stdout] --> src/key_templates.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | format.encode(&mut serialized_format).unwrap(); // safe: proto-encode [INFO] [stdout] | ^^^^^^ method not found in `HmacPrfKeyFormat` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/prost-0.7.0/src/message.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | fn encode(&self, buf: &mut B) -> Result<(), EncodeError> [INFO] [stdout] | ------ the method is available for `Box` here [INFO] [stdout] | [INFO] [stdout] help: consider wrapping the receiver expression with the appropriate type [INFO] [stdout] | [INFO] [stdout] 61 | Box::new(format).encode(&mut serialized_format).unwrap(); // safe: proto-encode [INFO] [stdout] | ^^^^^^^^^ ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for struct `HkdfPrfKeyFormat` in the current scope [INFO] [stdout] --> src/key_templates.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | format.encode(&mut serialized_format).unwrap(); // safe: proto-encode [INFO] [stdout] | ^^^^^^ method not found in `HkdfPrfKeyFormat` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/prost-0.7.0/src/message.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | fn encode(&self, buf: &mut B) -> Result<(), EncodeError> [INFO] [stdout] | ------ the method is available for `Box` here [INFO] [stdout] | [INFO] [stdout] help: consider wrapping the receiver expression with the appropriate type [INFO] [stdout] | [INFO] [stdout] 85 | Box::new(format).encode(&mut serialized_format).unwrap(); // safe: proto-encode [INFO] [stdout] | ^^^^^^^^^ ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for struct `AesCmacPrfKeyFormat` in the current scope [INFO] [stdout] --> src/key_templates.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | format.encode(&mut serialized_format).unwrap(); // safe: proto-encode [INFO] [stdout] | ^^^^^^ method not found in `AesCmacPrfKeyFormat` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/prost-0.7.0/src/message.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | fn encode(&self, buf: &mut B) -> Result<(), EncodeError> [INFO] [stdout] | ------ the method is available for `Box` here [INFO] [stdout] | [INFO] [stdout] help: consider wrapping the receiver expression with the appropriate type [INFO] [stdout] | [INFO] [stdout] 100 | Box::new(format).encode(&mut serialized_format).unwrap(); // safe: proto-encode [INFO] [stdout] | ^^^^^^^^^ ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prost::Message` [INFO] [stdout] --> src/aes_cmac_prf_key_manager.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use prost::Message; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prost::Message` [INFO] [stdout] --> src/hkdf_prf_key_manager.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use prost::Message; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prost::Message` [INFO] [stdout] --> src/hmac_prf_key_manager.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use prost::Message; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prost::Message` [INFO] [stdout] --> src/key_templates.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use prost::Message; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "0396717d9db2c9655081774069ccf9a94d649a15ad0f0209058558ff915297c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0396717d9db2c9655081774069ccf9a94d649a15ad0f0209058558ff915297c6", kill_on_drop: false }` [INFO] [stdout] 0396717d9db2c9655081774069ccf9a94d649a15ad0f0209058558ff915297c6