[INFO] crate tentacle-discovery 0.2.9 is already in cache [INFO] checking tentacle-discovery-0.2.9 against try#c8bdaa84ec1b37f18f30375e196a65b7602f3790 for pr-73345 [INFO] extracting crate tentacle-discovery 0.2.9 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate tentacle-discovery 0.2.9 on toolchain c8bdaa84ec1b37f18f30375e196a65b7602f3790 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "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-5/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" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 87ff58ebb6ed6314e9b4bd871fa48c0587b57f6976cfb9648d960ef6ebce247d [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" "87ff58ebb6ed6314e9b4bd871fa48c0587b57f6976cfb9648d960ef6ebce247d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "87ff58ebb6ed6314e9b4bd871fa48c0587b57f6976cfb9648d960ef6ebce247d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87ff58ebb6ed6314e9b4bd871fa48c0587b57f6976cfb9648d960ef6ebce247d", kill_on_drop: false }` [INFO] [stdout] 87ff58ebb6ed6314e9b4bd871fa48c0587b57f6976cfb9648d960ef6ebce247d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ee889a4beb35706995ea88a9405d3fa271a7bd9e4752c7734ac9c79ad1cc9dba [INFO] running `Command { std: "docker" "start" "-a" "ee889a4beb35706995ea88a9405d3fa271a7bd9e4752c7734ac9c79ad1cc9dba", kill_on_drop: false }` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Checking parity-multiaddr v0.4.1 [INFO] [stderr] Checking 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_io::codec::encoder::Encoder` [INFO] [stdout] candidate #2: `ring::rsa::padding::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_io::codec::decoder::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: to learn more, visit [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: to learn more, visit [INFO] [stdout] = note: required because it appears within the type `(_, [type error], [u8])` [INFO] [stdout] = note: all function arguments must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [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_io::codec::encoder::Encoder` [INFO] [stdout] candidate #2: `ring::rsa::padding::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_io::codec::encoder::Encoder` [INFO] [stdout] candidate #2: `ring::rsa::padding::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_io::codec::decoder::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_io::codec::decoder::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] running `Command { std: "docker" "inspect" "ee889a4beb35706995ea88a9405d3fa271a7bd9e4752c7734ac9c79ad1cc9dba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee889a4beb35706995ea88a9405d3fa271a7bd9e4752c7734ac9c79ad1cc9dba", kill_on_drop: false }` [INFO] [stdout] ee889a4beb35706995ea88a9405d3fa271a7bd9e4752c7734ac9c79ad1cc9dba