[INFO] cloning repository https://github.com/mmacedoeu/toyrpc.rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mmacedoeu/toyrpc.rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmmacedoeu%2Ftoyrpc.rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmmacedoeu%2Ftoyrpc.rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 17dcf9a2552b743750c32579c2d43b27327d0c30 [INFO] testing mmacedoeu/toyrpc.rs against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmmacedoeu%2Ftoyrpc.rs" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mmacedoeu/toyrpc.rs on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mmacedoeu/toyrpc.rs [INFO] finished tweaking git repo https://github.com/mmacedoeu/toyrpc.rs [INFO] tweaked toml for git repo https://github.com/mmacedoeu/toyrpc.rs written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/mmacedoeu/toyrpc.rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/paritytech/jsonrpc.git` [INFO] [stderr] Updating git repository `https://github.com/ethcore/mio` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded semver v0.2.3 [INFO] [stderr] Downloaded target_info v0.1.0 [INFO] [stderr] Downloaded daemonize v0.2.3 [INFO] [stderr] Downloaded arrayvec v0.3.25 [INFO] [stderr] Downloaded slab v0.2.0 [INFO] [stderr] Downloaded env_logger v0.3.5 [INFO] [stderr] Downloaded ctrlc v3.1.0 [INFO] [stderr] Downloaded rustc_version v0.2.2 [INFO] [stderr] Downloaded miow v0.1.5 [INFO] [stderr] Downloaded quine-mc_cluskey v0.2.4 [INFO] [stderr] Downloaded nom v1.2.4 [INFO] [stderr] Downloaded toml v0.1.30 [INFO] [stderr] Downloaded ansi_term v0.7.5 [INFO] [stderr] Downloaded base32 v0.3.1 [INFO] [stderr] Downloaded fdlimit v0.1.1 [INFO] [stderr] Downloaded crossbeam v0.2.12 [INFO] [stderr] Downloaded odds v0.2.26 [INFO] [stderr] Downloaded nix v0.7.0 [INFO] [stderr] Downloaded isatty v0.1.7 [INFO] [stderr] Downloaded order-stat v0.1.3 [INFO] [stderr] Downloaded heapsize v0.3.9 [INFO] [stderr] Downloaded vergen v0.1.1 [INFO] [stderr] Downloaded bitflags v0.4.0 [INFO] [stderr] Downloaded bigint v1.0.5 [INFO] [stderr] Downloaded globset v0.4.0 [INFO] [stderr] Downloaded rulid v0.3.1 [INFO] [stderr] Downloaded clippy v0.0.103 [INFO] [stderr] Downloaded clippy_lints v0.0.103 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a138b40214f42f9b7b9ca6185bb9d1e3139df8e1cfd6370b155cc8d563a610c5 [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" "a138b40214f42f9b7b9ca6185bb9d1e3139df8e1cfd6370b155cc8d563a610c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a138b40214f42f9b7b9ca6185bb9d1e3139df8e1cfd6370b155cc8d563a610c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a138b40214f42f9b7b9ca6185bb9d1e3139df8e1cfd6370b155cc8d563a610c5", kill_on_drop: false }` [INFO] [stdout] a138b40214f42f9b7b9ca6185bb9d1e3139df8e1cfd6370b155cc8d563a610c5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] fb78529eb3dffda15b8775059ee6dc305df3605755d21c8b502af8d0774bd261 [INFO] running `Command { std: "docker" "start" "-a" "fb78529eb3dffda15b8775059ee6dc305df3605755d21c8b502af8d0774bd261", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v0.1.3 [INFO] [stderr] Compiling futures v0.1.21 [INFO] [stderr] Compiling nodrop v0.1.12 [INFO] [stderr] Compiling num-traits v0.2.4 [INFO] [stderr] Compiling num-integer v0.1.38 [INFO] [stderr] Compiling smallvec v0.6.1 [INFO] [stderr] Compiling serde v1.0.55 [INFO] [stderr] Compiling cc v1.0.15 [INFO] [stderr] Compiling stable_deref_trait v1.0.0 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling heapsize v0.3.9 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Compiling owning_ref v0.2.4 [INFO] [stderr] Compiling odds v0.2.26 [INFO] [stderr] Compiling rustc-demangle v0.1.8 [INFO] [stderr] Compiling slab v0.2.0 [INFO] [stderr] Compiling ansi_term v0.9.0 [INFO] [stderr] Compiling xdg v2.1.0 [INFO] [stderr] Compiling base32 v0.3.1 [INFO] [stderr] Compiling crossbeam v0.2.12 [INFO] [stderr] Compiling ansi_term v0.7.5 [INFO] [stderr] Compiling order-stat v0.1.3 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling time v0.1.40 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling thread-id v3.3.0 [INFO] [stderr] Compiling atty v0.2.10 [INFO] [stderr] Compiling fdlimit v0.1.1 [INFO] [stderr] Compiling daemonize v0.2.3 [INFO] [stderr] Compiling base64 v0.9.1 [INFO] [stderr] Compiling owning_ref v0.3.3 [INFO] [stderr] Compiling log v0.4.1 [INFO] [stderr] Compiling net2 v0.2.32 [INFO] [stderr] Compiling crossbeam-utils v0.3.2 [INFO] [stderr] Compiling nix v0.9.0 [INFO] [stderr] Compiling arrayvec v0.4.7 [INFO] [stderr] Compiling parking_lot_core v0.2.14 [INFO] [stderr] Compiling rand v0.3.22 [INFO] [stderr] Compiling arrayvec v0.3.25 [INFO] [stderr] Compiling app_dirs v1.2.1 [INFO] [stderr] Compiling bytes v0.4.7 [INFO] [stderr] Compiling nix v0.7.0 [INFO] [stderr] Compiling thread_local v0.3.5 [INFO] [stderr] Compiling rustc_version v0.2.2 [INFO] [stderr] Compiling clap v2.31.2 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling vergen v0.1.1 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling mio v0.6.14 [INFO] [stderr] Compiling syn v0.13.10 [INFO] [stderr] Compiling unicase v2.1.0 [INFO] [stderr] Compiling parking_lot v0.3.8 [INFO] [stderr] Compiling parking_lot v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.4.1 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling tokio-executor v0.1.2 [INFO] [stderr] Compiling tokio-service v0.1.0 [INFO] [stderr] Compiling want v0.0.4 [INFO] [stderr] Compiling relay v0.1.1 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling tokio-io v0.1.6 [INFO] [stderr] Compiling bigint v1.0.5 [INFO] [stderr] Compiling backtrace-sys v0.1.16 [INFO] [stderr] Compiling mime v0.3.7 [INFO] [stderr] Compiling toyrpc v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling crossbeam-deque v0.3.1 [INFO] [stderr] Compiling tokio-timer v0.2.3 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling number_prefix v0.2.8 [INFO] [stderr] Compiling tokio-threadpool v0.1.3 [INFO] [stderr] Compiling tokio-reactor v0.1.1 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling chrono v0.4.2 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling globset v0.4.0 [INFO] [stderr] Compiling chrono v0.2.25 [INFO] [stderr] Compiling ctrlc v3.1.0 [INFO] [stderr] Compiling tokio-udp v0.1.0 [INFO] [stderr] Compiling tokio-tcp v0.1.0 [INFO] [stderr] Compiling tokio-fs v0.1.0 [INFO] [stderr] Compiling serde_json v1.0.17 [INFO] [stderr] Compiling mio v0.6.1 (https://github.com/ethcore/mio#15a57703) [INFO] [stderr] Compiling rulid v0.3.1 [INFO] [stderr] Compiling tokio v0.1.6 [INFO] [stderr] Compiling env_logger v0.3.5 [INFO] [stderr] Compiling serde_derive v1.0.55 [INFO] [stderr] Compiling ethcore-logger v1.7.0 (/opt/rustwide/workdir/crates/logger) [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> crates/logger/src/lib.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! { [INFO] [stdout] 61 | | static ref ROTATING_LOGGER : Mutex> = Mutex::new(Default::default()); [INFO] [stdout] 62 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> crates/logger/src/lib.rs:146:2 [INFO] [stdout] | [INFO] [stdout] 146 | / lazy_static! { [INFO] [stdout] 147 | | static ref RE: Regex = Regex::new("\x1b\\[[^m]+m").unwrap(); [INFO] [stdout] 148 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> crates/logger/src/rotating.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / lazy_static! { [INFO] [stdout] 27 | | static ref LOG_DUMMY: () = { [INFO] [stdout] 28 | | let mut builder = LogBuilder::new(); [INFO] [stdout] 29 | | builder.filter(None, LogLevelFilter::Info); [INFO] [stdout] ... | [INFO] [stdout] 38 | | }; [INFO] [stdout] 39 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tokio-core v0.1.17 [INFO] [stderr] Compiling ethcore-io v1.7.0 (/opt/rustwide/workdir/crates/util/io) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> crates/util/io/src/service.rs:185:32 [INFO] [stdout] | [INFO] [stdout] 185 | handlers: Arc>, HandlerId>>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 185 - handlers: Arc>, HandlerId>>>, [INFO] [stdout] 185 + handlers: Arc>, HandlerId>>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> crates/util/io/src/service.rs:423:32 [INFO] [stdout] | [INFO] [stdout] 423 | handlers: Arc>, HandlerId>>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 423 - handlers: Arc>, HandlerId>>>, [INFO] [stdout] 423 + handlers: Arc>, HandlerId>>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> crates/util/io/src/worker.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 49 | pub handler: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 49 - pub handler: Arc>, [INFO] [stdout] 49 + pub handler: Arc>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> crates/util/io/src/panics.rs:58:27 [INFO] [stdout] | [INFO] [stdout] 58 | listeners: Mutex>> [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 58 - listeners: Mutex>> [INFO] [stdout] 58 + listeners: Mutex>> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> crates/util/io/src/service.rs:50:16 [INFO] [stdout] | [INFO] [stdout] 50 | handler: Arc+Send>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 50 - handler: Arc+Send>, [INFO] [stdout] 50 + handler: Arc+Send>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> crates/util/io/src/service.rs:334:40 [INFO] [stdout] | [INFO] [stdout] 334 | SharedCollection(Weak>, HandlerId>>>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 334 - SharedCollection(Weak>, HandlerId>>>), [INFO] [stdout] 334 + SharedCollection(Weak>, HandlerId>>>), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> crates/util/io/src/service.rs:335:14 [INFO] [stdout] | [INFO] [stdout] 335 | Single(Weak>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 335 - Single(Weak>), [INFO] [stdout] 335 + Single(Weak>), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> crates/util/io/src/service.rs:196:33 [INFO] [stdout] | [INFO] [stdout] 196 | handlers: Arc>, HandlerId>>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 196 - handlers: Arc>, HandlerId>>> [INFO] [stdout] 196 + handlers: Arc>, HandlerId>>> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> crates/util/io/src/service.rs:403:34 [INFO] [stdout] | [INFO] [stdout] 403 | pub fn to_handler(handler: Weak>) -> IoChannel { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 403 - pub fn to_handler(handler: Weak>) -> IoChannel { [INFO] [stdout] 403 + pub fn to_handler(handler: Weak>) -> IoChannel { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> crates/util/io/src/service.rs:409:77 [INFO] [stdout] | [INFO] [stdout] 409 | fn new(channel: Sender>, handlers: Weak>, HandlerId>>>) -> IoChannel { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 409 - fn new(channel: Sender>, handlers: Weak>, HandlerId>>>) -> IoChannel { [INFO] [stdout] 409 + fn new(channel: Sender>, handlers: Weak>, HandlerId>>>) -> IoChannel { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> crates/util/io/src/service.rs:472:46 [INFO] [stdout] | [INFO] [stdout] 472 | pub fn register_handler(&self, handler: Arc+Send>) -> Result<(), IoError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 472 - pub fn register_handler(&self, handler: Arc+Send>) -> Result<(), IoError> { [INFO] [stdout] 472 + pub fn register_handler(&self, handler: Arc+Send>) -> Result<(), IoError> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/util/io/src/panics.rs:93:7 [INFO] [stdout] | [INFO] [stdout] 93 | for mut listener in &mut **listeners { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tokio-proto v0.1.1 [INFO] [stderr] Compiling parity-reactor v0.1.0 (/opt/rustwide/workdir/crates/util/reactor) [INFO] [stderr] Compiling hyper v0.11.27 [INFO] [stderr] Compiling backtrace v0.3.7 [INFO] [stderr] Compiling error-chain v0.10.0 [INFO] [stderr] Compiling jsonrpc-core v8.0.2 (https://github.com/paritytech/jsonrpc.git?branch=master#029a0696) [INFO] [stderr] Compiling jsonrpc-pubsub v8.0.1 (https://github.com/paritytech/jsonrpc.git?branch=master#029a0696) [INFO] [stderr] Compiling jsonrpc-server-utils v8.0.1 (https://github.com/paritytech/jsonrpc.git?branch=master#029a0696) [INFO] [stderr] Compiling jsonrpc-macros v8.0.1 (https://github.com/paritytech/jsonrpc.git?branch=master#029a0696) [INFO] [stderr] Compiling jsonrpc-http-server v8.0.1 (https://github.com/paritytech/jsonrpc.git?branch=master#029a0696) [INFO] [stdout] warning: unused imports: `Blue`, `Cyan`, `Green` [INFO] [stdout] --> src/informant.rs:18:31 [INFO] [stdout] | [INFO] [stdout] 18 | use self::ansi_term::Colour::{Green, Cyan, Blue}; [INFO] [stdout] | ^^^^^ ^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dir::DatabaseDirectories` [INFO] [stdout] --> src/helpers.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use dir::DatabaseDirectories; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `replace_home_for_db` [INFO] [stdout] --> src/dir.rs:19:29 [INFO] [stdout] | [INFO] [stdout] 19 | use helpers::{replace_home, replace_home_for_db}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/user_defaults.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::TcpListener` [INFO] [stdout] --> src/run.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use std::net::TcpListener; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CpuPool` [INFO] [stdout] --> src/run.rs:26:29 [INFO] [stdout] | [INFO] [stdout] 26 | use util::informant::{self, CpuPool, Builder}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `user_defaults::UserDefaults` [INFO] [stdout] --> src/run.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use user_defaults::UserDefaults; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/helpers.rs:57:39 [INFO] [stdout] | [INFO] [stdout] 57 | let r = arg.replace("$HOME", env::home_dir().unwrap().to_str().unwrap()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/util/log.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | / lazy_static! { [INFO] [stdout] 28 | | static ref LOG_DUMMY: () = { [INFO] [stdout] 29 | | let mut builder = LogBuilder::new(); [INFO] [stdout] 30 | | builder.filter(None, LogLevelFilter::Info); [INFO] [stdout] ... | [INFO] [stdout] 39 | | }; [INFO] [stdout] 40 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `futures::Future::boxed`: removed without replacement, recommended to use a local extension trait or function if needed, more details in https://github.com/rust-lang-nursery/futures-rs/issues/228 [INFO] [stdout] --> src/util/informant.rs:238:21 [INFO] [stdout] | [INFO] [stdout] 238 | None => B(future.boxed()), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `force_direct` [INFO] [stdout] --> src/main.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | let force_direct = std::env::args().any(|arg| arg == "--force-direct"); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_force_direct` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `development` [INFO] [stdout] --> src/main.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | let development = exe.as_ref() [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_development` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `same_name` [INFO] [stdout] --> src/main.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | let same_name = exe.as_ref() [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_same_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `local_dir` [INFO] [stdout] --> src/dir.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let local_dir = default_local_path(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_local_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dapps_enabled` [INFO] [stdout] --> src/dir.rs:61:24 [INFO] [stdout] | [INFO] [stdout] 61 | dapps_enabled: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dapps_enabled` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `signer_enabled` [INFO] [stdout] --> src/dir.rs:62:24 [INFO] [stdout] | [INFO] [stdout] 62 | signer_enabled: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_signer_enabled` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `secretstore_enabled` [INFO] [stdout] --> src/dir.rs:63:24 [INFO] [stdout] | [INFO] [stdout] 63 | secretstore_enabled: bool) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_secretstore_enabled` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/user_defaults.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | let mode: Value = map.remove("mode").unwrap_or_else(|| Value::String("active".to_owned())); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `can_restart` [INFO] [stdout] --> src/run.rs:117:52 [INFO] [stdout] | [INFO] [stdout] 117 | fn wait_for_exit(panic_handler: Arc, can_restart: bool) -> (bool, Option) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_restart` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deps` [INFO] [stdout] --> src/api/apis.rs:152:18 [INFO] [stdout] | [INFO] [stdout] 152 | deps: Arc, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_deps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Print` [INFO] [stdout] --> src/main.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | Print(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `last_tick` [INFO] [stdout] --> src/informant.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | last_tick: RwLock, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `with_color` [INFO] [stdout] --> src/informant.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | with_color: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `rpc_stats` [INFO] [stdout] --> src/informant.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | rpc_stats: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `last_import` [INFO] [stdout] --> src/informant.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | last_import: Mutex, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `skipped` [INFO] [stdout] --> src/informant.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | skipped: AtomicUsize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `skipped_txs` [INFO] [stdout] --> src/informant.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | skipped_txs: AtomicUsize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `format_bytes` [INFO] [stdout] --> src/informant.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn format_bytes(b: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INFO_TIMER` [INFO] [stdout] --> src/informant.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | const INFO_TIMER: TimerToken = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_duration` [INFO] [stdout] --> src/helpers.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn to_duration(s: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_seconds` [INFO] [stdout] --> src/helpers.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn to_seconds(s: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `replace_home_for_db` [INFO] [stdout] --> src/helpers.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn replace_home_for_db(base: &str, local: &str, arg: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `flush_stdout` [INFO] [stdout] --> src/helpers.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn flush_stdout() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parity_ipc_path` [INFO] [stdout] --> src/helpers.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn parity_ipc_path(base: &str, s: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `password_from_file` [INFO] [stdout] --> src/helpers.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn password_from_file(path: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `passwords_from_files` [INFO] [stdout] --> src/helpers.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn passwords_from_files(files: &[String]) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PRODUCT_HYPERVISOR` [INFO] [stdout] --> src/dir.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | const PRODUCT_HYPERVISOR: &'static str = "org.eu.mmacedo.toyrpc-updates"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CHAINS_PATH` [INFO] [stdout] --> src/dir.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | pub const CHAINS_PATH: &'static str = "$BASE/chains"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create_dirs` [INFO] [stdout] --> src/dir.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn create_dirs(&self, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ipc_path` [INFO] [stdout] --> src/dir.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn ipc_path(&self) -> PathBuf { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `legacy_keys_path` [INFO] [stdout] --> src/dir.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn legacy_keys_path(&self, testnet: bool) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `spec_root_path` [INFO] [stdout] --> src/dir.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn spec_root_path(&self) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `db_root_path` [INFO] [stdout] --> src/dir.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn db_root_path(&self) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `user_defaults_path` [INFO] [stdout] --> src/dir.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn user_defaults_path(&self) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `snapshot_path` [INFO] [stdout] --> src/dir.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn snapshot_path(&self) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `network_path` [INFO] [stdout] --> src/dir.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn network_path(&self) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `default_hypervisor_path` [INFO] [stdout] --> src/dir.rs:150:8 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn default_hypervisor_path() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `load` [INFO] [stdout] --> src/user_defaults.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn load

