[INFO] cloning repository https://github.com/gmaijoe/grin_node [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gmaijoe/grin_node" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgmaijoe%2Fgrin_node", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgmaijoe%2Fgrin_node'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 244b4c5de38186da386360dbcba033e828dbfbec [INFO] checking gmaijoe/grin_node against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgmaijoe%2Fgrin_node" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gmaijoe/grin_node on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gmaijoe/grin_node [INFO] finished tweaking git repo https://github.com/gmaijoe/grin_node [INFO] tweaked toml for git repo https://github.com/gmaijoe/grin_node written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/gmaijoe/grin_node already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 777204e0a5f608d92fe2d4a39cd4501ac38883b0a2d97b5b12e88690e47d9945 [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" "777204e0a5f608d92fe2d4a39cd4501ac38883b0a2d97b5b12e88690e47d9945", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "777204e0a5f608d92fe2d4a39cd4501ac38883b0a2d97b5b12e88690e47d9945", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "777204e0a5f608d92fe2d4a39cd4501ac38883b0a2d97b5b12e88690e47d9945", kill_on_drop: false }` [INFO] [stdout] 777204e0a5f608d92fe2d4a39cd4501ac38883b0a2d97b5b12e88690e47d9945 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ead86a28f752b82f558cce6d1ffd07fb49dc37673498b991c715521af4b3d8f8 [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" "ead86a28f752b82f558cce6d1ffd07fb49dc37673498b991c715521af4b3d8f8", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.44 [INFO] [stderr] Compiling serde v1.0.81 [INFO] [stderr] Compiling cc v1.0.25 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling build_const v0.2.1 [INFO] [stderr] Checking itoa v0.4.3 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking safemem v0.3.0 [INFO] [stderr] Checking linked-hash-map v0.5.1 [INFO] [stderr] Checking rustc-demangle v0.1.9 [INFO] [stderr] Checking dtoa v0.4.3 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Checking odds v0.2.26 [INFO] [stderr] Checking log-mdc v0.1.0 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Checking podio v0.1.6 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Checking antidote v1.0.0 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling yaml-rust v0.3.5 [INFO] [stderr] Checking arrayref v0.3.5 [INFO] [stderr] Compiling bindgen v0.37.4 [INFO] [stderr] Compiling termcolor v1.0.4 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling num-bigint v0.2.1 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Compiling num-complex v0.2.1 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Compiling failure_derive v0.1.3 [INFO] [stderr] Checking linked-hash-map v0.4.2 [INFO] [stderr] Checking supercow v0.1.0 [INFO] [stderr] Checking bitflags v0.9.1 [INFO] [stderr] Checking futures v0.1.25 [INFO] [stderr] Checking slab v0.4.1 [INFO] [stderr] Compiling httparse v1.3.3 [INFO] [stderr] Compiling rand_core v0.3.0 [INFO] [stderr] Checking indexmap v1.0.2 [INFO] [stderr] Checking string v0.1.2 [INFO] [stderr] Checking unicode-normalization v0.1.7 [INFO] [stderr] Checking scoped-tls v0.1.2 [INFO] [stderr] Checking encode_unicode v0.3.5 [INFO] [stderr] Compiling byteorder v1.2.7 [INFO] [stderr] Checking bufstream v0.1.4 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling adler32 v1.0.3 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.15 [INFO] [stderr] Compiling native-tls v0.2.2 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling encoding_rs v0.8.13 [INFO] [stderr] Checking crossbeam-utils v0.5.0 [INFO] [stderr] Checking arc-swap v0.3.6 [INFO] [stderr] Checking reexport-proc-macro v1.0.5 [INFO] [stderr] Checking array-macro v1.0.2 [INFO] [stderr] Checking unicode-segmentation v1.2.1 [INFO] [stderr] Checking xi-unicode v0.1.0 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking maplit v1.0.1 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Compiling memchr v2.1.1 [INFO] [stderr] Compiling proc-macro2 v0.3.5 [INFO] [stderr] Checking crossbeam-utils v0.6.2 [INFO] [stderr] Checking term v0.5.1 [INFO] [stderr] Compiling unicase v2.2.0 [INFO] [stderr] Compiling crc32fast v1.1.2 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Checking miniz_oxide v0.2.0 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Compiling clang-sys v0.23.0 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking arrayvec v0.4.8 [INFO] [stderr] Checking yaml-rust v0.4.2 [INFO] [stderr] Compiling humantime v1.2.0 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling regex-syntax v0.6.4 [INFO] [stderr] Checking block-buffer v0.3.3 [INFO] [stderr] Checking arrayvec v0.3.25 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Checking lru-cache v0.1.1 [INFO] [stderr] Checking itertools v0.7.11 [INFO] [stderr] Compiling rand_core v0.2.2 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.0 [INFO] [stderr] Compiling owning_ref v0.4.0 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Checking pretty_assertions v0.5.1 [INFO] [stderr] Compiling grin_secp256k1zkp v0.7.2 [INFO] [stderr] Compiling liblmdb-sys v0.2.2 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Checking tokio-executor v0.1.5 [INFO] [stderr] Checking tokio-service v0.1.0 [INFO] [stderr] Compiling quote v0.5.2 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking blake2-rfc v0.2.18 [INFO] [stderr] Checking crossbeam-epoch v0.6.1 [INFO] [stderr] Compiling miniz-sys v0.1.11 [INFO] [stderr] Compiling miniz_oxide_c_api v0.2.0 [INFO] [stderr] Compiling bzip2-sys v0.1.7 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Compiling ring v0.13.5 [INFO] [stderr] Compiling openssl-sys v0.9.39 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling libgit2-sys v0.7.10 [INFO] [stderr] Compiling ncurses v5.97.0 [INFO] [stderr] Compiling smallvec v0.6.7 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Checking generic-array v0.9.0 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling libflate v0.1.19 [INFO] [stderr] Checking tokio-timer v0.2.8 [INFO] [stderr] Checking tokio-current-thread v0.1.4 [INFO] [stderr] Checking crossbeam-deque v0.6.2 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling which v1.0.5 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling time v0.1.40 [INFO] [stderr] Compiling filetime v0.2.4 [INFO] [stderr] Compiling xattr v0.2.2 [INFO] [stderr] Checking rand v0.4.3 [INFO] [stderr] Checking thread-id v3.3.0 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking dirs v1.0.4 [INFO] [stderr] Checking signal-hook v0.1.6 [INFO] [stderr] Checking nix v0.11.0 [INFO] [stderr] Checking term_size v0.3.1 [INFO] [stderr] Checking rpassword v2.1.0 [INFO] [stderr] Checking daemonize v0.3.0 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Compiling syn v0.15.22 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Compiling phf_shared v0.7.23 [INFO] [stderr] Checking num-iter v0.1.37 [INFO] [stderr] Checking digest v0.7.6 [INFO] [stderr] Checking crypto-mac v0.6.2 [INFO] [stderr] Compiling mime v0.3.12 [INFO] [stderr] Compiling nom v3.2.1 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling bytes v0.4.11 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling tar v0.4.20 [INFO] [stderr] Checking msdos_time v0.1.6 [INFO] [stderr] Checking csv v0.15.0 [INFO] [stderr] Checking rand_chacha v0.1.0 [INFO] [stderr] Checking rand_pcg v0.1.1 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking rand v0.3.22 [INFO] [stderr] Compiling uuid v0.7.1 [INFO] [stderr] Compiling phf_generator v0.7.23 [INFO] [stderr] Compiling phf v0.7.23 [INFO] [stderr] Checking sha2 v0.7.1 [INFO] [stderr] Checking ripemd160 v0.7.0 [INFO] [stderr] Checking hmac v0.6.3 [INFO] [stderr] Compiling http v0.1.14 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking serde_json v1.0.33 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking serde-value v0.5.3 [INFO] [stderr] Checking serde_yaml v0.8.8 [INFO] [stderr] Checking uuid v0.6.5 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking bzip2 v0.3.3 [INFO] [stderr] Checking backtrace v0.3.9 [INFO] [stderr] Compiling cexpr v0.2.3 [INFO] [stderr] Checking rand v0.6.1 [INFO] [stderr] Compiling serde_urlencoded v0.5.4 [INFO] [stderr] Checking prettytable-rs v0.7.0 [INFO] [stderr] Checking flate2 v1.0.6 [INFO] [stderr] Compiling phf_codegen v0.7.23 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Checking parking_lot v0.6.4 [INFO] [stderr] Checking pbkdf2 v0.2.3 [INFO] [stderr] Checking lmdb-zero v0.4.4 [INFO] [stderr] Checking ctrlc v3.1.1 [INFO] [stderr] Checking tokio-io v0.1.10 [INFO] [stderr] Checking mio v0.6.16 [INFO] [stderr] Checking want v0.0.6 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking num v0.2.0 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Checking sct v0.4.0 [INFO] [stderr] Checking webpki v0.18.1 [INFO] [stderr] Checking tokio-threadpool v0.1.9 [INFO] [stderr] Compiling mime_guess v2.0.0-alpha.6 [INFO] [stderr] Checking crossbeam-channel v0.2.6 [INFO] [stderr] Checking zip v0.4.2 [INFO] [stderr] Compiling enum-map-derive v0.4.0 [INFO] [stderr] Checking tokio-codec v0.1.1 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Compiling serde_derive v1.0.81 [INFO] [stderr] Compiling enumset_derive v0.2.0 [INFO] [stderr] Checking tokio-reactor v0.1.7 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking ct-logs v0.4.0 [INFO] [stderr] Checking h2 v0.1.14 [INFO] [stderr] Checking rustls v0.13.1 [INFO] [stderr] Checking webpki-roots v0.15.0 [INFO] [stderr] Checking tokio-fs v0.1.4 [INFO] [stderr] Checking tokio-uds v0.2.4 [INFO] [stderr] Checking tokio-udp v0.1.3 [INFO] [stderr] Checking tokio-tcp v0.1.2 [INFO] [stderr] Checking enum-map v0.4.1 [INFO] [stderr] Checking enumset v0.3.14 [INFO] [stderr] Checking tokio v0.1.11 [INFO] [stderr] Checking cursive v0.9.2 [INFO] [stderr] Checking tokio-core v0.1.17 [INFO] [stderr] Checking tokio-rustls v0.7.2 [INFO] [stderr] Checking hyper v0.12.17 [INFO] [stderr] Checking failure v0.1.3 [INFO] [stderr] Checking tokio-retry v0.1.1 [INFO] [stderr] Checking hyper-rustls v0.14.0 [INFO] [stderr] Checking hyper-staticfile v0.3.0 [INFO] [stderr] Compiling hyper-tls v0.3.1 [INFO] [stderr] Compiling reqwest v0.9.5 [INFO] [stderr] Checking log4rs v0.8.1 [INFO] [stderr] Checking jsonrpc-core v8.0.1 [INFO] [stderr] Checking grin_util v0.4.2 (/opt/rustwide/workdir/util) [INFO] [stdout] warning: missing documentation for macro [INFO] [stdout] --> util/src/macros.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | macro_rules! impl_array_newtype { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> util/src/lib.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for macro [INFO] [stdout] --> util/src/macros.rs:168:1 [INFO] [stdout] | [INFO] [stdout] 168 | macro_rules! impl_array_newtype_encodable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for macro [INFO] [stdout] --> util/src/macros.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | macro_rules! impl_array_newtype_show { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for macro [INFO] [stdout] --> util/src/macros.rs:233:1 [INFO] [stdout] | [INFO] [stdout] 233 | macro_rules! impl_index_newtype { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for macro [INFO] [stdout] --> util/src/macros.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | macro_rules! impl_array_newtype { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> util/src/lib.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for macro [INFO] [stdout] --> util/src/macros.rs:168:1 [INFO] [stdout] | [INFO] [stdout] 168 | macro_rules! impl_array_newtype_encodable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for macro [INFO] [stdout] --> util/src/macros.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | macro_rules! impl_array_newtype_show { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for macro [INFO] [stdout] --> util/src/macros.rs:233:1 [INFO] [stdout] | [INFO] [stdout] 233 | macro_rules! impl_index_newtype { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking grin_keychain v0.4.2 (/opt/rustwide/workdir/keychain) [INFO] [stderr] Compiling croaring-sys v0.3.7 [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> keychain/src/extkey_bip32.rs:118:91 [INFO] [stdout] | [INFO] [stdout] 118 | self.hmac_sha512 = HmacSha512::new_varkey(seed).expect("HMAC can take key of any size");; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> keychain/src/extkey_bip32.rs:380:13 [INFO] [stdout] | [INFO] [stdout] 380 | let key = r#try!(ExtendedPrivKey::new_master(secp, &mut hasher, &seed)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> keychain/src/mnemonic.rs:28:38 [INFO] [stdout] | [INFO] [stdout] 28 | pub static ref WORDS: Vec = { include_str!("wordlists/en.txt").split_whitespace().map(|s| s.into()).collect() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> keychain/src/mnemonic.rs:75:30 [INFO] [stdout] | [INFO] [stdout] 75 | let mut indexes: Vec = r#try!(words.iter().map(|x| search(x)).collect()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> keychain/src/mnemonic.rs:158:2 [INFO] [stdout] | [INFO] [stdout] 158 | r#try!(to_entropy(mnemonic)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> keychain/src/types.rs:210:3 [INFO] [stdout] | [INFO] [stdout] 210 | r#try!(write!(f, "{}(", stringify!(Identifier))); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> keychain/src/types.rs:211:3 [INFO] [stdout] | [INFO] [stdout] 211 | r#try!(write!(f, "{}", self.to_hex())); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> keychain/src/extkey_bip32.rs:118:91 [INFO] [stdout] | [INFO] [stdout] 118 | self.hmac_sha512 = HmacSha512::new_varkey(seed).expect("HMAC can take key of any size");; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> keychain/src/extkey_bip32.rs:380:13 [INFO] [stdout] | [INFO] [stdout] 380 | let key = r#try!(ExtendedPrivKey::new_master(secp, &mut hasher, &seed)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> keychain/src/extkey_bip32.rs:711:92 [INFO] [stdout] | [INFO] [stdout] 711 | self.hmac_sha512 = HmacSha512::new_varkey(seed).expect("HMAC can take key of any size");; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> keychain/src/mnemonic.rs:28:38 [INFO] [stdout] | [INFO] [stdout] 28 | pub static ref WORDS: Vec = { include_str!("wordlists/en.txt").split_whitespace().map(|s| s.into()).collect() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> keychain/src/mnemonic.rs:75:30 [INFO] [stdout] | [INFO] [stdout] 75 | let mut indexes: Vec = r#try!(words.iter().map(|x| search(x)).collect()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> keychain/src/mnemonic.rs:158:2 [INFO] [stdout] | [INFO] [stdout] 158 | r#try!(to_entropy(mnemonic)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> keychain/src/types.rs:210:3 [INFO] [stdout] | [INFO] [stdout] 210 | r#try!(write!(f, "{}(", stringify!(Identifier))); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> keychain/src/types.rs:211:3 [INFO] [stdout] | [INFO] [stdout] 211 | r#try!(write!(f, "{}", self.to_hex())); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> keychain/src/extkey_bip32.rs:331:27 [INFO] [stdout] | [INFO] [stdout] 331 | Error::Ecdsa(ref e) => error::Error::description(e), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> keychain/src/extkey_bip32.rs:331:27 [INFO] [stdout] | [INFO] [stdout] 331 | Error::Ecdsa(ref e) => error::Error::description(e), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling git2 v0.7.5 [INFO] [stderr] Compiling built v0.3.0 [INFO] [stderr] Compiling grin v0.4.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/build/build.rs:72:67 [INFO] [stdout] | [INFO] [stdout] 72 | fn download_and_decompress(target_file: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/build/build.rs:98:45 [INFO] [stdout] | [INFO] [stdout] 98 | fn install_web_wallet() -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking croaring v0.3.7 [INFO] [stderr] Checking grin_core v0.4.2 (/opt/rustwide/workdir/core) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> core/src/core/id.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | /// We want to sort short_ids in a canonical and consistent manner so we can [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> core/src/core/id.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | /// verify sort order in the same way we do for full inputs|outputs|kernels [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> core/src/core/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | /// themselves. [INFO] [stdout] | ^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> core/src/core/block.rs:124:23 [INFO] [stdout] | [INFO] [stdout] 124 | fn read(reader: &mut Reader) -> Result { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Reader` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> core/src/macros.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | ( $(r#try!($rdr.$read_call($($val),*))),* ) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: core/src/core/block.rs:249:44 [INFO] [stdout] | [INFO] [stdout] 249 | let (version, height, timestamp) = ser_multiread!(reader, read_u16, read_u64, read_i64); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> core/src/macros.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | ( $(r#try!($rdr.$read_call($($val),*))),* ) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: core/src/core/block.rs:256:50 [INFO] [stdout] | [INFO] [stdout] 256 | let (output_mmr_size, kernel_mmr_size) = ser_multiread!(reader, read_u64, read_u64); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> core/src/macros.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | $( r#try!($wrtr.$write_call($val)) );* [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: core/src/core/block.rs:285:9 [INFO] [stdout] | [INFO] [stdout] 285 | / ser_multiwrite!( [INFO] [stdout] 286 | | writer, [INFO] [stdout] 287 | | [write_u16, self.version], [INFO] [stdout] 288 | | [write_u64, self.height], [INFO] [stdout] ... | [INFO] [stdout] 297 | | [write_u64, self.kernel_mmr_size] [INFO] [stdout] 298 | | ); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> core/src/core/committed.rs:123:14 [INFO] [stdout] | [INFO] [stdout] 123 | ) -> Result<((Commitment, Commitment)), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> core/src/macros.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | ( $(r#try!($rdr.$read_call($($val),*))),* ) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: core/src/core/compact_block.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | ser_multiread!(reader, read_u64, read_u64, read_u64); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> core/src/macros.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | $( r#try!($wrtr.$write_call($val)) );* [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: core/src/core/compact_block.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | / ser_multiwrite!( [INFO] [stdout] 105 | | writer, [INFO] [stdout] 106 | | [write_u64, self.out_full.len() as u64], [INFO] [stdout] 107 | | [write_u64, self.kern_full.len() as u64], [INFO] [stdout] 108 | | [write_u64, self.kern_ids.len() as u64] [INFO] [stdout] 109 | | ); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> core/src/macros.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | $( r#try!($wrtr.$write_call($val)) );* [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: core/src/core/transaction.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | ser_multiwrite!(writer, [write_u64, self.fee], [write_u64, self.lock_height]); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> core/src/core/transaction.rs:285:23 [INFO] [stdout] | [INFO] [stdout] 285 | fn read(reader: &mut Reader) -> Result { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> core/src/macros.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | $( r#try!($wrtr.$write_call($val)) );* [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: core/src/core/transaction.rs:344:9 [INFO] [stdout] | [INFO] [stdout] 344 | / ser_multiwrite!( [INFO] [stdout] 345 | | writer, [INFO] [stdout] 346 | | [write_u64, self.inputs.len() as u64], [INFO] [stdout] 347 | | [write_u64, self.outputs.len() as u64], [INFO] [stdout] 348 | | [write_u64, self.kernels.len() as u64] [INFO] [stdout] 349 | | ); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> core/src/macros.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | ( $(r#try!($rdr.$read_call($($val),*))),* ) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: core/src/core/transaction.rs:364:13 [INFO] [stdout] | [INFO] [stdout] 364 | ser_multiread!(reader, read_u64, read_u64, read_u64); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> core/src/macros.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | $( r#try!($wrtr.$write_call($val)) );* [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: core/src/pow/types.rs:270:9 [INFO] [stdout] | [INFO] [stdout] 270 | / ser_multiwrite!( [INFO] [stdout] 271 | | writer, [INFO] [stdout] 272 | | [write_u64, self.total_difficulty.to_num()], [INFO] [stdout] 273 | | [write_u32, self.secondary_scaling] [INFO] [stdout] 274 | | ); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> core/src/core/id.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | /// We want to sort short_ids in a canonical and consistent manner so we can [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> core/src/core/id.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | /// verify sort order in the same way we do for full inputs|outputs|kernels [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> core/src/core/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | /// themselves. [INFO] [stdout] | ^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> core/src/core/block.rs:124:23 [INFO] [stdout] | [INFO] [stdout] 124 | fn read(reader: &mut Reader) -> Result { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Reader` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> core/src/macros.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | ( $(r#try!($rdr.$read_call($($val),*))),* ) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: core/src/core/block.rs:249:44 [INFO] [stdout] | [INFO] [stdout] 249 | let (version, height, timestamp) = ser_multiread!(reader, read_u16, read_u64, read_i64); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> core/src/macros.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | ( $(r#try!($rdr.$read_call($($val),*))),* ) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: core/src/core/block.rs:256:50 [INFO] [stdout] | [INFO] [stdout] 256 | let (output_mmr_size, kernel_mmr_size) = ser_multiread!(reader, read_u64, read_u64); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> core/src/macros.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | $( r#try!($wrtr.$write_call($val)) );* [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: core/src/core/block.rs:285:9 [INFO] [stdout] | [INFO] [stdout] 285 | / ser_multiwrite!( [INFO] [stdout] 286 | | writer, [INFO] [stdout] 287 | | [write_u16, self.version], [INFO] [stdout] 288 | | [write_u64, self.height], [INFO] [stdout] ... | [INFO] [stdout] 297 | | [write_u64, self.kernel_mmr_size] [INFO] [stdout] 298 | | ); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> core/src/core/committed.rs:123:14 [INFO] [stdout] | [INFO] [stdout] 123 | ) -> Result<((Commitment, Commitment)), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> core/src/macros.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | ( $(r#try!($rdr.$read_call($($val),*))),* ) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: core/src/core/compact_block.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | ser_multiread!(reader, read_u64, read_u64, read_u64); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> core/src/macros.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | $( r#try!($wrtr.$write_call($val)) );* [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: core/src/core/compact_block.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | / ser_multiwrite!( [INFO] [stdout] 105 | | writer, [INFO] [stdout] 106 | | [write_u64, self.out_full.len() as u64], [INFO] [stdout] 107 | | [write_u64, self.kern_full.len() as u64], [INFO] [stdout] 108 | | [write_u64, self.kern_ids.len() as u64] [INFO] [stdout] 109 | | ); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> core/src/macros.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | $( r#try!($wrtr.$write_call($val)) );* [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: core/src/core/transaction.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | ser_multiwrite!(writer, [write_u64, self.fee], [write_u64, self.lock_height]); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> core/src/core/transaction.rs:285:23 [INFO] [stdout] | [INFO] [stdout] 285 | fn read(reader: &mut Reader) -> Result { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> core/src/macros.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | $( r#try!($wrtr.$write_call($val)) );* [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: core/src/core/transaction.rs:344:9 [INFO] [stdout] | [INFO] [stdout] 344 | / ser_multiwrite!( [INFO] [stdout] 345 | | writer, [INFO] [stdout] 346 | | [write_u64, self.inputs.len() as u64], [INFO] [stdout] 347 | | [write_u64, self.outputs.len() as u64], [INFO] [stdout] 348 | | [write_u64, self.kernels.len() as u64] [INFO] [stdout] 349 | | ); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> core/src/macros.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | ( $(r#try!($rdr.$read_call($($val),*))),* ) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: core/src/core/transaction.rs:364:13 [INFO] [stdout] | [INFO] [stdout] 364 | ser_multiread!(reader, read_u64, read_u64, read_u64); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> core/src/macros.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | $( r#try!($wrtr.$write_call($val)) );* [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: core/src/pow/types.rs:270:9 [INFO] [stdout] | [INFO] [stdout] 270 | / ser_multiwrite!( [INFO] [stdout] 271 | | writer, [INFO] [stdout] 272 | | [write_u64, self.total_difficulty.to_num()], [INFO] [stdout] 273 | | [write_u32, self.secondary_scaling] [INFO] [stdout] 274 | | ); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `grin_util::secp256k1zkp::aggsig::sign_single`: All aggsig-related api functions need review and are subject to change. [INFO] [stdout] --> core/src/libtx/aggsig.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 106 | let sig = aggsig::sign_single( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `grin_util::secp256k1zkp::aggsig::sign_single`: All aggsig-related api functions need review and are subject to change. [INFO] [stdout] --> core/src/libtx/aggsig.rs:268:12 [INFO] [stdout] | [INFO] [stdout] 268 | let sig = aggsig::sign_single( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `grin_util::secp256k1zkp::aggsig::sign_single`: All aggsig-related api functions need review and are subject to change. [INFO] [stdout] --> core/src/libtx/aggsig.rs:439:12 [INFO] [stdout] | [INFO] [stdout] 439 | let sig = aggsig::sign_single(secp, &msg, skey, None, None, None, pubkey_sum, None)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `grin_util::secp256k1zkp::aggsig::sign_single`: All aggsig-related api functions need review and are subject to change. [INFO] [stdout] --> core/src/libtx/aggsig.rs:467:12 [INFO] [stdout] | [INFO] [stdout] 467 | let sig = aggsig::sign_single(secp, &msg, skey, None, None, None, pubkey_sum, None)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `grin_util::secp256k1zkp::aggsig::sign_single`: All aggsig-related api functions need review and are subject to change. [INFO] [stdout] --> core/src/libtx/aggsig.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 106 | let sig = aggsig::sign_single( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `grin_util::secp256k1zkp::aggsig::sign_single`: All aggsig-related api functions need review and are subject to change. [INFO] [stdout] --> core/src/libtx/aggsig.rs:268:12 [INFO] [stdout] | [INFO] [stdout] 268 | let sig = aggsig::sign_single( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `grin_util::secp256k1zkp::aggsig::sign_single`: All aggsig-related api functions need review and are subject to change. [INFO] [stdout] --> core/src/libtx/aggsig.rs:439:12 [INFO] [stdout] | [INFO] [stdout] 439 | let sig = aggsig::sign_single(secp, &msg, skey, None, None, None, pubkey_sum, None)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `grin_util::secp256k1zkp::aggsig::sign_single`: All aggsig-related api functions need review and are subject to change. [INFO] [stdout] --> core/src/libtx/aggsig.rs:467:12 [INFO] [stdout] | [INFO] [stdout] 467 | let sig = aggsig::sign_single(secp, &msg, skey, None, None, None, pubkey_sum, None)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bitflags::core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> core/src/core.rs:98:14 [INFO] [stdout] | [INFO] [stdout] 98 | return hr.trim_right_matches('0').to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bitflags::core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> core/src/core.rs:100:29 [INFO] [stdout] | [INFO] [stdout] 100 | return format!("{}0", hr.trim_right_matches('0')); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bitflags::core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> core/src/core.rs:98:14 [INFO] [stdout] | [INFO] [stdout] 98 | return hr.trim_right_matches('0').to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bitflags::core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> core/src/core.rs:100:29 [INFO] [stdout] | [INFO] [stdout] 100 | return format!("{}0", hr.trim_right_matches('0')); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for macro [INFO] [stdout] --> core/src/pow/common.rs:114:1 [INFO] [stdout] | [INFO] [stdout] 114 | macro_rules! to_u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> core/src/lib.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for macro [INFO] [stdout] --> core/src/pow/common.rs:121:1 [INFO] [stdout] | [INFO] [stdout] 121 | macro_rules! to_usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for macro [INFO] [stdout] --> core/src/pow/common.rs:128:1 [INFO] [stdout] | [INFO] [stdout] 128 | macro_rules! to_edge { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for macro [INFO] [stdout] --> core/src/pow/common.rs:114:1 [INFO] [stdout] | [INFO] [stdout] 114 | macro_rules! to_u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> core/src/lib.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for macro [INFO] [stdout] --> core/src/pow/common.rs:121:1 [INFO] [stdout] | [INFO] [stdout] 121 | macro_rules! to_usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for macro [INFO] [stdout] --> core/src/pow/common.rs:128:1 [INFO] [stdout] | [INFO] [stdout] 128 | macro_rules! to_edge { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking grin_store v0.4.2 (/opt/rustwide/workdir/store) [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> core/tests/vec_backend.rs:41:3 [INFO] [stdout] | [INFO] [stdout] 41 | r#try!(writer.write_u32(self.0[0])); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> core/tests/vec_backend.rs:42:3 [INFO] [stdout] | [INFO] [stdout] 42 | r#try!(writer.write_u32(self.0[1])); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> core/tests/vec_backend.rs:43:3 [INFO] [stdout] | [INFO] [stdout] 43 | r#try!(writer.write_u32(self.0[2])); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `grin_core as core` [INFO] [stdout] --> core/tests/common.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use grin_core as core; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `grin_core as core` [INFO] [stdout] --> core/tests/common.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use grin_core as core; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `grin_core as core` [INFO] [stdout] --> core/tests/common.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use grin_core as core; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lmdb_zero` [INFO] [stdout] --> store/src/lib.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use lmdb_zero; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `memmap` [INFO] [stdout] --> store/src/lib.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use memmap; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> store/src/pmmr.rs:104:41 [INFO] [stdout] | [INFO] [stdout] 104 | fn get_hash(&self, pos: u64) -> Option<(Hash)> { [INFO] [stdout] | ^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> store/src/pmmr.rs:113:41 [INFO] [stdout] | [INFO] [stdout] 113 | fn get_data(&self, pos: u64) -> Option<(T::E)> { [INFO] [stdout] | ^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> store/src/pmmr.rs:310:5 [INFO] [stdout] | [INFO] [stdout] 310 | (flat_pos - 1 - shift) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> store/src/pmmr.rs:443:44 [INFO] [stdout] | [INFO] [stdout] 443 | |possible_dir_entry| -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Path` is imported redundantly [INFO] [stdout] --> store/src/lib.rs:88:6 [INFO] [stdout] | [INFO] [stdout] 88 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | use std::path::Path; [INFO] [stdout] | --------------- the item `Path` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> core/tests/vec_backend.rs:41:3 [INFO] [stdout] | [INFO] [stdout] 41 | r#try!(writer.write_u32(self.0[0])); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> core/tests/vec_backend.rs:42:3 [INFO] [stdout] | [INFO] [stdout] 42 | r#try!(writer.write_u32(self.0[1])); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> core/tests/vec_backend.rs:43:3 [INFO] [stdout] | [INFO] [stdout] 43 | r#try!(writer.write_u32(self.0[2])); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `grin_core as core` [INFO] [stdout] --> core/tests/common.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use grin_core as core; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> core/tests/vec_backend.rs:41:3 [INFO] [stdout] | [INFO] [stdout] 41 | r#try!(writer.write_u32(self.0[0])); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> core/tests/vec_backend.rs:42:3 [INFO] [stdout] | [INFO] [stdout] 42 | r#try!(writer.write_u32(self.0[1])); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> core/tests/vec_backend.rs:43:3 [INFO] [stdout] | [INFO] [stdout] 43 | r#try!(writer.write_u32(self.0[2])); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lmdb_zero` [INFO] [stdout] --> store/src/lib.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use lmdb_zero; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `memmap` [INFO] [stdout] --> store/src/lib.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use memmap; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> store/src/pmmr.rs:104:41 [INFO] [stdout] | [INFO] [stdout] 104 | fn get_hash(&self, pos: u64) -> Option<(Hash)> { [INFO] [stdout] | ^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> store/src/pmmr.rs:113:41 [INFO] [stdout] | [INFO] [stdout] 113 | fn get_data(&self, pos: u64) -> Option<(T::E)> { [INFO] [stdout] | ^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> store/src/pmmr.rs:310:5 [INFO] [stdout] | [INFO] [stdout] 310 | (flat_pos - 1 - shift) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> store/src/pmmr.rs:443:44 [INFO] [stdout] | [INFO] [stdout] 443 | |possible_dir_entry| -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Path` is imported redundantly [INFO] [stdout] --> store/src/lib.rs:88:6 [INFO] [stdout] | [INFO] [stdout] 88 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | use std::path::Path; [INFO] [stdout] | --------------- the item `Path` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking grin_chain v0.4.2 (/opt/rustwide/workdir/chain) [INFO] [stderr] Checking grin_pool v0.4.2 (/opt/rustwide/workdir/pool) [INFO] [stderr] Checking grin_p2p v0.4.2 (/opt/rustwide/workdir/p2p) [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude::*` [INFO] [stdout] --> store/tests/pmmr.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `grin_store` [INFO] [stdout] --> chain/src/lib.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | use grin_store; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> chain/src/chain.rs:1287:53 [INFO] [stdout] | [INFO] [stdout] 1287 | let (utxo_sum, kernel_sum) = (sums, genesis as &Committed).verify_kernel_sums( [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Committed` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> chain/src/txhashset/txhashset.rs:936:53 [INFO] [stdout] | [INFO] [stdout] 936 | fn apply_output(&mut self, out: &Output) -> Result<(u64), Error> { [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> chain/src/txhashset/txhashset.rs:1225:47 [INFO] [stdout] | [INFO] [stdout] 1225 | pub fn validate_kernel_sums(&self) -> Result<((Commitment, Commitment)), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> chain/src/txhashset/txhashset.rs:1240:14 [INFO] [stdout] | [INFO] [stdout] 1240 | ) -> Result<((Commitment, Commitment)), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `grin_store` [INFO] [stdout] --> chain/src/lib.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | use grin_store; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> chain/src/chain.rs:1287:53 [INFO] [stdout] | [INFO] [stdout] 1287 | let (utxo_sum, kernel_sum) = (sums, genesis as &Committed).verify_kernel_sums( [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Committed` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> chain/src/txhashset/txhashset.rs:936:53 [INFO] [stdout] | [INFO] [stdout] 936 | fn apply_output(&mut self, out: &Output) -> Result<(u64), Error> { [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> chain/src/txhashset/txhashset.rs:1225:47 [INFO] [stdout] | [INFO] [stdout] 1225 | pub fn validate_kernel_sums(&self) -> Result<((Commitment, Commitment)), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> chain/src/txhashset/txhashset.rs:1240:14 [INFO] [stdout] | [INFO] [stdout] 1240 | ) -> Result<((Commitment, Commitment)), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> p2p/src/msg.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | /// Types of messages. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> p2p/src/msg.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | /// Note: Values here are *important* so we should only add new values at the [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> p2p/src/msg.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | /// end. [INFO] [stdout] | ^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> p2p/src/store.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | /// Types of messages [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> p2p/src/types.rs:224:1 [INFO] [stdout] | [INFO] [stdout] 224 | /// Types of connection [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> p2p/src/types.rs:233:1 [INFO] [stdout] | [INFO] [stdout] 233 | /// Ban reason [INFO] [stdout] | ^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `grin_store` [INFO] [stdout] --> p2p/src/lib.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use grin_store; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> p2p/src/msg.rs:203:3 [INFO] [stdout] | [INFO] [stdout] 203 | / ser_multiwrite!( [INFO] [stdout] 204 | | writer, [INFO] [stdout] 205 | | [write_u8, self.magic[0]], [INFO] [stdout] 206 | | [write_u8, self.magic[1]], [INFO] [stdout] 207 | | [write_u8, self.msg_type as u8], [INFO] [stdout] 208 | | [write_u64, self.msg_len] [INFO] [stdout] 209 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> p2p/src/msg.rs:218:18 [INFO] [stdout] | [INFO] [stdout] 218 | let (t, len) = ser_multiread!(reader, read_u8, read_u64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> p2p/src/msg.rs:254:3 [INFO] [stdout] | [INFO] [stdout] 254 | / ser_multiwrite!( [INFO] [stdout] 255 | | writer, [INFO] [stdout] 256 | | [write_u32, self.version], [INFO] [stdout] 257 | | [write_u32, self.capabilities.bits()], [INFO] [stdout] 258 | | [write_u64, self.nonce] [INFO] [stdout] 259 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> p2p/src/msg.rs:271:33 [INFO] [stdout] | [INFO] [stdout] 271 | let (version, capab, nonce) = ser_multiread!(reader, read_u32, read_u32, read_u64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> p2p/src/msg.rs:310:3 [INFO] [stdout] | [INFO] [stdout] 310 | / ser_multiwrite!( [INFO] [stdout] 311 | | writer, [INFO] [stdout] 312 | | [write_u32, self.version], [INFO] [stdout] 313 | | [write_u32, self.capabilities.bits()] [INFO] [stdout] 314 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> p2p/src/msg.rs:324:26 [INFO] [stdout] | [INFO] [stdout] 324 | let (version, capab) = ser_multiread!(reader, read_u32, read_u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> p2p/src/msg.rs:405:3 [INFO] [stdout] | [INFO] [stdout] 405 | ser_multiwrite!(writer, [write_u32, self.code], [write_bytes, &self.message]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> p2p/src/msg.rs:432:5 [INFO] [stdout] | [INFO] [stdout] 432 | / ser_multiwrite!( [INFO] [stdout] 433 | | writer, [INFO] [stdout] 434 | | [write_u8, 0], [INFO] [stdout] 435 | | [write_fixed_bytes, &sav4.ip().octets().to_vec()], [INFO] [stdout] 436 | | [write_u16, sav4.port()] [INFO] [stdout] 437 | | ); [INFO] [stdout] | |__________________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> p2p/src/msg.rs:640:3 [INFO] [stdout] | [INFO] [stdout] 640 | ser_multiwrite!(writer, [write_u64, self.height], [write_u64, self.bytes]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> p2p/src/msg.rs:648:25 [INFO] [stdout] | [INFO] [stdout] 648 | let (height, bytes) = ser_multiread!(reader, read_u64, read_u64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> p2p/src/store.rs:67:3 [INFO] [stdout] | [INFO] [stdout] 67 | / ser_multiwrite!( [INFO] [stdout] 68 | | writer, [INFO] [stdout] 69 | | [write_u32, self.capabilities.bits()], [INFO] [stdout] 70 | | [write_bytes, &self.user_agent], [INFO] [stdout] ... | [INFO] [stdout] 74 | | [write_i64, self.last_connected] [INFO] [stdout] 75 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> p2p/src/store.rs:85:22 [INFO] [stdout] | [INFO] [stdout] 85 | let (fl, lb, br) = ser_multiread!(reader, read_u8, read_i64, read_i32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metadata` [INFO] [stdout] --> store/tests/pmmr.rs:826:7 [INFO] [stdout] | [INFO] [stdout] 826 | let metadata = file.metadata().unwrap(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metadata` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> store/tests/pmmr.rs:825:7 [INFO] [stdout] | [INFO] [stdout] 825 | let mut file = fs::File::create(path.clone()).unwrap(); [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: unused `Result` that must be used [INFO] [stdout] --> store/tests/pmmr.rs:827:3 [INFO] [stdout] | [INFO] [stdout] 827 | filetime::set_file_times(path, time_to_set_ft, time_to_set_ft); [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] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> p2p/src/msg.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | /// Types of messages. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> p2p/src/msg.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | /// Note: Values here are *important* so we should only add new values at the [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> p2p/src/msg.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | /// end. [INFO] [stdout] | ^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> p2p/src/store.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | /// Types of messages [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> p2p/src/types.rs:224:1 [INFO] [stdout] | [INFO] [stdout] 224 | /// Types of connection [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> p2p/src/types.rs:233:1 [INFO] [stdout] | [INFO] [stdout] 233 | /// Ban reason [INFO] [stdout] | ^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `grin_store` [INFO] [stdout] --> p2p/src/lib.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use grin_store; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> p2p/src/msg.rs:203:3 [INFO] [stdout] | [INFO] [stdout] 203 | / ser_multiwrite!( [INFO] [stdout] 204 | | writer, [INFO] [stdout] 205 | | [write_u8, self.magic[0]], [INFO] [stdout] 206 | | [write_u8, self.magic[1]], [INFO] [stdout] 207 | | [write_u8, self.msg_type as u8], [INFO] [stdout] 208 | | [write_u64, self.msg_len] [INFO] [stdout] 209 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> p2p/src/msg.rs:218:18 [INFO] [stdout] | [INFO] [stdout] 218 | let (t, len) = ser_multiread!(reader, read_u8, read_u64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> p2p/src/msg.rs:254:3 [INFO] [stdout] | [INFO] [stdout] 254 | / ser_multiwrite!( [INFO] [stdout] 255 | | writer, [INFO] [stdout] 256 | | [write_u32, self.version], [INFO] [stdout] 257 | | [write_u32, self.capabilities.bits()], [INFO] [stdout] 258 | | [write_u64, self.nonce] [INFO] [stdout] 259 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> p2p/src/msg.rs:271:33 [INFO] [stdout] | [INFO] [stdout] 271 | let (version, capab, nonce) = ser_multiread!(reader, read_u32, read_u32, read_u64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> p2p/src/msg.rs:310:3 [INFO] [stdout] | [INFO] [stdout] 310 | / ser_multiwrite!( [INFO] [stdout] 311 | | writer, [INFO] [stdout] 312 | | [write_u32, self.version], [INFO] [stdout] 313 | | [write_u32, self.capabilities.bits()] [INFO] [stdout] 314 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> p2p/src/msg.rs:324:26 [INFO] [stdout] | [INFO] [stdout] 324 | let (version, capab) = ser_multiread!(reader, read_u32, read_u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> p2p/src/msg.rs:405:3 [INFO] [stdout] | [INFO] [stdout] 405 | ser_multiwrite!(writer, [write_u32, self.code], [write_bytes, &self.message]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> p2p/src/msg.rs:432:5 [INFO] [stdout] | [INFO] [stdout] 432 | / ser_multiwrite!( [INFO] [stdout] 433 | | writer, [INFO] [stdout] 434 | | [write_u8, 0], [INFO] [stdout] 435 | | [write_fixed_bytes, &sav4.ip().octets().to_vec()], [INFO] [stdout] 436 | | [write_u16, sav4.port()] [INFO] [stdout] 437 | | ); [INFO] [stdout] | |__________________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> p2p/src/msg.rs:640:3 [INFO] [stdout] | [INFO] [stdout] 640 | ser_multiwrite!(writer, [write_u64, self.height], [write_u64, self.bytes]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> p2p/src/msg.rs:648:25 [INFO] [stdout] | [INFO] [stdout] 648 | let (height, bytes) = ser_multiread!(reader, read_u64, read_u64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> p2p/src/store.rs:67:3 [INFO] [stdout] | [INFO] [stdout] 67 | / ser_multiwrite!( [INFO] [stdout] 68 | | writer, [INFO] [stdout] 69 | | [write_u32, self.capabilities.bits()], [INFO] [stdout] 70 | | [write_bytes, &self.user_agent], [INFO] [stdout] ... | [INFO] [stdout] 74 | | [write_i64, self.last_connected] [INFO] [stdout] 75 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> p2p/src/store.rs:85:22 [INFO] [stdout] | [INFO] [stdout] 85 | let (fl, lb, br) = ser_multiread!(reader, read_u8, read_i64, read_i32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `header` [INFO] [stdout] --> chain/src/txhashset/txhashset.rs:587:2 [INFO] [stdout] | [INFO] [stdout] 587 | header: BlockHeader, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `header` [INFO] [stdout] --> chain/src/txhashset/txhashset.rs:587:2 [INFO] [stdout] | [INFO] [stdout] 587 | header: BlockHeader, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking grin_api v0.4.2 (/opt/rustwide/workdir/api) [INFO] [stdout] warning: unused import: `hyper` [INFO] [stdout] --> api/src/lib.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use hyper; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde` [INFO] [stdout] --> api/src/lib.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use serde; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json` [INFO] [stdout] --> api/src/lib.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hyper_rustls` [INFO] [stdout] --> api/src/lib.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | use hyper_rustls; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rustls` [INFO] [stdout] --> api/src/lib.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | use rustls; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio_tcp` [INFO] [stdout] --> api/src/lib.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | use tokio_tcp; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hyper` [INFO] [stdout] --> api/src/lib.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use hyper; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde` [INFO] [stdout] --> api/src/lib.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use serde; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json` [INFO] [stdout] --> api/src/lib.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hyper_rustls` [INFO] [stdout] --> api/src/lib.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | use hyper_rustls; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rustls` [INFO] [stdout] --> api/src/lib.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | use rustls; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio_tcp` [INFO] [stdout] --> api/src/lib.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | use tokio_tcp; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `failure::core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> api/src/handlers/blocks_api.rs:71:35 [INFO] [stdout] | [INFO] [stdout] 71 | let el = match req.uri().path().trim_right_matches("/").rsplit("/").next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `failure::core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> api/src/handlers/blocks_api.rs:71:35 [INFO] [stdout] | [INFO] [stdout] 71 | let el = match req.uri().path().trim_right_matches("/").rsplit("/").next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `failure::core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> api/src/handlers/blocks_api.rs:133:35 [INFO] [stdout] | [INFO] [stdout] 133 | let el = match req.uri().path().trim_right_matches("/").rsplit("/").next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `failure::core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> api/src/handlers/blocks_api.rs:133:35 [INFO] [stdout] | [INFO] [stdout] 133 | let el = match req.uri().path().trim_right_matches("/").rsplit("/").next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `failure::core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> api/src/handlers/chain_api.rs:226:40 [INFO] [stdout] | [INFO] [stdout] 226 | let command = match req.uri().path().trim_right_matches("/").rsplit("/").next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `failure::core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> api/src/handlers/chain_api.rs:226:40 [INFO] [stdout] | [INFO] [stdout] 226 | let command = match req.uri().path().trim_right_matches("/").rsplit("/").next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `failure::core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> api/src/handlers/peers_api.rs:59:40 [INFO] [stdout] | [INFO] [stdout] 59 | let command = match req.uri().path().trim_right_matches("/").rsplit("/").next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `failure::core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> api/src/handlers/peers_api.rs:59:40 [INFO] [stdout] | [INFO] [stdout] 59 | let command = match req.uri().path().trim_right_matches("/").rsplit("/").next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `failure::core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> api/src/handlers/peers_api.rs:76:41 [INFO] [stdout] | [INFO] [stdout] 76 | let mut path_elems = req.uri().path().trim_right_matches("/").rsplit("/"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `failure::core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> api/src/handlers/peers_api.rs:76:41 [INFO] [stdout] | [INFO] [stdout] 76 | let mut path_elems = req.uri().path().trim_right_matches("/").rsplit("/"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `failure::core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> api/src/handlers/transactions_api.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 156 | .trim_right() [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `failure::core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> api/src/handlers/transactions_api.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 156 | .trim_right() [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `failure::core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> api/src/handlers/transactions_api.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | .trim_right_matches("/") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `failure::core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> api/src/handlers/transactions_api.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | .trim_right_matches("/") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking grin_wallet v0.4.2 (/opt/rustwide/workdir/wallet) [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> api/tests/rest.rs:7:48 [INFO] [stdout] | [INFO] [stdout] 7 | use std::sync::atomic::{AtomicUsize, Ordering, ATOMIC_USIZE_INIT}; [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::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> api/tests/rest.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | counter: ATOMIC_USIZE_INIT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicUsize::new(0)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde` [INFO] [stdout] --> wallet/src/lib.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use serde; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `term` [INFO] [stdout] --> wallet/src/lib.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use term; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> wallet/src/adapters/keybase.rs:42:22 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn new() -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn WalletCommAdapter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> wallet/src/command.rs:133:20 [INFO] [stdout] | [INFO] [stdout] 133 | wallet: Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn WalletInst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> wallet/src/command.rs:154:20 [INFO] [stdout] | [INFO] [stdout] 154 | wallet: Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn WalletInst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> wallet/src/command.rs:200:20 [INFO] [stdout] | [INFO] [stdout] 200 | wallet: Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn WalletInst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> wallet/src/command.rs:278:20 [INFO] [stdout] | [INFO] [stdout] 278 | wallet: Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn WalletInst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> wallet/src/command.rs:304:20 [INFO] [stdout] | [INFO] [stdout] 304 | wallet: Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn WalletInst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> wallet/src/command.rs:337:20 [INFO] [stdout] | [INFO] [stdout] 337 | wallet: Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn WalletInst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> wallet/src/command.rs:352:20 [INFO] [stdout] | [INFO] [stdout] 352 | wallet: Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn WalletInst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> wallet/src/command.rs:371:20 [INFO] [stdout] | [INFO] [stdout] 371 | wallet: Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn WalletInst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> wallet/src/command.rs:407:20 [INFO] [stdout] | [INFO] [stdout] 407 | wallet: Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn WalletInst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> wallet/src/command.rs:453:20 [INFO] [stdout] | [INFO] [stdout] 453 | wallet: Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn WalletInst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> wallet/src/command.rs:473:20 [INFO] [stdout] | [INFO] [stdout] 473 | wallet: Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn WalletInst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json` [INFO] [stdout] --> wallet/src/lmdb_wallet.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> wallet/src/lmdb_wallet.rs:255:56 [INFO] [stdout] | [INFO] [stdout] 255 | let tx_hex = util::to_hex(ser::ser_vec(tx).unwrap());; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> wallet/src/lib.rs:67:23 [INFO] [stdout] | [INFO] [stdout] 67 | ) -> Result>>, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn WalletInst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `failure::core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> wallet/src/controller.rs:291:6 [INFO] [stdout] | [INFO] [stdout] 291 | .trim_right_matches("/") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `failure::core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> wallet/src/controller.rs:461:5 [INFO] [stdout] | [INFO] [stdout] 461 | .trim_right_matches("/") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `failure::core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> wallet/src/controller.rs:581:5 [INFO] [stdout] | [INFO] [stdout] 581 | .trim_right_matches("/") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking grin_servers v0.4.2 (/opt/rustwide/workdir/servers) [INFO] [stdout] warning: unused import: `serde` [INFO] [stdout] --> servers/src/lib.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use serde; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json` [INFO] [stdout] --> servers/src/lib.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde` [INFO] [stdout] --> servers/src/lib.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use serde; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json` [INFO] [stdout] --> servers/src/lib.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> servers/src/mining/stratumserver.rs:297:11 [INFO] [stdout] | [INFO] [stdout] 297 | ... e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> servers/src/mining/stratumserver.rs:297:11 [INFO] [stdout] | [INFO] [stdout] 297 | ... e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `agent` [INFO] [stdout] --> servers/src/mining/stratumserver.rs:150:2 [INFO] [stdout] | [INFO] [stdout] 150 | agent: 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: `authenticated` [INFO] [stdout] --> servers/src/mining/stratumserver.rs:154:2 [INFO] [stdout] | [INFO] [stdout] 154 | authenticated: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `agent` [INFO] [stdout] --> servers/src/mining/stratumserver.rs:150:2 [INFO] [stdout] | [INFO] [stdout] 150 | agent: 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: `authenticated` [INFO] [stdout] --> servers/src/mining/stratumserver.rs:154:2 [INFO] [stdout] | [INFO] [stdout] 154 | authenticated: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking grin_config v0.4.2 (/opt/rustwide/workdir/config) [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> servers/tests/framework.rs:448:3 [INFO] [stdout] | [INFO] [stdout] 448 | / (LocalServerContainerPool { [INFO] [stdout] 449 | | next_api_port: config.base_api_port, [INFO] [stdout] 450 | | next_p2p_port: config.base_p2p_port, [INFO] [stdout] 451 | | next_wallet_port: config.base_wallet_port, [INFO] [stdout] ... | [INFO] [stdout] 454 | | is_seeding: false, [INFO] [stdout] 455 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 448 | LocalServerContainerPool { [INFO] [stdout] 449 | next_api_port: config.base_api_port, [INFO] [stdout] 450 | next_p2p_port: config.base_p2p_port, [INFO] [stdout] 451 | next_wallet_port: config.base_wallet_port, [INFO] [stdout] 452 | config: config, [INFO] [stdout] 453 | server_containers: Vec::new(), [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> servers/tests/framework.rs:448:3 [INFO] [stdout] | [INFO] [stdout] 448 | / (LocalServerContainerPool { [INFO] [stdout] 449 | | next_api_port: config.base_api_port, [INFO] [stdout] 450 | | next_p2p_port: config.base_p2p_port, [INFO] [stdout] 451 | | next_wallet_port: config.base_wallet_port, [INFO] [stdout] ... | [INFO] [stdout] 454 | | is_seeding: false, [INFO] [stdout] 455 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 448 | LocalServerContainerPool { [INFO] [stdout] 449 | next_api_port: config.base_api_port, [INFO] [stdout] 450 | next_p2p_port: config.base_p2p_port, [INFO] [stdout] 451 | next_wallet_port: config.base_wallet_port, [INFO] [stdout] 452 | config: config, [INFO] [stdout] 453 | server_containers: Vec::new(), [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> servers/tests/framework.rs:448:3 [INFO] [stdout] | [INFO] [stdout] 448 | / (LocalServerContainerPool { [INFO] [stdout] 449 | | next_api_port: config.base_api_port, [INFO] [stdout] 450 | | next_p2p_port: config.base_p2p_port, [INFO] [stdout] 451 | | next_wallet_port: config.base_wallet_port, [INFO] [stdout] ... | [INFO] [stdout] 454 | | is_seeding: false, [INFO] [stdout] 455 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 448 | LocalServerContainerPool { [INFO] [stdout] 449 | next_api_port: config.base_api_port, [INFO] [stdout] 450 | next_p2p_port: config.base_p2p_port, [INFO] [stdout] 451 | next_wallet_port: config.base_wallet_port, [INFO] [stdout] 452 | config: config, [INFO] [stdout] 453 | server_containers: Vec::new(), [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> servers/tests/framework.rs:448:3 [INFO] [stdout] | [INFO] [stdout] 448 | / (LocalServerContainerPool { [INFO] [stdout] 449 | | next_api_port: config.base_api_port, [INFO] [stdout] 450 | | next_p2p_port: config.base_p2p_port, [INFO] [stdout] 451 | | next_wallet_port: config.base_wallet_port, [INFO] [stdout] ... | [INFO] [stdout] 454 | | is_seeding: false, [INFO] [stdout] 455 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 448 | LocalServerContainerPool { [INFO] [stdout] 449 | next_api_port: config.base_api_port, [INFO] [stdout] 450 | next_p2p_port: config.base_p2p_port, [INFO] [stdout] 451 | next_wallet_port: config.base_wallet_port, [INFO] [stdout] 452 | config: config, [INFO] [stdout] 453 | server_containers: Vec::new(), [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> servers/tests/framework.rs:448:3 [INFO] [stdout] | [INFO] [stdout] 448 | / (LocalServerContainerPool { [INFO] [stdout] 449 | | next_api_port: config.base_api_port, [INFO] [stdout] 450 | | next_p2p_port: config.base_p2p_port, [INFO] [stdout] 451 | | next_wallet_port: config.base_wallet_port, [INFO] [stdout] ... | [INFO] [stdout] 454 | | is_seeding: false, [INFO] [stdout] 455 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 448 | LocalServerContainerPool { [INFO] [stdout] 449 | next_api_port: config.base_api_port, [INFO] [stdout] 450 | next_p2p_port: config.base_p2p_port, [INFO] [stdout] 451 | next_wallet_port: config.base_wallet_port, [INFO] [stdout] 452 | config: config, [INFO] [stdout] 453 | server_containers: Vec::new(), [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dirs` [INFO] [stdout] --> config/src/lib.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use dirs; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `toml` [INFO] [stdout] --> config/src/lib.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use toml; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dirs` [INFO] [stdout] --> config/src/lib.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use dirs; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `toml` [INFO] [stdout] --> config/src/lib.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use toml; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> servers/tests/framework.rs:448:3 [INFO] [stdout] | [INFO] [stdout] 448 | / (LocalServerContainerPool { [INFO] [stdout] 449 | | next_api_port: config.base_api_port, [INFO] [stdout] 450 | | next_p2p_port: config.base_p2p_port, [INFO] [stdout] 451 | | next_wallet_port: config.base_wallet_port, [INFO] [stdout] ... | [INFO] [stdout] 454 | | is_seeding: false, [INFO] [stdout] 455 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 448 | LocalServerContainerPool { [INFO] [stdout] 449 | next_api_port: config.base_api_port, [INFO] [stdout] 450 | next_p2p_port: config.base_p2p_port, [INFO] [stdout] 451 | next_wallet_port: config.base_wallet_port, [INFO] [stdout] 452 | config: config, [INFO] [stdout] 453 | server_containers: Vec::new(), [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WalletCommAdapter` [INFO] [stdout] --> servers/tests/framework.rs:18:54 [INFO] [stdout] | [INFO] [stdout] 18 | HTTPNodeClient, HTTPWalletCommAdapter, LMDBBackend, WalletCommAdapter, WalletConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WalletCommAdapter` [INFO] [stdout] --> servers/tests/framework.rs:18:54 [INFO] [stdout] | [INFO] [stdout] 18 | HTTPNodeClient, HTTPWalletCommAdapter, LMDBBackend, WalletCommAdapter, WalletConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> servers/tests/framework.rs:550:13 [INFO] [stdout] | [INFO] [stdout] 550 | panic!(e); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 550 | panic!("{}", e); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 550 | std::panic::panic_any(e); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WalletCommAdapter` [INFO] [stdout] --> servers/tests/framework.rs:18:54 [INFO] [stdout] | [INFO] [stdout] 18 | HTTPNodeClient, HTTPWalletCommAdapter, LMDBBackend, WalletCommAdapter, WalletConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `server_containers` [INFO] [stdout] --> servers/tests/framework.rs:433:2 [INFO] [stdout] | [INFO] [stdout] 433 | server_containers: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `next_p2p_port` [INFO] [stdout] --> servers/tests/framework.rs:436:2 [INFO] [stdout] | [INFO] [stdout] 436 | next_p2p_port: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `next_api_port` [INFO] [stdout] --> servers/tests/framework.rs:438:2 [INFO] [stdout] | [INFO] [stdout] 438 | next_api_port: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `next_wallet_port` [INFO] [stdout] --> servers/tests/framework.rs:440:2 [INFO] [stdout] | [INFO] [stdout] 440 | next_wallet_port: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `is_seeding` [INFO] [stdout] --> servers/tests/framework.rs:443:2 [INFO] [stdout] | [INFO] [stdout] 443 | is_seeding: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> servers/tests/framework.rs:447:9 [INFO] [stdout] | [INFO] [stdout] 447 | pub fn new(config: LocalServerContainerPoolConfig) -> LocalServerContainerPool { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create_server` [INFO] [stdout] --> servers/tests/framework.rs:464:9 [INFO] [stdout] | [INFO] [stdout] 464 | pub fn create_server(&mut self, server_config: &mut LocalServerContainerConfig) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `run_all_servers` [INFO] [stdout] --> servers/tests/framework.rs:518:9 [INFO] [stdout] | [INFO] [stdout] 518 | pub fn run_all_servers(self) -> Arc>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `connect_all_peers` [INFO] [stdout] --> servers/tests/framework.rs:559:9 [INFO] [stdout] | [INFO] [stdout] 559 | pub fn connect_all_peers(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `stop_all_servers` [INFO] [stdout] --> servers/tests/framework.rs:578:8 [INFO] [stdout] | [INFO] [stdout] 578 | pub fn stop_all_servers(servers: Arc>>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `config` [INFO] [stdout] --> servers/tests/framework.rs:586:8 [INFO] [stdout] | [INFO] [stdout] 586 | pub fn config(n: u16, test_name_dir: &str, seed_n: u16) -> servers::ServerConfig { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `stratum_config` [INFO] [stdout] --> servers/tests/framework.rs:605:8 [INFO] [stdout] | [INFO] [stdout] 605 | pub fn stratum_config() -> servers::common::types::StratumServerConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> servers/tests/framework.rs:550:13 [INFO] [stdout] | [INFO] [stdout] 550 | panic!(e); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 550 | panic!("{}", e); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 550 | std::panic::panic_any(e); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WalletCommAdapter` [INFO] [stdout] --> servers/tests/framework.rs:18:54 [INFO] [stdout] | [INFO] [stdout] 18 | HTTPNodeClient, HTTPWalletCommAdapter, LMDBBackend, WalletCommAdapter, WalletConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `config` [INFO] [stdout] --> servers/tests/framework.rs:124:2 [INFO] [stdout] | [INFO] [stdout] 124 | config: LocalServerContainerConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `api_server` [INFO] [stdout] --> servers/tests/framework.rs:131:2 [INFO] [stdout] | [INFO] [stdout] 131 | api_server: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> servers/tests/framework.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn new(config: LocalServerContainerConfig) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `run_server` [INFO] [stdout] --> servers/tests/framework.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn run_server(&mut self, duration_in_seconds: u64) -> servers::Server { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `run_wallet` [INFO] [stdout] --> servers/tests/framework.rs:243:9 [INFO] [stdout] | [INFO] [stdout] 243 | pub fn run_wallet(&mut self, _duration_in_mills: u64) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_wallet_seed` [INFO] [stdout] --> servers/tests/framework.rs:296:9 [INFO] [stdout] | [INFO] [stdout] 296 | pub fn get_wallet_seed(config: &WalletConfig) -> wallet::WalletSeed { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_wallet_info` [INFO] [stdout] --> servers/tests/framework.rs:304:9 [INFO] [stdout] | [INFO] [stdout] 304 | pub fn get_wallet_info( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `send_amount_to` [INFO] [stdout] --> servers/tests/framework.rs:320:9 [INFO] [stdout] | [INFO] [stdout] 320 | pub fn send_amount_to( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stop_wallet` [INFO] [stdout] --> servers/tests/framework.rs:372:9 [INFO] [stdout] | [INFO] [stdout] 372 | pub fn stop_wallet(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_peer` [INFO] [stdout] --> servers/tests/framework.rs:380:9 [INFO] [stdout] | [INFO] [stdout] 380 | pub fn add_peer(&mut self, addr: String) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `server_containers` [INFO] [stdout] --> servers/tests/framework.rs:433:2 [INFO] [stdout] | [INFO] [stdout] 433 | server_containers: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `next_p2p_port` [INFO] [stdout] --> servers/tests/framework.rs:436:2 [INFO] [stdout] | [INFO] [stdout] 436 | next_p2p_port: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `next_api_port` [INFO] [stdout] --> servers/tests/framework.rs:438:2 [INFO] [stdout] | [INFO] [stdout] 438 | next_api_port: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `next_wallet_port` [INFO] [stdout] --> servers/tests/framework.rs:440:2 [INFO] [stdout] | [INFO] [stdout] 440 | next_wallet_port: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `is_seeding` [INFO] [stdout] --> servers/tests/framework.rs:443:2 [INFO] [stdout] | [INFO] [stdout] 443 | is_seeding: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> servers/tests/framework.rs:447:9 [INFO] [stdout] | [INFO] [stdout] 447 | pub fn new(config: LocalServerContainerPoolConfig) -> LocalServerContainerPool { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create_server` [INFO] [stdout] --> servers/tests/framework.rs:464:9 [INFO] [stdout] | [INFO] [stdout] 464 | pub fn create_server(&mut self, server_config: &mut LocalServerContainerConfig) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `run_all_servers` [INFO] [stdout] --> servers/tests/framework.rs:518:9 [INFO] [stdout] | [INFO] [stdout] 518 | pub fn run_all_servers(self) -> Arc>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `connect_all_peers` [INFO] [stdout] --> servers/tests/framework.rs:559:9 [INFO] [stdout] | [INFO] [stdout] 559 | pub fn connect_all_peers(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `stop_all_servers` [INFO] [stdout] --> servers/tests/framework.rs:578:8 [INFO] [stdout] | [INFO] [stdout] 578 | pub fn stop_all_servers(servers: Arc>>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> servers/tests/framework.rs:550:13 [INFO] [stdout] | [INFO] [stdout] 550 | panic!(e); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 550 | panic!("{}", e); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 550 | std::panic::panic_any(e); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WalletCommAdapter` [INFO] [stdout] --> servers/tests/framework.rs:18:54 [INFO] [stdout] | [INFO] [stdout] 18 | HTTPNodeClient, HTTPWalletCommAdapter, LMDBBackend, WalletCommAdapter, WalletConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_peer` [INFO] [stdout] --> servers/tests/framework.rs:380:9 [INFO] [stdout] | [INFO] [stdout] 380 | pub fn add_peer(&mut self, addr: 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: `server_containers` [INFO] [stdout] --> servers/tests/framework.rs:433:2 [INFO] [stdout] | [INFO] [stdout] 433 | server_containers: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `next_p2p_port` [INFO] [stdout] --> servers/tests/framework.rs:436:2 [INFO] [stdout] | [INFO] [stdout] 436 | next_p2p_port: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `next_api_port` [INFO] [stdout] --> servers/tests/framework.rs:438:2 [INFO] [stdout] | [INFO] [stdout] 438 | next_api_port: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `next_wallet_port` [INFO] [stdout] --> servers/tests/framework.rs:440:2 [INFO] [stdout] | [INFO] [stdout] 440 | next_wallet_port: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `is_seeding` [INFO] [stdout] --> servers/tests/framework.rs:443:2 [INFO] [stdout] | [INFO] [stdout] 443 | is_seeding: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> servers/tests/framework.rs:447:9 [INFO] [stdout] | [INFO] [stdout] 447 | pub fn new(config: LocalServerContainerPoolConfig) -> LocalServerContainerPool { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create_server` [INFO] [stdout] --> servers/tests/framework.rs:464:9 [INFO] [stdout] | [INFO] [stdout] 464 | pub fn create_server(&mut self, server_config: &mut LocalServerContainerConfig) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `run_all_servers` [INFO] [stdout] --> servers/tests/framework.rs:518:9 [INFO] [stdout] | [INFO] [stdout] 518 | pub fn run_all_servers(self) -> Arc>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `connect_all_peers` [INFO] [stdout] --> servers/tests/framework.rs:559:9 [INFO] [stdout] | [INFO] [stdout] 559 | pub fn connect_all_peers(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `stop_all_servers` [INFO] [stdout] --> servers/tests/framework.rs:578:8 [INFO] [stdout] | [INFO] [stdout] 578 | pub fn stop_all_servers(servers: Arc>>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `config` [INFO] [stdout] --> servers/tests/framework.rs:586:8 [INFO] [stdout] | [INFO] [stdout] 586 | pub fn config(n: u16, test_name_dir: &str, seed_n: u16) -> servers::ServerConfig { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `stratum_config` [INFO] [stdout] --> servers/tests/framework.rs:605:8 [INFO] [stdout] | [INFO] [stdout] 605 | pub fn stratum_config() -> servers::common::types::StratumServerConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> servers/tests/framework.rs:550:13 [INFO] [stdout] | [INFO] [stdout] 550 | panic!(e); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 550 | panic!("{}", e); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 550 | std::panic::panic_any(e); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_wallet_seed` [INFO] [stdout] --> servers/tests/framework.rs:296:9 [INFO] [stdout] | [INFO] [stdout] 296 | pub fn get_wallet_seed(config: &WalletConfig) -> wallet::WalletSeed { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_wallet_info` [INFO] [stdout] --> servers/tests/framework.rs:304:9 [INFO] [stdout] | [INFO] [stdout] 304 | pub fn get_wallet_info( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `send_amount_to` [INFO] [stdout] --> servers/tests/framework.rs:320:9 [INFO] [stdout] | [INFO] [stdout] 320 | pub fn send_amount_to( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `server_containers` [INFO] [stdout] --> servers/tests/framework.rs:433:2 [INFO] [stdout] | [INFO] [stdout] 433 | server_containers: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `next_p2p_port` [INFO] [stdout] --> servers/tests/framework.rs:436:2 [INFO] [stdout] | [INFO] [stdout] 436 | next_p2p_port: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `next_api_port` [INFO] [stdout] --> servers/tests/framework.rs:438:2 [INFO] [stdout] | [INFO] [stdout] 438 | next_api_port: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `next_wallet_port` [INFO] [stdout] --> servers/tests/framework.rs:440:2 [INFO] [stdout] | [INFO] [stdout] 440 | next_wallet_port: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `is_seeding` [INFO] [stdout] --> servers/tests/framework.rs:443:2 [INFO] [stdout] | [INFO] [stdout] 443 | is_seeding: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> servers/tests/framework.rs:447:9 [INFO] [stdout] | [INFO] [stdout] 447 | pub fn new(config: LocalServerContainerPoolConfig) -> LocalServerContainerPool { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create_server` [INFO] [stdout] --> servers/tests/framework.rs:464:9 [INFO] [stdout] | [INFO] [stdout] 464 | pub fn create_server(&mut self, server_config: &mut LocalServerContainerConfig) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `run_all_servers` [INFO] [stdout] --> servers/tests/framework.rs:518:9 [INFO] [stdout] | [INFO] [stdout] 518 | pub fn run_all_servers(self) -> Arc>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `connect_all_peers` [INFO] [stdout] --> servers/tests/framework.rs:559:9 [INFO] [stdout] | [INFO] [stdout] 559 | pub fn connect_all_peers(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `stop_all_servers` [INFO] [stdout] --> servers/tests/framework.rs:578:8 [INFO] [stdout] | [INFO] [stdout] 578 | pub fn stop_all_servers(servers: Arc>>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `config` [INFO] [stdout] --> servers/tests/framework.rs:586:8 [INFO] [stdout] | [INFO] [stdout] 586 | pub fn config(n: u16, test_name_dir: &str, seed_n: u16) -> servers::ServerConfig { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `stratum_config` [INFO] [stdout] --> servers/tests/framework.rs:605:8 [INFO] [stdout] | [INFO] [stdout] 605 | pub fn stratum_config() -> servers::common::types::StratumServerConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> servers/tests/framework.rs:550:13 [INFO] [stdout] | [INFO] [stdout] 550 | panic!(e); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 550 | panic!("{}", e); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 550 | std::panic::panic_any(e); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WalletCommAdapter` [INFO] [stdout] --> servers/tests/framework.rs:18:54 [INFO] [stdout] | [INFO] [stdout] 18 | HTTPNodeClient, HTTPWalletCommAdapter, LMDBBackend, WalletCommAdapter, WalletConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WalletCommAdapter` [INFO] [stdout] --> servers/tests/simulnet.rs:27:59 [INFO] [stdout] | [INFO] [stdout] 27 | use self::wallet::{HTTPNodeClient, HTTPWalletCommAdapter, WalletCommAdapter}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_wallet_seed` [INFO] [stdout] --> servers/tests/framework.rs:296:9 [INFO] [stdout] | [INFO] [stdout] 296 | pub fn get_wallet_seed(config: &WalletConfig) -> wallet::WalletSeed { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_wallet_info` [INFO] [stdout] --> servers/tests/framework.rs:304:9 [INFO] [stdout] | [INFO] [stdout] 304 | pub fn get_wallet_info( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `send_amount_to` [INFO] [stdout] --> servers/tests/framework.rs:320:9 [INFO] [stdout] | [INFO] [stdout] 320 | pub fn send_amount_to( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_peer` [INFO] [stdout] --> servers/tests/framework.rs:380:9 [INFO] [stdout] | [INFO] [stdout] 380 | pub fn add_peer(&mut self, addr: String) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `connect_all_peers` [INFO] [stdout] --> servers/tests/framework.rs:559:9 [INFO] [stdout] | [INFO] [stdout] 559 | pub fn connect_all_peers(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `stratum_config` [INFO] [stdout] --> servers/tests/framework.rs:605:8 [INFO] [stdout] | [INFO] [stdout] 605 | pub fn stratum_config() -> servers::common::types::StratumServerConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `long_fork_test_case_6` [INFO] [stdout] --> servers/tests/simulnet.rs:829:4 [INFO] [stdout] | [INFO] [stdout] 829 | fn long_fork_test_case_6(s: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> servers/tests/framework.rs:550:13 [INFO] [stdout] | [INFO] [stdout] 550 | panic!(e); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 550 | panic!("{}", e); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 550 | std::panic::panic_any(e); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ctrlc` [INFO] [stdout] --> src/bin/grin.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use ctrlc; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json` [INFO] [stdout] --> src/bin/grin.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `grin_wallet` [INFO] [stdout] --> src/bin/grin.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use grin_wallet; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `term` [INFO] [stdout] --> src/bin/grin.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | use term; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/cmd/wallet_args.rs:71:23 [INFO] [stdout] | [INFO] [stdout] 71 | ) -> Result>>, ParseError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn WalletInst` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/bin/tui/peers.rs:103:4 [INFO] [stdout] | [INFO] [stdout] 103 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ctrlc` [INFO] [stdout] --> src/bin/grin.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use ctrlc; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json` [INFO] [stdout] --> src/bin/grin.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `grin_wallet` [INFO] [stdout] --> src/bin/grin.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use grin_wallet; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `term` [INFO] [stdout] --> src/bin/grin.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | use term; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/cmd/wallet_args.rs:71:23 [INFO] [stdout] | [INFO] [stdout] 71 | ) -> Result>>, ParseError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn WalletInst` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono` [INFO] [stdout] --> src/bin/cmd/wallet_tests.rs:17:6 [INFO] [stdout] | [INFO] [stdout] 17 | use chrono; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde` [INFO] [stdout] --> src/bin/cmd/wallet_tests.rs:21:6 [INFO] [stdout] | [INFO] [stdout] 21 | use serde; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/cmd/wallet_tests.rs:129:24 [INFO] [stdout] | [INFO] [stdout] 129 | ) -> Result>>, grin_wallet::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn WalletInst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/bin/tui/peers.rs:103:4 [INFO] [stdout] | [INFO] [stdout] 103 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde` [INFO] [stdout] --> wallet/src/lib.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use serde; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `term` [INFO] [stdout] --> wallet/src/lib.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use term; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> wallet/src/adapters/keybase.rs:42:22 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn new() -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn WalletCommAdapter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> wallet/src/command.rs:133:20 [INFO] [stdout] | [INFO] [stdout] 133 | wallet: Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn WalletInst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> wallet/src/command.rs:154:20 [INFO] [stdout] | [INFO] [stdout] 154 | wallet: Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn WalletInst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> wallet/src/command.rs:200:20 [INFO] [stdout] | [INFO] [stdout] 200 | wallet: Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn WalletInst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> wallet/src/command.rs:278:20 [INFO] [stdout] | [INFO] [stdout] 278 | wallet: Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn WalletInst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> wallet/src/command.rs:304:20 [INFO] [stdout] | [INFO] [stdout] 304 | wallet: Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn WalletInst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> wallet/src/command.rs:337:20 [INFO] [stdout] | [INFO] [stdout] 337 | wallet: Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn WalletInst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> wallet/src/command.rs:352:20 [INFO] [stdout] | [INFO] [stdout] 352 | wallet: Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn WalletInst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> wallet/src/command.rs:371:20 [INFO] [stdout] | [INFO] [stdout] 371 | wallet: Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn WalletInst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> wallet/src/command.rs:407:20 [INFO] [stdout] | [INFO] [stdout] 407 | wallet: Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn WalletInst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> wallet/src/command.rs:453:20 [INFO] [stdout] | [INFO] [stdout] 453 | wallet: Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn WalletInst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> wallet/src/command.rs:473:20 [INFO] [stdout] | [INFO] [stdout] 473 | wallet: Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn WalletInst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json` [INFO] [stdout] --> wallet/src/lmdb_wallet.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> wallet/src/lmdb_wallet.rs:255:56 [INFO] [stdout] | [INFO] [stdout] 255 | let tx_hex = util::to_hex(ser::ser_vec(tx).unwrap());; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> wallet/src/lib.rs:67:23 [INFO] [stdout] | [INFO] [stdout] 67 | ) -> Result>>, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn WalletInst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `failure::core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> wallet/src/controller.rs:291:6 [INFO] [stdout] | [INFO] [stdout] 291 | .trim_right_matches("/") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `failure::core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> wallet/src/controller.rs:461:5 [INFO] [stdout] | [INFO] [stdout] 461 | .trim_right_matches("/") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `failure::core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> wallet/src/controller.rs:581:5 [INFO] [stdout] | [INFO] [stdout] 581 | .trim_right_matches("/") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5m 32s [INFO] running `Command { std: "docker" "inspect" "ead86a28f752b82f558cce6d1ffd07fb49dc37673498b991c715521af4b3d8f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ead86a28f752b82f558cce6d1ffd07fb49dc37673498b991c715521af4b3d8f8", kill_on_drop: false }` [INFO] [stdout] ead86a28f752b82f558cce6d1ffd07fb49dc37673498b991c715521af4b3d8f8