[INFO] fetching crate hypercore-protocol 0.3.1... [INFO] building hypercore-protocol-0.3.1 against try#b755f8b9936d084e0363ce6b393c7e444a37080e for pr-97334-1 [INFO] extracting crate hypercore-protocol 0.3.1 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate hypercore-protocol 0.3.1 on toolchain b755f8b9936d084e0363ce6b393c7e444a37080e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b755f8b9936d084e0363ce6b393c7e444a37080e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate hypercore-protocol 0.3.1 [INFO] finished tweaking crates.io crate hypercore-protocol 0.3.1 [INFO] tweaked toml for crates.io crate hypercore-protocol 0.3.1 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate crates.io crate hypercore-protocol 0.3.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b755f8b9936d084e0363ce6b393c7e444a37080e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+b755f8b9936d084e0363ce6b393c7e444a37080e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d80e7fd7e7e60984394822057551e418d9930f296051c0bb14ffc1586d2cc64b [INFO] running `Command { std: "docker" "start" "-a" "d80e7fd7e7e60984394822057551e418d9930f296051c0bb14ffc1586d2cc64b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d80e7fd7e7e60984394822057551e418d9930f296051c0bb14ffc1586d2cc64b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d80e7fd7e7e60984394822057551e418d9930f296051c0bb14ffc1586d2cc64b", kill_on_drop: false }` [INFO] [stdout] d80e7fd7e7e60984394822057551e418d9930f296051c0bb14ffc1586d2cc64b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+b755f8b9936d084e0363ce6b393c7e444a37080e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5dac75b0b4e30de2790abeda0e1eb3ddb4c0a2afb617e4da054c9fe32711e4e9 [INFO] running `Command { std: "docker" "start" "-a" "5dac75b0b4e30de2790abeda0e1eb3ddb4c0a2afb617e4da054c9fe32711e4e9", 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 typenum v1.12.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling libc v0.2.87 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling anyhow v1.0.38 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling byteorder v1.4.2 [INFO] [stderr] Compiling cpuid-bool v0.2.0 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.6 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling gimli v0.23.0 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling rustc-demangle v0.1.18 [INFO] [stderr] Compiling object v0.23.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling multimap v0.8.2 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling cache-padded v1.1.1 [INFO] [stderr] Compiling futures-core v0.3.13 [INFO] [stderr] Compiling fastrand v1.4.0 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling pin-project-lite v0.2.5 [INFO] [stderr] Compiling event-listener v2.5.1 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling futures-io v0.3.13 [INFO] [stderr] Compiling futures-timer v3.0.2 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling varinteger v1.0.6 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling addr2line v0.14.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling futures-lite v1.11.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling snow v0.7.2 [INFO] [stderr] Compiling blake2-rfc v0.2.18 [INFO] [stderr] Compiling prost-build v0.6.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling block-cipher v0.8.0 [INFO] [stderr] Compiling universal-hash v0.4.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling backtrace v0.3.56 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling stream-cipher v0.7.1 [INFO] [stderr] Compiling aes-soft v0.5.0 [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stderr] Compiling poly1305 v0.6.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling blake2 v0.9.1 [INFO] [stderr] Compiling sha2 v0.9.3 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling salsa20 v0.6.0 [INFO] [stderr] Compiling aes v0.5.0 [INFO] [stderr] Compiling ghash v0.3.1 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling aes-gcm v0.7.0 [INFO] [stderr] Compiling zeroize_derive v1.0.1 [INFO] [stderr] Compiling prost-derive v0.6.1 [INFO] [stderr] Compiling ctor v0.1.19 [INFO] [stderr] Compiling prost-derive v0.7.0 [INFO] [stderr] Compiling async-trait v0.1.42 [INFO] [stderr] Compiling zeroize v1.2.0 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling prost v0.6.1 [INFO] [stderr] Compiling pretty-hash v0.4.1 [INFO] [stderr] Compiling chacha20 v0.5.0 [INFO] [stderr] Compiling curve25519-dalek v3.0.2 [INFO] [stderr] Compiling prost v0.7.0 [INFO] [stderr] Compiling chacha20poly1305 v0.6.0 [INFO] [stderr] Compiling prost-types v0.6.1 [INFO] [stderr] Compiling x25519-dalek v1.1.0 [INFO] [stderr] Compiling hypercore-protocol v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `name`, `channel` and `local_id` are never read [INFO] [stdout] --> src/extension.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct ExtensionHandle { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 87 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 88 | channel: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 89 | local_id: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `ExtensionHandle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `required` is never read [INFO] [stdout] --> src/message.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct EncodeError { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 12 | required: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EncodeError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 54.49s [INFO] running `Command { std: "docker" "inspect" "5dac75b0b4e30de2790abeda0e1eb3ddb4c0a2afb617e4da054c9fe32711e4e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5dac75b0b4e30de2790abeda0e1eb3ddb4c0a2afb617e4da054c9fe32711e4e9", kill_on_drop: false }` [INFO] [stdout] 5dac75b0b4e30de2790abeda0e1eb3ddb4c0a2afb617e4da054c9fe32711e4e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+b755f8b9936d084e0363ce6b393c7e444a37080e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 03540070b73bfa3b342036ab8235ca5111c8f33172aa21b0e8e2e7bae04c5942 [INFO] running `Command { std: "docker" "start" "-a" "03540070b73bfa3b342036ab8235ca5111c8f33172aa21b0e8e2e7bae04c5942", kill_on_drop: false }` [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Compiling vec-arena v1.0.0 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling signal-hook v0.3.6 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-sink v0.3.13 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling async-task v4.0.3 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling futures-task v0.3.13 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Compiling plotters-backend v0.3.0 [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stderr] Compiling half v1.7.1 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling mkdirp v1.0.0 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling itertools v0.10.0 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Compiling async-lock v2.3.0 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling futures-channel v0.3.13 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling plotters-svg v0.3.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling sluice v0.5.4 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling nb-connect v1.0.3 [INFO] [stderr] Compiling pretty-bytes v0.2.2 [INFO] [stderr] Compiling blocking v1.0.2 [INFO] [stderr] Compiling async-executor v1.4.0 [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Compiling bstr v0.2.15 [INFO] [stderr] Compiling serde_cbor v0.11.1 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling futures-macro v0.3.13 [INFO] [stderr] Compiling crossbeam-epoch v0.9.3 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling plotters v0.3.0 [INFO] [stderr] Compiling random-access-storage v4.0.0 [INFO] [stderr] Compiling csv v1.1.5 [INFO] [stderr] Compiling tinytemplate v1.2.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling criterion-plot v0.4.3 [INFO] [stderr] Compiling futures-util v0.3.13 [INFO] [stderr] Compiling polling v2.0.2 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stdout] warning: fields `name`, `channel` and `local_id` are never read [INFO] [stdout] --> src/extension.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct ExtensionHandle { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 87 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 88 | channel: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 89 | local_id: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `ExtensionHandle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `required` is never read [INFO] [stdout] --> src/message.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct EncodeError { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 12 | required: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EncodeError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling async-io v1.3.1 [INFO] [stderr] Compiling async-process v1.0.2 [INFO] [stderr] Compiling async-global-executor v2.0.2 [INFO] [stderr] Compiling futures-executor v0.3.13 [INFO] [stderr] Compiling async-std v1.9.0 [INFO] [stderr] Compiling futures v0.3.13 [INFO] [stderr] Compiling criterion v0.3.4 [INFO] [stderr] Compiling random-access-memory v2.0.0 [INFO] [stderr] Compiling duplexify v1.2.2 [INFO] [stderr] Compiling random-access-disk v2.0.0 [INFO] [stderr] Compiling hypercore-protocol v0.3.1 (/opt/rustwide/workdir) [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] [INFO] [stdout] [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 use the `Debug` implementation of `()` [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: fields `name`, `channel` and `local_id` are never read [INFO] [stdout] --> src/extension.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct ExtensionHandle { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 87 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 88 | channel: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 89 | local_id: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `ExtensionHandle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] [INFO] [stdout] [INFO] [stderr] error: could not compile `hypercore-protocol` due to 4 previous errors; 1 warning emitted [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] [stdout] warning: field `required` is never read [INFO] [stdout] --> src/message.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct EncodeError { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 12 | required: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EncodeError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: internal compiler error: compiler/rustc_mir_transform/src/generator.rs:760:13: Broken MIR: generator contains type Result in MIR, but typeck only knows about {ResumeTy, impl futures_lite::Future>, Protocol>), std::io::Error>>, (), Protocol>, [u8; 32], impl futures_lite::Future>, async_std::task::JoinHandle>, hypercore_protocol::Channel), std::io::Error>>, hypercore_protocol::Channel, Vec<&[u8; 32]>, impl futures_lite::Future>, impl futures_lite::Future>, Result)>, Event, impl futures_lite::Future>, Result<(), std::io::Error>, async_std::stream::stream::next::NextFuture, Option} and [] [INFO] [stdout] --> tests/basic.rs:101:1 [INFO] [stdout] | [INFO] [stdout] 101 | #[async_std::test] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error: internal compiler error originates in the attribute macro `async_std::test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] thread 'rustc' panicked at 'Box', /rustc/b755f8b9936d084e0363ce6b393c7e444a37080e/compiler/rustc_errors/src/lib.rs:1398:9 [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x7ff577ee8210 - std::backtrace_rs::backtrace::libunwind::trace::h0635bbcc15f1a527 [INFO] [stderr] at /rustc/b755f8b9936d084e0363ce6b393c7e444a37080e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stderr] 1: 0x7ff577ee8210 - std::backtrace_rs::backtrace::trace_unsynchronized::h2f139649c4717994 [INFO] [stderr] at /rustc/b755f8b9936d084e0363ce6b393c7e444a37080e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stderr] 2: 0x7ff577ee8210 - std::sys_common::backtrace::_print_fmt::h1bfd64239328f990 [INFO] [stderr] at /rustc/b755f8b9936d084e0363ce6b393c7e444a37080e/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stderr] 3: 0x7ff577ee8210 - ::fmt::h0228dc1410a56233 [INFO] [stderr] at /rustc/b755f8b9936d084e0363ce6b393c7e444a37080e/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stderr] 4: 0x7ff577f4302e - core::fmt::write::hceb37e40129b2ef6 [INFO] [stderr] at /rustc/b755f8b9936d084e0363ce6b393c7e444a37080e/library/core/src/fmt/mod.rs:1202:17 [INFO] [stderr] 5: 0x7ff577ed8ad5 - std::io::Write::write_fmt::h7aef09b2f8dd6912 [INFO] [stderr] at /rustc/b755f8b9936d084e0363ce6b393c7e444a37080e/library/std/src/io/mod.rs:1679:15 [INFO] [stderr] 6: 0x7ff577eeae63 - std::sys_common::backtrace::_print::h9317a39a27ffc158 [INFO] [stderr] at /rustc/b755f8b9936d084e0363ce6b393c7e444a37080e/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stderr] 7: 0x7ff577eeae63 - std::sys_common::backtrace::print::h3f862bf30220d547 [INFO] [stderr] at /rustc/b755f8b9936d084e0363ce6b393c7e444a37080e/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stderr] 8: 0x7ff577eeae63 - std::panicking::default_hook::{{closure}}::h5f1809c5cfd4c61f [INFO] [stderr] at /rustc/b755f8b9936d084e0363ce6b393c7e444a37080e/library/std/src/panicking.rs:295:22 [INFO] [stderr] 9: 0x7ff577eeab4f - std::panicking::default_hook::h48ae03b43c4da387 [INFO] [stderr] at /rustc/b755f8b9936d084e0363ce6b393c7e444a37080e/library/std/src/panicking.rs:314:9 [INFO] [stderr] 10: 0x7ff57a763461 - >::call_once::{shim:vtable#0} [INFO] [stderr] 11: 0x7ff577eeb69d - std::panicking::rust_panic_with_hook::h064155defabdfb6a [INFO] [stderr] at /rustc/b755f8b9936d084e0363ce6b393c7e444a37080e/library/std/src/panicking.rs:702:17 [INFO] [stderr] 12: 0x7ff57a9c7651 - std[2aca39d6cbfe9e59]::panicking::begin_panic::::{closure#0} [INFO] [stderr] 13: 0x7ff57a9c2796 - std[2aca39d6cbfe9e59]::sys_common::backtrace::__rust_end_short_backtrace::::{closure#0}, !> [INFO] [stderr] 14: 0x7ff57a9c1b46 - std[2aca39d6cbfe9e59]::panicking::begin_panic:: [INFO] [stderr] 15: 0x7ff57aa0abe6 - std[2aca39d6cbfe9e59]::panic::panic_any:: [INFO] [stderr] 16: 0x7ff57aa09801 - ::span_bug:: [INFO] [stderr] 17: 0x7ff57aa09570 - ::span_bug:: [INFO] [stderr] 18: 0x7ff57aa36788 - rustc_middle[7be35d0dc781b06b]::ty::context::tls::with_context_opt::::{closure#0}, ()>::{closure#0}, ()> [INFO] [stderr] 19: 0x7ff57aa365a6 - rustc_middle[7be35d0dc781b06b]::util::bug::opt_span_bug_fmt:: [INFO] [stderr] 20: 0x7ff57aa36564 - rustc_middle[7be35d0dc781b06b]::util::bug::span_bug_fmt:: [INFO] [stderr] 21: 0x7ff57a9bd76d - ::run_pass [INFO] [stderr] 22: 0x7ff579203f3a - rustc_mir_transform[f8f749f4a15136ee]::pass_manager::run_passes_no_validate [INFO] [stderr] 23: 0x7ff5791fd1d4 - rustc_mir_transform[f8f749f4a15136ee]::run_analysis_to_runtime_passes [INFO] [stderr] 24: 0x7ff5791fc1e1 - rustc_mir_transform[f8f749f4a15136ee]::mir_drops_elaborated_and_const_checked [INFO] [stderr] 25: 0x7ff579dbf1ea - rustc_query_system[6839c0556e8dcf6d]::query::plumbing::try_execute_query::, &rustc_data_structures[54467c84bdba8388]::steal::Steal>> [INFO] [stderr] 26: 0x7ff57a6a42fc - ::mir_drops_elaborated_and_const_checked [INFO] [stderr] 27: 0x7ff579262afb - rustc_mir_transform[f8f749f4a15136ee]::optimized_mir [INFO] [stderr] 28: 0x7ff5797a0ae9 - rustc_query_system[6839c0556e8dcf6d]::query::plumbing::try_execute_query::> [INFO] [stderr] 29: 0x7ff57a6a4721 - ::optimized_mir [INFO] [stderr] 30: 0x7ff57b7b94ec - ::generator_layout [INFO] [stderr] 31: 0x7ff579ff9079 - >::layout_of_uncached [INFO] [stderr] 32: 0x7ff579ff3b8c - rustc_middle[7be35d0dc781b06b]::ty::layout::layout_of [INFO] [stderr] 33: 0x7ff579c39d73 - rustc_query_system[6839c0556e8dcf6d]::query::plumbing::get_query:: [INFO] [stderr] 34: 0x7ff579c39933 - ::layout_of [INFO] [stderr] 35: 0x7ff579a10643 - , >::layout_of_uncached::{closure#5}::{closure#0}>, core[87f6064f357e42c2]::result::Result> as core[87f6064f357e42c2]::iter::traits::iterator::Iterator>::next [INFO] [stderr] 36: 0x7ff579a0f781 - >> as alloc[70b5d75d5e7e3937]::vec::spec_from_iter::SpecFromIter>, core[87f6064f357e42c2]::iter::adapters::GenericShunt, >::layout_of_uncached::{closure#5}>, core[87f6064f357e42c2]::result::Result>>>::from_iter [INFO] [stderr] 37: 0x7ff579ff4af8 - >::layout_of_uncached [INFO] [stderr] 38: 0x7ff579ff3b8c - rustc_middle[7be35d0dc781b06b]::ty::layout::layout_of [INFO] [stderr] 39: 0x7ff579c39d73 - rustc_query_system[6839c0556e8dcf6d]::query::plumbing::get_query:: [INFO] [stderr] 40: 0x7ff579c39933 - ::layout_of [INFO] [stderr] 41: 0x7ff579ff420e - rustc_middle[7be35d0dc781b06b]::ty::layout::layout_of [INFO] [stderr] 42: 0x7ff579c39d73 - rustc_query_system[6839c0556e8dcf6d]::query::plumbing::get_query:: [INFO] [stderr] 43: 0x7ff579c39933 - ::layout_of [INFO] [stderr] 44: 0x7ff579dd39ab - ::check [INFO] [stderr] 45: 0x7ff579dca4f3 - ::run_lint [INFO] [stderr] 46: 0x7ff579203f3a - rustc_mir_transform[f8f749f4a15136ee]::pass_manager::run_passes_no_validate [INFO] [stderr] 47: 0x7ff5791fd1d4 - rustc_mir_transform[f8f749f4a15136ee]::run_analysis_to_runtime_passes [INFO] [stderr] 48: 0x7ff5791fc1e1 - rustc_mir_transform[f8f749f4a15136ee]::mir_drops_elaborated_and_const_checked [INFO] [stderr] 49: 0x7ff579dbf1ea - rustc_query_system[6839c0556e8dcf6d]::query::plumbing::try_execute_query::, &rustc_data_structures[54467c84bdba8388]::steal::Steal>> [INFO] [stderr] 50: 0x7ff57a6a42fc - ::mir_drops_elaborated_and_const_checked [INFO] [stderr] 51: 0x7ff579262afb - rustc_mir_transform[f8f749f4a15136ee]::optimized_mir [INFO] [stderr] 52: 0x7ff5797a0ae9 - rustc_query_system[6839c0556e8dcf6d]::query::plumbing::try_execute_query::> [INFO] [stderr] 53: 0x7ff57a6a4721 - ::optimized_mir [INFO] [stderr] 54: 0x7ff57937deb6 - ::instance_mir [INFO] [stderr] 55: 0x7ff57937298c - rustc_monomorphize[19f1ef73da73a7d8]::collector::collect_neighbours [INFO] [stderr] 56: 0x7ff579370812 - rustc_monomorphize[19f1ef73da73a7d8]::collector::collect_items_rec [INFO] [stderr] 57: 0x7ff579370ce9 - rustc_monomorphize[19f1ef73da73a7d8]::collector::collect_items_rec [INFO] [stderr] 58: 0x7ff579370ce9 - rustc_monomorphize[19f1ef73da73a7d8]::collector::collect_items_rec [INFO] [stderr] 59: 0x7ff579f05abe - rustc_data_structures[54467c84bdba8388]::sync::par_for_each_in::, rustc_monomorphize[19f1ef73da73a7d8]::collector::collect_crate_mono_items::{closure#1}::{closure#0}> [INFO] [stderr] 60: 0x7ff579f0593c - ::time::<(), rustc_monomorphize[19f1ef73da73a7d8]::collector::collect_crate_mono_items::{closure#1}> [INFO] [stderr] 61: 0x7ff579f055a9 - rustc_monomorphize[19f1ef73da73a7d8]::collector::collect_crate_mono_items [INFO] [stderr] 62: 0x7ff579f04416 - rustc_monomorphize[19f1ef73da73a7d8]::partitioning::collect_and_partition_mono_items [INFO] [stderr] 63: 0x7ff57a52b44e - rustc_query_system[6839c0556e8dcf6d]::query::plumbing::try_execute_query::>, &[rustc_middle[7be35d0dc781b06b]::mir::mono::CodegenUnit])>> [INFO] [stderr] 64: 0x7ff57a52b127 - rustc_query_system[6839c0556e8dcf6d]::query::plumbing::get_query:: [INFO] [stderr] 65: 0x7ff57a52b05e - ::collect_and_partition_mono_items [INFO] [stderr] 66: 0x7ff57a265be2 - rustc_codegen_ssa[33e4c67eaae29b5]::base::codegen_crate:: [INFO] [stderr] 67: 0x7ff57a2659ae - ::codegen_crate [INFO] [stderr] 68: 0x7ff5795562bc - ::time::, rustc_interface[4ffcd4abddbf64f2]::passes::start_codegen::{closure#0}> [INFO] [stderr] 69: 0x7ff579555c9e - ::enter::<::ongoing_codegen::{closure#0}::{closure#0}, core[87f6064f357e42c2]::result::Result, rustc_errors[7468fe47648b8434]::ErrorGuaranteed>> [INFO] [stderr] 70: 0x7ff5795162c3 - ::ongoing_codegen [INFO] [stderr] 71: 0x7ff5795146fd - rustc_interface[4ffcd4abddbf64f2]::interface::create_compiler_and_run::, rustc_driver[d785e9c303ecd8ca]::run_compiler::{closure#1}> [INFO] [stderr] 72: 0x7ff579513011 - >::set::, rustc_driver[d785e9c303ecd8ca]::run_compiler::{closure#1}>::{closure#0}, core[87f6064f357e42c2]::result::Result<(), rustc_errors[7468fe47648b8434]::ErrorGuaranteed>> [INFO] [stderr] 73: 0x7ff579512cff - std[2aca39d6cbfe9e59]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver[d785e9c303ecd8ca]::run_compiler::{closure#1}>::{closure#0}, core[87f6064f357e42c2]::result::Result<(), rustc_errors[7468fe47648b8434]::ErrorGuaranteed>>::{closure#0}, core[87f6064f357e42c2]::result::Result<(), rustc_errors[7468fe47648b8434]::ErrorGuaranteed>> [INFO] [stderr] 74: 0x7ff57a5d9e89 - <::spawn_unchecked_, rustc_driver[d785e9c303ecd8ca]::run_compiler::{closure#1}>::{closure#0}, core[87f6064f357e42c2]::result::Result<(), rustc_errors[7468fe47648b8434]::ErrorGuaranteed>>::{closure#0}, core[87f6064f357e42c2]::result::Result<(), rustc_errors[7468fe47648b8434]::ErrorGuaranteed>>::{closure#1} as core[87f6064f357e42c2]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stderr] 75: 0x7ff577ef54f3 - as core::ops::function::FnOnce>::call_once::h3998462ded511e97 [INFO] [stderr] at /rustc/b755f8b9936d084e0363ce6b393c7e444a37080e/library/alloc/src/boxed.rs:1940:9 [INFO] [stderr] 76: 0x7ff577ef54f3 - as core::ops::function::FnOnce>::call_once::hb68442c5b53e403f [INFO] [stderr] at /rustc/b755f8b9936d084e0363ce6b393c7e444a37080e/library/alloc/src/boxed.rs:1940:9 [INFO] [stderr] 77: 0x7ff577ef54f3 - std::sys::unix::thread::Thread::new::thread_start::h9c65d60d9d9c7be4 [INFO] [stderr] at /rustc/b755f8b9936d084e0363ce6b393c7e444a37080e/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stderr] 78: 0x7ff577da6609 - start_thread [INFO] [stderr] 79: 0x7ff577cc9133 - clone [INFO] [stderr] 80: 0x0 - [INFO] [stderr] [INFO] [stderr] note: the compiler unexpectedly panicked. this is a bug. [INFO] [stderr] [INFO] [stderr] note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md [INFO] [stderr] [INFO] [stderr] note: rustc 1.65.0-nightly (b755f8b99 2022-09-07) running on x86_64-unknown-linux-gnu [INFO] [stderr] [INFO] [stderr] note: compiler flags: -C embed-bitcode=no -C debuginfo=2 [INFO] [stderr] [INFO] [stderr] note: some of the compiler flags provided by cargo are hidden [INFO] [stderr] [INFO] [stderr] query stack during panic: [INFO] [stderr] #0 [mir_drops_elaborated_and_const_checked] elaborating drops for `open_close_channels::{closure#0}` [INFO] [stderr] #1 [optimized_mir] optimizing MIR for `open_close_channels::{closure#0}` [INFO] [stderr] #2 [layout_of] computing layout of `[static generator@tests/basic.rs:101:1: 101:19]` [INFO] [stderr] #3 [layout_of] computing layout of `core::future::from_generator::GenFuture<[static generator@tests/basic.rs:101:1: 101:19]>` [INFO] [stderr] #4 [layout_of] computing layout of `impl core::future::future::Future>` [INFO] [stderr] #5 [mir_drops_elaborated_and_const_checked] elaborating drops for `open_close_channels` [INFO] [stderr] #6 [optimized_mir] optimizing MIR for `open_close_channels` [INFO] [stderr] #7 [collect_and_partition_mono_items] collect_and_partition_mono_items [INFO] [stderr] end of query stack [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hypercore-protocol` due to previous error [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "03540070b73bfa3b342036ab8235ca5111c8f33172aa21b0e8e2e7bae04c5942", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03540070b73bfa3b342036ab8235ca5111c8f33172aa21b0e8e2e7bae04c5942", kill_on_drop: false }` [INFO] [stdout] 03540070b73bfa3b342036ab8235ca5111c8f33172aa21b0e8e2e7bae04c5942