[INFO] crate tentacle-secio 0.2.1 is already in cache [INFO] checking tentacle-secio-0.2.1 against master#30ca215b4e38b32aa7abdd635c5e2d56f5724494 for pr-66037 [INFO] extracting crate tentacle-secio 0.2.1 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate tentacle-secio 0.2.1 on toolchain 30ca215b4e38b32aa7abdd635c5e2d56f5724494 [INFO] running `"/workspace/cargo-home/bin/cargo" "+30ca215b4e38b32aa7abdd635c5e2d56f5724494" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate tentacle-secio 0.2.1 [INFO] finished tweaking crates.io crate tentacle-secio 0.2.1 [INFO] tweaked toml for crates.io crate tentacle-secio 0.2.1 written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate crates.io crate tentacle-secio 0.2.1 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+30ca215b4e38b32aa7abdd635c5e2d56f5724494" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+30ca215b4e38b32aa7abdd635c5e2d56f5724494" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 6dea9fce57e3aa6710aff6fc0a39144202c8e086bd099062c8d8b07da82e5b6a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "6dea9fce57e3aa6710aff6fc0a39144202c8e086bd099062c8d8b07da82e5b6a"` [INFO] [stderr] Compiling getrandom v0.1.12 [INFO] [stderr] Compiling tentacle-secio v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking bs58 v0.3.0 [INFO] [stderr] Compiling openssl-sys v0.9.52 [INFO] [stderr] Compiling ring v0.16.9 [INFO] [stderr] Compiling secp256k1 v0.15.5 [INFO] [stderr] Checking bstr v0.2.8 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking tinytemplate v1.0.2 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking rayon-core v1.6.0 [INFO] [stderr] Checking tokio-fs v0.1.6 [INFO] [stderr] Checking tokio-uds v0.2.5 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking rayon v1.2.0 [INFO] [stderr] Compiling openssl v0.10.25 [INFO] [stderr] Checking rand_os v0.2.2 [INFO] [stderr] Checking rand_xoshiro v0.3.1 [INFO] [stderr] Checking csv v1.1.1 [INFO] [stderr] Checking criterion v0.3.0 [INFO] [stderr] error: Please choose a serialization format via feature. Possible choices: flatc, molc [INFO] [stderr] --> src/handshake/mod.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | compile_error!("Please choose a serialization format via feature. Possible choices: flatc, molc"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/error.rs:82:60 [INFO] [stderr] | [INFO] [stderr] 82 | e => io::Error::new(io::ErrorKind::BrokenPipe, error::Error::description(&e)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/error.rs:103:39 [INFO] [stderr] | [INFO] [stderr] 103 | SecioError::IoError(e) => error::Error::description(e), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/error.rs:105:39 [INFO] [stderr] | [INFO] [stderr] 105 | SecioError::Openssl(e) => error::Error::description(e), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `encode` found for struct `handshake::handshake_struct::Exchange` in the current scope [INFO] [stderr] --> src/handshake/procedure.rs:134:45 [INFO] [stderr] | [INFO] [stderr] 134 | let local_exchanges = exchanges.encode(); [INFO] [stderr] | ^^^^^^ method not found in `handshake::handshake_struct::Exchange` [INFO] [stderr] | [INFO] [stderr] ::: src/handshake/handshake_struct.rs:138:1 [INFO] [stderr] | [INFO] [stderr] 138 | pub struct Exchange { [INFO] [stderr] | ------------------- method `encode` not found for this [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following traits define an item `encode`, perhaps you need to implement one of them: [INFO] [stderr] candidate #1: `tokio_io::codec::encoder::Encoder` [INFO] [stderr] candidate #2: `ring::rsa::padding::RsaEncoding` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `decode` found for struct `handshake::handshake_struct::Exchange` in the current scope [INFO] [stderr] --> src/handshake/procedure.rs:161:60 [INFO] [stderr] | [INFO] [stderr] 161 | let remote_exchanges = match Exchange::decode(&raw_exchanges) { [INFO] [stderr] | ^^^^^^ function or associated item not found in `handshake::handshake_struct::Exchange` [INFO] [stderr] | [INFO] [stderr] ::: src/handshake/handshake_struct.rs:138:1 [INFO] [stderr] | [INFO] [stderr] 138 | pub struct Exchange { [INFO] [stderr] | ------------------- function or associated item `decode` not found for this [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `decode`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `tokio_io::codec::decoder::Decoder` [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stderr] --> src/handshake/procedure.rs:227:52 [INFO] [stderr] | [INFO] [stderr] 227 | .and_then(|(socket, pub_ephemeral_context, key_material)| { [INFO] [stderr] | ^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `[u8]` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: all local variables must have a statically known size [INFO] [stderr] = help: unsized locals are gated as an unstable feature [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stderr] --> src/handshake/procedure.rs:227:67 [INFO] [stderr] | [INFO] [stderr] 227 | .and_then(|(socket, pub_ephemeral_context, key_material)| { [INFO] [stderr] | ^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] = help: within `(_, [type error], [u8])`, the trait `std::marker::Sized` is not implemented for `[u8]` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: required because it appears within the type `(_, [type error], [u8])` [INFO] [stderr] = note: all function arguments must have a statically known size [INFO] [stderr] = help: unsized locals are gated as an unstable feature [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `encode` found for enum `handshake::handshake_struct::PublicKey` in the current scope [INFO] [stderr] --> src/handshake/handshake_context.rs:93:49 [INFO] [stderr] | [INFO] [stderr] 93 | proposition.pubkey = public_key.clone().encode(); [INFO] [stderr] | ^^^^^^ method not found in `handshake::handshake_struct::PublicKey` [INFO] [stderr] | [INFO] [stderr] ::: src/handshake/handshake_struct.rs:206:1 [INFO] [stderr] | [INFO] [stderr] 206 | pub enum PublicKey { [INFO] [stderr] | ------------------ method `encode` not found for this [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following traits define an item `encode`, perhaps you need to implement one of them: [INFO] [stderr] candidate #1: `tokio_io::codec::encoder::Encoder` [INFO] [stderr] candidate #2: `ring::rsa::padding::RsaEncoding` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `encode` found for struct `handshake::handshake_struct::Propose` in the current scope [INFO] [stderr] --> src/handshake/handshake_context.rs:116:45 [INFO] [stderr] | [INFO] [stderr] 116 | let proposition_bytes = proposition.encode(); [INFO] [stderr] | ^^^^^^ method not found in `handshake::handshake_struct::Propose` [INFO] [stderr] | [INFO] [stderr] ::: src/handshake/handshake_struct.rs:17:1 [INFO] [stderr] | [INFO] [stderr] 17 | pub struct Propose { [INFO] [stderr] | ------------------ method `encode` not found for this [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following traits define an item `encode`, perhaps you need to implement one of them: [INFO] [stderr] candidate #1: `tokio_io::codec::encoder::Encoder` [INFO] [stderr] candidate #2: `ring::rsa::padding::RsaEncoding` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `decode` found for struct `handshake::handshake_struct::Propose` in the current scope [INFO] [stderr] --> src/handshake/handshake_context.rs:135:38 [INFO] [stderr] | [INFO] [stderr] 135 | let propose = match Propose::decode(&remote_bytes) { [INFO] [stderr] | ^^^^^^ function or associated item not found in `handshake::handshake_struct::Propose` [INFO] [stderr] | [INFO] [stderr] ::: src/handshake/handshake_struct.rs:17:1 [INFO] [stderr] | [INFO] [stderr] 17 | pub struct Propose { [INFO] [stderr] | ------------------ function or associated item `decode` not found for this [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `decode`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `tokio_io::codec::decoder::Decoder` [INFO] [stderr] [INFO] [stderr] error[E0599]: no variant or associated item named `decode` found for enum `handshake::handshake_struct::PublicKey` in the current scope [INFO] [stderr] --> src/handshake/handshake_context.rs:146:43 [INFO] [stderr] | [INFO] [stderr] 146 | let public_key = match PublicKey::decode(&propose.pubkey) { [INFO] [stderr] | ^^^^^^ variant or associated item not found in `handshake::handshake_struct::PublicKey` [INFO] [stderr] | [INFO] [stderr] ::: src/handshake/handshake_struct.rs:206:1 [INFO] [stderr] | [INFO] [stderr] 206 | pub enum PublicKey { [INFO] [stderr] | ------------------ variant or associated item `decode` not found here [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `decode`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `tokio_io::codec::decoder::Decoder` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/handshake/handshake_context.rs:241:17 [INFO] [stderr] | [INFO] [stderr] 241 | nonce, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected struct `std::vec::Vec`, found slice `[u8]` [INFO] [stderr] | help: try using a conversion method: `nonce: nonce.to_vec()` [INFO] [stderr] | [INFO] [stderr] = note: expected struct `std::vec::Vec` [INFO] [stderr] found slice `[u8]` [INFO] [stderr] [INFO] [stderr] warning: unused import: `Write` [INFO] [stderr] --> src/handshake/procedure.rs:9:16 [INFO] [stderr] | [INFO] [stderr] 9 | io::{self, Write}, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 10 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0308, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `tentacle-secio`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "6dea9fce57e3aa6710aff6fc0a39144202c8e086bd099062c8d8b07da82e5b6a"` [INFO] running `"docker" "rm" "-f" "6dea9fce57e3aa6710aff6fc0a39144202c8e086bd099062c8d8b07da82e5b6a"` [INFO] [stdout] 6dea9fce57e3aa6710aff6fc0a39144202c8e086bd099062c8d8b07da82e5b6a