[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] building gmaijoe/grin_node against try#615edd3ad1cf6871c977dc900317cb6c2070fd6b for pr-97334 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgmaijoe%2Fgrin_node" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gmaijoe/grin_node on toolchain 615edd3ad1cf6871c977dc900317cb6c2070fd6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "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-5/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" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] be8dca369cd0c3755385ac3c73b359aac11b37fa5f838572b4ec74e5be31175f [INFO] running `Command { std: "docker" "start" "-a" "be8dca369cd0c3755385ac3c73b359aac11b37fa5f838572b4ec74e5be31175f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "be8dca369cd0c3755385ac3c73b359aac11b37fa5f838572b4ec74e5be31175f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be8dca369cd0c3755385ac3c73b359aac11b37fa5f838572b4ec74e5be31175f", kill_on_drop: false }` [INFO] [stdout] be8dca369cd0c3755385ac3c73b359aac11b37fa5f838572b4ec74e5be31175f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 79b6c4037ade3dcab409960fa89ea1dd5256e24b870ab3cba8e395baee6896b7 [INFO] running `Command { std: "docker" "start" "-a" "79b6c4037ade3dcab409960fa89ea1dd5256e24b870ab3cba8e395baee6896b7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.44 [INFO] [stderr] Compiling cc v1.0.25 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling serde v1.0.81 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling rand_core v0.3.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling byteorder v1.2.7 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling futures v0.1.25 [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling slab v0.4.1 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling build_const v0.2.1 [INFO] [stderr] Compiling crc32fast v1.1.2 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling adler32 v1.0.3 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling safemem v0.3.0 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Compiling dtoa v0.4.3 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling bindgen v0.37.4 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling yaml-rust v0.3.5 [INFO] [stderr] Compiling termcolor v1.0.4 [INFO] [stderr] Compiling constant_time_eq v0.1.3 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling linked-hash-map v0.5.1 [INFO] [stderr] Compiling num-bigint v0.2.1 [INFO] [stderr] Compiling byte-tools v0.2.0 [INFO] [stderr] Compiling arrayref v0.3.5 [INFO] [stderr] Compiling httparse v1.3.3 [INFO] [stderr] Compiling num-complex v0.2.1 [INFO] [stderr] Compiling unicode-normalization v0.1.7 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Compiling rustc-demangle v0.1.9 [INFO] [stderr] Compiling odds v0.2.26 [INFO] [stderr] Compiling failure_derive v0.1.3 [INFO] [stderr] Compiling indexmap v1.0.2 [INFO] [stderr] Compiling crossbeam v0.3.2 [INFO] [stderr] Compiling same-file v1.0.4 [INFO] [stderr] Compiling string v0.1.2 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling podio v0.1.6 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling antidote v1.0.0 [INFO] [stderr] Compiling log-mdc v0.1.0 [INFO] [stderr] Compiling untrusted v0.6.2 [INFO] [stderr] Compiling linked-hash-map v0.4.2 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling supercow v0.1.0 [INFO] [stderr] Compiling scoped-tls v0.1.2 [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 encoding_rs v0.8.13 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling encode_unicode v0.3.5 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling nix v0.11.0 [INFO] [stderr] Compiling crossbeam-utils v0.5.0 [INFO] [stderr] Compiling bufstream v0.1.4 [INFO] [stderr] Compiling reexport-proc-macro v1.0.5 [INFO] [stderr] Compiling arc-swap v0.3.6 [INFO] [stderr] Compiling array-macro v1.0.2 [INFO] [stderr] Compiling xi-unicode v0.1.0 [INFO] [stderr] Compiling unicode-segmentation v1.2.1 [INFO] [stderr] Compiling maplit v1.0.1 [INFO] [stderr] Compiling humansize v1.1.0 [INFO] [stderr] Compiling owning_ref v0.4.0 [INFO] [stderr] Compiling crossbeam-utils v0.6.2 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling arrayvec v0.4.8 [INFO] [stderr] Compiling proc-macro2 v0.3.5 [INFO] [stderr] Compiling rand_core v0.2.2 [INFO] [stderr] Compiling rand_xorshift v0.1.0 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling term v0.5.1 [INFO] [stderr] Compiling miniz_oxide v0.2.0 [INFO] [stderr] Compiling humantime v1.2.0 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling memchr v2.1.1 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling unicase v2.2.0 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling regex-syntax v0.6.4 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling block-buffer v0.3.3 [INFO] [stderr] Compiling yaml-rust v0.4.2 [INFO] [stderr] Compiling clang-sys v0.23.0 [INFO] [stderr] Compiling walkdir v2.2.7 [INFO] [stderr] Compiling arrayvec v0.3.25 [INFO] [stderr] Compiling tokio-executor v0.1.5 [INFO] [stderr] Compiling tokio-service v0.1.0 [INFO] [stderr] Compiling grin_secp256k1zkp v0.7.2 [INFO] [stderr] Compiling liblmdb-sys v0.2.2 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling lru-cache v0.1.1 [INFO] [stderr] Compiling itertools v0.7.11 [INFO] [stderr] Compiling miniz-sys v0.1.11 [INFO] [stderr] Compiling miniz_oxide_c_api v0.2.0 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Compiling bzip2-sys v0.1.7 [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 lock_api v0.1.5 [INFO] [stderr] Compiling crossbeam-epoch v0.6.1 [INFO] [stderr] Compiling blake2-rfc v0.2.18 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling quote v0.5.2 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling tokio-current-thread v0.1.4 [INFO] [stderr] Compiling tokio-timer v0.2.8 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling crossbeam-deque v0.6.2 [INFO] [stderr] Compiling libflate v0.1.19 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling time v0.1.40 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling rand v0.4.3 [INFO] [stderr] Compiling which v1.0.5 [INFO] [stderr] Compiling thread-id v3.3.0 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling xattr v0.2.2 [INFO] [stderr] Compiling filetime v0.2.4 [INFO] [stderr] Compiling signal-hook v0.1.6 [INFO] [stderr] Compiling dirs v1.0.4 [INFO] [stderr] Compiling term_size v0.3.1 [INFO] [stderr] Compiling rpassword v2.1.0 [INFO] [stderr] Compiling daemonize v0.3.0 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.1.0 [INFO] [stderr] Compiling rand v0.6.1 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling ordered-float v1.0.1 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling bytes v0.4.11 [INFO] [stderr] Compiling generic-array v0.9.0 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling nom v3.2.1 [INFO] [stderr] Compiling csv v0.15.0 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling msdos_time v0.1.6 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling tar v0.4.20 [INFO] [stderr] Compiling phf_shared v0.7.23 [INFO] [stderr] Compiling rand v0.3.22 [INFO] [stderr] Compiling uuid v0.7.1 [INFO] [stderr] Compiling syn v0.15.22 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Compiling mime v0.3.12 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling flate2 v1.0.6 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling bzip2 v0.3.3 [INFO] [stderr] Compiling digest v0.7.6 [INFO] [stderr] Compiling crypto-mac v0.6.2 [INFO] [stderr] Compiling backtrace v0.3.9 [INFO] [stderr] Compiling http v0.1.14 [INFO] [stderr] Compiling prettytable-rs v0.7.0 [INFO] [stderr] Compiling phf_generator v0.7.23 [INFO] [stderr] Compiling phf v0.7.23 [INFO] [stderr] Compiling cexpr v0.2.3 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling serde_json v1.0.33 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling serde-value v0.5.3 [INFO] [stderr] Compiling serde_yaml v0.8.8 [INFO] [stderr] Compiling uuid v0.6.5 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling serde_urlencoded v0.5.4 [INFO] [stderr] Compiling sha2 v0.7.1 [INFO] [stderr] Compiling ripemd160 v0.7.0 [INFO] [stderr] Compiling zip v0.4.2 [INFO] [stderr] Compiling hmac v0.6.3 [INFO] [stderr] Compiling sct v0.4.0 [INFO] [stderr] Compiling webpki v0.18.1 [INFO] [stderr] Compiling phf_codegen v0.7.23 [INFO] [stderr] Compiling lmdb-zero v0.4.4 [INFO] [stderr] Compiling parking_lot v0.6.4 [INFO] [stderr] Compiling ctrlc v3.1.1 [INFO] [stderr] Compiling tokio-io v0.1.10 [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling want v0.0.6 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Compiling pbkdf2 v0.2.3 [INFO] [stderr] Compiling ct-logs v0.4.0 [INFO] [stderr] Compiling mime_guess v2.0.0-alpha.6 [INFO] [stderr] Compiling rustls v0.13.1 [INFO] [stderr] Compiling webpki-roots v0.15.0 [INFO] [stderr] Compiling crossbeam-channel v0.2.6 [INFO] [stderr] Compiling num v0.2.0 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling h2 v0.1.14 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling enum-map-derive v0.4.0 [INFO] [stderr] Compiling tokio-reactor v0.1.7 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling tokio-threadpool v0.1.9 [INFO] [stderr] Compiling tokio-tcp v0.1.2 [INFO] [stderr] Compiling tokio-udp v0.1.3 [INFO] [stderr] Compiling tokio-uds v0.2.4 [INFO] [stderr] Compiling tokio-fs v0.1.4 [INFO] [stderr] Compiling serde_derive v1.0.81 [INFO] [stderr] Compiling enumset_derive v0.2.0 [INFO] [stderr] Compiling enum-map v0.4.1 [INFO] [stderr] Compiling tokio v0.1.11 [INFO] [stderr] Compiling tokio-core v0.1.17 [INFO] [stderr] Compiling tokio-rustls v0.7.2 [INFO] [stderr] Compiling hyper v0.12.17 [INFO] [stderr] Compiling tokio-retry v0.1.1 [INFO] [stderr] Compiling failure v0.1.3 [INFO] [stderr] Compiling enumset v0.3.14 [INFO] [stderr] Compiling cursive v0.9.2 [INFO] [stderr] Compiling hyper-rustls v0.14.0 [INFO] [stderr] Compiling hyper-tls v0.3.1 [INFO] [stderr] Compiling hyper-staticfile v0.3.0 [INFO] [stderr] Compiling reqwest v0.9.5 [INFO] [stderr] Compiling log4rs v0.8.1 [INFO] [stderr] Compiling jsonrpc-core v8.0.1 [INFO] [stderr] Compiling croaring-sys v0.3.7 [INFO] [stderr] Compiling grin_util v0.4.2 (/opt/rustwide/workdir/util) [INFO] [stdout] warning: missing documentation for a 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 a 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 a 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 a 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] [stderr] Compiling grin_keychain v0.4.2 (/opt/rustwide/workdir/keychain) [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] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 28 - pub static ref WORDS: Vec = { include_str!("wordlists/en.txt").split_whitespace().map(|s| s.into()).collect() }; [INFO] [stdout] 28 + pub static ref WORDS: Vec = include_str!("wordlists/en.txt").split_whitespace().map(|s| s.into()).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: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: 4 warnings emitted [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:41 [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] [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] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 72 - fn download_and_decompress(target_file: &str) -> Result> { [INFO] [stdout] 72 + fn download_and_decompress(target_file: &str) -> Result> { [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 98 - fn install_web_wallet() -> Result> { [INFO] [stdout] 98 + fn install_web_wallet() -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling croaring v0.3.7 [INFO] [stderr] Compiling grin_core v0.4.2 (/opt/rustwide/workdir/core) [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 the macro `ser_multiread` (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 the macro `ser_multiread` (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 the macro `ser_multiwrite` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> core/src/macros.rs:23:48 [INFO] [stdout] | [INFO] [stdout] 23 | $thing.iter().map($mapfn).collect::>(); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: core/src/core/block.rs:682:33 [INFO] [stdout] | [INFO] [stdout] 682 | secp.commit_sum(map_vec!(cb_outs, |x| x.commitment()), vec![over_commit])?; [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `map_vec` (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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 123 - ) -> Result<((Commitment, Commitment)), Error> { [INFO] [stdout] 123 + ) -> Result<(Commitment, Commitment), Error> { [INFO] [stdout] | [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 the macro `ser_multiread` (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 the macro `ser_multiwrite` (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] 77 | | /// verify sort order in the same way we do for full inputs|outputs|kernels [INFO] [stdout] 78 | | /// themselves. [INFO] [stdout] | |_--------------^ [INFO] [stdout] | | [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: 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 the macro `ser_multiwrite` (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: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 the macro `ser_multiwrite` (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 the macro `ser_multiread` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> core/src/macros.rs:23:48 [INFO] [stdout] | [INFO] [stdout] 23 | $thing.iter().map($mapfn).collect::>(); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: core/src/pow/cuckatoo.rs:267:24 [INFO] [stdout] | [INFO] [stdout] 267 | s.nonces = map_vec!(s.nonces, |n| val[*n as usize]); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `map_vec` (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 the macro `ser_multiwrite` (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:20 [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:20 [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:20 [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:20 [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: 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] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 124 - fn read(reader: &mut Reader) -> Result { [INFO] [stdout] 124 + fn read(reader: &mut dyn Reader) -> Result { [INFO] [stdout] | [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] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 285 - fn read(reader: &mut Reader) -> Result { [INFO] [stdout] 285 + fn read(reader: &mut dyn Reader) -> Result { [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: missing documentation for a 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/pow.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a 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 a 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] [stderr] Compiling grin_store v0.4.2 (/opt/rustwide/workdir/store) [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 104 - fn get_hash(&self, pos: u64) -> Option<(Hash)> { [INFO] [stdout] 104 + fn get_hash(&self, pos: u64) -> Option { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 113 - fn get_data(&self, pos: u64) -> Option<(T::E)> { [INFO] [stdout] 113 + fn get_data(&self, pos: u64) -> Option { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 310 - (flat_pos - 1 - shift) [INFO] [stdout] 310 + flat_pos - 1 - shift [INFO] [stdout] | [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: 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] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 443 - |possible_dir_entry| -> Result> { [INFO] [stdout] 443 + |possible_dir_entry| -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling grin_chain v0.4.2 (/opt/rustwide/workdir/chain) [INFO] [stderr] Compiling grin_p2p v0.4.2 (/opt/rustwide/workdir/p2p) [INFO] [stderr] Compiling grin_pool v0.4.2 (/opt/rustwide/workdir/pool) [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [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: 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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 936 - fn apply_output(&mut self, out: &Output) -> Result<(u64), Error> { [INFO] [stdout] 936 + fn apply_output(&mut self, out: &Output) -> Result { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1225 - pub fn validate_kernel_sums(&self) -> Result<((Commitment, Commitment)), Error> { [INFO] [stdout] 1225 + pub fn validate_kernel_sums(&self) -> Result<(Commitment, Commitment), Error> { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1240 - ) -> Result<((Commitment, Commitment)), Error> { [INFO] [stdout] 1240 + ) -> Result<(Commitment, Commitment), Error> { [INFO] [stdout] | [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: unused doc comment [INFO] [stdout] --> p2p/src/msg.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | / /// Types of messages. [INFO] [stdout] 46 | | /// Note: Values here are *important* so we should only add new values at the [INFO] [stdout] 47 | | /// end. [INFO] [stdout] | |_-------^ [INFO] [stdout] | | [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: 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 the macro `ser_multiwrite` (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 the macro `ser_multiread` (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 the macro `ser_multiwrite` (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 the macro `ser_multiread` (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 the macro `ser_multiwrite` (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 the macro `ser_multiread` (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 the macro `ser_multiwrite` (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 the macro `ser_multiwrite` (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 the macro `ser_multiwrite` (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 the macro `ser_multiread` (in Nightly builds, run with -Z macro-backtrace for more info) [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: 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 the macro `ser_multiwrite` (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 the macro `ser_multiread` (in Nightly builds, run with -Z macro-backtrace for more info) [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: 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] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 1287 - let (utxo_sum, kernel_sum) = (sums, genesis as &Committed).verify_kernel_sums( [INFO] [stdout] 1287 + let (utxo_sum, kernel_sum) = (sums, genesis as &dyn Committed).verify_kernel_sums( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> chain/src/chain.rs:319:6 [INFO] [stdout] | [INFO] [stdout] 319 | &self.orphans.add(orphan); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 319 | let _ = &self.orphans.add(orphan); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling 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: 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/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: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_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: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling grin_wallet v0.4.2 (/opt/rustwide/workdir/wallet) [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: 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 67 - ) -> Result>>, Error> { [INFO] [stdout] 67 + ) -> Result>>, Error> { [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] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 - pub fn new() -> Box { [INFO] [stdout] 42 + pub fn new() -> Box { [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 133 - wallet: Arc>>, [INFO] [stdout] 133 + wallet: Arc>>, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 154 - wallet: Arc>>, [INFO] [stdout] 154 + wallet: Arc>>, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 200 - wallet: Arc>>, [INFO] [stdout] 200 + wallet: Arc>>, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 278 - wallet: Arc>>, [INFO] [stdout] 278 + wallet: Arc>>, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 304 - wallet: Arc>>, [INFO] [stdout] 304 + wallet: Arc>>, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 337 - wallet: Arc>>, [INFO] [stdout] 337 + wallet: Arc>>, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 352 - wallet: Arc>>, [INFO] [stdout] 352 + wallet: Arc>>, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 371 - wallet: Arc>>, [INFO] [stdout] 371 + wallet: Arc>>, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 407 - wallet: Arc>>, [INFO] [stdout] 407 + wallet: Arc>>, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 453 - wallet: Arc>>, [INFO] [stdout] 453 + wallet: Arc>>, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 473 - wallet: Arc>>, [INFO] [stdout] 473 + wallet: Arc>>, [INFO] [stdout] | [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: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `commit` [INFO] [stdout] --> wallet/src/libwallet/internal/restore.rs:28:2 [INFO] [stdout] | [INFO] [stdout] 28 | pub commit: pedersen::Commitment, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `blinding` [INFO] [stdout] --> wallet/src/libwallet/internal/restore.rs:42:2 [INFO] [stdout] | [INFO] [stdout] 42 | pub blinding: SecretKey, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling 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: 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] [stderr] Compiling grin_config v0.4.2 (/opt/rustwide/workdir/config) [INFO] [stdout] warning: 22 warnings emitted [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: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 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: 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: 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 71 - ) -> Result>>, ParseError> { [INFO] [stdout] 71 + ) -> Result>>, ParseError> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7m 04s [INFO] running `Command { std: "docker" "inspect" "79b6c4037ade3dcab409960fa89ea1dd5256e24b870ab3cba8e395baee6896b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79b6c4037ade3dcab409960fa89ea1dd5256e24b870ab3cba8e395baee6896b7", kill_on_drop: false }` [INFO] [stdout] 79b6c4037ade3dcab409960fa89ea1dd5256e24b870ab3cba8e395baee6896b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b34c65cbc1d08c615a8ff3a12ada350ec56067447632373550cc88848cb12d76 [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" "b34c65cbc1d08c615a8ff3a12ada350ec56067447632373550cc88848cb12d76", kill_on_drop: false }` [INFO] [stdout] warning: missing documentation for a 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 a 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 a 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 a 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: 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] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 28 - pub static ref WORDS: Vec = { include_str!("wordlists/en.txt").split_whitespace().map(|s| s.into()).collect() }; [INFO] [stdout] 28 + pub static ref WORDS: Vec = include_str!("wordlists/en.txt").split_whitespace().map(|s| s.into()).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: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:41 [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: 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 the macro `ser_multiread` (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 the macro `ser_multiread` (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 the macro `ser_multiwrite` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> core/src/macros.rs:23:48 [INFO] [stdout] | [INFO] [stdout] 23 | $thing.iter().map($mapfn).collect::>(); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: core/src/core/block.rs:682:33 [INFO] [stdout] | [INFO] [stdout] 682 | secp.commit_sum(map_vec!(cb_outs, |x| x.commitment()), vec![over_commit])?; [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `map_vec` (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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 123 - ) -> Result<((Commitment, Commitment)), Error> { [INFO] [stdout] 123 + ) -> Result<(Commitment, Commitment), Error> { [INFO] [stdout] | [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 the macro `ser_multiread` (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 the macro `ser_multiwrite` (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] 77 | | /// verify sort order in the same way we do for full inputs|outputs|kernels [INFO] [stdout] 78 | | /// themselves. [INFO] [stdout] | |_--------------^ [INFO] [stdout] | | [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: 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 the macro `ser_multiwrite` (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: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 the macro `ser_multiwrite` (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 the macro `ser_multiread` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> core/src/macros.rs:23:48 [INFO] [stdout] | [INFO] [stdout] 23 | $thing.iter().map($mapfn).collect::>(); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: core/src/pow/cuckatoo.rs:267:24 [INFO] [stdout] | [INFO] [stdout] 267 | s.nonces = map_vec!(s.nonces, |n| val[*n as usize]); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `map_vec` (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 the macro `ser_multiwrite` (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:20 [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:20 [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:20 [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:20 [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: 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] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 124 - fn read(reader: &mut Reader) -> Result { [INFO] [stdout] 124 + fn read(reader: &mut dyn Reader) -> Result { [INFO] [stdout] | [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] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 285 - fn read(reader: &mut Reader) -> Result { [INFO] [stdout] 285 + fn read(reader: &mut dyn Reader) -> Result { [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: missing documentation for a 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/pow.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a 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 a 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: 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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 104 - fn get_hash(&self, pos: u64) -> Option<(Hash)> { [INFO] [stdout] 104 + fn get_hash(&self, pos: u64) -> Option { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 113 - fn get_data(&self, pos: u64) -> Option<(T::E)> { [INFO] [stdout] 113 + fn get_data(&self, pos: u64) -> Option { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 310 - (flat_pos - 1 - shift) [INFO] [stdout] 310 + flat_pos - 1 - shift [INFO] [stdout] | [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: 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] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 443 - |possible_dir_entry| -> Result> { [INFO] [stdout] 443 + |possible_dir_entry| -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [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] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 72 - fn download_and_decompress(target_file: &str) -> Result> { [INFO] [stdout] 72 + fn download_and_decompress(target_file: &str) -> Result> { [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 98 - fn install_web_wallet() -> Result> { [INFO] [stdout] 98 + fn install_web_wallet() -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [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: unused doc comment [INFO] [stdout] --> p2p/src/msg.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | / /// Types of messages. [INFO] [stdout] 46 | | /// Note: Values here are *important* so we should only add new values at the [INFO] [stdout] 47 | | /// end. [INFO] [stdout] | |_-------^ [INFO] [stdout] | | [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: 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 the macro `ser_multiwrite` (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 the macro `ser_multiread` (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 the macro `ser_multiwrite` (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 the macro `ser_multiread` (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 the macro `ser_multiwrite` (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 the macro `ser_multiread` (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 the macro `ser_multiwrite` (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 the macro `ser_multiwrite` (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 the macro `ser_multiwrite` (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 the macro `ser_multiread` (in Nightly builds, run with -Z macro-backtrace for more info) [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: 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 the macro `ser_multiwrite` (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 the macro `ser_multiread` (in Nightly builds, run with -Z macro-backtrace for more info) [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: 17 warnings emitted [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: 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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 936 - fn apply_output(&mut self, out: &Output) -> Result<(u64), Error> { [INFO] [stdout] 936 + fn apply_output(&mut self, out: &Output) -> Result { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1225 - pub fn validate_kernel_sums(&self) -> Result<((Commitment, Commitment)), Error> { [INFO] [stdout] 1225 + pub fn validate_kernel_sums(&self) -> Result<(Commitment, Commitment), Error> { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1240 - ) -> Result<((Commitment, Commitment)), Error> { [INFO] [stdout] 1240 + ) -> Result<(Commitment, Commitment), Error> { [INFO] [stdout] | [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] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 1287 - let (utxo_sum, kernel_sum) = (sums, genesis as &Committed).verify_kernel_sums( [INFO] [stdout] 1287 + let (utxo_sum, kernel_sum) = (sums, genesis as &dyn Committed).verify_kernel_sums( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> chain/src/chain.rs:319:6 [INFO] [stdout] | [INFO] [stdout] 319 | &self.orphans.add(orphan); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 319 | let _ = &self.orphans.add(orphan); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [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: 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/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: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_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] [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: 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 67 - ) -> Result>>, Error> { [INFO] [stdout] 67 + ) -> Result>>, Error> { [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] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 - pub fn new() -> Box { [INFO] [stdout] 42 + pub fn new() -> Box { [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 133 - wallet: Arc>>, [INFO] [stdout] 133 + wallet: Arc>>, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 154 - wallet: Arc>>, [INFO] [stdout] 154 + wallet: Arc>>, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 200 - wallet: Arc>>, [INFO] [stdout] 200 + wallet: Arc>>, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 278 - wallet: Arc>>, [INFO] [stdout] 278 + wallet: Arc>>, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 304 - wallet: Arc>>, [INFO] [stdout] 304 + wallet: Arc>>, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 337 - wallet: Arc>>, [INFO] [stdout] 337 + wallet: Arc>>, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 352 - wallet: Arc>>, [INFO] [stdout] 352 + wallet: Arc>>, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 371 - wallet: Arc>>, [INFO] [stdout] 371 + wallet: Arc>>, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 407 - wallet: Arc>>, [INFO] [stdout] 407 + wallet: Arc>>, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 453 - wallet: Arc>>, [INFO] [stdout] 453 + wallet: Arc>>, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 473 - wallet: Arc>>, [INFO] [stdout] 473 + wallet: Arc>>, [INFO] [stdout] | [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: field is never read: `commit` [INFO] [stdout] --> wallet/src/libwallet/internal/restore.rs:28:2 [INFO] [stdout] | [INFO] [stdout] 28 | pub commit: pedersen::Commitment, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `blinding` [INFO] [stdout] --> wallet/src/libwallet/internal/restore.rs:42:2 [INFO] [stdout] | [INFO] [stdout] 42 | pub blinding: SecretKey, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [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: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling grin v0.4.2 (/opt/rustwide/workdir) [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: 2 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: 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: 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: 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 71 - ) -> Result>>, ParseError> { [INFO] [stdout] 71 + ) -> Result>>, ParseError> { [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 129 - ) -> Result>>, grin_wallet::Error> { [INFO] [stdout] 129 + ) -> Result>>, grin_wallet::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 18.72s [INFO] [stderr] Executable unittests src/bin/grin.rs (/opt/rustwide/target/debug/deps/grin-16e93e20937d75b6) [INFO] running `Command { std: "docker" "inspect" "b34c65cbc1d08c615a8ff3a12ada350ec56067447632373550cc88848cb12d76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b34c65cbc1d08c615a8ff3a12ada350ec56067447632373550cc88848cb12d76", kill_on_drop: false }` [INFO] [stdout] b34c65cbc1d08c615a8ff3a12ada350ec56067447632373550cc88848cb12d76