[INFO] crate tentacle-discovery 0.2.9 is already in cache [INFO] testing tentacle-discovery-0.2.9 against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] extracting crate tentacle-discovery 0.2.9 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate tentacle-discovery 0.2.9 on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate tentacle-discovery 0.2.9 [INFO] finished tweaking crates.io crate tentacle-discovery 0.2.9 [INFO] tweaked toml for crates.io crate tentacle-discovery 0.2.9 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate crates.io crate tentacle-discovery 0.2.9 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 10fb768b89c0cdecf4f8ae6ba0dc5e799bca4207c6b929d3bea141a5ea0072f3 [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" "10fb768b89c0cdecf4f8ae6ba0dc5e799bca4207c6b929d3bea141a5ea0072f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "10fb768b89c0cdecf4f8ae6ba0dc5e799bca4207c6b929d3bea141a5ea0072f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10fb768b89c0cdecf4f8ae6ba0dc5e799bca4207c6b929d3bea141a5ea0072f3", kill_on_drop: false }` [INFO] [stdout] 10fb768b89c0cdecf4f8ae6ba0dc5e799bca4207c6b929d3bea141a5ea0072f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 13a17b0a92ed2ffd59c9969ff471bb8af0a66f3d0b78cd6c677dd60a58595039 [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" "13a17b0a92ed2ffd59c9969ff471bb8af0a66f3d0b78cd6c677dd60a58595039", kill_on_drop: false }` [INFO] [stderr] Compiling parity-multiaddr v0.4.1 [INFO] [stderr] Compiling tentacle-secio v0.2.2 [INFO] [stdout] error: Please choose a serialization format via feature. Possible choices: flatc, molc [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tentacle-secio-0.2.2/src/handshake/mod.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | compile_error!("Please choose a serialization format via feature. Possible choices: flatc, molc"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for struct `handshake::handshake_struct::Exchange` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tentacle-secio-0.2.2/src/handshake/procedure.rs:134:45 [INFO] [stdout] | [INFO] [stdout] 134 | let local_exchanges = exchanges.encode(); [INFO] [stdout] | ^^^^^^ method not found in `handshake::handshake_struct::Exchange` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tentacle-secio-0.2.2/src/handshake/handshake_struct.rs:138:1 [INFO] [stdout] | [INFO] [stdout] 138 | pub struct Exchange { [INFO] [stdout] | ------------------- method `encode` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `encode`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `tokio::codec::Encoder` [INFO] [stdout] candidate #2: `ring::signature::RsaEncoding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for struct `handshake::handshake_struct::Exchange` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tentacle-secio-0.2.2/src/handshake/procedure.rs:161:60 [INFO] [stdout] | [INFO] [stdout] 161 | let remote_exchanges = match Exchange::decode(&raw_exchanges) { [INFO] [stdout] | ^^^^^^ function or associated item not found in `handshake::handshake_struct::Exchange` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tentacle-secio-0.2.2/src/handshake/handshake_struct.rs:138:1 [INFO] [stdout] | [INFO] [stdout] 138 | pub struct Exchange { [INFO] [stdout] | ------------------- function or associated item `decode` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `decode`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `tokio::codec::Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tentacle-secio-0.2.2/src/handshake/procedure.rs:227:52 [INFO] [stdout] | [INFO] [stdout] 227 | .and_then(|(socket, pub_ephemeral_context, key_material)| { [INFO] [stdout] | ^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::marker::Sized` is not implemented for `[u8]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tentacle-secio-0.2.2/src/handshake/procedure.rs:227:20 [INFO] [stdout] | [INFO] [stdout] 227 | .and_then(|(socket, pub_ephemeral_context, key_material)| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `(_, [type error], [u8])`, the trait `std::marker::Sized` is not implemented for `[u8]` [INFO] [stdout] = note: required because it appears within the type `(_, [type error], [u8])` [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size [INFO] [stdout] | [INFO] [stdout] 227 | .and_then(|(socket, pub_ephemeral_context, key_material&)| { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for enum `handshake::handshake_struct::PublicKey` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tentacle-secio-0.2.2/src/handshake/handshake_context.rs:93:49 [INFO] [stdout] | [INFO] [stdout] 93 | proposition.pubkey = public_key.clone().encode(); [INFO] [stdout] | ^^^^^^ method not found in `handshake::handshake_struct::PublicKey` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tentacle-secio-0.2.2/src/handshake/handshake_struct.rs:206:1 [INFO] [stdout] | [INFO] [stdout] 206 | pub enum PublicKey { [INFO] [stdout] | ------------------ method `encode` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `encode`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `tokio::codec::Encoder` [INFO] [stdout] candidate #2: `ring::signature::RsaEncoding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for struct `handshake::handshake_struct::Propose` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tentacle-secio-0.2.2/src/handshake/handshake_context.rs:116:45 [INFO] [stdout] | [INFO] [stdout] 116 | let proposition_bytes = proposition.encode(); [INFO] [stdout] | ^^^^^^ method not found in `handshake::handshake_struct::Propose` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tentacle-secio-0.2.2/src/handshake/handshake_struct.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Propose { [INFO] [stdout] | ------------------ method `encode` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `encode`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `tokio::codec::Encoder` [INFO] [stdout] candidate #2: `ring::signature::RsaEncoding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for struct `handshake::handshake_struct::Propose` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tentacle-secio-0.2.2/src/handshake/handshake_context.rs:135:38 [INFO] [stdout] | [INFO] [stdout] 135 | let propose = match Propose::decode(&remote_bytes) { [INFO] [stdout] | ^^^^^^ function or associated item not found in `handshake::handshake_struct::Propose` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tentacle-secio-0.2.2/src/handshake/handshake_struct.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Propose { [INFO] [stdout] | ------------------ function or associated item `decode` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `decode`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `tokio::codec::Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `decode` found for enum `handshake::handshake_struct::PublicKey` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tentacle-secio-0.2.2/src/handshake/handshake_context.rs:146:43 [INFO] [stdout] | [INFO] [stdout] 146 | let public_key = match PublicKey::decode(&propose.pubkey) { [INFO] [stdout] | ^^^^^^ variant or associated item not found in `handshake::handshake_struct::PublicKey` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tentacle-secio-0.2.2/src/handshake/handshake_struct.rs:206:1 [INFO] [stdout] | [INFO] [stdout] 206 | pub enum PublicKey { [INFO] [stdout] | ------------------ variant or associated item `decode` not found here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `decode`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `tokio::codec::Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tentacle-secio-0.2.2/src/handshake/handshake_context.rs:241:17 [INFO] [stdout] | [INFO] [stdout] 241 | nonce, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `std::vec::Vec`, found slice `[u8]` [INFO] [stdout] | help: try using a conversion method: `nonce: nonce.to_vec()` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::vec::Vec` [INFO] [stdout] found slice `[u8]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tentacle-secio`. [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "13a17b0a92ed2ffd59c9969ff471bb8af0a66f3d0b78cd6c677dd60a58595039", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13a17b0a92ed2ffd59c9969ff471bb8af0a66f3d0b78cd6c677dd60a58595039", kill_on_drop: false }` [INFO] [stdout] 13a17b0a92ed2ffd59c9969ff471bb8af0a66f3d0b78cd6c677dd60a58595039