[INFO] cloning repository https://github.com/rand-chain/rust-randchain-prototype [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rand-chain/rust-randchain-prototype" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frand-chain%2Frust-randchain-prototype", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frand-chain%2Frust-randchain-prototype'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ed4116f433ddf702edd579a1504c328f53000652 [INFO] testing rand-chain/rust-randchain-prototype against 1.73.0 for beta-1.74-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frand-chain%2Frust-randchain-prototype" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rand-chain/rust-randchain-prototype on toolchain 1.73.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.73.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7-tc1/source/rust-toolchain [INFO] started tweaking git repo https://github.com/rand-chain/rust-randchain-prototype [INFO] finished tweaking git repo https://github.com/rand-chain/rust-randchain-prototype [INFO] tweaked toml for git repo https://github.com/rand-chain/rust-randchain-prototype written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/rand-chain/rust-randchain-prototype already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.73.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/paritytech/app-dirs-rs` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded display_derive v0.0.0 [INFO] [stderr] Downloaded serde v1.0.21 [INFO] [stderr] Downloaded rustc-hex v2.0.0 [INFO] [stderr] Downloaded serde_derive_internals v0.17.0 [INFO] [stderr] Downloaded serde_derive v1.0.21 [INFO] [stderr] Downloaded ecvrf v0.4.2 [INFO] [stderr] Downloaded hyper v0.11.7 [INFO] [stderr] Downloaded domain v0.2.2 [INFO] [stderr] Downloaded wincolor v0.1.5 [INFO] [stderr] Downloaded az v1.0.0 [INFO] [stderr] Downloaded serde_json v1.0.6 [INFO] [stderr] Downloaded csv v1.0.0 [INFO] [stderr] Downloaded rug v1.11.0 [INFO] [stderr] Downloaded gmp-mpfr-sys v1.4.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:023092b8bfa974c7f3e45c5ce651cc8dd3afd5e76915d5995b8dacd3032bf956" "/opt/rustwide/cargo-home/bin/cargo" "+1.73.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9465ca20599e7d089977af6e93ec96290640921c56da3a8b988371826a8ea145 [INFO] running `Command { std: "docker" "start" "-a" "9465ca20599e7d089977af6e93ec96290640921c56da3a8b988371826a8ea145", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9465ca20599e7d089977af6e93ec96290640921c56da3a8b988371826a8ea145", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9465ca20599e7d089977af6e93ec96290640921c56da3a8b988371826a8ea145", kill_on_drop: false }` [INFO] [stdout] 9465ca20599e7d089977af6e93ec96290640921c56da3a8b988371826a8ea145 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "RUSTDOCFLAGS=--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:023092b8bfa974c7f3e45c5ce651cc8dd3afd5e76915d5995b8dacd3032bf956" "/opt/rustwide/cargo-home/bin/cargo" "+1.73.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9b1828ecaab223b670ec6d29c69260c35d420daeb128f5645e1727e4c1858616 [INFO] running `Command { std: "docker" "start" "-a" "9b1828ecaab223b670ec6d29c69260c35d420daeb128f5645e1727e4c1858616", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling rayon-core v1.4.0 [INFO] [stderr] Compiling nodrop v0.1.12 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling arrayvec v0.4.6 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling heapsize v0.3.9 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling futures v0.1.17 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling bigint v1.0.5 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling gmp-mpfr-sys v1.4.1 [INFO] [stderr] Compiling heapsize v0.4.1 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling num_cpus v1.7.0 [INFO] [stderr] Compiling time v0.1.38 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling rand v0.3.22 [INFO] [stderr] Compiling rayon v0.8.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling log v0.3.8 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling rustc-hex v2.0.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling rug v1.11.0 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling subtle v2.3.0 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling zeroize v1.1.1 [INFO] [stderr] Compiling az v1.0.0 [INFO] [stderr] Compiling curve25519-dalek v2.1.0 [INFO] [stderr] Compiling sha3 v0.8.2 [INFO] [stderr] Compiling gcc v0.3.54 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling primitives v0.1.0 (/opt/rustwide/workdir/primitives) [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling iovec v0.1.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling sha2 v0.9.2 [INFO] [stderr] Compiling serialization_derive v0.1.0 (/opt/rustwide/workdir/serialization_derive) [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling elapsed v0.1.2 [INFO] [stderr] Compiling stable_deref_trait v1.0.0 [INFO] [stderr] Compiling smallvec v0.4.5 [INFO] [stderr] Compiling siphasher v0.1.3 [INFO] [stderr] Compiling either v1.4.0 [INFO] [stderr] Compiling owning_ref v0.3.3 [INFO] [stderr] Compiling bytes v0.4.5 [INFO] [stderr] Compiling parking_lot_core v0.2.6 [INFO] [stderr] Compiling rayon v1.0.1 [INFO] [stderr] Compiling net2 v0.2.31 [INFO] [stderr] Compiling slab v0.3.0 [INFO] [stderr] Compiling ecvrf v0.4.2 [INFO] [stderr] Compiling lazycell v0.5.1 [INFO] [stderr] Compiling mio v0.6.11 [INFO] [stderr] Compiling tokio-io v0.1.4 [INFO] [stderr] Compiling parking_lot v0.4.8 [INFO] [stderr] Compiling scoped-tls v0.1.0 [INFO] [stderr] Compiling getopts v0.2.17 [INFO] [stderr] Compiling slab v0.4.0 [INFO] [stderr] Compiling serde v1.0.21 [INFO] [stderr] Compiling pulldown-cmark v0.0.3 [INFO] [stderr] Compiling tempdir v0.3.5 [INFO] [stderr] Compiling log v0.4.1 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling synstructure v0.6.1 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling tokio-core v0.1.10 [INFO] [stderr] Compiling skeptic v0.4.0 [INFO] [stderr] Compiling linked-hash-map v0.4.2 [INFO] [stderr] Compiling display_derive v0.0.0 [INFO] [stderr] Compiling local-encoding v0.2.0 [INFO] [stderr] Compiling lru-cache v0.1.1 [INFO] [stderr] Compiling aho-corasick v0.6.3 [INFO] [stderr] Compiling thread_local v0.3.5 [INFO] [stderr] Compiling rocksdb-sys v0.3.0 (https://github.com/ethcore/rust-rocksdb#4364caec) [INFO] [stderr] Compiling serde_derive_internals v0.17.0 [INFO] [stderr] Compiling elastic-array v0.6.0 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling version_check v0.1.3 [INFO] [stderr] Compiling bit-vec v0.4.4 [INFO] [stderr] Compiling num-traits v0.1.40 [INFO] [stderr] Compiling dtoa v0.4.2 [INFO] [stderr] Compiling itoa v0.3.4 [INFO] [stderr] Compiling regex-syntax v0.4.1 [INFO] [stderr] Compiling unicase v2.1.0 [INFO] [stderr] Compiling num-traits v0.2.0 [INFO] [stderr] Compiling futures-cpupool v0.1.7 [INFO] [stderr] Compiling serde_derive v1.0.21 [INFO] [stderr] Compiling num-integer v0.1.36 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling quick-error v1.2.1 [INFO] [stderr] Compiling abstract-ns v0.3.4 [INFO] [stderr] Compiling csv-core v0.1.4 [INFO] [stderr] Compiling regex v0.2.2 [INFO] [stderr] Compiling bitcrypto v0.1.0 (/opt/rustwide/workdir/crypto) [INFO] [stderr] Compiling serde_json v1.0.6 [INFO] [stderr] Compiling num-iter v0.1.35 [INFO] [stderr] Compiling domain v0.2.2 [INFO] [stderr] Compiling tokio-service v0.1.0 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling take v0.1.0 [INFO] [stderr] Compiling smallvec v0.2.1 [INFO] [stderr] Compiling safemem v0.2.0 [INFO] [stderr] Compiling base64 v0.6.0 [INFO] [stderr] Compiling tokio-proto v0.1.1 [INFO] [stderr] Compiling globset v0.1.4 [INFO] [stderr] Compiling mime v0.3.5 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling csv v1.0.0 [INFO] [stderr] Compiling jsonrpc-core v8.0.0 (https://github.com/ethcore/jsonrpc.git#0eba7e74) [INFO] [stderr] Compiling relay v0.1.0 [INFO] [stderr] Compiling atty v0.2.3 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling ns-dns-tokio v0.3.1 [INFO] [stderr] Compiling httparse v1.2.3 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling jsonrpc-server-utils v8.0.0 (https://github.com/ethcore/jsonrpc.git#0eba7e74) [INFO] [stderr] Compiling hyper v0.11.7 [INFO] [stderr] Compiling jsonrpc-pubsub v8.0.0 (https://github.com/ethcore/jsonrpc.git#0eba7e74) [INFO] [stderr] Compiling chrono v0.4.0 [INFO] [stderr] Compiling murmur3 v0.4.0 [INFO] [stderr] Compiling termcolor v0.3.3 [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Compiling linked-hash-map v0.3.0 [INFO] [stderr] Compiling ansi_term v0.9.0 [INFO] [stderr] Compiling env_logger v0.5.3 [INFO] [stderr] Compiling textwrap v0.9.0 [INFO] [stderr] Compiling jsonrpc-macros v8.0.0 (https://github.com/ethcore/jsonrpc.git#0eba7e74) [INFO] [stderr] Compiling xdg v2.1.0 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling yaml-rust v0.3.5 [INFO] [stderr] Compiling strsim v0.6.0 [INFO] [stderr] Compiling vec_map v0.8.0 [INFO] [stderr] Compiling app_dirs v1.2.1 (https://github.com/paritytech/app-dirs-rs#0b37f948) [INFO] [stderr] Compiling logs v0.1.0 (/opt/rustwide/workdir/logs) [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling clap v2.27.1 [INFO] [stderr] Compiling jsonrpc-http-server v8.0.0 (https://github.com/ethcore/jsonrpc.git#0eba7e74) [INFO] [stderr] Compiling serialization v0.1.0 (/opt/rustwide/workdir/serialization) [INFO] [stderr] Compiling vdf v0.1.0 (/opt/rustwide/workdir/vdf) [INFO] [stderr] Compiling chain v0.1.0 (/opt/rustwide/workdir/chain) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> chain/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] [stderr] Compiling network v0.1.0 (/opt/rustwide/workdir/network) [INFO] [stderr] Compiling storage v0.1.0 (/opt/rustwide/workdir/storage) [INFO] [stderr] Compiling message v0.1.0 (/opt/rustwide/workdir/message) [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> message/src/error.rs:28:35 [INFO] [stdout] | [INFO] [stdout] 28 | f.write_str(error::Error::description(self)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling verification v0.1.0 (/opt/rustwide/workdir/verification) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> verification/src/lib.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `block`, `height`, and `headers` are never read [INFO] [stdout] --> verification/src/accept_block.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct BlockFinality<'a> { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 23 | block: CanonBlock<'a>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 24 | height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 25 | headers: &'a dyn BlockHeaderProvider, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `header`, `height`, and `network` are never read [INFO] [stdout] --> verification/src/accept_header.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct HeaderVersion<'a> { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 40 | header: CanonHeader<'a>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 41 | height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 42 | network: &'a Network, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling p2p v0.1.0 (/opt/rustwide/workdir/p2p) [INFO] [stderr] Compiling test-data v0.1.0 (/opt/rustwide/workdir/test-data) [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> p2p/src/p2p.rs:514:23 [INFO] [stdout] | [INFO] [stdout] 514 | error.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rocksdb v0.4.5 (https://github.com/ethcore/rust-rocksdb#4364caec) [INFO] [stderr] Compiling db v0.1.0 (/opt/rustwide/workdir/db) [INFO] [stderr] Compiling miner v0.1.0 (/opt/rustwide/workdir/miner) [INFO] [stderr] Compiling sync v0.1.0 (/opt/rustwide/workdir/sync) [INFO] [stderr] Compiling rpc v0.1.0 (/opt/rustwide/workdir/rpc) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> rpc/src/v1/traits/blockchain.rs:21:30 [INFO] [stdout] | [INFO] [stdout] 21 | fn block_hash(&self, u32) -> Result; [INFO] [stdout] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: u32` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> rpc/src/v1/traits/blockchain.rs:29:25 [INFO] [stdout] | [INFO] [stdout] 29 | fn block(&self, H256, Trailing) -> Result; [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: H256` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> rpc/src/v1/traits/blockchain.rs:29:31 [INFO] [stdout] | [INFO] [stdout] 29 | fn block(&self, H256, Trailing) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Trailing` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> rpc/src/v1/traits/miner.rs:11:38 [INFO] [stdout] | [INFO] [stdout] 11 | fn get_block_template(&self, BlockTemplateRequest) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: BlockTemplateRequest` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> rpc/src/v1/traits/network.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | fn add_node(&self, String, AddNodeOperation) -> Result<(), Error>; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: String` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> rpc/src/v1/traits/network.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | fn add_node(&self, String, AddNodeOperation) -> Result<(), Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: AddNodeOperation` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> rpc/src/v1/traits/network.rs:18:29 [INFO] [stdout] | [INFO] [stdout] 18 | fn node_info(&self, bool, Trailing) -> Result, Error>; [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: bool` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> rpc/src/v1/traits/network.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | fn node_info(&self, bool, Trailing) -> Result, Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Trailing` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling randchain v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7m 13s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rustc-serialize v0.3.24 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "9b1828ecaab223b670ec6d29c69260c35d420daeb128f5645e1727e4c1858616", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b1828ecaab223b670ec6d29c69260c35d420daeb128f5645e1727e4c1858616", kill_on_drop: false }` [INFO] [stdout] 9b1828ecaab223b670ec6d29c69260c35d420daeb128f5645e1727e4c1858616 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "RUSTDOCFLAGS=--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:023092b8bfa974c7f3e45c5ce651cc8dd3afd5e76915d5995b8dacd3032bf956" "/opt/rustwide/cargo-home/bin/cargo" "+1.73.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dafe5a147351f1530680ba744bb1e80787d5a621bc3d8a8ec97f12d46384f773 [INFO] running `Command { std: "docker" "start" "-a" "dafe5a147351f1530680ba744bb1e80787d5a621bc3d8a8ec97f12d46384f773", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling nodrop v0.1.12 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling futures v0.1.17 [INFO] [stderr] Compiling heapsize v0.3.9 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling arrayvec v0.4.6 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling log v0.3.8 [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling heapsize v0.4.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling rustc-hex v2.0.0 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling zeroize v1.1.1 [INFO] [stderr] Compiling az v1.0.0 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling subtle v2.3.0 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling num_cpus v1.7.0 [INFO] [stderr] Compiling time v0.1.38 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling gmp-mpfr-sys v1.4.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling curve25519-dalek v2.1.0 [INFO] [stderr] Compiling sha3 v0.8.2 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling rand v0.3.22 [INFO] [stderr] Compiling rayon-core v1.4.0 [INFO] [stderr] Compiling rug v1.11.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling rayon v0.8.2 [INFO] [stderr] Compiling iovec v0.1.1 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling bigint v1.0.5 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling sha2 v0.9.2 [INFO] [stderr] Compiling primitives v0.1.0 (/opt/rustwide/workdir/primitives) [INFO] [stderr] Compiling elapsed v0.1.2 [INFO] [stderr] Compiling smallvec v0.4.5 [INFO] [stderr] Compiling either v1.4.0 [INFO] [stderr] Compiling stable_deref_trait v1.0.0 [INFO] [stderr] Compiling siphasher v0.1.3 [INFO] [stderr] Compiling ecvrf v0.4.2 [INFO] [stderr] Compiling parking_lot_core v0.2.6 [INFO] [stderr] Compiling rayon v1.0.1 [INFO] [stderr] Compiling owning_ref v0.3.3 [INFO] [stderr] Compiling bytes v0.4.5 [INFO] [stderr] Compiling net2 v0.2.31 [INFO] [stderr] Compiling slab v0.3.0 [INFO] [stderr] Compiling lazycell v0.5.1 [INFO] [stderr] Compiling parking_lot v0.4.8 [INFO] [stderr] Compiling mio v0.6.11 [INFO] [stderr] Compiling scoped-tls v0.1.0 [INFO] [stderr] Compiling gcc v0.3.54 [INFO] [stderr] Compiling tokio-io v0.1.4 [INFO] [stderr] Compiling slab v0.4.0 [INFO] [stderr] Compiling serde v1.0.21 [INFO] [stderr] Compiling tempdir v0.3.5 [INFO] [stderr] Compiling log v0.4.1 [INFO] [stderr] Compiling skeptic v0.4.0 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling linked-hash-map v0.4.2 [INFO] [stderr] Compiling aho-corasick v0.6.3 [INFO] [stderr] Compiling lru-cache v0.1.1 [INFO] [stderr] Compiling tokio-core v0.1.10 [INFO] [stderr] Compiling local-encoding v0.2.0 [INFO] [stderr] Compiling thread_local v0.3.5 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling rocksdb-sys v0.3.0 (https://github.com/ethcore/rust-rocksdb#4364caec) [INFO] [stderr] Compiling elastic-array v0.6.0 [INFO] [stderr] Compiling itoa v0.3.4 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling num-traits v0.1.40 [INFO] [stderr] Compiling dtoa v0.4.2 [INFO] [stderr] Compiling regex-syntax v0.4.1 [INFO] [stderr] Compiling bit-vec v0.4.4 [INFO] [stderr] Compiling num-traits v0.2.0 [INFO] [stderr] Compiling futures-cpupool v0.1.7 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling num-integer v0.1.36 [INFO] [stderr] Compiling quick-error v1.2.1 [INFO] [stderr] Compiling regex v0.2.2 [INFO] [stderr] Compiling num-iter v0.1.35 [INFO] [stderr] Compiling abstract-ns v0.3.4 [INFO] [stderr] Compiling csv-core v0.1.4 [INFO] [stderr] Compiling unicase v2.1.0 [INFO] [stderr] Compiling serde_json v1.0.6 [INFO] [stderr] Compiling domain v0.2.2 [INFO] [stderr] Compiling tokio-service v0.1.0 [INFO] [stderr] Compiling safemem v0.2.0 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling smallvec v0.2.1 [INFO] [stderr] Compiling take v0.1.0 [INFO] [stderr] Compiling tokio-proto v0.1.1 [INFO] [stderr] Compiling globset v0.1.4 [INFO] [stderr] Compiling jsonrpc-core v8.0.0 (https://github.com/ethcore/jsonrpc.git#0eba7e74) [INFO] [stderr] Compiling bitcrypto v0.1.0 (/opt/rustwide/workdir/crypto) [INFO] [stderr] Compiling base64 v0.6.0 [INFO] [stderr] Compiling ns-dns-tokio v0.3.1 [INFO] [stderr] Compiling mime v0.3.5 [INFO] [stderr] Compiling csv v1.0.0 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling relay v0.1.0 [INFO] [stderr] Compiling atty v0.2.3 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling httparse v1.2.3 [INFO] [stderr] Compiling hyper v0.11.7 [INFO] [stderr] Compiling chrono v0.4.0 [INFO] [stderr] Compiling jsonrpc-server-utils v8.0.0 (https://github.com/ethcore/jsonrpc.git#0eba7e74) [INFO] [stderr] Compiling jsonrpc-pubsub v8.0.0 (https://github.com/ethcore/jsonrpc.git#0eba7e74) [INFO] [stderr] Compiling serialization v0.1.0 (/opt/rustwide/workdir/serialization) [INFO] [stderr] Compiling murmur3 v0.4.0 [INFO] [stderr] Compiling vdf v0.1.0 (/opt/rustwide/workdir/vdf) [INFO] [stderr] Compiling ansi_term v0.9.0 [INFO] [stderr] Compiling termcolor v0.3.3 [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Compiling chain v0.1.0 (/opt/rustwide/workdir/chain) [INFO] [stderr] Compiling linked-hash-map v0.3.0 [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> chain/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] [stderr] Compiling textwrap v0.9.0 [INFO] [stderr] Compiling env_logger v0.5.3 [INFO] [stderr] Compiling network v0.1.0 (/opt/rustwide/workdir/network) [INFO] [stderr] Compiling jsonrpc-macros v8.0.0 (https://github.com/ethcore/jsonrpc.git#0eba7e74) [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling storage v0.1.0 (/opt/rustwide/workdir/storage) [INFO] [stderr] Compiling message v0.1.0 (/opt/rustwide/workdir/message) [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> message/src/error.rs:28:35 [INFO] [stdout] | [INFO] [stdout] 28 | f.write_str(error::Error::description(self)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling verification v0.1.0 (/opt/rustwide/workdir/verification) [INFO] [stderr] Compiling jsonrpc-http-server v8.0.0 (https://github.com/ethcore/jsonrpc.git#0eba7e74) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> verification/src/lib.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling yaml-rust v0.3.5 [INFO] [stderr] Compiling xdg v2.1.0 [INFO] [stdout] warning: fields `block`, `height`, and `headers` are never read [INFO] [stdout] --> verification/src/accept_block.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct BlockFinality<'a> { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 23 | block: CanonBlock<'a>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 24 | height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 25 | headers: &'a dyn BlockHeaderProvider, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `header`, `height`, and `network` are never read [INFO] [stdout] --> verification/src/accept_header.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct HeaderVersion<'a> { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 40 | header: CanonHeader<'a>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 41 | height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 42 | network: &'a Network, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling p2p v0.1.0 (/opt/rustwide/workdir/p2p) [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling vec_map v0.8.0 [INFO] [stderr] Compiling strsim v0.6.0 [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> p2p/src/p2p.rs:514:23 [INFO] [stdout] | [INFO] [stdout] 514 | error.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling app_dirs v1.2.1 (https://github.com/paritytech/app-dirs-rs#0b37f948) [INFO] [stderr] Compiling clap v2.27.1 [INFO] [stderr] Compiling test-data v0.1.0 (/opt/rustwide/workdir/test-data) [INFO] [stderr] Compiling logs v0.1.0 (/opt/rustwide/workdir/logs) [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rocksdb v0.4.5 (https://github.com/ethcore/rust-rocksdb#4364caec) [INFO] [stderr] Compiling db v0.1.0 (/opt/rustwide/workdir/db) [INFO] [stderr] Compiling miner v0.1.0 (/opt/rustwide/workdir/miner) [INFO] [stderr] Compiling sync v0.1.0 (/opt/rustwide/workdir/sync) [INFO] [stderr] Compiling rpc v0.1.0 (/opt/rustwide/workdir/rpc) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> rpc/src/v1/traits/blockchain.rs:21:30 [INFO] [stdout] | [INFO] [stdout] 21 | fn block_hash(&self, u32) -> Result; [INFO] [stdout] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: u32` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> rpc/src/v1/traits/blockchain.rs:29:25 [INFO] [stdout] | [INFO] [stdout] 29 | fn block(&self, H256, Trailing) -> Result; [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: H256` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> rpc/src/v1/traits/blockchain.rs:29:31 [INFO] [stdout] | [INFO] [stdout] 29 | fn block(&self, H256, Trailing) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Trailing` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> rpc/src/v1/traits/miner.rs:11:38 [INFO] [stdout] | [INFO] [stdout] 11 | fn get_block_template(&self, BlockTemplateRequest) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: BlockTemplateRequest` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> rpc/src/v1/traits/network.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | fn add_node(&self, String, AddNodeOperation) -> Result<(), Error>; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: String` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> rpc/src/v1/traits/network.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | fn add_node(&self, String, AddNodeOperation) -> Result<(), Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: AddNodeOperation` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> rpc/src/v1/traits/network.rs:18:29 [INFO] [stdout] | [INFO] [stdout] 18 | fn node_info(&self, bool, Trailing) -> Result, Error>; [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: bool` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> rpc/src/v1/traits/network.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | fn node_info(&self, bool, Trailing) -> Result, Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Trailing` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling randchain v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4m 57s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rustc-serialize v0.3.24 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "dafe5a147351f1530680ba744bb1e80787d5a621bc3d8a8ec97f12d46384f773", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dafe5a147351f1530680ba744bb1e80787d5a621bc3d8a8ec97f12d46384f773", kill_on_drop: false }` [INFO] [stdout] dafe5a147351f1530680ba744bb1e80787d5a621bc3d8a8ec97f12d46384f773 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "RUSTDOCFLAGS=--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:023092b8bfa974c7f3e45c5ce651cc8dd3afd5e76915d5995b8dacd3032bf956" "/opt/rustwide/cargo-home/bin/cargo" "+1.73.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 66321df2e47836a7edb3df84485dd4561ddaf7fb34e9c3e70859261bb869eef1 [INFO] running `Command { std: "docker" "start" "-a" "66321df2e47836a7edb3df84485dd4561ddaf7fb34e9c3e70859261bb869eef1", kill_on_drop: false }` [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> chain/src/lib.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `chain` (lib) generated 1 warning [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> verification/src/lib.rs:55:1 [INFO] [stderr] | [INFO] [stderr] 55 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `block`, `height`, and `headers` are never read [INFO] [stderr] --> verification/src/accept_block.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 22 | pub struct BlockFinality<'a> { [INFO] [stderr] | ------------- fields in this struct [INFO] [stderr] 23 | block: CanonBlock<'a>, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 24 | height: u32, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 25 | headers: &'a dyn BlockHeaderProvider, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `header`, `height`, and `network` are never read [INFO] [stderr] --> verification/src/accept_header.rs:40:5 [INFO] [stderr] | [INFO] [stderr] 39 | pub struct HeaderVersion<'a> { [INFO] [stderr] | ------------- fields in this struct [INFO] [stderr] 40 | header: CanonHeader<'a>, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 41 | height: u32, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 42 | network: &'a Network, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `verification` (lib) generated 3 warnings [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> message/src/error.rs:28:35 [INFO] [stderr] | [INFO] [stderr] 28 | f.write_str(error::Error::description(self)) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `message` (lib) generated 1 warning [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> p2p/src/p2p.rs:514:23 [INFO] [stderr] | [INFO] [stderr] 514 | error.description() [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `p2p` (lib) generated 1 warning [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> rpc/src/v1/traits/blockchain.rs:21:30 [INFO] [stderr] | [INFO] [stderr] 21 | fn block_hash(&self, u32) -> Result; [INFO] [stderr] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: u32` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> rpc/src/v1/traits/blockchain.rs:29:25 [INFO] [stderr] | [INFO] [stderr] 29 | fn block(&self, H256, Trailing) -> Result; [INFO] [stderr] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: H256` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> rpc/src/v1/traits/blockchain.rs:29:31 [INFO] [stderr] | [INFO] [stderr] 29 | fn block(&self, H256, Trailing) -> Result; [INFO] [stderr] | ^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Trailing` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> rpc/src/v1/traits/miner.rs:11:38 [INFO] [stderr] | [INFO] [stderr] 11 | fn get_block_template(&self, BlockTemplateRequest) -> Result; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: BlockTemplateRequest` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> rpc/src/v1/traits/network.rs:13:28 [INFO] [stderr] | [INFO] [stderr] 13 | fn add_node(&self, String, AddNodeOperation) -> Result<(), Error>; [INFO] [stderr] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: String` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> rpc/src/v1/traits/network.rs:13:36 [INFO] [stderr] | [INFO] [stderr] 13 | fn add_node(&self, String, AddNodeOperation) -> Result<(), Error>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: AddNodeOperation` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> rpc/src/v1/traits/network.rs:18:29 [INFO] [stderr] | [INFO] [stderr] 18 | fn node_info(&self, bool, Trailing) -> Result, Error>; [INFO] [stderr] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: bool` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> rpc/src/v1/traits/network.rs:18:35 [INFO] [stderr] | [INFO] [stderr] 18 | fn node_info(&self, bool, Trailing) -> Result, Error>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Trailing` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: `rpc` (lib) generated 8 warnings (run `cargo fix --lib -p rpc` to apply 8 suggestions) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.26s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rustc-serialize v0.3.24 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests randchaind/main.rs (/opt/rustwide/target/debug/deps/randchaind-46aed3fead52f973) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "66321df2e47836a7edb3df84485dd4561ddaf7fb34e9c3e70859261bb869eef1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66321df2e47836a7edb3df84485dd4561ddaf7fb34e9c3e70859261bb869eef1", kill_on_drop: false }` [INFO] [stdout] 66321df2e47836a7edb3df84485dd4561ddaf7fb34e9c3e70859261bb869eef1