[INFO] cloning repository https://github.com/grimble-currency/grimble
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/grimble-currency/grimble" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgrimble-currency%2Fgrimble", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgrimble-currency%2Fgrimble'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b7ade085cffd671b8c303a4f87892a0389664596
[INFO] testing grimble-currency/grimble against beta-2022-07-16 for beta-1.63-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgrimble-currency%2Fgrimble" "/workspace/builds/worker-4/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/grimble-currency/grimble on toolchain beta-2022-07-16
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-16" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/grimble-currency/grimble
[INFO] finished tweaking git repo https://github.com/grimble-currency/grimble
[INFO] tweaked toml for git repo https://github.com/grimble-currency/grimble written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] crate git repo https://github.com/grimble-currency/grimble already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-16" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2f2c87f8833ac379ea04acc0fa43519268bb42f2624f5a9fd56a87df31a04aae
[INFO] running `Command { std: "docker" "start" "-a" "2f2c87f8833ac379ea04acc0fa43519268bb42f2624f5a9fd56a87df31a04aae", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2f2c87f8833ac379ea04acc0fa43519268bb42f2624f5a9fd56a87df31a04aae", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2f2c87f8833ac379ea04acc0fa43519268bb42f2624f5a9fd56a87df31a04aae", kill_on_drop: false }`
[INFO] [stdout] 2f2c87f8833ac379ea04acc0fa43519268bb42f2624f5a9fd56a87df31a04aae
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0cd2e575a3decc11472f8ea8e76fd88afd47450ed84725e2a14ea427ddcb94c1
[INFO] running `Command { std: "docker" "start" "-a" "0cd2e575a3decc11472f8ea8e76fd88afd47450ed84725e2a14ea427ddcb94c1", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling libc v0.2.44
[INFO] [stderr]    Compiling cfg-if v0.1.6
[INFO] [stderr]    Compiling cc v1.0.25
[INFO] [stderr]    Compiling serde v1.0.81
[INFO] [stderr]    Compiling rand_core v0.3.0
[INFO] [stderr]    Compiling lazy_static v1.2.0
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling version_check v0.1.5
[INFO] [stderr]    Compiling byteorder v1.2.7
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling scopeguard v0.3.3
[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 num-integer v0.1.39
[INFO] [stderr]    Compiling siphasher v0.2.3
[INFO] [stderr]    Compiling fnv v1.0.6
[INFO] [stderr]    Compiling slab v0.4.1
[INFO] [stderr]    Compiling pkg-config v0.3.14
[INFO] [stderr]    Compiling lazycell v1.2.1
[INFO] [stderr]    Compiling memoffset v0.2.1
[INFO] [stderr]    Compiling ryu v0.2.7
[INFO] [stderr]    Compiling typenum v1.10.0
[INFO] [stderr]    Compiling crc32fast v1.1.2
[INFO] [stderr]    Compiling safemem v0.3.0
[INFO] [stderr]    Compiling regex v1.1.0
[INFO] [stderr]    Compiling dtoa v0.4.3
[INFO] [stderr]    Compiling strsim v0.7.0
[INFO] [stderr]    Compiling unicode-normalization v0.1.7
[INFO] [stderr]    Compiling yaml-rust v0.3.5
[INFO] [stderr]    Compiling bindgen v0.37.4
[INFO] [stderr]    Compiling matches v0.1.8
[INFO] [stderr]    Compiling arrayref v0.3.5
[INFO] [stderr]    Compiling traitobject v0.1.0
[INFO] [stderr]    Compiling constant_time_eq v0.1.3
[INFO] [stderr]    Compiling byte-tools v0.2.0
[INFO] [stderr]    Compiling linked-hash-map v0.5.1
[INFO] [stderr]    Compiling num-bigint v0.2.1
[INFO] [stderr]    Compiling peeking_take_while v0.1.2
[INFO] [stderr]    Compiling num-iter v0.1.37
[INFO] [stderr]    Compiling num-rational v0.2.1
[INFO] [stderr]    Compiling num-complex v0.2.1
[INFO] [stderr]    Compiling odds v0.2.26
[INFO] [stderr]    Compiling httparse v1.3.3
[INFO] [stderr]    Compiling rustc-demangle v0.1.9
[INFO] [stderr]    Compiling untrusted v0.6.2
[INFO] [stderr]    Compiling percent-encoding v1.0.1
[INFO] [stderr]    Compiling crossbeam v0.3.2
[INFO] [stderr]    Compiling log-mdc v0.1.0
[INFO] [stderr]    Compiling same-file v1.0.4
[INFO] [stderr]    Compiling antidote v1.0.0
[INFO] [stderr]    Compiling podio v0.1.6
[INFO] [stderr]    Compiling try-lock v0.2.2
[INFO] [stderr]    Compiling fake-simd v0.1.2
[INFO] [stderr]    Compiling indexmap v1.0.2
[INFO] [stderr]    Compiling string v0.1.2
[INFO] [stderr]    Compiling failure_derive v0.1.3
[INFO] [stderr]    Compiling zeroize v0.5.2
[INFO] [stderr]    Compiling linked-hash-map v0.4.2
[INFO] [stderr]    Compiling supercow v0.1.0
[INFO] [stderr]    Compiling bitflags v0.9.1
[INFO] [stderr]    Compiling openssl v0.10.15
[INFO] [stderr]    Compiling scoped-tls v0.1.2
[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 adler32 v1.0.3
[INFO] [stderr]    Compiling nix v0.11.0
[INFO] [stderr]    Compiling bitflags v0.4.0
[INFO] [stderr]    Compiling either v1.5.0
[INFO] [stderr]    Compiling reexport-proc-macro v1.0.5
[INFO] [stderr]    Compiling arc-swap v0.3.6
[INFO] [stderr]    Compiling crossbeam-utils v0.5.0
[INFO] [stderr]    Compiling bufstream v0.1.4
[INFO] [stderr]    Compiling array-macro v1.0.2
[INFO] [stderr]    Compiling unicode-segmentation v1.2.1
[INFO] [stderr]    Compiling xi-unicode v0.1.0
[INFO] [stderr]    Compiling maplit v1.0.1
[INFO] [stderr]    Compiling humansize v1.1.0
[INFO] [stderr]    Compiling crossbeam-utils v0.6.2
[INFO] [stderr]    Compiling thread_local v0.3.6
[INFO] [stderr]    Compiling proc-macro2 v0.3.5
[INFO] [stderr]    Compiling unreachable v1.0.0
[INFO] [stderr]    Compiling owning_ref v0.4.0
[INFO] [stderr]    Compiling arrayvec v0.4.8
[INFO] [stderr]    Compiling rand_core v0.2.2
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling rand_xorshift v0.1.0
[INFO] [stderr]    Compiling term v0.5.1
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling textwrap v0.10.0
[INFO] [stderr]    Compiling clang-sys v0.23.0
[INFO] [stderr]    Compiling grin_secp256k1zkp v0.7.4
[INFO] [stderr]    Compiling liblmdb-sys v0.2.2
[INFO] [stderr]    Compiling regex-syntax v0.6.4
[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 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 arrayvec v0.3.25
[INFO] [stderr]    Compiling walkdir v2.2.7
[INFO] [stderr]    Compiling lru-cache v0.1.1
[INFO] [stderr]    Compiling tokio-executor v0.1.5
[INFO] [stderr]    Compiling tokio-service v0.1.0
[INFO] [stderr]    Compiling miniz-sys v0.1.11
[INFO] [stderr]    Compiling libloading v0.5.0
[INFO] [stderr]    Compiling backtrace-sys v0.1.24
[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 itertools v0.7.11
[INFO] [stderr]    Compiling smallvec v0.6.7
[INFO] [stderr]    Compiling lock_api v0.1.5
[INFO] [stderr]    Compiling quote v0.5.2
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling crossbeam-epoch v0.6.1
[INFO] [stderr]    Compiling blake2-rfc v0.2.18
[INFO] [stderr]    Compiling typemap v0.3.3
[INFO] [stderr]    Compiling nix v0.7.0
[INFO] [stderr]    Compiling idna v0.1.5
[INFO] [stderr]    Compiling tokio-current-thread v0.1.4
[INFO] [stderr]    Compiling tokio-timer v0.2.8
[INFO] [stderr]    Compiling smallstr v0.1.0
[INFO] [stderr]    Compiling crossbeam-deque v0.6.2
[INFO] [stderr]    Compiling libflate v0.1.19
[INFO] [stderr]    Compiling quote v0.6.10
[INFO] [stderr]    Compiling rand v0.5.5
[INFO] [stderr]    Compiling iovec v0.1.2
[INFO] [stderr]    Compiling time v0.1.40
[INFO] [stderr]    Compiling num_cpus v1.8.0
[INFO] [stderr]    Compiling net2 v0.2.33
[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 filetime v0.2.4
[INFO] [stderr]    Compiling xattr v0.2.2
[INFO] [stderr]    Compiling dirs v1.0.4
[INFO] [stderr]    Compiling term_size v0.3.1
[INFO] [stderr]    Compiling signal-hook v0.1.6
[INFO] [stderr]    Compiling rpassword v2.1.0
[INFO] [stderr]    Compiling daemonize v0.3.0
[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 parking_lot_core v0.3.1
[INFO] [stderr]    Compiling rand_chacha v0.1.0
[INFO] [stderr]    Compiling rand_pcg v0.1.1
[INFO] [stderr]    Compiling rand v0.6.1
[INFO] [stderr]    Compiling generic-array v0.9.0
[INFO] [stderr]    Compiling url v1.7.2
[INFO] [stderr]    Compiling log v0.4.6
[INFO] [stderr]    Compiling serde_json v1.0.33
[INFO] [stderr]    Compiling serde_yaml v0.8.8
[INFO] [stderr]    Compiling toml v0.4.10
[INFO] [stderr]    Compiling syn v0.15.22
[INFO] [stderr]    Compiling syn v0.14.9
[INFO] [stderr]    Compiling bytes v0.4.11
[INFO] [stderr]    Compiling futures-cpupool v0.1.8
[INFO] [stderr]    Compiling msdos_time v0.1.6
[INFO] [stderr]    Compiling nom v3.2.1
[INFO] [stderr]    Compiling csv v0.15.0
[INFO] [stderr]    Compiling clap v2.32.0
[INFO] [stderr]    Compiling aho-corasick v0.6.9
[INFO] [stderr]    Compiling nom v4.1.1
[INFO] [stderr]    Compiling tar v0.4.20
[INFO] [stderr]    Compiling uuid v0.6.5
[INFO] [stderr]    Compiling rand v0.3.22
[INFO] [stderr]    Compiling uuid v0.7.1
[INFO] [stderr]    Compiling phf_shared v0.7.23
[INFO] [stderr]    Compiling enum_primitive v0.1.1
[INFO] [stderr]    Compiling serde-value v0.5.3
[INFO] [stderr]    Compiling chrono v0.4.6
[INFO] [stderr]    Compiling num-bigint v0.1.44
[INFO] [stderr]    Compiling digest v0.7.6
[INFO] [stderr]    Compiling crypto-mac v0.6.2
[INFO] [stderr]    Compiling mime v0.3.12
[INFO] [stderr]    Compiling serde_urlencoded v0.5.4
[INFO] [stderr]    Compiling mio v0.6.16
[INFO] [stderr]    Compiling want v0.0.6
[INFO] [stderr]    Compiling log v0.3.9
[INFO] [stderr]    Compiling ctrlc v3.1.1
[INFO] [stderr]    Compiling flate2 v1.0.6
[INFO] [stderr]    Compiling zip v0.4.2
[INFO] [stderr]    Compiling lmdb-zero v0.4.4
[INFO] [stderr]    Compiling tokio-io v0.1.10
[INFO] [stderr]    Compiling http v0.1.14
[INFO] [stderr]    Compiling backtrace v0.3.9
[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 synstructure v0.10.1
[INFO] [stderr]    Compiling sha2 v0.7.1
[INFO] [stderr]    Compiling ripemd160 v0.7.0
[INFO] [stderr]    Compiling hmac v0.6.3
[INFO] [stderr]    Compiling num-rational v0.1.42
[INFO] [stderr]    Compiling mio-uds v0.6.7
[INFO] [stderr]    Compiling phf_codegen v0.7.23
[INFO] [stderr]    Compiling tokio-codec v0.1.1
[INFO] [stderr]    Compiling h2 v0.1.14
[INFO] [stderr]    Compiling env_logger v0.5.13
[INFO] [stderr]    Compiling enum-map-derive v0.4.0
[INFO] [stderr]    Compiling pbkdf2 v0.2.3
[INFO] [stderr]    Compiling mime_guess v2.0.0-alpha.6
[INFO] [stderr]    Compiling terminfo v0.6.1
[INFO] [stderr]    Compiling num v0.2.0
[INFO] [stderr]    Compiling parking_lot v0.6.4
[INFO] [stderr]    Compiling num v0.1.42
[INFO] [stderr]    Compiling webpki v0.18.1
[INFO] [stderr]    Compiling sct v0.4.0
[INFO] [stderr]    Compiling tokio-reactor v0.1.7
[INFO] [stderr]    Compiling crossbeam-channel v0.2.6
[INFO] [stderr]    Compiling tokio-threadpool v0.1.9
[INFO] [stderr]    Compiling webpki-roots v0.15.0
[INFO] [stderr]    Compiling serde_derive v1.0.81
[INFO] [stderr]    Compiling enumset_derive v0.2.0
[INFO] [stderr]    Compiling rustls v0.13.1
[INFO] [stderr]    Compiling ct-logs v0.4.0
[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 enum-map v0.4.1
[INFO] [stderr]    Compiling tokio-fs v0.1.4
[INFO] [stderr]    Compiling tokio v0.1.11
[INFO] [stderr]    Compiling hyper v0.12.17
[INFO] [stderr]    Compiling tokio-core v0.1.17
[INFO] [stderr]    Compiling tokio-rustls v0.7.2
[INFO] [stderr]    Compiling tokio-retry v0.1.1
[INFO] [stderr]    Compiling mortal v0.1.5
[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 linefeed v0.5.4
[INFO] [stderr]    Compiling reqwest v0.9.5
[INFO] [stderr]    Compiling enumset v0.3.14
[INFO] [stderr]    Compiling cursive v0.9.2
[INFO] [stderr]    Compiling failure v0.1.3
[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 v1.0.0 (/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 v1.0.0 (/opt/rustwide/workdir/keychain)
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> keychain/src/extkey_bip32.rs:125:91
[INFO] [stdout]     |
[INFO] [stdout] 125 |         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:388:13
[INFO] [stdout]     |
[INFO] [stdout] 388 |         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<String> = { 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<String> = { include_str!("wordlists/en.txt").split_whitespace().map(|s| s.into()).collect() };
[INFO] [stdout] 28 +     pub static ref WORDS: Vec<String> = 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<u16> = 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:218:3
[INFO] [stdout]     |
[INFO] [stdout] 218 |         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:219:3
[INFO] [stdout]     |
[INFO] [stdout] 219 |         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:338:41
[INFO] [stdout]     |
[INFO] [stdout] 338 |             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 v1.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/build/build.rs:73:68
[INFO] [stdout]    |
[INFO] [stdout] 73 | fn _download_and_decompress(target_file: &str) -> Result<bool, Box<std::error::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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 73 - fn _download_and_decompress(target_file: &str) -> Result<bool, Box<std::error::Error>> {
[INFO] [stdout] 73 + fn _download_and_decompress(target_file: &str) -> Result<bool, Box<dyn std::error::Error>> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/build/build.rs:99:46
[INFO] [stdout]    |
[INFO] [stdout] 99 | fn _install_web_wallet() -> Result<bool, Box<std::error::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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 99 - fn _install_web_wallet() -> Result<bool, Box<std::error::Error>> {
[INFO] [stdout] 99 + fn _install_web_wallet() -> Result<bool, Box<dyn std::error::Error>> {
[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 v1.0.0 (/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:246:44
[INFO] [stdout]     |
[INFO] [stdout] 246 |         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:253:50
[INFO] [stdout]     |
[INFO] [stdout] 253 |         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:282:9
[INFO] [stdout]     |
[INFO] [stdout] 282 | /         ser_multiwrite!(
[INFO] [stdout] 283 | |             writer,
[INFO] [stdout] 284 | |             [write_u16, self.version],
[INFO] [stdout] 285 | |             [write_u64, self.height],
[INFO] [stdout] ...   |
[INFO] [stdout] 294 | |             [write_u64, self.kernel_mmr_size]
[INFO] [stdout] 295 | |         );
[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::<Vec<_>>();
[INFO] [stdout]     |                                                      ^
[INFO] [stdout]     |
[INFO] [stdout]    ::: core/src/core/block.rs:698:33
[INFO] [stdout]     |
[INFO] [stdout] 698 |                 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 <https://github.com/rust-lang/rust/issues/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: unused doc comment
[INFO] [stdout]   --> core/src/core/transaction.rs:38:1
[INFO] [stdout]    |
[INFO] [stdout] 38 | /// Enum of various supported kernel "features".
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations
[INFO] [stdout]    |
[INFO] [stdout]    = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]     --> core/src/core/transaction.rs:1135:1
[INFO] [stdout]      |
[INFO] [stdout] 1135 | /// Enum of various supported kernel "features".
[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]    --> 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:186:9
[INFO] [stdout]     |
[INFO] [stdout] 186 |         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:390:9
[INFO] [stdout]     |
[INFO] [stdout] 390 | /         ser_multiwrite!(
[INFO] [stdout] 391 | |             writer,
[INFO] [stdout] 392 | |             [write_u64, self.inputs.len() as u64],
[INFO] [stdout] 393 | |             [write_u64, self.outputs.len() as u64],
[INFO] [stdout] 394 | |             [write_u64, self.kernels.len() as u64]
[INFO] [stdout] 395 | |         );
[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:410:13
[INFO] [stdout]     |
[INFO] [stdout] 410 |             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::<Vec<_>>();
[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 <https://github.com/rust-lang/rust/issues/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: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> core/src/core/block.rs:121:23
[INFO] [stdout]     |
[INFO] [stdout] 121 |     fn read(reader: &mut Reader) -> Result<HeaderEntry, ser::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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 121 -     fn read(reader: &mut Reader) -> Result<HeaderEntry, ser::Error> {
[INFO] [stdout] 121 +     fn read(reader: &mut dyn Reader) -> Result<HeaderEntry, ser::Error> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> core/src/core/transaction.rs:331:23
[INFO] [stdout]     |
[INFO] [stdout] 331 |     fn read(reader: &mut Reader) -> Result<TxKernelEntry, ser::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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 331 -     fn read(reader: &mut Reader) -> Result<TxKernelEntry, ser::Error> {
[INFO] [stdout] 331 +     fn read(reader: &mut dyn Reader) -> Result<TxKernelEntry, ser::Error> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `failure::core::str::<impl 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 `failure::core::str::<impl 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 v1.0.0 (/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:105:41
[INFO] [stdout]     |
[INFO] [stdout] 105 |     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] 105 -     fn get_hash(&self, pos: u64) -> Option<(Hash)> {
[INFO] [stdout] 105 +     fn get_hash(&self, pos: u64) -> Option<Hash> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> store/src/pmmr.rs:114:41
[INFO] [stdout]     |
[INFO] [stdout] 114 |     fn get_data(&self, pos: u64) -> Option<(T::E)> {
[INFO] [stdout]     |                                            ^    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 114 -     fn get_data(&self, pos: u64) -> Option<(T::E)> {
[INFO] [stdout] 114 +     fn get_data(&self, pos: u64) -> Option<T::E> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]    --> store/src/pmmr.rs:323:5
[INFO] [stdout]     |
[INFO] [stdout] 323 |                 (flat_pos - 1 - shift)
[INFO] [stdout]     |                 ^                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 323 -                 (flat_pos - 1 - shift)
[INFO] [stdout] 323 +                 flat_pos - 1 - shift
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 22 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> store/src/pmmr.rs:456:44
[INFO] [stdout]     |
[INFO] [stdout] 456 |             |possible_dir_entry| -> Result<u32, Box<std::error::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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 456 -             |possible_dir_entry| -> Result<u32, Box<std::error::Error>> {
[INFO] [stdout] 456 +             |possible_dir_entry| -> Result<u32, Box<dyn std::error::Error>> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling grin_chain v1.0.0 (/opt/rustwide/workdir/chain)
[INFO] [stderr]    Compiling grin_p2p v1.0.0 (/opt/rustwide/workdir/p2p)
[INFO] [stderr]    Compiling grin_pool v1.0.0 (/opt/rustwide/workdir/pool)
[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:908:53
[INFO] [stdout]     |
[INFO] [stdout] 908 |     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] 908 -     fn apply_output(&mut self, out: &Output) -> Result<(u64), Error> {
[INFO] [stdout] 908 +     fn apply_output(&mut self, out: &Output) -> Result<u64, Error> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]     --> chain/src/txhashset/txhashset.rs:1197:47
[INFO] [stdout]      |
[INFO] [stdout] 1197 |     pub fn validate_kernel_sums(&self) -> Result<((Commitment, Commitment)), Error> {
[INFO] [stdout]      |                                                  ^                        ^
[INFO] [stdout]      |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]      |
[INFO] [stdout] 1197 -     pub fn validate_kernel_sums(&self) -> Result<((Commitment, Commitment)), Error> {
[INFO] [stdout] 1197 +     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:1212:14
[INFO] [stdout]      |
[INFO] [stdout] 1212 |     ) -> Result<((Commitment, Commitment)), Error> {
[INFO] [stdout]      |                 ^                        ^
[INFO] [stdout]      |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]      |
[INFO] [stdout] 1212 -     ) -> Result<((Commitment, Commitment)), Error> {
[INFO] [stdout] 1212 +     ) -> Result<(Commitment, Commitment), Error> {
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]     --> chain/src/chain.rs:1315:53
[INFO] [stdout]      |
[INFO] [stdout] 1315 |                 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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]      |
[INFO] [stdout] 1315 -                 let (utxo_sum, kernel_sum) = (sums, genesis as &Committed).verify_kernel_sums(
[INFO] [stdout] 1315 +                 let (utxo_sum, kernel_sum) = (sums, genesis as &dyn Committed).verify_kernel_sums(
[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:47:1
[INFO] [stdout]    |
[INFO] [stdout] 47 | / /// Types of messages.
[INFO] [stdout] 48 | | /// Note: Values here are *important* so we should only add new values at the
[INFO] [stdout] 49 | | /// 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:213:3
[INFO] [stdout]     |
[INFO] [stdout] 213 | /         ser_multiwrite!(
[INFO] [stdout] 214 | |             writer,
[INFO] [stdout] 215 | |             [write_u8, self.magic[0]],
[INFO] [stdout] 216 | |             [write_u8, self.magic[1]],
[INFO] [stdout] 217 | |             [write_u8, self.msg_type as u8],
[INFO] [stdout] 218 | |             [write_u64, self.msg_len]
[INFO] [stdout] 219 | |         );
[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:229:18
[INFO] [stdout]     |
[INFO] [stdout] 229 |         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:265:3
[INFO] [stdout]     |
[INFO] [stdout] 265 | /         ser_multiwrite!(
[INFO] [stdout] 266 | |             writer,
[INFO] [stdout] 267 | |             [write_u32, self.version],
[INFO] [stdout] 268 | |             [write_u32, self.capabilities.bits()],
[INFO] [stdout] 269 | |             [write_u64, self.nonce]
[INFO] [stdout] 270 | |         );
[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:282:33
[INFO] [stdout]     |
[INFO] [stdout] 282 |         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:321:3
[INFO] [stdout]     |
[INFO] [stdout] 321 | /         ser_multiwrite!(
[INFO] [stdout] 322 | |             writer,
[INFO] [stdout] 323 | |             [write_u32, self.version],
[INFO] [stdout] 324 | |             [write_u32, self.capabilities.bits()]
[INFO] [stdout] 325 | |         );
[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:335:26
[INFO] [stdout]     |
[INFO] [stdout] 335 |         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:416:3
[INFO] [stdout]     |
[INFO] [stdout] 416 |         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:443:5
[INFO] [stdout]     |
[INFO] [stdout] 443 | /                 ser_multiwrite!(
[INFO] [stdout] 444 | |                     writer,
[INFO] [stdout] 445 | |                     [write_u8, 0],
[INFO] [stdout] 446 | |                     [write_fixed_bytes, &sav4.ip().octets().to_vec()],
[INFO] [stdout] 447 | |                     [write_u16, sav4.port()]
[INFO] [stdout] 448 | |                 );
[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:651:3
[INFO] [stdout]     |
[INFO] [stdout] 651 |         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:659:25
[INFO] [stdout]     |
[INFO] [stdout] 659 |         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:227:1
[INFO] [stdout]     |
[INFO] [stdout] 227 | /// 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:236:1
[INFO] [stdout]     |
[INFO] [stdout] 236 | /// Ban reason
[INFO] [stdout]     | ^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations
[INFO] [stdout]     |
[INFO] [stdout]     = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> chain/src/chain.rs:342:6
[INFO] [stdout]     |
[INFO] [stdout] 342 |                     &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] 342 |                     let _ = &self.orphans.add(orphan);
[INFO] [stdout]     |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling grin_api v1.0.0 (/opt/rustwide/workdir/api)
[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: 17 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `failure::core::str::<impl 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::<impl 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::<impl 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::<impl 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::<impl 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::<impl str>::trim_right`: superseded by `trim_end`
[INFO] [stdout]    --> api/src/handlers/transactions_api.rs:160:5
[INFO] [stdout]     |
[INFO] [stdout] 160 |             .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::<impl str>::trim_right_matches`: superseded by `trim_end_matches`
[INFO] [stdout]    --> api/src/handlers/transactions_api.rs:161:5
[INFO] [stdout]     |
[INFO] [stdout] 161 |             .trim_right_matches("/")
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling grin_wallet v1.0.0 (/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:292:56
[INFO] [stdout]     |
[INFO] [stdout] 292 |         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<Arc<Mutex<WalletInst<impl NodeClient, keychain::ExtKeychain>>>, 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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 67 - ) -> Result<Arc<Mutex<WalletInst<impl NodeClient, keychain::ExtKeychain>>>, Error> {
[INFO] [stdout] 67 + ) -> Result<Arc<Mutex<dyn WalletInst<impl NodeClient, keychain::ExtKeychain>>>, 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:43:22
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub fn new() -> Box<WalletCommAdapter> {
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 43 -     pub fn new() -> Box<WalletCommAdapter> {
[INFO] [stdout] 43 +     pub fn new() -> Box<dyn WalletCommAdapter> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> wallet/src/command.rs:143:20
[INFO] [stdout]     |
[INFO] [stdout] 143 |     wallet: Arc<Mutex<WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 143 -     wallet: Arc<Mutex<WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stdout] 143 +     wallet: Arc<Mutex<dyn WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> wallet/src/command.rs:173:20
[INFO] [stdout]     |
[INFO] [stdout] 173 |     wallet: Arc<Mutex<WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 173 -     wallet: Arc<Mutex<WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stdout] 173 +     wallet: Arc<Mutex<dyn WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> wallet/src/command.rs:219:20
[INFO] [stdout]     |
[INFO] [stdout] 219 |     wallet: Arc<Mutex<WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 219 -     wallet: Arc<Mutex<WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stdout] 219 +     wallet: Arc<Mutex<dyn WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> wallet/src/command.rs:297:20
[INFO] [stdout]     |
[INFO] [stdout] 297 |     wallet: Arc<Mutex<WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 297 -     wallet: Arc<Mutex<WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stdout] 297 +     wallet: Arc<Mutex<dyn WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> wallet/src/command.rs:327:20
[INFO] [stdout]     |
[INFO] [stdout] 327 |     wallet: Arc<Mutex<WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 327 -     wallet: Arc<Mutex<WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stdout] 327 +     wallet: Arc<Mutex<dyn WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> wallet/src/command.rs:360:20
[INFO] [stdout]     |
[INFO] [stdout] 360 |     wallet: Arc<Mutex<WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 360 -     wallet: Arc<Mutex<WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stdout] 360 +     wallet: Arc<Mutex<dyn WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> wallet/src/command.rs:375:20
[INFO] [stdout]     |
[INFO] [stdout] 375 |     wallet: Arc<Mutex<WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 375 -     wallet: Arc<Mutex<WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stdout] 375 +     wallet: Arc<Mutex<dyn WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> wallet/src/command.rs:394:20
[INFO] [stdout]     |
[INFO] [stdout] 394 |     wallet: Arc<Mutex<WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 394 -     wallet: Arc<Mutex<WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stdout] 394 +     wallet: Arc<Mutex<dyn WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> wallet/src/command.rs:430:20
[INFO] [stdout]     |
[INFO] [stdout] 430 |     wallet: Arc<Mutex<WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 430 -     wallet: Arc<Mutex<WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stdout] 430 +     wallet: Arc<Mutex<dyn WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> wallet/src/command.rs:476:20
[INFO] [stdout]     |
[INFO] [stdout] 476 |     wallet: Arc<Mutex<WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 476 -     wallet: Arc<Mutex<WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stdout] 476 +     wallet: Arc<Mutex<dyn WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> wallet/src/command.rs:496:20
[INFO] [stdout]     |
[INFO] [stdout] 496 |     wallet: Arc<Mutex<WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 496 -     wallet: Arc<Mutex<WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stdout] 496 +     wallet: Arc<Mutex<dyn WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> wallet/src/command.rs:516:20
[INFO] [stdout]     |
[INFO] [stdout] 516 |     wallet: Arc<Mutex<WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 516 -     wallet: Arc<Mutex<WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stdout] 516 +     wallet: Arc<Mutex<dyn WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `failure::core::str::<impl str>::trim_right_matches`: superseded by `trim_end_matches`
[INFO] [stdout]    --> wallet/src/controller.rs:302:6
[INFO] [stdout]     |
[INFO] [stdout] 302 |                 .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::<impl str>::trim_right_matches`: superseded by `trim_end_matches`
[INFO] [stdout]    --> wallet/src/controller.rs:474:5
[INFO] [stdout]     |
[INFO] [stdout] 474 |             .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::<impl str>::trim_right_matches`: superseded by `trim_end_matches`
[INFO] [stdout]    --> wallet/src/controller.rs:601:5
[INFO] [stdout]     |
[INFO] [stdout] 601 |             .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 `blinding` is never read
[INFO] [stdout]   --> wallet/src/libwallet/internal/restore.rs:45:2
[INFO] [stdout]    |
[INFO] [stdout] 27 | struct OutputResult {
[INFO] [stdout]    |        ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 45 |     pub blinding: SecretKey,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]    = note: `OutputResult` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling grin_servers v1.0.0 (/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:296:11
[INFO] [stdout]     |
[INFO] [stdout] 296 | ...                   e.description(),
[INFO] [stdout]     |                         ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 22 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling grin_config v1.0.0 (/opt/rustwide/workdir/config)
[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/grimble.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/grimble.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/grimble.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/grimble.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:104:4
[INFO] [stdout]     |
[INFO] [stdout] 104 |         };
[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:146:23
[INFO] [stdout]     |
[INFO] [stdout] 146 | ) -> Result<Arc<Mutex<WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>, 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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 146 - ) -> Result<Arc<Mutex<WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>, ParseError> {
[INFO] [stdout] 146 + ) -> Result<Arc<Mutex<dyn WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>, 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 4m 42s
[INFO] running `Command { std: "docker" "inspect" "0cd2e575a3decc11472f8ea8e76fd88afd47450ed84725e2a14ea427ddcb94c1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0cd2e575a3decc11472f8ea8e76fd88afd47450ed84725e2a14ea427ddcb94c1", kill_on_drop: false }`
[INFO] [stdout] 0cd2e575a3decc11472f8ea8e76fd88afd47450ed84725e2a14ea427ddcb94c1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 36eeb8a05531a6af6ebb2f3af54806d9bd2a69b20ae2a6a524899bebd34f566d
[INFO] running `Command { std: "docker" "start" "-a" "36eeb8a05531a6af6ebb2f3af54806d9bd2a69b20ae2a6a524899bebd34f566d", 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:125:91
[INFO] [stdout]     |
[INFO] [stdout] 125 |         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:388:13
[INFO] [stdout]     |
[INFO] [stdout] 388 |         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<String> = { 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<String> = { include_str!("wordlists/en.txt").split_whitespace().map(|s| s.into()).collect() };
[INFO] [stdout] 28 +     pub static ref WORDS: Vec<String> = 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<u16> = 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:218:3
[INFO] [stdout]     |
[INFO] [stdout] 218 |         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:219:3
[INFO] [stdout]     |
[INFO] [stdout] 219 |         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:338:41
[INFO] [stdout]     |
[INFO] [stdout] 338 |             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:246:44
[INFO] [stdout]     |
[INFO] [stdout] 246 |         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:253:50
[INFO] [stdout]     |
[INFO] [stdout] 253 |         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:282:9
[INFO] [stdout]     |
[INFO] [stdout] 282 | /         ser_multiwrite!(
[INFO] [stdout] 283 | |             writer,
[INFO] [stdout] 284 | |             [write_u16, self.version],
[INFO] [stdout] 285 | |             [write_u64, self.height],
[INFO] [stdout] ...   |
[INFO] [stdout] 294 | |             [write_u64, self.kernel_mmr_size]
[INFO] [stdout] 295 | |         );
[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::<Vec<_>>();
[INFO] [stdout]     |                                                      ^
[INFO] [stdout]     |
[INFO] [stdout]    ::: core/src/core/block.rs:698:33
[INFO] [stdout]     |
[INFO] [stdout] 698 |                 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 <https://github.com/rust-lang/rust/issues/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: unused doc comment
[INFO] [stdout]   --> core/src/core/transaction.rs:38:1
[INFO] [stdout]    |
[INFO] [stdout] 38 | /// Enum of various supported kernel "features".
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations
[INFO] [stdout]    |
[INFO] [stdout]    = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]     --> core/src/core/transaction.rs:1135:1
[INFO] [stdout]      |
[INFO] [stdout] 1135 | /// Enum of various supported kernel "features".
[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]    --> 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:186:9
[INFO] [stdout]     |
[INFO] [stdout] 186 |         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:390:9
[INFO] [stdout]     |
[INFO] [stdout] 390 | /         ser_multiwrite!(
[INFO] [stdout] 391 | |             writer,
[INFO] [stdout] 392 | |             [write_u64, self.inputs.len() as u64],
[INFO] [stdout] 393 | |             [write_u64, self.outputs.len() as u64],
[INFO] [stdout] 394 | |             [write_u64, self.kernels.len() as u64]
[INFO] [stdout] 395 | |         );
[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:410:13
[INFO] [stdout]     |
[INFO] [stdout] 410 |             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::<Vec<_>>();
[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 <https://github.com/rust-lang/rust/issues/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: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> core/src/core/block.rs:121:23
[INFO] [stdout]     |
[INFO] [stdout] 121 |     fn read(reader: &mut Reader) -> Result<HeaderEntry, ser::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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 121 -     fn read(reader: &mut Reader) -> Result<HeaderEntry, ser::Error> {
[INFO] [stdout] 121 +     fn read(reader: &mut dyn Reader) -> Result<HeaderEntry, ser::Error> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> core/src/core/transaction.rs:331:23
[INFO] [stdout]     |
[INFO] [stdout] 331 |     fn read(reader: &mut Reader) -> Result<TxKernelEntry, ser::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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 331 -     fn read(reader: &mut Reader) -> Result<TxKernelEntry, ser::Error> {
[INFO] [stdout] 331 +     fn read(reader: &mut dyn Reader) -> Result<TxKernelEntry, ser::Error> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `failure::core::str::<impl 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 `failure::core::str::<impl 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: 22 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/build/build.rs:73:68
[INFO] [stdout]    |
[INFO] [stdout] 73 | fn _download_and_decompress(target_file: &str) -> Result<bool, Box<std::error::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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 73 - fn _download_and_decompress(target_file: &str) -> Result<bool, Box<std::error::Error>> {
[INFO] [stdout] 73 + fn _download_and_decompress(target_file: &str) -> Result<bool, Box<dyn std::error::Error>> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/build/build.rs:99:46
[INFO] [stdout]    |
[INFO] [stdout] 99 | fn _install_web_wallet() -> Result<bool, Box<std::error::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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 99 - fn _install_web_wallet() -> Result<bool, Box<std::error::Error>> {
[INFO] [stdout] 99 + fn _install_web_wallet() -> Result<bool, Box<dyn std::error::Error>> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 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:105:41
[INFO] [stdout]     |
[INFO] [stdout] 105 |     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] 105 -     fn get_hash(&self, pos: u64) -> Option<(Hash)> {
[INFO] [stdout] 105 +     fn get_hash(&self, pos: u64) -> Option<Hash> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> store/src/pmmr.rs:114:41
[INFO] [stdout]     |
[INFO] [stdout] 114 |     fn get_data(&self, pos: u64) -> Option<(T::E)> {
[INFO] [stdout]     |                                            ^    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 114 -     fn get_data(&self, pos: u64) -> Option<(T::E)> {
[INFO] [stdout] 114 +     fn get_data(&self, pos: u64) -> Option<T::E> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]    --> store/src/pmmr.rs:323:5
[INFO] [stdout]     |
[INFO] [stdout] 323 |                 (flat_pos - 1 - shift)
[INFO] [stdout]     |                 ^                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 323 -                 (flat_pos - 1 - shift)
[INFO] [stdout] 323 +                 flat_pos - 1 - shift
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> store/src/pmmr.rs:456:44
[INFO] [stdout]     |
[INFO] [stdout] 456 |             |possible_dir_entry| -> Result<u32, Box<std::error::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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 456 -             |possible_dir_entry| -> Result<u32, Box<std::error::Error>> {
[INFO] [stdout] 456 +             |possible_dir_entry| -> Result<u32, Box<dyn std::error::Error>> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 6 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:47:1
[INFO] [stdout]    |
[INFO] [stdout] 47 | / /// Types of messages.
[INFO] [stdout] 48 | | /// Note: Values here are *important* so we should only add new values at the
[INFO] [stdout] 49 | | /// 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:213:3
[INFO] [stdout]     |
[INFO] [stdout] 213 | /         ser_multiwrite!(
[INFO] [stdout] 214 | |             writer,
[INFO] [stdout] 215 | |             [write_u8, self.magic[0]],
[INFO] [stdout] 216 | |             [write_u8, self.magic[1]],
[INFO] [stdout] 217 | |             [write_u8, self.msg_type as u8],
[INFO] [stdout] 218 | |             [write_u64, self.msg_len]
[INFO] [stdout] 219 | |         );
[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:229:18
[INFO] [stdout]     |
[INFO] [stdout] 229 |         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:265:3
[INFO] [stdout]     |
[INFO] [stdout] 265 | /         ser_multiwrite!(
[INFO] [stdout] 266 | |             writer,
[INFO] [stdout] 267 | |             [write_u32, self.version],
[INFO] [stdout] 268 | |             [write_u32, self.capabilities.bits()],
[INFO] [stdout] 269 | |             [write_u64, self.nonce]
[INFO] [stdout] 270 | |         );
[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:282:33
[INFO] [stdout]     |
[INFO] [stdout] 282 |         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:321:3
[INFO] [stdout]     |
[INFO] [stdout] 321 | /         ser_multiwrite!(
[INFO] [stdout] 322 | |             writer,
[INFO] [stdout] 323 | |             [write_u32, self.version],
[INFO] [stdout] 324 | |             [write_u32, self.capabilities.bits()]
[INFO] [stdout] 325 | |         );
[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:335:26
[INFO] [stdout]     |
[INFO] [stdout] 335 |         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:416:3
[INFO] [stdout]     |
[INFO] [stdout] 416 |         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:443:5
[INFO] [stdout]     |
[INFO] [stdout] 443 | /                 ser_multiwrite!(
[INFO] [stdout] 444 | |                     writer,
[INFO] [stdout] 445 | |                     [write_u8, 0],
[INFO] [stdout] 446 | |                     [write_fixed_bytes, &sav4.ip().octets().to_vec()],
[INFO] [stdout] 447 | |                     [write_u16, sav4.port()]
[INFO] [stdout] 448 | |                 );
[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:651:3
[INFO] [stdout]     |
[INFO] [stdout] 651 |         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:659:25
[INFO] [stdout]     |
[INFO] [stdout] 659 |         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:227:1
[INFO] [stdout]     |
[INFO] [stdout] 227 | /// 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:236:1
[INFO] [stdout]     |
[INFO] [stdout] 236 | /// 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:908:53
[INFO] [stdout]     |
[INFO] [stdout] 908 |     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] 908 -     fn apply_output(&mut self, out: &Output) -> Result<(u64), Error> {
[INFO] [stdout] 908 +     fn apply_output(&mut self, out: &Output) -> Result<u64, Error> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]     --> chain/src/txhashset/txhashset.rs:1197:47
[INFO] [stdout]      |
[INFO] [stdout] 1197 |     pub fn validate_kernel_sums(&self) -> Result<((Commitment, Commitment)), Error> {
[INFO] [stdout]      |                                                  ^                        ^
[INFO] [stdout]      |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]      |
[INFO] [stdout] 1197 -     pub fn validate_kernel_sums(&self) -> Result<((Commitment, Commitment)), Error> {
[INFO] [stdout] 1197 +     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:1212:14
[INFO] [stdout]      |
[INFO] [stdout] 1212 |     ) -> Result<((Commitment, Commitment)), Error> {
[INFO] [stdout]      |                 ^                        ^
[INFO] [stdout]      |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]      |
[INFO] [stdout] 1212 -     ) -> Result<((Commitment, Commitment)), Error> {
[INFO] [stdout] 1212 +     ) -> 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:1315:53
[INFO] [stdout]      |
[INFO] [stdout] 1315 |                 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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]      |
[INFO] [stdout] 1315 -                 let (utxo_sum, kernel_sum) = (sums, genesis as &Committed).verify_kernel_sums(
[INFO] [stdout] 1315 +                 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:342:6
[INFO] [stdout]     |
[INFO] [stdout] 342 |                     &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] 342 |                     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::<impl 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::<impl 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::<impl 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::<impl 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::<impl 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::<impl str>::trim_right`: superseded by `trim_end`
[INFO] [stdout]    --> api/src/handlers/transactions_api.rs:160:5
[INFO] [stdout]     |
[INFO] [stdout] 160 |             .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::<impl str>::trim_right_matches`: superseded by `trim_end_matches`
[INFO] [stdout]    --> api/src/handlers/transactions_api.rs:161:5
[INFO] [stdout]     |
[INFO] [stdout] 161 |             .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:292:56
[INFO] [stdout]     |
[INFO] [stdout] 292 |         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<Arc<Mutex<WalletInst<impl NodeClient, keychain::ExtKeychain>>>, 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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 67 - ) -> Result<Arc<Mutex<WalletInst<impl NodeClient, keychain::ExtKeychain>>>, Error> {
[INFO] [stdout] 67 + ) -> Result<Arc<Mutex<dyn WalletInst<impl NodeClient, keychain::ExtKeychain>>>, 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:43:22
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub fn new() -> Box<WalletCommAdapter> {
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 43 -     pub fn new() -> Box<WalletCommAdapter> {
[INFO] [stdout] 43 +     pub fn new() -> Box<dyn WalletCommAdapter> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> wallet/src/command.rs:143:20
[INFO] [stdout]     |
[INFO] [stdout] 143 |     wallet: Arc<Mutex<WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 143 -     wallet: Arc<Mutex<WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stdout] 143 +     wallet: Arc<Mutex<dyn WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> wallet/src/command.rs:173:20
[INFO] [stdout]     |
[INFO] [stdout] 173 |     wallet: Arc<Mutex<WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 173 -     wallet: Arc<Mutex<WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stdout] 173 +     wallet: Arc<Mutex<dyn WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> wallet/src/command.rs:219:20
[INFO] [stdout]     |
[INFO] [stdout] 219 |     wallet: Arc<Mutex<WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 219 -     wallet: Arc<Mutex<WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stdout] 219 +     wallet: Arc<Mutex<dyn WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> wallet/src/command.rs:297:20
[INFO] [stdout]     |
[INFO] [stdout] 297 |     wallet: Arc<Mutex<WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 297 -     wallet: Arc<Mutex<WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stdout] 297 +     wallet: Arc<Mutex<dyn WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> wallet/src/command.rs:327:20
[INFO] [stdout]     |
[INFO] [stdout] 327 |     wallet: Arc<Mutex<WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 327 -     wallet: Arc<Mutex<WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stdout] 327 +     wallet: Arc<Mutex<dyn WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> wallet/src/command.rs:360:20
[INFO] [stdout]     |
[INFO] [stdout] 360 |     wallet: Arc<Mutex<WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 360 -     wallet: Arc<Mutex<WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stdout] 360 +     wallet: Arc<Mutex<dyn WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> wallet/src/command.rs:375:20
[INFO] [stdout]     |
[INFO] [stdout] 375 |     wallet: Arc<Mutex<WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 375 -     wallet: Arc<Mutex<WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stdout] 375 +     wallet: Arc<Mutex<dyn WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> wallet/src/command.rs:394:20
[INFO] [stdout]     |
[INFO] [stdout] 394 |     wallet: Arc<Mutex<WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 394 -     wallet: Arc<Mutex<WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stdout] 394 +     wallet: Arc<Mutex<dyn WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> wallet/src/command.rs:430:20
[INFO] [stdout]     |
[INFO] [stdout] 430 |     wallet: Arc<Mutex<WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 430 -     wallet: Arc<Mutex<WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stdout] 430 +     wallet: Arc<Mutex<dyn WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> wallet/src/command.rs:476:20
[INFO] [stdout]     |
[INFO] [stdout] 476 |     wallet: Arc<Mutex<WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 476 -     wallet: Arc<Mutex<WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stdout] 476 +     wallet: Arc<Mutex<dyn WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> wallet/src/command.rs:496:20
[INFO] [stdout]     |
[INFO] [stdout] 496 |     wallet: Arc<Mutex<WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 496 -     wallet: Arc<Mutex<WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stdout] 496 +     wallet: Arc<Mutex<dyn WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> wallet/src/command.rs:516:20
[INFO] [stdout]     |
[INFO] [stdout] 516 |     wallet: Arc<Mutex<WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 516 -     wallet: Arc<Mutex<WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stdout] 516 +     wallet: Arc<Mutex<dyn WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `failure::core::str::<impl str>::trim_right_matches`: superseded by `trim_end_matches`
[INFO] [stdout]    --> wallet/src/controller.rs:302:6
[INFO] [stdout]     |
[INFO] [stdout] 302 |                 .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::<impl str>::trim_right_matches`: superseded by `trim_end_matches`
[INFO] [stdout]    --> wallet/src/controller.rs:474:5
[INFO] [stdout]     |
[INFO] [stdout] 474 |             .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::<impl str>::trim_right_matches`: superseded by `trim_end_matches`
[INFO] [stdout]    --> wallet/src/controller.rs:601:5
[INFO] [stdout]     |
[INFO] [stdout] 601 |             .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 `blinding` is never read
[INFO] [stdout]   --> wallet/src/libwallet/internal/restore.rs:45:2
[INFO] [stdout]    |
[INFO] [stdout] 27 | struct OutputResult {
[INFO] [stdout]    |        ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 45 |     pub blinding: SecretKey,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]    = note: `OutputResult` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[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:296:11
[INFO] [stdout]     |
[INFO] [stdout] 296 | ...                   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] [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] [stderr]    Compiling grin v1.0.0 (/opt/rustwide/workdir)
[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/grimble.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/grimble.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/grimble.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/grimble.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:104:4
[INFO] [stdout]     |
[INFO] [stdout] 104 |         };
[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:146:23
[INFO] [stdout]     |
[INFO] [stdout] 146 | ) -> Result<Arc<Mutex<WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>, 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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 146 - ) -> Result<Arc<Mutex<WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>, ParseError> {
[INFO] [stdout] 146 + ) -> Result<Arc<Mutex<dyn WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>, 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<Arc<Mutex<WalletInst<LocalWalletClient, ExtKeychain>>>, 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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 129 -     ) -> Result<Arc<Mutex<WalletInst<LocalWalletClient, ExtKeychain>>>, grin_wallet::Error> {
[INFO] [stdout] 129 +     ) -> Result<Arc<Mutex<dyn WalletInst<LocalWalletClient, ExtKeychain>>>, 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 1m 05s
[INFO] running `Command { std: "docker" "inspect" "36eeb8a05531a6af6ebb2f3af54806d9bd2a69b20ae2a6a524899bebd34f566d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "36eeb8a05531a6af6ebb2f3af54806d9bd2a69b20ae2a6a524899bebd34f566d", kill_on_drop: false }`
[INFO] [stdout] 36eeb8a05531a6af6ebb2f3af54806d9bd2a69b20ae2a6a524899bebd34f566d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] eaf0e2792b10dbea9b2bca814f5ffeb6589d963f2755c578fa3d57e01a723874
[INFO] running `Command { std: "docker" "start" "-a" "eaf0e2792b10dbea9b2bca814f5ffeb6589d963f2755c578fa3d57e01a723874", kill_on_drop: false }`
[INFO] [stderr] warning: missing documentation for a macro
[INFO] [stderr]   --> util/src/macros.rs:32:1
[INFO] [stderr]    |
[INFO] [stderr] 32 | macro_rules! impl_array_newtype {
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] note: the lint level is defined here
[INFO] [stderr]   --> util/src/lib.rs:22:9
[INFO] [stderr]    |
[INFO] [stderr] 22 | #![warn(missing_docs)]
[INFO] [stderr]    |         ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: missing documentation for a macro
[INFO] [stderr]    --> util/src/macros.rs:168:1
[INFO] [stderr]     |
[INFO] [stderr] 168 | macro_rules! impl_array_newtype_encodable {
[INFO] [stderr]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: missing documentation for a macro
[INFO] [stderr]    --> util/src/macros.rs:222:1
[INFO] [stderr]     |
[INFO] [stderr] 222 | macro_rules! impl_array_newtype_show {
[INFO] [stderr]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: missing documentation for a macro
[INFO] [stderr]    --> util/src/macros.rs:233:1
[INFO] [stderr]     |
[INFO] [stderr] 233 | macro_rules! impl_index_newtype {
[INFO] [stderr]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `grin_util` (lib) generated 4 warnings
[INFO] [stderr] warning: unnecessary trailing semicolon
[INFO] [stderr]    --> keychain/src/extkey_bip32.rs:125:91
[INFO] [stderr]     |
[INFO] [stderr] 125 |         self.hmac_sha512 = HmacSha512::new_varkey(seed).expect("HMAC can take key of any size");;
[INFO] [stderr]     |                                                                                                 ^ help: remove this semicolon
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated macro `r#try`: use the `?` operator instead
[INFO] [stderr]    --> keychain/src/extkey_bip32.rs:388:13
[INFO] [stderr]     |
[INFO] [stderr] 388 |         let key = r#try!(ExtendedPrivKey::new_master(secp, &mut hasher, &seed));
[INFO] [stderr]     |                   ^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around block return value
[INFO] [stderr]   --> keychain/src/mnemonic.rs:28:38
[INFO] [stderr]    |
[INFO] [stderr] 28 |     pub static ref WORDS: Vec<String> = { include_str!("wordlists/en.txt").split_whitespace().map(|s| s.into()).collect() };
[INFO] [stderr]    |                                         ^^                                                                               ^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_braces)]` on by default
[INFO] [stderr] help: remove these braces
[INFO] [stderr]    |
[INFO] [stderr] 28 -     pub static ref WORDS: Vec<String> = { include_str!("wordlists/en.txt").split_whitespace().map(|s| s.into()).collect() };
[INFO] [stderr] 28 +     pub static ref WORDS: Vec<String> = include_str!("wordlists/en.txt").split_whitespace().map(|s| s.into()).collect();
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated macro `r#try`: use the `?` operator instead
[INFO] [stderr]   --> keychain/src/mnemonic.rs:75:30
[INFO] [stderr]    |
[INFO] [stderr] 75 |     let mut indexes: Vec<u16> = r#try!(words.iter().map(|x| search(x)).collect());
[INFO] [stderr]    |                                 ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated macro `r#try`: use the `?` operator instead
[INFO] [stderr]    --> keychain/src/mnemonic.rs:158:2
[INFO] [stderr]     |
[INFO] [stderr] 158 |     r#try!(to_entropy(mnemonic));
[INFO] [stderr]     |     ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated macro `r#try`: use the `?` operator instead
[INFO] [stderr]    --> keychain/src/types.rs:218:3
[INFO] [stderr]     |
[INFO] [stderr] 218 |         r#try!(write!(f, "{}(", stringify!(Identifier)));
[INFO] [stderr]     |         ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated macro `r#try`: use the `?` operator instead
[INFO] [stderr]    --> keychain/src/types.rs:219:3
[INFO] [stderr]     |
[INFO] [stderr] 219 |         r#try!(write!(f, "{}", self.to_hex()));
[INFO] [stderr]     |         ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stderr]    --> keychain/src/extkey_bip32.rs:338:41
[INFO] [stderr]     |
[INFO] [stderr] 338 |             Error::Ecdsa(ref e) => error::Error::description(e),
[INFO] [stderr]     |                                                  ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `grin_keychain` (lib) generated 8 warnings
[INFO] [stderr] warning: use of deprecated macro `r#try`: use the `?` operator instead
[INFO] [stderr]    --> core/src/macros.rs:78:9
[INFO] [stderr]     |
[INFO] [stderr] 78  |     ( $(r#try!($rdr.$read_call($($val),*))),* )
[INFO] [stderr]     |         ^^^^^
[INFO] [stderr]     |
[INFO] [stderr]    ::: core/src/core/block.rs:246:44
[INFO] [stderr]     |
[INFO] [stderr] 246 |         let (version, height, timestamp) = ser_multiread!(reader, read_u16, read_u64, read_i64);
[INFO] [stderr]     |                                            ---------------------------------------------------- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(deprecated)]` on by default
[INFO] [stderr]     = note: this warning originates in the macro `ser_multiread` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated macro `r#try`: use the `?` operator instead
[INFO] [stderr]    --> core/src/macros.rs:78:9
[INFO] [stderr]     |
[INFO] [stderr] 78  |     ( $(r#try!($rdr.$read_call($($val),*))),* )
[INFO] [stderr]     |         ^^^^^
[INFO] [stderr]     |
[INFO] [stderr]    ::: core/src/core/block.rs:253:50
[INFO] [stderr]     |
[INFO] [stderr] 253 |         let (output_mmr_size, kernel_mmr_size) = ser_multiread!(reader, read_u64, read_u64);
[INFO] [stderr]     |                                                  ------------------------------------------ in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = note: this warning originates in the macro `ser_multiread` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated macro `r#try`: use the `?` operator instead
[INFO] [stderr]    --> core/src/macros.rs:92:8
[INFO] [stderr]     |
[INFO] [stderr] 92  |       $( r#try!($wrtr.$write_call($val)) );*
[INFO] [stderr]     |          ^^^^^
[INFO] [stderr]     |
[INFO] [stderr]    ::: core/src/core/block.rs:282:9
[INFO] [stderr]     |
[INFO] [stderr] 282 | /         ser_multiwrite!(
[INFO] [stderr] 283 | |             writer,
[INFO] [stderr] 284 | |             [write_u16, self.version],
[INFO] [stderr] 285 | |             [write_u64, self.height],
[INFO] [stderr] ...   |
[INFO] [stderr] 294 | |             [write_u64, self.kernel_mmr_size]
[INFO] [stderr] 295 | |         );
[INFO] [stderr]     | |_________- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = note: this warning originates in the macro `ser_multiwrite` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: trailing semicolon in macro used in expression position
[INFO] [stderr]    --> core/src/macros.rs:23:48
[INFO] [stderr]     |
[INFO] [stderr] 23  |         $thing.iter().map($mapfn).collect::<Vec<_>>();
[INFO] [stderr]     |                                                      ^
[INFO] [stderr]     |
[INFO] [stderr]    ::: core/src/core/block.rs:698:33
[INFO] [stderr]     |
[INFO] [stderr] 698 |                 secp.commit_sum(map_vec!(cb_outs, |x| x.commitment()), vec![over_commit])?;
[INFO] [stderr]     |                                 ------------------------------------- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default
[INFO] [stderr]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stderr]     = note: for more information, see issue #79813 <https://github.com/rust-lang/rust/issues/79813>
[INFO] [stderr]     = note: this warning originates in the macro `map_vec` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around type
[INFO] [stderr]    --> core/src/core/committed.rs:123:14
[INFO] [stderr]     |
[INFO] [stderr] 123 |     ) -> Result<((Commitment, Commitment)), Error> {
[INFO] [stderr]     |                 ^                        ^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 123 -     ) -> Result<((Commitment, Commitment)), Error> {
[INFO] [stderr] 123 +     ) -> Result<(Commitment, Commitment), Error> {
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated macro `r#try`: use the `?` operator instead
[INFO] [stderr]   --> core/src/macros.rs:78:9
[INFO] [stderr]    |
[INFO] [stderr] 78 |     ( $(r#try!($rdr.$read_call($($val),*))),* )
[INFO] [stderr]    |         ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]   ::: core/src/core/compact_block.rs:88:13
[INFO] [stderr]    |
[INFO] [stderr] 88 |             ser_multiread!(reader, read_u64, read_u64, read_u64);
[INFO] [stderr]    |             ---------------------------------------------------- in this macro invocation
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in the macro `ser_multiread` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated macro `r#try`: use the `?` operator instead
[INFO] [stderr]    --> core/src/macros.rs:92:8
[INFO] [stderr]     |
[INFO] [stderr] 92  |       $( r#try!($wrtr.$write_call($val)) );*
[INFO] [stderr]     |          ^^^^^
[INFO] [stderr]     |
[INFO] [stderr]    ::: core/src/core/compact_block.rs:104:9
[INFO] [stderr]     |
[INFO] [stderr] 104 | /         ser_multiwrite!(
[INFO] [stderr] 105 | |             writer,
[INFO] [stderr] 106 | |             [write_u64, self.out_full.len() as u64],
[INFO] [stderr] 107 | |             [write_u64, self.kern_full.len() as u64],
[INFO] [stderr] 108 | |             [write_u64, self.kern_ids.len() as u64]
[INFO] [stderr] 109 | |         );
[INFO] [stderr]     | |_________- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = note: this warning originates in the macro `ser_multiwrite` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unused doc comment
[INFO] [stderr]   --> core/src/core/id.rs:76:1
[INFO] [stderr]    |
[INFO] [stderr] 76 | / /// We want to sort short_ids in a canonical and consistent manner so we can
[INFO] [stderr] 77 | | /// verify sort order in the same way we do for full inputs|outputs|kernels
[INFO] [stderr] 78 | | /// themselves.
[INFO] [stderr]    | |_--------------^
[INFO] [stderr]    |   |
[INFO] [stderr]    |   rustdoc does not generate documentation for macro invocations
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_doc_comments)]` on by default
[INFO] [stderr]    = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stderr] 
[INFO] [stderr] warning: unused doc comment
[INFO] [stderr]   --> core/src/core/transaction.rs:38:1
[INFO] [stderr]    |
[INFO] [stderr] 38 | /// Enum of various supported kernel "features".
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations
[INFO] [stderr]    |
[INFO] [stderr]    = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stderr] 
[INFO] [stderr] warning: unused doc comment
[INFO] [stderr]     --> core/src/core/transaction.rs:1135:1
[INFO] [stderr]      |
[INFO] [stderr] 1135 | /// Enum of various supported kernel "features".
[INFO] [stderr]      | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations
[INFO] [stderr]      |
[INFO] [stderr]      = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated macro `r#try`: use the `?` operator instead
[INFO] [stderr]    --> core/src/macros.rs:92:8
[INFO] [stderr]     |
[INFO] [stderr] 92  |     $( r#try!($wrtr.$write_call($val)) );*
[INFO] [stderr]     |        ^^^^^
[INFO] [stderr]     |
[INFO] [stderr]    ::: core/src/core/transaction.rs:186:9
[INFO] [stderr]     |
[INFO] [stderr] 186 |         ser_multiwrite!(writer, [write_u64, self.fee], [write_u64, self.lock_height]);
[INFO] [stderr]     |         ----------------------------------------------------------------------------- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = note: this warning originates in the macro `ser_multiwrite` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated macro `r#try`: use the `?` operator instead
[INFO] [stderr]    --> core/src/macros.rs:92:8
[INFO] [stderr]     |
[INFO] [stderr] 92  |       $( r#try!($wrtr.$write_call($val)) );*
[INFO] [stderr]     |          ^^^^^
[INFO] [stderr]     |
[INFO] [stderr]    ::: core/src/core/transaction.rs:390:9
[INFO] [stderr]     |
[INFO] [stderr] 390 | /         ser_multiwrite!(
[INFO] [stderr] 391 | |             writer,
[INFO] [stderr] 392 | |             [write_u64, self.inputs.len() as u64],
[INFO] [stderr] 393 | |             [write_u64, self.outputs.len() as u64],
[INFO] [stderr] 394 | |             [write_u64, self.kernels.len() as u64]
[INFO] [stderr] 395 | |         );
[INFO] [stderr]     | |_________- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = note: this warning originates in the macro `ser_multiwrite` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated macro `r#try`: use the `?` operator instead
[INFO] [stderr]    --> core/src/macros.rs:78:9
[INFO] [stderr]     |
[INFO] [stderr] 78  |     ( $(r#try!($rdr.$read_call($($val),*))),* )
[INFO] [stderr]     |         ^^^^^
[INFO] [stderr]     |
[INFO] [stderr]    ::: core/src/core/transaction.rs:410:13
[INFO] [stderr]     |
[INFO] [stderr] 410 |             ser_multiread!(reader, read_u64, read_u64, read_u64);
[INFO] [stderr]     |             ---------------------------------------------------- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = note: this warning originates in the macro `ser_multiread` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: trailing semicolon in macro used in expression position
[INFO] [stderr]    --> core/src/macros.rs:23:48
[INFO] [stderr]     |
[INFO] [stderr] 23  |         $thing.iter().map($mapfn).collect::<Vec<_>>();
[INFO] [stderr]     |                                                      ^
[INFO] [stderr]     |
[INFO] [stderr]    ::: core/src/pow/cuckatoo.rs:267:24
[INFO] [stderr]     |
[INFO] [stderr] 267 |             s.nonces = map_vec!(s.nonces, |n| val[*n as usize]);
[INFO] [stderr]     |                        ---------------------------------------- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stderr]     = note: for more information, see issue #79813 <https://github.com/rust-lang/rust/issues/79813>
[INFO] [stderr]     = note: this warning originates in the macro `map_vec` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated macro `r#try`: use the `?` operator instead
[INFO] [stderr]    --> core/src/macros.rs:92:8
[INFO] [stderr]     |
[INFO] [stderr] 92  |       $( r#try!($wrtr.$write_call($val)) );*
[INFO] [stderr]     |          ^^^^^
[INFO] [stderr]     |
[INFO] [stderr]    ::: core/src/pow/types.rs:270:9
[INFO] [stderr]     |
[INFO] [stderr] 270 | /         ser_multiwrite!(
[INFO] [stderr] 271 | |             writer,
[INFO] [stderr] 272 | |             [write_u64, self.total_difficulty.to_num()],
[INFO] [stderr] 273 | |             [write_u32, self.secondary_scaling]
[INFO] [stderr] 274 | |         );
[INFO] [stderr]     | |_________- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = note: this warning originates in the macro `ser_multiwrite` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> core/src/core/block.rs:121:23
[INFO] [stderr]     |
[INFO] [stderr] 121 |     fn read(reader: &mut Reader) -> Result<HeaderEntry, ser::Error> {
[INFO] [stderr]     |                          ^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: use `dyn`
[INFO] [stderr]     |
[INFO] [stderr] 121 -     fn read(reader: &mut Reader) -> Result<HeaderEntry, ser::Error> {
[INFO] [stderr] 121 +     fn read(reader: &mut dyn Reader) -> Result<HeaderEntry, ser::Error> {
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> core/src/core/transaction.rs:331:23
[INFO] [stderr]     |
[INFO] [stderr] 331 |     fn read(reader: &mut Reader) -> Result<TxKernelEntry, ser::Error> {
[INFO] [stderr]     |                          ^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: use `dyn`
[INFO] [stderr]     |
[INFO] [stderr] 331 -     fn read(reader: &mut Reader) -> Result<TxKernelEntry, ser::Error> {
[INFO] [stderr] 331 +     fn read(reader: &mut dyn Reader) -> Result<TxKernelEntry, ser::Error> {
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `failure::core::str::<impl str>::trim_right_matches`: superseded by `trim_end_matches`
[INFO] [stderr]   --> core/src/core.rs:98:14
[INFO] [stderr]    |
[INFO] [stderr] 98 |             return hr.trim_right_matches('0').to_string();
[INFO] [stderr]    |                       ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches`
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `failure::core::str::<impl str>::trim_right_matches`: superseded by `trim_end_matches`
[INFO] [stderr]    --> core/src/core.rs:100:29
[INFO] [stderr]     |
[INFO] [stderr] 100 |             return format!("{}0", hr.trim_right_matches('0'));
[INFO] [stderr]     |                                      ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches`
[INFO] [stderr] 
[INFO] [stderr] warning: missing documentation for a macro
[INFO] [stderr]    --> core/src/pow/common.rs:114:1
[INFO] [stderr]     |
[INFO] [stderr] 114 | macro_rules! to_u32 {
[INFO] [stderr]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr] note: the lint level is defined here
[INFO] [stderr]    --> core/src/pow.rs:29:9
[INFO] [stderr]     |
[INFO] [stderr] 29  | #![warn(missing_docs)]
[INFO] [stderr]     |         ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: missing documentation for a macro
[INFO] [stderr]    --> core/src/pow/common.rs:121:1
[INFO] [stderr]     |
[INFO] [stderr] 121 | macro_rules! to_usize {
[INFO] [stderr]     | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: missing documentation for a macro
[INFO] [stderr]    --> core/src/pow/common.rs:128:1
[INFO] [stderr]     |
[INFO] [stderr] 128 | macro_rules! to_edge {
[INFO] [stderr]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/build/build.rs:73:68
[INFO] [stderr]    |
[INFO] [stderr] 73 | fn _download_and_decompress(target_file: &str) -> Result<bool, Box<std::error::Error>> {
[INFO] [stderr]    |                                                                    ^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 73 - fn _download_and_decompress(target_file: &str) -> Result<bool, Box<std::error::Error>> {
[INFO] [stderr] 73 + fn _download_and_decompress(target_file: &str) -> Result<bool, Box<dyn std::error::Error>> {
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/build/build.rs:99:46
[INFO] [stderr]    |
[INFO] [stderr] 99 | fn _install_web_wallet() -> Result<bool, Box<std::error::Error>> {
[INFO] [stderr]    |                                              ^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 99 - fn _install_web_wallet() -> Result<bool, Box<std::error::Error>> {
[INFO] [stderr] 99 + fn _install_web_wallet() -> Result<bool, Box<dyn std::error::Error>> {
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: `grin_core` (lib) generated 22 warnings
[INFO] [stderr] warning: `grin` (build script) generated 2 warnings
[INFO] [stderr] warning: unused import: `lmdb_zero`
[INFO] [stderr]   --> store/src/lib.rs:23:5
[INFO] [stderr]    |
[INFO] [stderr] 23 | use lmdb_zero;
[INFO] [stderr]    |     ^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `memmap`
[INFO] [stderr]   --> store/src/lib.rs:24:5
[INFO] [stderr]    |
[INFO] [stderr] 24 | use memmap;
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around type
[INFO] [stderr]    --> store/src/pmmr.rs:105:41
[INFO] [stderr]     |
[INFO] [stderr] 105 |     fn get_hash(&self, pos: u64) -> Option<(Hash)> {
[INFO] [stderr]     |                                            ^    ^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 105 -     fn get_hash(&self, pos: u64) -> Option<(Hash)> {
[INFO] [stderr] 105 +     fn get_hash(&self, pos: u64) -> Option<Hash> {
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around type
[INFO] [stderr]    --> store/src/pmmr.rs:114:41
[INFO] [stderr]     |
[INFO] [stderr] 114 |     fn get_data(&self, pos: u64) -> Option<(T::E)> {
[INFO] [stderr]     |                                            ^    ^
[INFO] [stderr]     |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 114 -     fn get_data(&self, pos: u64) -> Option<(T::E)> {
[INFO] [stderr] 114 +     fn get_data(&self, pos: u64) -> Option<T::E> {
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around block return value
[INFO] [stderr]    --> store/src/pmmr.rs:323:5
[INFO] [stderr]     |
[INFO] [stderr] 323 |                 (flat_pos - 1 - shift)
[INFO] [stderr]     |                 ^                    ^
[INFO] [stderr]     |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 323 -                 (flat_pos - 1 - shift)
[INFO] [stderr] 323 +                 flat_pos - 1 - shift
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> store/src/pmmr.rs:456:44
[INFO] [stderr]     |
[INFO] [stderr] 456 |             |possible_dir_entry| -> Result<u32, Box<std::error::Error>> {
[INFO] [stderr]     |                                                     ^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: use `dyn`
[INFO] [stderr]     |
[INFO] [stderr] 456 -             |possible_dir_entry| -> Result<u32, Box<std::error::Error>> {
[INFO] [stderr] 456 +             |possible_dir_entry| -> Result<u32, Box<dyn std::error::Error>> {
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: `grin_store` (lib) generated 6 warnings
[INFO] [stderr] warning: unused import: `grin_store`
[INFO] [stderr]   --> chain/src/lib.rs:36:5
[INFO] [stderr]    |
[INFO] [stderr] 36 | use grin_store;
[INFO] [stderr]    |     ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around type
[INFO] [stderr]    --> chain/src/txhashset/txhashset.rs:908:53
[INFO] [stderr]     |
[INFO] [stderr] 908 |     fn apply_output(&mut self, out: &Output) -> Result<(u64), Error> {
[INFO] [stderr]     |                                                        ^   ^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 908 -     fn apply_output(&mut self, out: &Output) -> Result<(u64), Error> {
[INFO] [stderr] 908 +     fn apply_output(&mut self, out: &Output) -> Result<u64, Error> {
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around type
[INFO] [stderr]     --> chain/src/txhashset/txhashset.rs:1197:47
[INFO] [stderr]      |
[INFO] [stderr] 1197 |     pub fn validate_kernel_sums(&self) -> Result<((Commitment, Commitment)), Error> {
[INFO] [stderr]      |                                                  ^                        ^
[INFO] [stderr]      |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]      |
[INFO] [stderr] 1197 -     pub fn validate_kernel_sums(&self) -> Result<((Commitment, Commitment)), Error> {
[INFO] [stderr] 1197 +     pub fn validate_kernel_sums(&self) -> Result<(Commitment, Commitment), Error> {
[INFO] [stderr]      |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around type
[INFO] [stderr]     --> chain/src/txhashset/txhashset.rs:1212:14
[INFO] [stderr]      |
[INFO] [stderr] 1212 |     ) -> Result<((Commitment, Commitment)), Error> {
[INFO] [stderr]      |                 ^                        ^
[INFO] [stderr]      |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]      |
[INFO] [stderr] 1212 -     ) -> Result<((Commitment, Commitment)), Error> {
[INFO] [stderr] 1212 +     ) -> Result<(Commitment, Commitment), Error> {
[INFO] [stderr]      |
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]     --> chain/src/chain.rs:1315:53
[INFO] [stderr]      |
[INFO] [stderr] 1315 |                 let (utxo_sum, kernel_sum) = (sums, genesis as &Committed).verify_kernel_sums(
[INFO] [stderr]      |                                                                 ^^^^^^^^^
[INFO] [stderr]      |
[INFO] [stderr]      = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stderr]      = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]      = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: use `dyn`
[INFO] [stderr]      |
[INFO] [stderr] 1315 -                 let (utxo_sum, kernel_sum) = (sums, genesis as &Committed).verify_kernel_sums(
[INFO] [stderr] 1315 +                 let (utxo_sum, kernel_sum) = (sums, genesis as &dyn Committed).verify_kernel_sums(
[INFO] [stderr]      |
[INFO] [stderr] 
[INFO] [stderr] warning: unused borrow that must be used
[INFO] [stderr]    --> chain/src/chain.rs:342:6
[INFO] [stderr]     |
[INFO] [stderr] 342 |                     &self.orphans.add(orphan);
[INFO] [stderr]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 342 |                     let _ = &self.orphans.add(orphan);
[INFO] [stderr]     |                     +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `grin_store`
[INFO] [stderr]   --> p2p/src/lib.rs:32:5
[INFO] [stderr]    |
[INFO] [stderr] 32 | use grin_store;
[INFO] [stderr]    |     ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused doc comment
[INFO] [stderr]   --> p2p/src/msg.rs:47:1
[INFO] [stderr]    |
[INFO] [stderr] 47 | / /// Types of messages.
[INFO] [stderr] 48 | | /// Note: Values here are *important* so we should only add new values at the
[INFO] [stderr] 49 | | /// end.
[INFO] [stderr]    | |_-------^
[INFO] [stderr]    |   |
[INFO] [stderr]    |   rustdoc does not generate documentation for macro invocations
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_doc_comments)]` on by default
[INFO] [stderr]    = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated macro `r#try`: use the `?` operator instead
[INFO] [stderr]    --> p2p/src/msg.rs:213:3
[INFO] [stderr]     |
[INFO] [stderr] 213 | /         ser_multiwrite!(
[INFO] [stderr] 214 | |             writer,
[INFO] [stderr] 215 | |             [write_u8, self.magic[0]],
[INFO] [stderr] 216 | |             [write_u8, self.magic[1]],
[INFO] [stderr] 217 | |             [write_u8, self.msg_type as u8],
[INFO] [stderr] 218 | |             [write_u64, self.msg_len]
[INFO] [stderr] 219 | |         );
[INFO] [stderr]     | |_________^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(deprecated)]` on by default
[INFO] [stderr]     = note: this warning originates in the macro `ser_multiwrite` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated macro `r#try`: use the `?` operator instead
[INFO] [stderr]    --> p2p/src/msg.rs:229:18
[INFO] [stderr]     |
[INFO] [stderr] 229 |         let (t, len) = ser_multiread!(reader, read_u8, read_u64);
[INFO] [stderr]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this warning originates in the macro `ser_multiread` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated macro `r#try`: use the `?` operator instead
[INFO] [stderr]    --> p2p/src/msg.rs:265:3
[INFO] [stderr]     |
[INFO] [stderr] 265 | /         ser_multiwrite!(
[INFO] [stderr] 266 | |             writer,
[INFO] [stderr] 267 | |             [write_u32, self.version],
[INFO] [stderr] 268 | |             [write_u32, self.capabilities.bits()],
[INFO] [stderr] 269 | |             [write_u64, self.nonce]
[INFO] [stderr] 270 | |         );
[INFO] [stderr]     | |_________^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this warning originates in the macro `ser_multiwrite` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated macro `r#try`: use the `?` operator instead
[INFO] [stderr]    --> p2p/src/msg.rs:282:33
[INFO] [stderr]     |
[INFO] [stderr] 282 |         let (version, capab, nonce) = ser_multiread!(reader, read_u32, read_u32, read_u64);
[INFO] [stderr]     |                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this warning originates in the macro `ser_multiread` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated macro `r#try`: use the `?` operator instead
[INFO] [stderr]    --> p2p/src/msg.rs:321:3
[INFO] [stderr]     |
[INFO] [stderr] 321 | /         ser_multiwrite!(
[INFO] [stderr] 322 | |             writer,
[INFO] [stderr] 323 | |             [write_u32, self.version],
[INFO] [stderr] 324 | |             [write_u32, self.capabilities.bits()]
[INFO] [stderr] 325 | |         );
[INFO] [stderr]     | |_________^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this warning originates in the macro `ser_multiwrite` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated macro `r#try`: use the `?` operator instead
[INFO] [stderr]    --> p2p/src/msg.rs:335:26
[INFO] [stderr]     |
[INFO] [stderr] 335 |         let (version, capab) = ser_multiread!(reader, read_u32, read_u32);
[INFO] [stderr]     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this warning originates in the macro `ser_multiread` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated macro `r#try`: use the `?` operator instead
[INFO] [stderr]    --> p2p/src/msg.rs:416:3
[INFO] [stderr]     |
[INFO] [stderr] 416 |         ser_multiwrite!(writer, [write_u32, self.code], [write_bytes, &self.message]);
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this warning originates in the macro `ser_multiwrite` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated macro `r#try`: use the `?` operator instead
[INFO] [stderr]    --> p2p/src/msg.rs:443:5
[INFO] [stderr]     |
[INFO] [stderr] 443 | /                 ser_multiwrite!(
[INFO] [stderr] 444 | |                     writer,
[INFO] [stderr] 445 | |                     [write_u8, 0],
[INFO] [stderr] 446 | |                     [write_fixed_bytes, &sav4.ip().octets().to_vec()],
[INFO] [stderr] 447 | |                     [write_u16, sav4.port()]
[INFO] [stderr] 448 | |                 );
[INFO] [stderr]     | |_________________^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this warning originates in the macro `ser_multiwrite` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated macro `r#try`: use the `?` operator instead
[INFO] [stderr]    --> p2p/src/msg.rs:651:3
[INFO] [stderr]     |
[INFO] [stderr] 651 |         ser_multiwrite!(writer, [write_u64, self.height], [write_u64, self.bytes]);
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this warning originates in the macro `ser_multiwrite` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated macro `r#try`: use the `?` operator instead
[INFO] [stderr]    --> p2p/src/msg.rs:659:25
[INFO] [stderr]     |
[INFO] [stderr] 659 |         let (height, bytes) = ser_multiread!(reader, read_u64, read_u64);
[INFO] [stderr]     |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this warning originates in the macro `ser_multiread` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unused doc comment
[INFO] [stderr]   --> p2p/src/store.rs:34:1
[INFO] [stderr]    |
[INFO] [stderr] 34 | /// Types of messages
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations
[INFO] [stderr]    |
[INFO] [stderr]    = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated macro `r#try`: use the `?` operator instead
[INFO] [stderr]   --> p2p/src/store.rs:67:3
[INFO] [stderr]    |
[INFO] [stderr] 67 | /         ser_multiwrite!(
[INFO] [stderr] 68 | |             writer,
[INFO] [stderr] 69 | |             [write_u32, self.capabilities.bits()],
[INFO] [stderr] 70 | |             [write_bytes, &self.user_agent],
[INFO] [stderr] ...  |
[INFO] [stderr] 74 | |             [write_i64, self.last_connected]
[INFO] [stderr] 75 | |         );
[INFO] [stderr]    | |_________^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in the macro `ser_multiwrite` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated macro `r#try`: use the `?` operator instead
[INFO] [stderr]   --> p2p/src/store.rs:85:22
[INFO] [stderr]    |
[INFO] [stderr] 85 |         let (fl, lb, br) = ser_multiread!(reader, read_u8, read_i64, read_i32);
[INFO] [stderr]    |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in the macro `ser_multiread` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unused doc comment
[INFO] [stderr]    --> p2p/src/types.rs:227:1
[INFO] [stderr]     |
[INFO] [stderr] 227 | /// Types of connection
[INFO] [stderr]     | ^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations
[INFO] [stderr]     |
[INFO] [stderr]     = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stderr] 
[INFO] [stderr] warning: unused doc comment
[INFO] [stderr]    --> p2p/src/types.rs:236:1
[INFO] [stderr]     |
[INFO] [stderr] 236 | /// Ban reason
[INFO] [stderr]     | ^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations
[INFO] [stderr]     |
[INFO] [stderr]     = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stderr] 
[INFO] [stderr] warning: `grin_chain` (lib) generated 6 warnings
[INFO] [stderr] warning: `grin_p2p` (lib) generated 17 warnings
[INFO] [stderr] warning: unused import: `hyper`
[INFO] [stderr]   --> api/src/lib.rs:25:5
[INFO] [stderr]    |
[INFO] [stderr] 25 | use hyper;
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `serde`
[INFO] [stderr]   --> api/src/lib.rs:29:5
[INFO] [stderr]    |
[INFO] [stderr] 29 | use serde;
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `serde_json`
[INFO] [stderr]   --> api/src/lib.rs:32:5
[INFO] [stderr]    |
[INFO] [stderr] 32 | use serde_json;
[INFO] [stderr]    |     ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `hyper_rustls`
[INFO] [stderr]   --> api/src/lib.rs:36:5
[INFO] [stderr]    |
[INFO] [stderr] 36 | use hyper_rustls;
[INFO] [stderr]    |     ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `rustls`
[INFO] [stderr]   --> api/src/lib.rs:37:5
[INFO] [stderr]    |
[INFO] [stderr] 37 | use rustls;
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `tokio_tcp`
[INFO] [stderr]   --> api/src/lib.rs:39:5
[INFO] [stderr]    |
[INFO] [stderr] 39 | use tokio_tcp;
[INFO] [stderr]    |     ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `failure::core::str::<impl str>::trim_right_matches`: superseded by `trim_end_matches`
[INFO] [stderr]   --> api/src/handlers/blocks_api.rs:71:35
[INFO] [stderr]    |
[INFO] [stderr] 71 |         let el = match req.uri().path().trim_right_matches("/").rsplit("/").next() {
[INFO] [stderr]    |                                         ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `failure::core::str::<impl str>::trim_right_matches`: superseded by `trim_end_matches`
[INFO] [stderr]    --> api/src/handlers/blocks_api.rs:133:35
[INFO] [stderr]     |
[INFO] [stderr] 133 |         let el = match req.uri().path().trim_right_matches("/").rsplit("/").next() {
[INFO] [stderr]     |                                         ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches`
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `failure::core::str::<impl str>::trim_right_matches`: superseded by `trim_end_matches`
[INFO] [stderr]    --> api/src/handlers/chain_api.rs:226:40
[INFO] [stderr]     |
[INFO] [stderr] 226 |         let command = match req.uri().path().trim_right_matches("/").rsplit("/").next() {
[INFO] [stderr]     |                                              ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches`
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `failure::core::str::<impl str>::trim_right_matches`: superseded by `trim_end_matches`
[INFO] [stderr]   --> api/src/handlers/peers_api.rs:59:40
[INFO] [stderr]    |
[INFO] [stderr] 59 |         let command = match req.uri().path().trim_right_matches("/").rsplit("/").next() {
[INFO] [stderr]    |                                              ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches`
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `failure::core::str::<impl str>::trim_right_matches`: superseded by `trim_end_matches`
[INFO] [stderr]   --> api/src/handlers/peers_api.rs:76:41
[INFO] [stderr]    |
[INFO] [stderr] 76 |         let mut path_elems = req.uri().path().trim_right_matches("/").rsplit("/");
[INFO] [stderr]    |                                               ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches`
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `failure::core::str::<impl str>::trim_right`: superseded by `trim_end`
[INFO] [stderr]    --> api/src/handlers/transactions_api.rs:160:5
[INFO] [stderr]     |
[INFO] [stderr] 160 |             .trim_right()
[INFO] [stderr]     |              ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end`
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `failure::core::str::<impl str>::trim_right_matches`: superseded by `trim_end_matches`
[INFO] [stderr]    --> api/src/handlers/transactions_api.rs:161:5
[INFO] [stderr]     |
[INFO] [stderr] 161 |             .trim_right_matches("/")
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches`
[INFO] [stderr] 
[INFO] [stderr] warning: `grin_api` (lib) generated 13 warnings
[INFO] [stderr] warning: unused import: `serde`
[INFO] [stderr]   --> wallet/src/lib.rs:22:5
[INFO] [stderr]    |
[INFO] [stderr] 22 | use serde;
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `term`
[INFO] [stderr]   --> wallet/src/lib.rs:33:5
[INFO] [stderr]    |
[INFO] [stderr] 33 | use term;
[INFO] [stderr]    |     ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `serde_json`
[INFO] [stderr]   --> wallet/src/lmdb_wallet.rs:24:5
[INFO] [stderr]    |
[INFO] [stderr] 24 | use serde_json;
[INFO] [stderr]    |     ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary trailing semicolon
[INFO] [stderr]    --> wallet/src/lmdb_wallet.rs:292:56
[INFO] [stderr]     |
[INFO] [stderr] 292 |         let tx_hex = util::to_hex(ser::ser_vec(tx).unwrap());;
[INFO] [stderr]     |                                                              ^ help: remove this semicolon
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> wallet/src/lib.rs:67:23
[INFO] [stderr]    |
[INFO] [stderr] 67 | ) -> Result<Arc<Mutex<WalletInst<impl NodeClient, keychain::ExtKeychain>>>, Error> {
[INFO] [stderr]    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 67 - ) -> Result<Arc<Mutex<WalletInst<impl NodeClient, keychain::ExtKeychain>>>, Error> {
[INFO] [stderr] 67 + ) -> Result<Arc<Mutex<dyn WalletInst<impl NodeClient, keychain::ExtKeychain>>>, Error> {
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> wallet/src/adapters/keybase.rs:43:22
[INFO] [stderr]    |
[INFO] [stderr] 43 |     pub fn new() -> Box<WalletCommAdapter> {
[INFO] [stderr]    |                         ^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 43 -     pub fn new() -> Box<WalletCommAdapter> {
[INFO] [stderr] 43 +     pub fn new() -> Box<dyn WalletCommAdapter> {
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> wallet/src/command.rs:143:20
[INFO] [stderr]     |
[INFO] [stderr] 143 |     wallet: Arc<Mutex<WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stderr]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: use `dyn`
[INFO] [stderr]     |
[INFO] [stderr] 143 -     wallet: Arc<Mutex<WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stderr] 143 +     wallet: Arc<Mutex<dyn WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> wallet/src/command.rs:173:20
[INFO] [stderr]     |
[INFO] [stderr] 173 |     wallet: Arc<Mutex<WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stderr]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: use `dyn`
[INFO] [stderr]     |
[INFO] [stderr] 173 -     wallet: Arc<Mutex<WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stderr] 173 +     wallet: Arc<Mutex<dyn WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> wallet/src/command.rs:219:20
[INFO] [stderr]     |
[INFO] [stderr] 219 |     wallet: Arc<Mutex<WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stderr]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: use `dyn`
[INFO] [stderr]     |
[INFO] [stderr] 219 -     wallet: Arc<Mutex<WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stderr] 219 +     wallet: Arc<Mutex<dyn WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> wallet/src/command.rs:297:20
[INFO] [stderr]     |
[INFO] [stderr] 297 |     wallet: Arc<Mutex<WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stderr]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: use `dyn`
[INFO] [stderr]     |
[INFO] [stderr] 297 -     wallet: Arc<Mutex<WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stderr] 297 +     wallet: Arc<Mutex<dyn WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> wallet/src/command.rs:327:20
[INFO] [stderr]     |
[INFO] [stderr] 327 |     wallet: Arc<Mutex<WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stderr]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: use `dyn`
[INFO] [stderr]     |
[INFO] [stderr] 327 -     wallet: Arc<Mutex<WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stderr] 327 +     wallet: Arc<Mutex<dyn WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> wallet/src/command.rs:360:20
[INFO] [stderr]     |
[INFO] [stderr] 360 |     wallet: Arc<Mutex<WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stderr]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: use `dyn`
[INFO] [stderr]     |
[INFO] [stderr] 360 -     wallet: Arc<Mutex<WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stderr] 360 +     wallet: Arc<Mutex<dyn WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> wallet/src/command.rs:375:20
[INFO] [stderr]     |
[INFO] [stderr] 375 |     wallet: Arc<Mutex<WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stderr]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: use `dyn`
[INFO] [stderr]     |
[INFO] [stderr] 375 -     wallet: Arc<Mutex<WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stderr] 375 +     wallet: Arc<Mutex<dyn WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> wallet/src/command.rs:394:20
[INFO] [stderr]     |
[INFO] [stderr] 394 |     wallet: Arc<Mutex<WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stderr]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: use `dyn`
[INFO] [stderr]     |
[INFO] [stderr] 394 -     wallet: Arc<Mutex<WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stderr] 394 +     wallet: Arc<Mutex<dyn WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> wallet/src/command.rs:430:20
[INFO] [stderr]     |
[INFO] [stderr] 430 |     wallet: Arc<Mutex<WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stderr]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: use `dyn`
[INFO] [stderr]     |
[INFO] [stderr] 430 -     wallet: Arc<Mutex<WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stderr] 430 +     wallet: Arc<Mutex<dyn WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> wallet/src/command.rs:476:20
[INFO] [stderr]     |
[INFO] [stderr] 476 |     wallet: Arc<Mutex<WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stderr]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: use `dyn`
[INFO] [stderr]     |
[INFO] [stderr] 476 -     wallet: Arc<Mutex<WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stderr] 476 +     wallet: Arc<Mutex<dyn WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> wallet/src/command.rs:496:20
[INFO] [stderr]     |
[INFO] [stderr] 496 |     wallet: Arc<Mutex<WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stderr]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: use `dyn`
[INFO] [stderr]     |
[INFO] [stderr] 496 -     wallet: Arc<Mutex<WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stderr] 496 +     wallet: Arc<Mutex<dyn WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> wallet/src/command.rs:516:20
[INFO] [stderr]     |
[INFO] [stderr] 516 |     wallet: Arc<Mutex<WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stderr]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: use `dyn`
[INFO] [stderr]     |
[INFO] [stderr] 516 -     wallet: Arc<Mutex<WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stderr] 516 +     wallet: Arc<Mutex<dyn WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>,
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `failure::core::str::<impl str>::trim_right_matches`: superseded by `trim_end_matches`
[INFO] [stderr]    --> wallet/src/controller.rs:302:6
[INFO] [stderr]     |
[INFO] [stderr] 302 |                 .trim_right_matches("/")
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `failure::core::str::<impl str>::trim_right_matches`: superseded by `trim_end_matches`
[INFO] [stderr]    --> wallet/src/controller.rs:474:5
[INFO] [stderr]     |
[INFO] [stderr] 474 |             .trim_right_matches("/")
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches`
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `failure::core::str::<impl str>::trim_right_matches`: superseded by `trim_end_matches`
[INFO] [stderr]    --> wallet/src/controller.rs:601:5
[INFO] [stderr]     |
[INFO] [stderr] 601 |             .trim_right_matches("/")
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches`
[INFO] [stderr] 
[INFO] [stderr] warning: field `blinding` is never read
[INFO] [stderr]   --> wallet/src/libwallet/internal/restore.rs:45:2
[INFO] [stderr]    |
[INFO] [stderr] 27 | struct OutputResult {
[INFO] [stderr]    |        ------------ field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 45 |     pub blinding: SecretKey,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr]    = note: `OutputResult` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: `grin_wallet` (lib) generated 22 warnings
[INFO] [stderr] warning: unused import: `serde`
[INFO] [stderr]   --> servers/src/lib.rs:24:5
[INFO] [stderr]    |
[INFO] [stderr] 24 | use serde;
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `serde_json`
[INFO] [stderr]   --> servers/src/lib.rs:27:5
[INFO] [stderr]    |
[INFO] [stderr] 27 | use serde_json;
[INFO] [stderr]    |     ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stderr]    --> servers/src/mining/stratumserver.rs:296:11
[INFO] [stderr]     |
[INFO] [stderr] 296 | ...                   e.description(),
[INFO] [stderr]     |                         ^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `grin_servers` (lib) generated 3 warnings
[INFO] [stderr] warning: unused import: `dirs`
[INFO] [stderr]   --> config/src/lib.rs:23:5
[INFO] [stderr]    |
[INFO] [stderr] 23 | use dirs;
[INFO] [stderr]    |     ^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `toml`
[INFO] [stderr]   --> config/src/lib.rs:27:5
[INFO] [stderr]    |
[INFO] [stderr] 27 | use toml;
[INFO] [stderr]    |     ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `grin_config` (lib) generated 2 warnings
[INFO] [stderr] warning: unused import: `ctrlc`
[INFO] [stderr]   --> src/bin/grimble.rs:19:5
[INFO] [stderr]    |
[INFO] [stderr] 19 | use ctrlc;
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `serde_json`
[INFO] [stderr]   --> src/bin/grimble.rs:21:5
[INFO] [stderr]    |
[INFO] [stderr] 21 | use serde_json;
[INFO] [stderr]    |     ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `grin_wallet`
[INFO] [stderr]   --> src/bin/grimble.rs:34:5
[INFO] [stderr]    |
[INFO] [stderr] 34 | use grin_wallet;
[INFO] [stderr]    |     ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `term`
[INFO] [stderr]   --> src/bin/grimble.rs:36:5
[INFO] [stderr]    |
[INFO] [stderr] 36 | use term;
[INFO] [stderr]    |     ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `chrono`
[INFO] [stderr]   --> src/bin/cmd/wallet_tests.rs:17:6
[INFO] [stderr]    |
[INFO] [stderr] 17 |     use chrono;
[INFO] [stderr]    |         ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `serde`
[INFO] [stderr]   --> src/bin/cmd/wallet_tests.rs:21:6
[INFO] [stderr]    |
[INFO] [stderr] 21 |     use serde;
[INFO] [stderr]    |         ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary trailing semicolon
[INFO] [stderr]    --> src/bin/tui/peers.rs:104:4
[INFO] [stderr]     |
[INFO] [stderr] 104 |         };
[INFO] [stderr]     |          ^ help: remove this semicolon
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/bin/cmd/wallet_args.rs:146:23
[INFO] [stderr]     |
[INFO] [stderr] 146 | ) -> Result<Arc<Mutex<WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>, ParseError> {
[INFO] [stderr]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: use `dyn`
[INFO] [stderr]     |
[INFO] [stderr] 146 - ) -> Result<Arc<Mutex<WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>, ParseError> {
[INFO] [stderr] 146 + ) -> Result<Arc<Mutex<dyn WalletInst<impl NodeClient + 'static, keychain::ExtKeychain>>>, ParseError> {
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/bin/cmd/wallet_tests.rs:129:24
[INFO] [stderr]     |
[INFO] [stderr] 129 |     ) -> Result<Arc<Mutex<WalletInst<LocalWalletClient, ExtKeychain>>>, grin_wallet::Error> {
[INFO] [stderr]     |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: use `dyn`
[INFO] [stderr]     |
[INFO] [stderr] 129 -     ) -> Result<Arc<Mutex<WalletInst<LocalWalletClient, ExtKeychain>>>, grin_wallet::Error> {
[INFO] [stderr] 129 +     ) -> Result<Arc<Mutex<dyn WalletInst<LocalWalletClient, ExtKeychain>>>, grin_wallet::Error> {
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: `grin` (bin "grimble" test) generated 9 warnings
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.25s
[INFO] [stderr]      Running unittests src/bin/grimble.rs (/opt/rustwide/target/debug/deps/grimble-07aab3d7ce87b5a5)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] 2022-07-16T23:21:24.209343525+00:00 INFO grin_util::logger - log4rs is initialized, stdout level: Debug, min. level: Debug
[INFO] [stdout] test cmd::wallet_tests::wallet_tests::wallet_command_line ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- cmd::wallet_tests::wallet_tests::wallet_command_line stdout ----
[INFO] [stdout] thread 'cmd::wallet_tests::wallet_tests::wallet_command_line' panicked at 'Unable to create directory 'db_root' to store chain_data: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }', store/src/lmdb.rs:70:10
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x55e7713e3c6d - std::backtrace_rs::backtrace::libunwind::trace::h33935f50be729600
[INFO] [stdout]                                at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5
[INFO] [stdout]    1:     0x55e7713e3c6d - std::backtrace_rs::backtrace::trace_unsynchronized::h85350690f550732a
[INFO] [stdout]                                at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x55e7713e3c6d - std::sys_common::backtrace::_print_fmt::hef50877fc14d4570
[INFO] [stdout]                                at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/std/src/sys_common/backtrace.rs:66:5
[INFO] [stdout]    3:     0x55e7713e3c6d - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h864135c3b342f033
[INFO] [stdout]                                at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/std/src/sys_common/backtrace.rs:45:22
[INFO] [stdout]    4:     0x55e77140acbc - core::fmt::write::hcb503b08861a7383
[INFO] [stdout]                                at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/core/src/fmt/mod.rs:1197:17
[INFO] [stdout]    5:     0x55e7713dceb1 - std::io::Write::write_fmt::h7b5d0250fe53d0e9
[INFO] [stdout]                                at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/std/src/io/mod.rs:1672:15
[INFO] [stdout]    6:     0x55e7713e5715 - std::sys_common::backtrace::_print::h8c59e37a3ed34e23
[INFO] [stdout]                                at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/std/src/sys_common/backtrace.rs:48:5
[INFO] [stdout]    7:     0x55e7713e5715 - std::sys_common::backtrace::print::h90aab6df99a2db90
[INFO] [stdout]                                at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/std/src/sys_common/backtrace.rs:35:9
[INFO] [stdout]    8:     0x55e7713e5715 - std::panicking::default_hook::{{closure}}::h09cc51c67f7f7d05
[INFO] [stdout]                                at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/std/src/panicking.rs:295:22
[INFO] [stdout]    9:     0x55e7713e53b9 - std::panicking::default_hook::he0bf4d235e26ea03
[INFO] [stdout]                                at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/std/src/panicking.rs:311:9
[INFO] [stdout]   10:     0x55e7713e5ca6 - std::panicking::rust_panic_with_hook::ha977288eb720b249
[INFO] [stdout]                                at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/std/src/panicking.rs:698:17
[INFO] [stdout]   11:     0x55e7713e5b97 - std::panicking::begin_panic_handler::{{closure}}::h963e19a72c1e136f
[INFO] [stdout]                                at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/std/src/panicking.rs:588:13
[INFO] [stdout]   12:     0x55e7713e4124 - std::sys_common::backtrace::__rust_end_short_backtrace::h846b3986734acf64
[INFO] [stdout]                                at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/std/src/sys_common/backtrace.rs:138:18
[INFO] [stdout]   13:     0x55e7713e58c9 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/std/src/panicking.rs:584:5
[INFO] [stdout]   14:     0x55e7705bfe43 - core::panicking::panic_fmt::h5c0d1820488dd088
[INFO] [stdout]                                at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/core/src/panicking.rs:142:14
[INFO] [stdout]   15:     0x55e7705bff33 - core::result::unwrap_failed::hb2b7f3deb457dd3f
[INFO] [stdout]                                at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/core/src/result.rs:1805:5
[INFO] [stdout]   16:     0x55e770f69aeb - core::result::Result<T,E>::expect::h616115ceebc02d7a
[INFO] [stdout]                                at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/core/src/result.rs:1055:23
[INFO] [stdout]   17:     0x55e770f6395f - grin_store::lmdb::new_named_env::hd4d6144e4c0048a1
[INFO] [stdout]                                at /opt/rustwide/workdir/store/src/lmdb.rs:69:2
[INFO] [stdout]   18:     0x55e770f637b9 - grin_store::lmdb::new_env::hf222d4e09f555adf
[INFO] [stdout]                                at /opt/rustwide/workdir/store/src/lmdb.rs:62:2
[INFO] [stdout]   19:     0x55e770643dc7 - grin_wallet::test_framework::testclient::WalletProxy<C,K>::new::h4a8893767435020d
[INFO] [stdout]                                at /opt/rustwide/workdir/wallet/src/test_framework/testclient.rs:104:25
[INFO] [stdout]   20:     0x55e770606817 - grimble::cmd::wallet_tests::wallet_tests::command_line_test_impl::h01c0d11c35a2796d
[INFO] [stdout]                                at /opt/rustwide/workdir/src/bin/cmd/wallet_tests.rs:159:4
[INFO] [stdout]   21:     0x55e77060e0f8 - grimble::cmd::wallet_tests::wallet_tests::wallet_command_line::hb47648a2d8a6b6f9
[INFO] [stdout]                                at /opt/rustwide/workdir/src/bin/cmd/wallet_tests.rs:510:19
[INFO] [stdout]   22:     0x55e77060e0aa - grimble::cmd::wallet_tests::wallet_tests::wallet_command_line::{{closure}}::h3083da63264d3e26
[INFO] [stdout]                                at /opt/rustwide/workdir/src/bin/cmd/wallet_tests.rs:508:2
[INFO] [stdout]   23:     0x55e77066448e - core::ops::function::FnOnce::call_once::h19c4f9d7ac7fec90
[INFO] [stdout]                                at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/core/src/ops/function.rs:248:5
[INFO] [stdout]   24:     0x55e7706f3603 - core::ops::function::FnOnce::call_once::h611eb0785c1f3496
[INFO] [stdout]                                at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/core/src/ops/function.rs:248:5
[INFO] [stdout]   25:     0x55e7706f3603 - test::__rust_begin_short_backtrace::h637b08189daa98ed
[INFO] [stdout]                                at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/test/src/lib.rs:572:5
[INFO] [stdout]   26:     0x55e7706f23aa - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hc31918fa5ae90071
[INFO] [stdout]                                at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/alloc/src/boxed.rs:1951:9
[INFO] [stdout]   27:     0x55e7706f23aa - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h09589bb8e6e535cd
[INFO] [stdout]                                at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/core/src/panic/unwind_safe.rs:271:9
[INFO] [stdout]   28:     0x55e7706f23aa - std::panicking::try::do_call::h67b8f9e43aba25b9
[INFO] [stdout]                                at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/std/src/panicking.rs:492:40
[INFO] [stdout]   29:     0x55e7706f23aa - std::panicking::try::h5f0df9eb68e9f6a1
[INFO] [stdout]                                at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/std/src/panicking.rs:456:19
[INFO] [stdout]   30:     0x55e7706f23aa - std::panic::catch_unwind::he5e2b2070df63e0e
[INFO] [stdout]                                at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/std/src/panic.rs:137:14
[INFO] [stdout]   31:     0x55e7706f23aa - test::run_test_in_process::h861bbcd8e3a7cee3
[INFO] [stdout]                                at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/test/src/lib.rs:595:18
[INFO] [stdout]   32:     0x55e7706f23aa - test::run_test::run_test_inner::{{closure}}::h9b08daf9195a6ac1
[INFO] [stdout]                                at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/test/src/lib.rs:489:39
[INFO] [stdout]   33:     0x55e7706be88d - test::run_test::run_test_inner::{{closure}}::h7ddf14831cdef435
[INFO] [stdout]                                at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/test/src/lib.rs:516:37
[INFO] [stdout]   34:     0x55e7706be88d - std::sys_common::backtrace::__rust_begin_short_backtrace::h532132d8450e01c2
[INFO] [stdout]                                at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/std/src/sys_common/backtrace.rs:122:18
[INFO] [stdout]   35:     0x55e7706c41b8 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc05da9d50444a7b4
[INFO] [stdout]                                at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/std/src/thread/mod.rs:505:17
[INFO] [stdout]   36:     0x55e7706c41b8 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h3f32116e496a3685
[INFO] [stdout]                                at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/core/src/panic/unwind_safe.rs:271:9
[INFO] [stdout]   37:     0x55e7706c41b8 - std::panicking::try::do_call::h3d9bbb2b7a73d92d
[INFO] [stdout]                                at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/std/src/panicking.rs:492:40
[INFO] [stdout]   38:     0x55e7706c41b8 - std::panicking::try::h944abdd2b51c102e
[INFO] [stdout]                                at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/std/src/panicking.rs:456:19
[INFO] [stdout]   39:     0x55e7706c41b8 - std::panic::catch_unwind::hd948397232a76d26
[INFO] [stdout]                                at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/std/src/panic.rs:137:14
[INFO] [stdout]   40:     0x55e7706c41b8 - std::thread::Builder::spawn_unchecked_::{{closure}}::hbdfa6198f1747f05
[INFO] [stdout]                                at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/std/src/thread/mod.rs:504:30
[INFO] [stdout]   41:     0x55e7706c41b8 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h48da003824bd2faa
[INFO] [stdout]                                at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/core/src/ops/function.rs:248:5
[INFO] [stdout]   42:     0x55e7713ebbf3 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::had8815f7e82c673d
[INFO] [stdout]                                at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/alloc/src/boxed.rs:1951:9
[INFO] [stdout]   43:     0x55e7713ebbf3 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h1786a1ea683e54c7
[INFO] [stdout]                                at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/alloc/src/boxed.rs:1951:9
[INFO] [stdout]   44:     0x55e7713ebbf3 - std::sys::unix::thread::Thread::new::thread_start::haa5b764ba5f967a4
[INFO] [stdout]                                at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   45:     0x7f68a2e8d609 - start_thread
[INFO] [stdout]   46:     0x7f68a2c5d133 - clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     cmd::wallet_tests::wallet_tests::wallet_command_line
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass '--bin grimble'
[INFO] running `Command { std: "docker" "inspect" "eaf0e2792b10dbea9b2bca814f5ffeb6589d963f2755c578fa3d57e01a723874", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eaf0e2792b10dbea9b2bca814f5ffeb6589d963f2755c578fa3d57e01a723874", kill_on_drop: false }`
[INFO] [stdout] eaf0e2792b10dbea9b2bca814f5ffeb6589d963f2755c578fa3d57e01a723874
