[INFO] fetching crate dpt 0.3.1...
[INFO] testing dpt-0.3.1 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7
[INFO] extracting crate dpt 0.3.1 into /workspace/builds/worker-5-tc2/source
[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-5-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate dpt 0.3.1 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 98 packages to latest compatible versions
[INFO] [stderr]       Adding env_logger v0.3.5 (available: v0.11.8)
[INFO] [stderr]       Adding futures v0.1.31 (available: v0.3.31)
[INFO] [stderr]       Adding libsecp256k1 v0.1.3 (available: v0.1.15)
[INFO] [stderr]       Adding log v0.3.9 (available: v0.4.28)
[INFO] [stderr]       Adding rand v0.4.6 (available: v0.9.2)
[INFO] [stderr]       Adding sha3 v0.6.0 (available: v0.10.8)
[INFO] [stderr]       Adding time v0.1.45 (available: v0.3.44)
[INFO] [stderr]       Adding url v1.7.2 (available: v2.5.7)
[INFO] [stderr]       Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 364700e8ec2fb1acb8ce0c9fa5bc438a331fe96471321d2a1f40981b543d6ac2
[INFO] running `Command { std: "docker" "start" "-a" "364700e8ec2fb1acb8ce0c9fa5bc438a331fe96471321d2a1f40981b543d6ac2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "364700e8ec2fb1acb8ce0c9fa5bc438a331fe96471321d2a1f40981b543d6ac2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "364700e8ec2fb1acb8ce0c9fa5bc438a331fe96471321d2a1f40981b543d6ac2", kill_on_drop: false }`
[INFO] [stdout] 364700e8ec2fb1acb8ce0c9fa5bc438a331fe96471321d2a1f40981b543d6ac2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 46fc7d992637b798e468d4ba1e1ef405fbd4a7022c9987dc42ecd7f14598cf5a
[INFO] running `Command { std: "docker" "start" "-a" "46fc7d992637b798e468d4ba1e1ef405fbd4a7022c9987dc42ecd7f14598cf5a", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling futures v0.1.31
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling nodrop v0.1.14
[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 lock_api v0.3.4
[INFO] [stderr]    Compiling byte-tools v0.2.0
[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 iovec v0.1.4
[INFO] [stderr]    Compiling slab v0.3.0
[INFO] [stderr]    Compiling scoped-tls v0.1.2
[INFO] [stderr]    Compiling libsecp256k1 v0.1.3
[INFO] [stderr]    Compiling generic-array v0.8.4
[INFO] [stderr]    Compiling bytes v0.4.12
[INFO] [stderr]    Compiling mio v0.6.23
[INFO] [stderr]    Compiling semver v0.9.0
[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 ethereum-rlp v0.2.3
[INFO] [stderr]    Compiling sha3 v0.6.0
[INFO] [stderr]    Compiling smallvec v0.6.14
[INFO] [stderr]    Compiling parking_lot_core v0.6.3
[INFO] [stderr]    Compiling parking_lot v0.9.0
[INFO] [stderr]    Compiling ethereum-bigint v0.2.9
[INFO] [stderr]    Compiling crossbeam-queue v0.2.3
[INFO] [stderr]    Compiling mio-uds v0.6.8
[INFO] [stderr]    Compiling crossbeam-deque v0.7.4
[INFO] [stderr]    Compiling tokio-executor v0.1.10
[INFO] [stderr]    Compiling tokio-io v0.1.13
[INFO] [stderr]    Compiling tokio-sync v0.1.8
[INFO] [stderr]    Compiling tokio-timer-plus v0.1.3
[INFO] [stderr]    Compiling tokio-threadpool v0.1.18
[INFO] [stderr]    Compiling tokio-current-thread v0.1.7
[INFO] [stderr]    Compiling tokio-timer v0.2.13
[INFO] [stderr]    Compiling tokio-reactor v0.1.12
[INFO] [stderr]    Compiling tokio-codec v0.1.2
[INFO] [stderr]    Compiling tokio-uds v0.2.7
[INFO] [stderr]    Compiling tokio-udp v0.1.6
[INFO] [stderr]    Compiling tokio-tcp v0.1.4
[INFO] [stderr]    Compiling tokio-fs v0.1.7
[INFO] [stderr]    Compiling tokio v0.1.22
[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<PublicKey, secp256k1::Error> {
[INFO] [stdout]    |                                                        ^^^^^ not found in `secp256k1`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::error::Error;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::fmt::Error;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use io::Error;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `Error`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 18 - pub fn id2pk(id: H512) -> Result<PublicKey, secp256k1::Error> {
[INFO] [stdout] 18 + pub fn id2pk(id: H512) -> Result<PublicKey, 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)]` (part of `#[warn(unused)]`) 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` and `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` and `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]: arguments to this function are incorrect
[INFO] [stdout]    --> src/proto.rs:66:36
[INFO] [stdout]     |
[INFO] [stdout]  66 |         let public_key = try_none!(secp256k1::recover(&message, &sig, &rec_id));
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^^^^ --------  ---- argument #2 of type `&RecoveryId` is missing
[INFO] [stdout]     |                                                       |
[INFO] [stdout]     |                                                       unexpected argument #1 of type `&Message`
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libsecp256k1-0.1.3/src/lib.rs:175:8
[INFO] [stdout]     |
[INFO] [stdout] 175 | pub fn recover(signature: &Signature, recovery_id: &RecoveryId, message: &Message) -> Option<PublicKey> {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] help: did you mean
[INFO] [stdout]     |
[INFO] [stdout]  66 -         let public_key = try_none!(secp256k1::recover(&message, &sig, &rec_id));
[INFO] [stdout]  66 +         let public_key = try_none!(secp256k1::recover(&sig, /* &RecoveryId */, &rec_id));
[INFO] [stdout]     |
[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 `Option<PublicKey>`, found `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<PublicKey>`
[INFO] [stdout]    |                          in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected enum `Option<PublicKey>`
[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 `Option<PublicKey>`, found `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<PublicKey>`
[INFO] [stdout]    |                          in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected enum `Option<PublicKey>`
[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[E0282]: type annotations needed
[INFO] [stdout]   --> src/proto.rs:94:18
[INFO] [stdout]    |
[INFO] [stdout] 94 |         for d in sig.serialize().as_ref() {
[INFO] [stdout]    |                  ^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/proto.rs:97:23
[INFO] [stdout]    |
[INFO] [stdout] 97 |         hashdata.push(rec.serialize());
[INFO] [stdout]    |                       ^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0624]: method `len` is private
[INFO] [stdout]   --> src/util.rs:14:21
[INFO] [stdout]    |
[INFO] [stdout] 14 |     debug_assert!(v.len() == 65);
[INFO] [stdout]    |                     ^^^ private method
[INFO] [stdout]    |
[INFO] [stdout]   --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/option.rs:809:4
[INFO] [stdout]    |
[INFO] [stdout]    = note: private method defined here
[INFO] [stdout] note: the method `len` exists on the type `[u8; 65]`
[INFO] [stdout]   --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/slice/mod.rs:114:4
[INFO] [stdout] help: consider using `Option::expect` to unwrap the `[u8; 65]` value, panicking if the value is an `Option::None`
[INFO] [stdout]    |
[INFO] [stdout] 14 |     debug_assert!(v.expect("REASON").len() == 65);
[INFO] [stdout]    |                    +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `Option<[u8; 65]>`
[INFO] [stdout]   --> src/util.rs:15:18
[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] warning: unused variable: `pong_message`
[INFO] [stdout]    --> src/lib.rs:334:25
[INFO] [stdout]     |
[INFO] [stdout] 334 |                     let pong_message: PongMessage = match UntrustedRlp::new(&message.data).as_val() {
[INFO] [stdout]     |                         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pong_message`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0308, E0412, E0425, E0599, E0608, E0624.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `dpt` (lib) due to 10 previous errors; 12 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "46fc7d992637b798e468d4ba1e1ef405fbd4a7022c9987dc42ecd7f14598cf5a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "46fc7d992637b798e468d4ba1e1ef405fbd4a7022c9987dc42ecd7f14598cf5a", kill_on_drop: false }`
[INFO] [stdout] 46fc7d992637b798e468d4ba1e1ef405fbd4a7022c9987dc42ecd7f14598cf5a
