[INFO] fetching crate tentacle 0.3.3... [INFO] checking tentacle-0.3.3 against master#b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18 for pr-79470 [INFO] extracting crate tentacle 0.3.3 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate tentacle 0.3.3 on toolchain b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate tentacle 0.3.3 [INFO] finished tweaking crates.io crate tentacle 0.3.3 [INFO] tweaked toml for crates.io crate tentacle 0.3.3 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate crates.io crate tentacle 0.3.3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "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-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0784519786c92e0c3c39edc2fb0cc8143d36e0e243d1ac4d49301a65ebebd7f9 [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" "0784519786c92e0c3c39edc2fb0cc8143d36e0e243d1ac4d49301a65ebebd7f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0784519786c92e0c3c39edc2fb0cc8143d36e0e243d1ac4d49301a65ebebd7f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0784519786c92e0c3c39edc2fb0cc8143d36e0e243d1ac4d49301a65ebebd7f9", kill_on_drop: false }` [INFO] [stdout] 0784519786c92e0c3c39edc2fb0cc8143d36e0e243d1ac4d49301a65ebebd7f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7c88c0e93bd177557ebb45a178b7d073550328ccccefe991f5344fd32e552a00 [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" "7c88c0e93bd177557ebb45a178b7d073550328ccccefe991f5344fd32e552a00", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling cc v1.0.41 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking once_cell v1.4.1 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Checking tinyvec v0.3.4 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Checking unsigned-varint v0.3.3 [INFO] [stderr] Checking bs58 v0.3.1 [INFO] [stderr] Compiling tentacle-secio v0.4.2 [INFO] [stderr] Checking bytesize v1.0.1 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking futures-channel v0.3.7 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking futures-task v0.3.7 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Checking unicode-normalization v0.1.13 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking xml-rs v0.7.0 [INFO] [stderr] Checking crossbeam-channel v0.3.9 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling ring v0.16.12 [INFO] [stderr] Compiling secp256k1-sys v0.1.2 [INFO] [stderr] Checking xmltree v0.8.0 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.35 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking memchr v1.0.2 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking socket2 v0.3.15 [INFO] [stderr] Checking nix v0.13.1 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking nom v3.2.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking secp256k1 v0.17.2 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking tokio v0.2.22 [INFO] [stderr] Checking systemstat v0.1.5 [INFO] [stderr] Checking attohttpc v0.4.5 [INFO] [stderr] Checking igd v0.9.1 [INFO] [stderr] Checking tentacle-multiaddr v0.2.0 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Compiling pin-project-internal v1.0.1 [INFO] [stderr] Compiling futures-macro v0.3.7 [INFO] [stderr] Compiling thiserror-impl v1.0.22 [INFO] [stderr] Checking thiserror v1.0.22 [INFO] [stderr] Checking pin-project v1.0.1 [INFO] [stderr] Checking futures-util v0.3.7 [INFO] [stderr] Checking futures-executor v0.3.7 [INFO] [stderr] Checking futures v0.3.7 [INFO] [stderr] Checking futures-test v0.3.7 [INFO] [stderr] Checking tokio-yamux v0.2.8 [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.4.2/src/handshake/mod.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | 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 `Exchange` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tentacle-secio-0.4.2/src/handshake/procedure.rs:118:37 [INFO] [stdout] | [INFO] [stdout] 118 | let local_exchanges = exchanges.encode(); [INFO] [stdout] | ^^^^^^ method not found in `Exchange` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tentacle-secio-0.4.2/src/handshake/handshake_struct.rs:139:1 [INFO] [stdout] | [INFO] [stdout] 139 | 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: `Encoder` [INFO] [stdout] candidate #2: `RsaEncoding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for struct `Exchange` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tentacle-secio-0.4.2/src/handshake/procedure.rs:135:44 [INFO] [stdout] | [INFO] [stdout] 135 | let remote_exchanges = match Exchange::decode(&raw_exchanges) { [INFO] [stdout] | ^^^^^^ function or associated item not found in `Exchange` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tentacle-secio-0.4.2/src/handshake/handshake_struct.rs:139:1 [INFO] [stdout] | [INFO] [stdout] 139 | 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: `Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for enum `handshake_struct::PublicKey` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tentacle-secio-0.4.2/src/handshake/handshake_context.rs:93:41 [INFO] [stdout] | [INFO] [stdout] 93 | proposition.pubkey = encode_key.encode(); [INFO] [stdout] | ^^^^^^ method not found in `handshake_struct::PublicKey` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tentacle-secio-0.4.2/src/handshake/handshake_struct.rs:208:1 [INFO] [stdout] | [INFO] [stdout] 208 | 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: `Encoder` [INFO] [stdout] candidate #2: `RsaEncoding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for struct `Propose` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tentacle-secio-0.4.2/src/handshake/handshake_context.rs:116:45 [INFO] [stdout] | [INFO] [stdout] 116 | let proposition_bytes = proposition.encode(); [INFO] [stdout] | ^^^^^^ method not found in `Propose` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tentacle-secio-0.4.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: `Encoder` [INFO] [stdout] candidate #2: `RsaEncoding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for struct `Propose` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tentacle-secio-0.4.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 `Propose` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tentacle-secio-0.4.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: `Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `decode` found for enum `handshake_struct::PublicKey` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tentacle-secio-0.4.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_struct::PublicKey` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tentacle-secio-0.4.2/src/handshake/handshake_struct.rs:208:1 [INFO] [stdout] | [INFO] [stdout] 208 | 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: `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.4.2/src/handshake/handshake_context.rs:244:17 [INFO] [stdout] | [INFO] [stdout] 244 | nonce, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `Vec`, found slice `[u8]` [INFO] [stdout] | help: try using a conversion method: `nonce: nonce.to_vec()` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found slice `[u8]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [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" "7c88c0e93bd177557ebb45a178b7d073550328ccccefe991f5344fd32e552a00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c88c0e93bd177557ebb45a178b7d073550328ccccefe991f5344fd32e552a00", kill_on_drop: false }` [INFO] [stdout] 7c88c0e93bd177557ebb45a178b7d073550328ccccefe991f5344fd32e552a00