(path: P) -> Result [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `save` [INFO] [stdout] --> src/user_defaults.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn save

(&self, path: P) -> Result<(), String> [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Version` [INFO] [stdout] --> src/configuration.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | Version, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Cmd` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/configuration.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `init_log` [INFO] [stdout] --> src/util/log.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn init_log() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LOG_SIZE` [INFO] [stdout] --> src/util/log.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | const LOG_SIZE: usize = 128; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `RotatingLogger` [INFO] [stdout] --> src/util/log.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct RotatingLogger { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/util/log.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn new(levels: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `append` [INFO] [stdout] --> src/util/log.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn append(&self, log: String) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `levels` [INFO] [stdout] --> src/util/log.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn levels(&self) -> &str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `logs` [INFO] [stdout] --> src/util/log.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn logs(&self) -> RwLockReadGuard> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `active_sessions` [INFO] [stdout] --> src/util/informant.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | active_sessions: AtomicUsize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RpcStats` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/util/informant.rs:140:19 [INFO] [stdout] | [INFO] [stdout] 140 | #[derive(Default, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `open_session` [INFO] [stdout] --> src/util/informant.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn open_session(&self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `close_session` [INFO] [stdout] --> src/util/informant.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn close_session(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sessions` [INFO] [stdout] --> src/util/informant.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn sessions(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `requests_rate` [INFO] [stdout] --> src/util/informant.rs:175:12 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn requests_rate(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `approximated_roundtrip` [INFO] [stdout] --> src/util/informant.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | pub fn approximated_roundtrip(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `now` [INFO] [stdout] --> /opt/rustwide/target/debug/build/toyrpc-37b42a486276f883/out/version.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn now() -> &'static str { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `short_now` [INFO] [stdout] --> /opt/rustwide/target/debug/build/toyrpc-37b42a486276f883/out/version.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn short_now() -> &'static str { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sha` [INFO] [stdout] --> /opt/rustwide/target/debug/build/toyrpc-37b42a486276f883/out/version.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn sha() -> &'static str { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `short_sha` [INFO] [stdout] --> /opt/rustwide/target/debug/build/toyrpc-37b42a486276f883/out/version.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn short_sha() -> &'static str { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `target` [INFO] [stdout] --> /opt/rustwide/target/debug/build/toyrpc-37b42a486276f883/out/version.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn target() -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `semver` [INFO] [stdout] --> /opt/rustwide/target/debug/build/toyrpc-37b42a486276f883/out/version.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn semver() -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dapp_id` [INFO] [stdout] --> src/types/metadata.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn dapp_id(&self) -> DappId { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SafeContext` [INFO] [stdout] --> src/api/apis.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | SafeContext, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ApiSet` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/api/apis.rs:74:10 [INFO] [stdout] | [INFO] [stdout] 74 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IpcContext` [INFO] [stdout] --> src/api/apis.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | IpcContext, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ApiSet` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/api/apis.rs:74:10 [INFO] [stdout] | [INFO] [stdout] 74 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `H256FastMap` [INFO] [stdout] --> src/types/bigint/hash.rs:491:1 [INFO] [stdout] | [INFO] [stdout] 491 | pub type H256FastMap = HashMap>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `H256FastSet` [INFO] [stdout] --> src/types/bigint/hash.rs:493:1 [INFO] [stdout] | [INFO] [stdout] 493 | pub type H256FastSet = HashSet>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | writeln!(&mut stdio::stderr(), "{}", e.message); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/run.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | / ctrlc::set_handler(move || { [INFO] [stdout] 123 | | e.1.notify_all(); [INFO] [stdout] 124 | | }); [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 76 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 27s [INFO] running `Command { std: "docker" "inspect" "fb78529eb3dffda15b8775059ee6dc305df3605755d21c8b502af8d0774bd261", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb78529eb3dffda15b8775059ee6dc305df3605755d21c8b502af8d0774bd261", kill_on_drop: false }` [INFO] [stdout] fb78529eb3dffda15b8775059ee6dc305df3605755d21c8b502af8d0774bd261 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 5f7e1f540acb95fbe0e15c493a288b7001dbf7d074bdfa9af198a87f9a1ae10b [INFO] running `Command { std: "docker" "start" "-a" "5f7e1f540acb95fbe0e15c493a288b7001dbf7d074bdfa9af198a87f9a1ae10b", kill_on_drop: false }` [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> crates/util/io/src/service.rs:185:32 [INFO] [stdout] | [INFO] [stdout] 185 | handlers: Arc>, HandlerId>>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 185 - handlers: Arc>, HandlerId>>>, [INFO] [stdout] 185 + handlers: Arc>, HandlerId>>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> crates/util/io/src/service.rs:423:32 [INFO] [stdout] | [INFO] [stdout] 423 | handlers: Arc>, HandlerId>>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 423 - handlers: Arc>, HandlerId>>>, [INFO] [stdout] 423 + handlers: Arc>, HandlerId>>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> crates/util/io/src/worker.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 49 | pub handler: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 49 - pub handler: Arc>, [INFO] [stdout] 49 + pub handler: Arc>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> crates/util/io/src/panics.rs:58:27 [INFO] [stdout] | [INFO] [stdout] 58 | listeners: Mutex>> [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 58 - listeners: Mutex>> [INFO] [stdout] 58 + listeners: Mutex>> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> crates/util/io/src/service.rs:50:16 [INFO] [stdout] | [INFO] [stdout] 50 | handler: Arc+Send>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 50 - handler: Arc+Send>, [INFO] [stdout] 50 + handler: Arc+Send>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> crates/util/io/src/service.rs:334:40 [INFO] [stdout] | [INFO] [stdout] 334 | SharedCollection(Weak>, HandlerId>>>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 334 - SharedCollection(Weak>, HandlerId>>>), [INFO] [stdout] 334 + SharedCollection(Weak>, HandlerId>>>), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> crates/util/io/src/service.rs:335:14 [INFO] [stdout] | [INFO] [stdout] 335 | Single(Weak>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 335 - Single(Weak>), [INFO] [stdout] 335 + Single(Weak>), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> crates/util/io/src/service.rs:196:33 [INFO] [stdout] | [INFO] [stdout] 196 | handlers: Arc>, HandlerId>>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 196 - handlers: Arc>, HandlerId>>> [INFO] [stdout] 196 + handlers: Arc>, HandlerId>>> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> crates/util/io/src/service.rs:403:34 [INFO] [stdout] | [INFO] [stdout] 403 | pub fn to_handler(handler: Weak>) -> IoChannel { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 403 - pub fn to_handler(handler: Weak>) -> IoChannel { [INFO] [stdout] 403 + pub fn to_handler(handler: Weak>) -> IoChannel { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> crates/util/io/src/service.rs:409:77 [INFO] [stdout] | [INFO] [stdout] 409 | fn new(channel: Sender>, handlers: Weak>, HandlerId>>>) -> IoChannel { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 409 - fn new(channel: Sender>, handlers: Weak>, HandlerId>>>) -> IoChannel { [INFO] [stdout] 409 + fn new(channel: Sender>, handlers: Weak>, HandlerId>>>) -> IoChannel { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> crates/util/io/src/service.rs:472:46 [INFO] [stdout] | [INFO] [stdout] 472 | pub fn register_handler(&self, handler: Arc+Send>) -> Result<(), IoError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 472 - pub fn register_handler(&self, handler: Arc+Send>) -> Result<(), IoError> { [INFO] [stdout] 472 + pub fn register_handler(&self, handler: Arc+Send>) -> Result<(), IoError> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/util/io/src/panics.rs:93:7 [INFO] [stdout] | [INFO] [stdout] 93 | for mut listener in &mut **listeners { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> crates/logger/src/lib.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! { [INFO] [stdout] 61 | | static ref ROTATING_LOGGER : Mutex> = Mutex::new(Default::default()); [INFO] [stdout] 62 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> crates/logger/src/lib.rs:146:2 [INFO] [stdout] | [INFO] [stdout] 146 | / lazy_static! { [INFO] [stdout] 147 | | static ref RE: Regex = Regex::new("\x1b\\[[^m]+m").unwrap(); [INFO] [stdout] 148 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> crates/logger/src/rotating.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / lazy_static! { [INFO] [stdout] 27 | | static ref LOG_DUMMY: () = { [INFO] [stdout] 28 | | let mut builder = LogBuilder::new(); [INFO] [stdout] 29 | | builder.filter(None, LogLevelFilter::Info); [INFO] [stdout] ... | [INFO] [stdout] 38 | | }; [INFO] [stdout] 39 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling toyrpc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `hash` [INFO] [stdout] --> src/types/bigint/hash.rs:497:9 [INFO] [stdout] | [INFO] [stdout] 497 | use hash::*; [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `std::hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ethsync` [INFO] [stdout] --> src/helpers.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | use ethsync::{NetworkConfiguration, AllowIP}; [INFO] [stdout] | ^^^^^^^ maybe a missing crate `ethsync`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `devtools` [INFO] [stdout] --> src/helpers.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | use devtools::RandomTempPath; [INFO] [stdout] | ^^^^^^^^ maybe a missing crate `devtools`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `ethcore`? [INFO] [stdout] --> src/helpers.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | use ethcore::client::{Mode, BlockId}; [INFO] [stdout] | ^^^^^^^ maybe a missing crate `ethcore`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `ethcore`? [INFO] [stdout] --> src/helpers.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | use ethcore::miner::PendingSet; [INFO] [stdout] | ^^^^^^^ maybe a missing crate `ethcore`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `util::U256` [INFO] [stdout] --> src/helpers.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | use util::U256; [INFO] [stdout] | ^^^^^^^^^^ no `U256` in `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `super::to_mode`, `super::to_block_id`, `super::to_u256`, `super::to_pending_set`, `super::to_address`, `super::to_addresses`, `super::to_price`, `super::geth_ipc_path`, `super::to_bootnodes` [INFO] [stdout] --> src/helpers.rs:143:30 [INFO] [stdout] | [INFO] [stdout] 143 | use super::{to_duration, to_mode, to_block_id, to_u256, to_pending_set, to_address, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ no `to_address` in `helpers` [INFO] [stdout] | | | | | [INFO] [stdout] | | | | no `to_pending_set` in `helpers` [INFO] [stdout] | | | no `to_u256` in `helpers` [INFO] [stdout] | | no `to_block_id` in `helpers` [INFO] [stdout] | no `to_mode` in `helpers` [INFO] [stdout] 144 | to_addresses, to_price, geth_ipc_path, to_bootnodes, password_from_file}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ no `to_bootnodes` in `helpers` [INFO] [stdout] | | | | [INFO] [stdout] | | | no `geth_ipc_path` in `helpers` [INFO] [stdout] | | no `to_price` in `helpers` [INFO] [stdout] | no `to_addresses` in `helpers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `path` [INFO] [stdout] --> src/helpers.rs:281:13 [INFO] [stdout] | [INFO] [stdout] 281 | use path; [INFO] [stdout] | ^^^^ no `path` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `ethsync`? [INFO] [stdout] --> src/helpers.rs:83:38 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn default_network_config() -> ::ethsync::NetworkConfiguration { [INFO] [stdout] | ^^^^^^^ maybe a missing crate `ethsync`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mode` [INFO] [stdout] --> src/helpers.rs:179:54 [INFO] [stdout] | [INFO] [stdout] 179 | assert_eq!(to_mode("active", 0, 0).unwrap(), Mode::Active); [INFO] [stdout] | ^^^^ use of undeclared type `Mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mode` [INFO] [stdout] --> src/helpers.rs:181:20 [INFO] [stdout] | [INFO] [stdout] 181 | Mode::Passive(Duration::from_secs(10), Duration::from_secs(20))); [INFO] [stdout] | ^^^^ use of undeclared type `Mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mode` [INFO] [stdout] --> src/helpers.rs:183:20 [INFO] [stdout] | [INFO] [stdout] 183 | Mode::Dark(Duration::from_secs(20))); [INFO] [stdout] | ^^^^ use of undeclared type `Mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlockId` [INFO] [stdout] --> src/helpers.rs:189:52 [INFO] [stdout] | [INFO] [stdout] 189 | assert_eq!(to_block_id("latest").unwrap(), BlockId::Latest); [INFO] [stdout] | ^^^^^^^ use of undeclared type `BlockId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlockId` [INFO] [stdout] --> src/helpers.rs:190:47 [INFO] [stdout] | [INFO] [stdout] 190 | assert_eq!(to_block_id("0").unwrap(), BlockId::Number(0)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `BlockId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlockId` [INFO] [stdout] --> src/helpers.rs:191:47 [INFO] [stdout] | [INFO] [stdout] 191 | assert_eq!(to_block_id("2").unwrap(), BlockId::Number(2)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `BlockId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlockId` [INFO] [stdout] --> src/helpers.rs:192:48 [INFO] [stdout] | [INFO] [stdout] 192 | assert_eq!(to_block_id("15").unwrap(), BlockId::Number(15)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `BlockId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlockId` [INFO] [stdout] --> src/helpers.rs:195:20 [INFO] [stdout] | [INFO] [stdout] 195 | BlockId::Hash("9fc84d84f6a785dc1bd5abacfcf9cbdd3b6afb80c0f799bfb2fd42c44a0c224e" [INFO] [stdout] | ^^^^^^^ use of undeclared type `BlockId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PendingSet` [INFO] [stdout] --> src/helpers.rs:210:54 [INFO] [stdout] | [INFO] [stdout] 210 | assert_eq!(to_pending_set("cheap").unwrap(), PendingSet::AlwaysQueue); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PendingSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PendingSet` [INFO] [stdout] --> src/helpers.rs:211:55 [INFO] [stdout] | [INFO] [stdout] 211 | assert_eq!(to_pending_set("strict").unwrap(), PendingSet::AlwaysSealing); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PendingSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PendingSet` [INFO] [stdout] --> src/helpers.rs:213:20 [INFO] [stdout] | [INFO] [stdout] 213 | PendingSet::SealingOrElseQueue); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PendingSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PlainHasher` in this scope [INFO] [stdout] --> src/types/bigint/hash.rs:503:50 [INFO] [stdout] | [INFO] [stdout] 503 | assert_eq!(align_of::(), align_of::()); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 497 | use types::bigint::hash::PlainHasher; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `H64` in this scope [INFO] [stdout] --> src/types/bigint/hash.rs:509:17 [INFO] [stdout] | [INFO] [stdout] 509 | let h = H64([0x01, 0x23, 0x45, 0x67, 0x89, 0xab, 0xcd, 0xef]); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 497 | use types::H64; [INFO] [stdout] | [INFO] [stdout] 497 | use types::bigint::hash::H64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `H64` [INFO] [stdout] --> src/types/bigint/hash.rs:510:20 [INFO] [stdout] | [INFO] [stdout] 510 | assert_eq!(H64::from_str("0123456789abcdef").unwrap(), h); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 510 | assert_eq!(f64::from_str("0123456789abcdef").unwrap(), h); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 497 | use types::H64; [INFO] [stdout] | [INFO] [stdout] 497 | use types::bigint::hash::H64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `H64` in this scope [INFO] [stdout] --> src/types/bigint/hash.rs:515:22 [INFO] [stdout] | [INFO] [stdout] 515 | assert!(h != H64([0x01, 0x23, 0x45, 0x67, 0x89, 0xab, 0xcd, 0xee])); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 497 | use types::H64; [INFO] [stdout] | [INFO] [stdout] 497 | use types::bigint::hash::H64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `H64` in this scope [INFO] [stdout] --> src/types/bigint/hash.rs:516:22 [INFO] [stdout] | [INFO] [stdout] 516 | assert!(h != H64([0; 8])); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 497 | use types::H64; [INFO] [stdout] | [INFO] [stdout] 497 | use types::bigint::hash::H64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `H64` in this scope [INFO] [stdout] --> src/types/bigint/hash.rs:521:17 [INFO] [stdout] | [INFO] [stdout] 521 | let a = H64([1; 8]); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 497 | use types::H64; [INFO] [stdout] | [INFO] [stdout] 497 | use types::bigint::hash::H64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `H64` in this scope [INFO] [stdout] --> src/types/bigint/hash.rs:522:17 [INFO] [stdout] | [INFO] [stdout] 522 | let b = H64([2; 8]); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 497 | use types::H64; [INFO] [stdout] | [INFO] [stdout] 497 | use types::bigint::hash::H64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `H64` in this scope [INFO] [stdout] --> src/types/bigint/hash.rs:523:17 [INFO] [stdout] | [INFO] [stdout] 523 | let c = H64([3; 8]); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 497 | use types::H64; [INFO] [stdout] | [INFO] [stdout] 497 | use types::bigint::hash::H64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `H160` in this scope [INFO] [stdout] --> src/types/bigint/hash.rs:534:22 [INFO] [stdout] | [INFO] [stdout] 534 | let address: H160 = "ef2d6d194084c2de36e0dabfce45d046b37d1106".into(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 497 | use types::H160; [INFO] [stdout] | [INFO] [stdout] 497 | use types::bigint::hash::H160; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `H256` [INFO] [stdout] --> src/types/bigint/hash.rs:535:17 [INFO] [stdout] | [INFO] [stdout] 535 | let h = H256::from(address.clone()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 497 | use types::H256; [INFO] [stdout] | [INFO] [stdout] 497 | use types::bigint::hash::H256; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `H160` [INFO] [stdout] --> src/types/bigint/hash.rs:536:17 [INFO] [stdout] | [INFO] [stdout] 536 | let a = H160::from(h); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 497 | use types::H160; [INFO] [stdout] | [INFO] [stdout] 497 | use types::bigint::hash::H160; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `H128` [INFO] [stdout] --> src/types/bigint/hash.rs:542:20 [INFO] [stdout] | [INFO] [stdout] 542 | assert_eq!(H128::from(0x1234567890abcdef), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 542 | assert_eq!(i128::from(0x1234567890abcdef), [INFO] [stdout] | ~~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 497 | use types::bigint::hash::H128; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `H128` [INFO] [stdout] --> src/types/bigint/hash.rs:543:20 [INFO] [stdout] | [INFO] [stdout] 543 | H128::from_str("00000000000000001234567890abcdef").unwrap()); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 543 | i128::from_str("00000000000000001234567890abcdef").unwrap()); [INFO] [stdout] | ~~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 497 | use types::bigint::hash::H128; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `H64` [INFO] [stdout] --> src/types/bigint/hash.rs:544:20 [INFO] [stdout] | [INFO] [stdout] 544 | assert_eq!(H64::from(0x1234567890abcdef), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 544 | assert_eq!(f64::from(0x1234567890abcdef), [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 497 | use types::H64; [INFO] [stdout] | [INFO] [stdout] 497 | use types::bigint::hash::H64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `H64` [INFO] [stdout] --> src/types/bigint/hash.rs:545:20 [INFO] [stdout] | [INFO] [stdout] 545 | H64::from_str("1234567890abcdef").unwrap()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 545 | f64::from_str("1234567890abcdef").unwrap()); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 497 | use types::H64; [INFO] [stdout] | [INFO] [stdout] 497 | use types::bigint::hash::H64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `H32` [INFO] [stdout] --> src/types/bigint/hash.rs:546:20 [INFO] [stdout] | [INFO] [stdout] 546 | assert_eq!(H32::from(0x1234567890abcdef), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 546 | assert_eq!(f32::from(0x1234567890abcdef), [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 497 | use types::bigint::hash::H32; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `H32` [INFO] [stdout] --> src/types/bigint/hash.rs:547:20 [INFO] [stdout] | [INFO] [stdout] 547 | H32::from_str("90abcdef").unwrap()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 547 | f32::from_str("90abcdef").unwrap()); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 497 | use types::bigint::hash::H32; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `H64` [INFO] [stdout] --> src/types/bigint/hash.rs:552:20 [INFO] [stdout] | [INFO] [stdout] 552 | assert_eq!(H64::from(0x1234567890abcdef), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 552 | assert_eq!(f64::from(0x1234567890abcdef), [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 497 | use types::H64; [INFO] [stdout] | [INFO] [stdout] 497 | use types::bigint::hash::H64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `H64` [INFO] [stdout] --> src/types/bigint/hash.rs:553:20 [INFO] [stdout] | [INFO] [stdout] 553 | H64::from("0x1234567890abcdef")); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 553 | f64::from("0x1234567890abcdef")); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 497 | use types::H64; [INFO] [stdout] | [INFO] [stdout] 497 | use types::bigint::hash::H64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `H64` [INFO] [stdout] --> src/types/bigint/hash.rs:554:20 [INFO] [stdout] | [INFO] [stdout] 554 | assert_eq!(H64::from(0x1234567890abcdef), H64::from("1234567890abcdef")); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 554 | assert_eq!(f64::from(0x1234567890abcdef), H64::from("1234567890abcdef")); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 497 | use types::H64; [INFO] [stdout] | [INFO] [stdout] 497 | use types::bigint::hash::H64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `H64` [INFO] [stdout] --> src/types/bigint/hash.rs:554:51 [INFO] [stdout] | [INFO] [stdout] 554 | assert_eq!(H64::from(0x1234567890abcdef), H64::from("1234567890abcdef")); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 554 | assert_eq!(H64::from(0x1234567890abcdef), f64::from("1234567890abcdef")); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 497 | use types::H64; [INFO] [stdout] | [INFO] [stdout] 497 | use types::bigint::hash::H64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `H64` [INFO] [stdout] --> src/types/bigint/hash.rs:555:20 [INFO] [stdout] | [INFO] [stdout] 555 | assert_eq!(H64::from(0x234567890abcdef), H64::from("0x234567890abcdef")); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 555 | assert_eq!(f64::from(0x234567890abcdef), H64::from("0x234567890abcdef")); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 497 | use types::H64; [INFO] [stdout] | [INFO] [stdout] 497 | use types::bigint::hash::H64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `H64` [INFO] [stdout] --> src/types/bigint/hash.rs:555:50 [INFO] [stdout] | [INFO] [stdout] 555 | assert_eq!(H64::from(0x234567890abcdef), H64::from("0x234567890abcdef")); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 555 | assert_eq!(H64::from(0x234567890abcdef), f64::from("0x234567890abcdef")); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 497 | use types::H64; [INFO] [stdout] | [INFO] [stdout] 497 | use types::bigint::hash::H64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `U256` in this scope [INFO] [stdout] --> src/types/bigint/hash.rs:560:16 [INFO] [stdout] | [INFO] [stdout] 560 | let u: U256 = 0x123456789abcdef0u64.into(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 497 | use types::bigint::hash::U256; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `H256` [INFO] [stdout] --> src/types/bigint/hash.rs:561:17 [INFO] [stdout] | [INFO] [stdout] 561 | let h = H256::from(u); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 497 | use types::H256; [INFO] [stdout] | [INFO] [stdout] 497 | use types::bigint::hash::H256; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `H256` [INFO] [stdout] --> src/types/bigint/hash.rs:562:20 [INFO] [stdout] | [INFO] [stdout] 562 | assert_eq!(H256::from(u), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 497 | use types::H256; [INFO] [stdout] | [INFO] [stdout] 497 | use types::bigint::hash::H256; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `H256` [INFO] [stdout] --> src/types/bigint/hash.rs:563:20 [INFO] [stdout] | [INFO] [stdout] 563 | H256::from("000000000000000000000000000000000000000000000000123456789abcdef0")); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 497 | use types::H256; [INFO] [stdout] | [INFO] [stdout] 497 | use types::bigint::hash::H256; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `H256` [INFO] [stdout] --> src/types/bigint/hash.rs:564:21 [INFO] [stdout] | [INFO] [stdout] 564 | let h_ref = H256::from(&u); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 497 | use types::H256; [INFO] [stdout] | [INFO] [stdout] 497 | use types::bigint::hash::H256; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `U256` in this scope [INFO] [stdout] --> src/types/bigint/hash.rs:566:20 [INFO] [stdout] | [INFO] [stdout] 566 | let r_ref: U256 = From::from(&h); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 497 | use types::bigint::hash::U256; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `U256` in this scope [INFO] [stdout] --> src/types/bigint/hash.rs:568:16 [INFO] [stdout] | [INFO] [stdout] 568 | let r: U256 = From::from(h); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 497 | use types::bigint::hash::U256; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/types/bigint/hash.rs:498:9 [INFO] [stdout] | [INFO] [stdout] 498 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Blue`, `Cyan`, `Green` [INFO] [stdout] --> src/informant.rs:18:31 [INFO] [stdout] | [INFO] [stdout] 18 | use self::ansi_term::Colour::{Green, Cyan, Blue}; [INFO] [stdout] | ^^^^^ ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dir::DatabaseDirectories` [INFO] [stdout] --> src/helpers.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use dir::DatabaseDirectories; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `replace_home_for_db` [INFO] [stdout] --> src/dir.rs:19:29 [INFO] [stdout] | [INFO] [stdout] 19 | use helpers::{replace_home, replace_home_for_db}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/user_defaults.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::TcpListener` [INFO] [stdout] --> src/run.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use std::net::TcpListener; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CpuPool` [INFO] [stdout] --> src/run.rs:26:29 [INFO] [stdout] | [INFO] [stdout] 26 | use util::informant::{self, CpuPool, Builder}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `user_defaults::UserDefaults` [INFO] [stdout] --> src/run.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use user_defaults::UserDefaults; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/helpers.rs:57:39 [INFO] [stdout] | [INFO] [stdout] 57 | let r = arg.replace("$HOME", env::home_dir().unwrap().to_str().unwrap()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/util/log.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | / lazy_static! { [INFO] [stdout] 28 | | static ref LOG_DUMMY: () = { [INFO] [stdout] 29 | | let mut builder = LogBuilder::new(); [INFO] [stdout] 30 | | builder.filter(None, LogLevelFilter::Info); [INFO] [stdout] ... | [INFO] [stdout] 39 | | }; [INFO] [stdout] 40 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `futures::Future::boxed`: removed without replacement, recommended to use a local extension trait or function if needed, more details in https://github.com/rust-lang-nursery/futures-rs/issues/228 [INFO] [stdout] --> src/util/informant.rs:238:21 [INFO] [stdout] | [INFO] [stdout] 238 | None => B(future.boxed()), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Directories` has no field named `db` [INFO] [stdout] --> src/dir.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | db: replace_home_for_db(&data_dir, [INFO] [stdout] | ^^ `Directories` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `base` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Directories` has no field named `keys` [INFO] [stdout] --> src/dir.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | keys: replace_home(&data_dir, "$BASE/keys"), [INFO] [stdout] | ^^^^ `Directories` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `base` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Directories` has no field named `signer` [INFO] [stdout] --> src/dir.rs:179:13 [INFO] [stdout] | [INFO] [stdout] 179 | signer: replace_home(&data_dir, "$BASE/signer"), [INFO] [stdout] | ^^^^^^ `Directories` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `base` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Directories` has no field named `dapps` [INFO] [stdout] --> src/dir.rs:180:13 [INFO] [stdout] | [INFO] [stdout] 180 | dapps: replace_home(&data_dir, "$BASE/dapps"), [INFO] [stdout] | ^^^^^ `Directories` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `base` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Directories` has no field named `secretstore` [INFO] [stdout] --> src/dir.rs:181:13 [INFO] [stdout] | [INFO] [stdout] 181 | secretstore: replace_home(&data_dir, "$BASE/secretstore"), [INFO] [stdout] | ^^^^^^^^^^^ `Directories` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `base` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 55 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0560. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `toyrpc` due to 56 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5f7e1f540acb95fbe0e15c493a288b7001dbf7d074bdfa9af198a87f9a1ae10b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f7e1f540acb95fbe0e15c493a288b7001dbf7d074bdfa9af198a87f9a1ae10b", kill_on_drop: false }` [INFO] [stdout] 5f7e1f540acb95fbe0e15c493a288b7001dbf7d074bdfa9af198a87f9a1ae10b