[INFO] fetching crate hypercore-protocol 0.0.2... [INFO] checking hypercore-protocol-0.0.2 against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] extracting crate hypercore-protocol 0.0.2 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate hypercore-protocol 0.0.2 on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate hypercore-protocol 0.0.2 [INFO] finished tweaking crates.io crate hypercore-protocol 0.0.2 [INFO] tweaked toml for crates.io crate hypercore-protocol 0.0.2 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate crates.io crate hypercore-protocol 0.0.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 297e94af62790feb2d55e8622926b5d39bcc7fb3c9badc6a85e8650b143d54a2 [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" "297e94af62790feb2d55e8622926b5d39bcc7fb3c9badc6a85e8650b143d54a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "297e94af62790feb2d55e8622926b5d39bcc7fb3c9badc6a85e8650b143d54a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "297e94af62790feb2d55e8622926b5d39bcc7fb3c9badc6a85e8650b143d54a2", kill_on_drop: false }` [INFO] [stdout] 297e94af62790feb2d55e8622926b5d39bcc7fb3c9badc6a85e8650b143d54a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e57e42504e721fa575e5887868da7d21b47335e27542fc2b1d6689c610b48351 [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" "e57e42504e721fa575e5887868da7d21b47335e27542fc2b1d6689c610b48351", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling anyhow v1.0.28 [INFO] [stderr] Checking futures-core v0.3.4 [INFO] [stderr] Checking subtle v2.2.2 [INFO] [stderr] Checking pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking futures-task v0.3.4 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling failure_derive v0.1.7 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stderr] Checking subtle v1.0.0 [INFO] [stderr] Compiling multimap v0.8.1 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking pin-project-lite v0.1.4 [INFO] [stderr] Checking regex-syntax v0.6.17 [INFO] [stderr] Checking once_cell v1.3.1 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking varinteger v1.0.6 [INFO] [stderr] Checking instant v0.1.2 [INFO] [stderr] Checking oorandom v11.1.1 [INFO] [stderr] Checking mkdirp v1.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling backtrace-sys v0.1.35 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Checking futures-channel v0.3.4 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Compiling snow v0.7.0-alpha5 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking kv-log-macro v1.0.4 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking universal-hash v0.3.0 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking stream-cipher v0.3.2 [INFO] [stderr] Checking block-cipher-trait v0.6.2 [INFO] [stderr] Checking aead v0.2.0 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking num_cpus v1.12.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking async-task v1.3.1 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking aes-soft v0.3.3 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Checking salsa20 v0.4.1 [INFO] [stderr] Checking polyval v0.3.3 [INFO] [stderr] Checking poly1305 v0.5.2 [INFO] [stderr] Checking sha2 v0.8.1 [INFO] [stderr] Checking crossbeam-channel v0.4.2 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking blake2 v0.8.1 [INFO] [stderr] Checking criterion-plot v0.4.2 [INFO] [stderr] Checking pretty-bytes v0.2.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling petgraph v0.5.0 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking ghash v0.2.3 [INFO] [stderr] Compiling prost-build v0.6.1 [INFO] [stderr] Checking aes v0.3.2 [INFO] [stderr] Checking backtrace v0.3.46 [INFO] [stderr] Checking plotters v0.2.14 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rayon-core v1.7.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking regex v1.3.6 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking async-std v1.5.0 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking bstr v0.2.12 [INFO] [stderr] Checking serde_json v1.0.52 [INFO] [stderr] Checking csv v1.1.3 [INFO] [stderr] Checking tinytemplate v1.0.4 [INFO] [stderr] Checking duplexify v1.1.0 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling zeroize_derive v1.0.0 [INFO] [stderr] Compiling prost-derive v0.6.1 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling async-trait v0.1.30 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Checking zeroize v1.1.0 [INFO] [stderr] Checking chacha20 v0.3.4 [INFO] [stderr] Checking curve25519-dalek v2.0.0 [INFO] [stderr] Checking aes-gcm v0.5.0 [INFO] [stderr] Checking failure v0.1.7 [INFO] [stderr] Checking chacha20poly1305 v0.4.1 [INFO] [stderr] Checking pretty-hash v0.4.1 [INFO] [stderr] Checking x25519-dalek v0.6.0 [INFO] [stderr] Checking futures-util v0.3.4 [INFO] [stderr] Checking random-access-storage v4.0.0 [INFO] [stderr] Checking random-access-disk v2.0.0 [INFO] [stderr] Compiling prost v0.6.1 [INFO] [stderr] Compiling prost-types v0.6.1 [INFO] [stderr] Checking futures-executor v0.3.4 [INFO] [stderr] Checking futures v0.3.4 [INFO] [stderr] Checking piper v0.1.1 [INFO] [stderr] Checking random-access-memory v2.0.0 [INFO] [stderr] Checking criterion v0.3.2 [INFO] [stderr] Compiling hypercore-protocol v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `error` [INFO] [stdout] --> src/protocol.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 169 | error: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hypercore` [INFO] [stdout] --> examples/hypercore.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use hypercore::{Feed, Node, Proof, PublicKey, Signature, Storage}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `hypercore` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TryFutureExt` [INFO] [stdout] --> benches/throughput.rs:4:42 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::future::{Either, FutureExt, TryFutureExt}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `error` [INFO] [stdout] --> src/protocol.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 169 | error: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> examples/basic.rs:50:25 [INFO] [stdout] | [INFO] [stdout] 50 | _ => panic!(usage()), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 50 | _ => panic!("{}", usage()), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 50 | _ => std::panic::panic_any(usage()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FutureExt` [INFO] [stdout] --> benches/throughput.rs:4:31 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::future::{Either, FutureExt, TryFutureExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0392]: parameter `T` is never used [INFO] [stdout] --> examples/hypercore.rs:105:18 [INFO] [stdout] | [INFO] [stdout] 105 | 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] [INFO] [stdout] [INFO] [stdout] error[E0392]: parameter `T` is never used [INFO] [stdout] --> examples/hypercore.rs:133:20 [INFO] [stdout] | [INFO] [stdout] 133 | 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] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "e57e42504e721fa575e5887868da7d21b47335e27542fc2b1d6689c610b48351", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e57e42504e721fa575e5887868da7d21b47335e27542fc2b1d6689c610b48351", kill_on_drop: false }` [INFO] [stdout] e57e42504e721fa575e5887868da7d21b47335e27542fc2b1d6689c610b48351