[INFO] fetching crate hypercore-protocol 0.3.0... [INFO] checking hypercore-protocol-0.3.0 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate hypercore-protocol 0.3.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate hypercore-protocol 0.3.0 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate hypercore-protocol 0.3.0 [INFO] finished tweaking crates.io crate hypercore-protocol 0.3.0 [INFO] tweaked toml for crates.io crate hypercore-protocol 0.3.0 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate crates.io crate hypercore-protocol 0.3.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 686bfb03afd15489279cb0d06bf30beeb848e92ed9af65461622cd795a5d8160 [INFO] running `Command { std: "docker" "start" "-a" "686bfb03afd15489279cb0d06bf30beeb848e92ed9af65461622cd795a5d8160", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "686bfb03afd15489279cb0d06bf30beeb848e92ed9af65461622cd795a5d8160", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "686bfb03afd15489279cb0d06bf30beeb848e92ed9af65461622cd795a5d8160", kill_on_drop: false }` [INFO] [stdout] 686bfb03afd15489279cb0d06bf30beeb848e92ed9af65461622cd795a5d8160 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7585cd2f009d154b712d7d45f2ddb8436c196f6dc0b1d70da5e7dac35e8117d4 [INFO] running `Command { std: "docker" "start" "-a" "7585cd2f009d154b712d7d45f2ddb8436c196f6dc0b1d70da5e7dac35e8117d4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling libc v0.2.87 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.6 [INFO] [stderr] Checking futures-io v0.3.13 [INFO] [stderr] Checking pin-project-lite v0.2.5 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Checking byteorder v1.4.2 [INFO] [stderr] Checking cache-padded v1.1.1 [INFO] [stderr] Checking fastrand v1.4.0 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Checking cpuid-bool v0.2.0 [INFO] [stderr] Checking vec-arena v1.0.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling signal-hook v0.3.6 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Checking futures-sink v0.3.13 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking gimli v0.23.0 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking object v0.23.0 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling multimap v0.8.2 [INFO] [stderr] Checking rustc-demangle v0.1.18 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking varinteger v1.0.6 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking mkdirp v1.0.0 [INFO] [stderr] Checking async-mutex v1.4.0 [INFO] [stderr] Checking async-lock v2.3.0 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking concurrent-queue v1.2.2 [INFO] [stderr] Checking futures-channel v0.3.13 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking itertools v0.10.0 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling snow v0.7.2 [INFO] [stderr] Checking serde_cbor v0.11.1 [INFO] [stderr] Checking blake2-rfc v0.2.18 [INFO] [stderr] Checking sluice v0.5.4 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking async-channel v1.6.1 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking futures-lite v1.11.3 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking bstr v0.2.15 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking blocking v1.0.2 [INFO] [stderr] Checking async-executor v1.4.0 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Checking criterion-plot v0.4.3 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Checking csv v1.1.5 [INFO] [stderr] Compiling prost-build v0.6.1 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Checking stream-cipher v0.3.2 [INFO] [stderr] Checking crossbeam-epoch v0.9.3 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking addr2line v0.14.1 [INFO] [stderr] Checking salsa20 v0.4.1 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking block-cipher v0.8.0 [INFO] [stderr] Checking universal-hash v0.4.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking aead v0.3.2 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking aes-soft v0.5.0 [INFO] [stderr] Checking stream-cipher v0.7.1 [INFO] [stderr] Checking blake2 v0.9.1 [INFO] [stderr] Checking sha2 v0.9.3 [INFO] [stderr] Checking pretty-bytes v0.2.2 [INFO] [stderr] Checking polyval v0.4.5 [INFO] [stderr] Checking poly1305 v0.6.2 [INFO] [stderr] Checking rayon-core v1.9.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking tinytemplate v1.2.0 [INFO] [stderr] Checking nb-connect v1.0.3 [INFO] [stderr] Checking aes v0.5.0 [INFO] [stderr] Checking backtrace v0.3.56 [INFO] [stderr] Checking plotters v0.3.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking ghash v0.3.1 [INFO] [stderr] Checking aes-gcm v0.7.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling ctor v0.1.19 [INFO] [stderr] Compiling zeroize_derive v1.0.1 [INFO] [stderr] Compiling prost-derive v0.6.1 [INFO] [stderr] Compiling async-trait v0.1.42 [INFO] [stderr] Compiling futures-macro v0.3.13 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling prost-derive v0.7.0 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking zeroize v1.2.0 [INFO] [stderr] Checking polling v2.0.2 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking chacha20 v0.5.0 [INFO] [stderr] Checking curve25519-dalek v3.0.2 [INFO] [stderr] Checking futures-util v0.3.13 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking chacha20poly1305 v0.6.0 [INFO] [stderr] Checking async-io v1.3.1 [INFO] [stderr] Checking async-global-executor v2.0.2 [INFO] [stderr] Checking async-process v1.0.2 [INFO] [stderr] Checking pretty-hash v0.4.1 [INFO] [stderr] Checking async-std v1.9.0 [INFO] [stderr] Checking random-access-storage v4.0.0 [INFO] [stderr] Checking x25519-dalek v1.1.0 [INFO] [stderr] Checking prost v0.7.0 [INFO] [stderr] Compiling prost v0.6.1 [INFO] [stderr] Compiling prost-types v0.6.1 [INFO] [stderr] Checking futures-executor v0.3.13 [INFO] [stderr] Checking futures v0.3.13 [INFO] [stderr] Checking random-access-memory v2.0.0 [INFO] [stderr] Checking criterion v0.3.4 [INFO] [stderr] Compiling hypercore-protocol v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking random-access-disk v2.0.0 [INFO] [stderr] Checking duplexify v1.2.2 [INFO] [stdout] error[E0432]: unresolved import `hypercore` [INFO] [stdout] --> examples/hypercore.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use hypercore::{Feed, Node, NodeTrait, Proof, PublicKey, Signature, Storage}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `hypercore` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TryFrom` [INFO] [stdout] --> examples/hypercore.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0392]: parameter `T` is never used [INFO] [stdout] --> examples/hypercore.rs:118:18 [INFO] [stdout] | [INFO] [stdout] 118 | struct FeedStore [INFO] [stdout] | ^ unused parameter [INFO] [stdout] | [INFO] [stdout] = help: consider removing `T`, referring to it in a field, or using a marker such as `PhantomData` [INFO] [stdout] = help: if you intended `T` to be a const parameter, use `const T: usize` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0392]: parameter `T` is never used [INFO] [stdout] --> examples/hypercore.rs:146:20 [INFO] [stdout] | [INFO] [stdout] 146 | struct FeedWrapper [INFO] [stdout] | ^ unused parameter [INFO] [stdout] | [INFO] [stdout] = help: consider removing `T`, referring to it in a field, or using a marker such as `PhantomData` [INFO] [stdout] = help: if you intended `T` to be a const parameter, use `const T: usize` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0392, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0392`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hypercore-protocol` due to 4 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> examples/basic.rs:52:25 [INFO] [stdout] | [INFO] [stdout] 52 | _ => panic!(usage()), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 52 | _ => panic!("{}", usage()), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 52 | _ => std::panic::panic_any(usage()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this struct takes 1 generic argument but 2 generic arguments were supplied [INFO] [stdout] --> benches/pipe.rs:61:51 [INFO] [stdout] | [INFO] [stdout] 61 | async fn onconnection(i: u64, mut protocol: Protocol) -> Result [INFO] [stdout] | ^^^^^^^^ - help: remove this generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `IO` [INFO] [stdout] --> /opt/rustwide/workdir/src/protocol.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | pub struct Protocol { [INFO] [stdout] | ^^^^^^^^ -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/throughput.rs:111:24 [INFO] [stdout] | [INFO] [stdout] 111 | return protocol.release(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected tuple, found struct `Duplex` [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(R, W)` [INFO] [stdout] found struct `Duplex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/throughput.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | protocol.release() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected tuple, found struct `Duplex` [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(R, W)` [INFO] [stdout] found struct `Duplex` [INFO] [stdout] note: return type inferred to be `(R, W)` here [INFO] [stdout] --> benches/throughput.rs:111:24 [INFO] [stdout] | [INFO] [stdout] 111 | return protocol.release(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "7585cd2f009d154b712d7d45f2ddb8436c196f6dc0b1d70da5e7dac35e8117d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7585cd2f009d154b712d7d45f2ddb8436c196f6dc0b1d70da5e7dac35e8117d4", kill_on_drop: false }` [INFO] [stdout] 7585cd2f009d154b712d7d45f2ddb8436c196f6dc0b1d70da5e7dac35e8117d4