[INFO] fetching crate dpt 0.3.1... [INFO] testing dpt-0.3.1 against 1.60.0 for beta-1.61-1 [INFO] extracting crate dpt 0.3.1 into /workspace/builds/worker-60/source [INFO] validating manifest of crates.io crate dpt 0.3.1 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate dpt 0.3.1 [INFO] finished tweaking crates.io crate dpt 0.3.1 [INFO] tweaked toml for crates.io crate dpt 0.3.1 written to /workspace/builds/worker-60/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded byte-tools v0.2.0 [INFO] [stderr] Downloaded ethereum-hexutil v0.2.3 [INFO] [stderr] Downloaded generic-array v0.8.4 [INFO] [stderr] Downloaded block-buffer v0.2.0 [INFO] [stderr] Downloaded digest v0.6.1 [INFO] [stderr] Downloaded tokio-timer-plus v0.1.3 [INFO] [stderr] Downloaded elastic-array-plus v0.9.1 [INFO] [stderr] Downloaded ethereum-rlp v0.2.3 [INFO] [stderr] Downloaded ethereum-bigint v0.2.9 [INFO] [stderr] Downloaded sha3 v0.6.0 [INFO] [stderr] Downloaded libsecp256k1 v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-60/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-60/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 57ce54df52c7c32979fafbb6f5af27155876ba0d53141c273df10e205faa8617 [INFO] running `Command { std: "docker" "start" "-a" "57ce54df52c7c32979fafbb6f5af27155876ba0d53141c273df10e205faa8617", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "57ce54df52c7c32979fafbb6f5af27155876ba0d53141c273df10e205faa8617", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57ce54df52c7c32979fafbb6f5af27155876ba0d53141c273df10e205faa8617", kill_on_drop: false }` [INFO] [stdout] 57ce54df52c7c32979fafbb6f5af27155876ba0d53141c273df10e205faa8617 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-60/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-60/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a0abfc18b31854d5c6edff843d023f6cdd299a1277cbcf21730fe4a2bd7cd2d8 [INFO] running `Command { std: "docker" "start" "-a" "a0abfc18b31854d5c6edff843d023f6cdd299a1277cbcf21730fe4a2bd7cd2d8", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling elastic-array-plus v0.9.1 [INFO] [stderr] Compiling ethereum-hexutil v0.2.3 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling byte-tools v0.2.0 [INFO] [stderr] Compiling scoped-tls v0.1.2 [INFO] [stderr] Compiling slab v0.3.0 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling libsecp256k1 v0.1.3 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling tokio-timer-plus v0.1.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling generic-array v0.8.4 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling ethereum-rlp v0.2.3 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling digest v0.6.1 [INFO] [stderr] Compiling block-buffer v0.2.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling ethereum-bigint v0.2.9 [INFO] [stderr] Compiling sha3 v0.6.0 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling tokio-core v0.1.18 [INFO] [stderr] Compiling dpt v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find function `sign` in crate `secp256k1` [INFO] [stdout] --> src/proto.rs:91:37 [INFO] [stdout] | [INFO] [stdout] 91 | let (sig, rec) = secp256k1::sign(&message, &self.secret_key).unwrap(); [INFO] [stdout] | ^^^^ not found in `secp256k1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in crate `secp256k1` [INFO] [stdout] --> src/util.rs:18:56 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn id2pk(id: H512) -> Result { [INFO] [stdout] | ^^^^^ not found in `secp256k1` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use io::Error; [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `id2pk` [INFO] [stdout] --> src/proto.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | use util::{keccak256, pk2id, id2pk}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ipv6Addr` [INFO] [stdout] --> src/message.rs:2:34 [INFO] [stdout] | [INFO] [stdout] 2 | use std::net::{IpAddr, Ipv4Addr, Ipv6Addr}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::future` [INFO] [stdout] --> src/lib.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use futures::future; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncWrite` [INFO] [stdout] --> src/lib.rs:26:27 [INFO] [stdout] | [INFO] [stdout] 26 | use tokio_io::{AsyncRead, AsyncWrite}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Encoder`, `Framed` [INFO] [stdout] --> src/lib.rs:27:23 [INFO] [stdout] | [INFO] [stdout] 27 | use tokio_io::codec::{Framed, Encoder, Decoder}; [INFO] [stdout] | ^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Ipv4Addr`, `Ipv6Addr` [INFO] [stdout] --> src/lib.rs:30:36 [INFO] [stdout] | [INFO] [stdout] 30 | use std::net::{IpAddr, SocketAddr, Ipv4Addr, Ipv6Addr}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `keccak256` [INFO] [stdout] --> src/lib.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | use util::{keccak256, pk2id}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec [INFO] [stdout] --> src/lib.rs:27:23 [INFO] [stdout] | [INFO] [stdout] 27 | use tokio_io::codec::{Framed, Encoder, Decoder}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `parse` found for struct `RecoveryId` in the current scope [INFO] [stdout] --> src/proto.rs:51:44 [INFO] [stdout] | [INFO] [stdout] 51 | let rec_id = try_none!(RecoveryId::parse(buf[96])); [INFO] [stdout] | ^^^^^ function or associated item not found in `RecoveryId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/proto.rs:66:55 [INFO] [stdout] | [INFO] [stdout] 66 | let public_key = try_none!(secp256k1::recover(&message, &sig, &rec_id)); [INFO] [stdout] | ^^^^^^^^ expected struct `Signature`, found struct `Message` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Signature` [INFO] [stdout] found reference `&Message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/proto.rs:66:65 [INFO] [stdout] | [INFO] [stdout] 66 | let public_key = try_none!(secp256k1::recover(&message, &sig, &rec_id)); [INFO] [stdout] | ^^^^ expected struct `RecoveryId`, found struct `Signature` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&RecoveryId` [INFO] [stdout] found reference `&Signature` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/proto.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | Ok(val) => val, [INFO] [stdout] | ^^^^^^^ expected enum `Option`, found enum `Result` [INFO] [stdout] ... [INFO] [stdout] 66 | let public_key = try_none!(secp256k1::recover(&message, &sig, &rec_id)); [INFO] [stdout] | ------------------------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | this expression has type `Option` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] = note: this error originates in the macro `try_none` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/proto.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | Err(_) => return Ok(None), [INFO] [stdout] | ^^^^^^ expected enum `Option`, found enum `Result` [INFO] [stdout] ... [INFO] [stdout] 66 | let public_key = try_none!(secp256k1::recover(&message, &sig, &rec_id)); [INFO] [stdout] | ------------------------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | this expression has type `Option` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] = note: this error originates in the macro `try_none` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `len` found for enum `Option` in the current scope [INFO] [stdout] --> src/util.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | debug_assert!(v.len() == 65); [INFO] [stdout] | ^^^ method not found in `Option<[u8; 65]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `Option<[u8; 65]>` [INFO] [stdout] --> src/util.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | H512::from(&v[1..]) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncRead` [INFO] [stdout] --> src/lib.rs:26:16 [INFO] [stdout] | [INFO] [stdout] 26 | use tokio_io::{AsyncRead, AsyncWrite}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Decoder` [INFO] [stdout] --> src/lib.rs:27:40 [INFO] [stdout] | [INFO] [stdout] 27 | use tokio_io::codec::{Framed, Encoder, Decoder}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0425, E0599, E0608. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dpt` due to 10 previous errors; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "a0abfc18b31854d5c6edff843d023f6cdd299a1277cbcf21730fe4a2bd7cd2d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0abfc18b31854d5c6edff843d023f6cdd299a1277cbcf21730fe4a2bd7cd2d8", kill_on_drop: false }` [INFO] [stdout] a0abfc18b31854d5c6edff843d023f6cdd299a1277cbcf21730fe4a2bd7cd2d8