[INFO] cloning repository https://github.com/forestblock/forest [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/forestblock/forest" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fforestblock%2Fforest", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fforestblock%2Fforest'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bb89b76871561ef6fd3cdcb1d2c0de3904a99f4f [INFO] testing forestblock/forest against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fforestblock%2Fforest" "/workspace/builds/worker-98/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-98/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/forestblock/forest on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-98/source/.cargo/config [INFO] started tweaking git repo https://github.com/forestblock/forest [INFO] finished tweaking git repo https://github.com/forestblock/forest [INFO] tweaked toml for git repo https://github.com/forestblock/forest written to /workspace/builds/worker-98/source/Cargo.toml [INFO] crate git repo https://github.com/forestblock/forest already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-98/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-98/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cb09af2a64115e106a670a977857ccf000d0009e031f5aba296d7a48d2e9fc31 [INFO] running `Command { std: "docker" "start" "-a" "cb09af2a64115e106a670a977857ccf000d0009e031f5aba296d7a48d2e9fc31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cb09af2a64115e106a670a977857ccf000d0009e031f5aba296d7a48d2e9fc31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb09af2a64115e106a670a977857ccf000d0009e031f5aba296d7a48d2e9fc31", kill_on_drop: false }` [INFO] [stdout] cb09af2a64115e106a670a977857ccf000d0009e031f5aba296d7a48d2e9fc31 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-98/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-98/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc7a82379427c38c1cd8776da2640a70d4b7aed1ccd9e2a54d3ecea96ae8259c [INFO] running `Command { std: "docker" "start" "-a" "dc7a82379427c38c1cd8776da2640a70d4b7aed1ccd9e2a54d3ecea96ae8259c", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.51 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling syn v0.15.31 [INFO] [stderr] Compiling cfg-if v0.1.7 [INFO] [stderr] Compiling cc v1.0.35 [INFO] [stderr] Compiling serde v1.0.90 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling smallvec v0.6.9 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling futures v0.1.26 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling regex v1.1.5 [INFO] [stderr] Compiling safemem v0.3.0 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling yaml-rust v0.3.5 [INFO] [stderr] Compiling termcolor v1.0.4 [INFO] [stderr] Compiling bindgen v0.37.4 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling byte-tools v0.2.0 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling arc-swap v0.3.11 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling arrayref v0.3.5 [INFO] [stderr] Compiling constant_time_eq v0.1.3 [INFO] [stderr] Compiling num-bigint v0.2.2 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling odds v0.2.26 [INFO] [stderr] Compiling rustc-demangle v0.1.14 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Compiling num-complex v0.2.1 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling dtoa v0.4.3 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling untrusted v0.6.2 [INFO] [stderr] Compiling log-mdc v0.1.0 [INFO] [stderr] Compiling antidote v1.0.0 [INFO] [stderr] Compiling podio v0.1.6 [INFO] [stderr] Compiling same-file v1.0.4 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling zeroize v0.5.2 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling supercow v0.1.0 [INFO] [stderr] Compiling remove_dir_all v0.5.1 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling httparse v1.3.3 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling indexmap v1.0.2 [INFO] [stderr] Compiling string v0.1.3 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling scoped-tls v0.1.2 [INFO] [stderr] Compiling either v1.5.2 [INFO] [stderr] Compiling nix v0.11.0 [INFO] [stderr] Compiling array-macro v1.0.3 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling xi-unicode v0.1.0 [INFO] [stderr] Compiling maplit v1.0.1 [INFO] [stderr] Compiling unicode-segmentation v1.2.1 [INFO] [stderr] Compiling hashbrown v0.3.0 [INFO] [stderr] Compiling humansize v1.1.0 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling tokio-trace-core v0.1.0 [INFO] [stderr] Compiling proc-macro2 v0.3.5 [INFO] [stderr] Compiling owning_ref v0.4.0 [INFO] [stderr] Compiling crossbeam-utils v0.6.5 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling unicode-normalization v0.1.8 [INFO] [stderr] Compiling arrayvec v0.3.25 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling backtrace v0.3.15 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling itertools v0.7.11 [INFO] [stderr] Compiling enum-map-internals v0.1.2 [INFO] [stderr] Compiling crossbeam-channel v0.3.8 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling humantime v1.2.0 [INFO] [stderr] Compiling clang-sys v0.23.0 [INFO] [stderr] Compiling block-buffer v0.3.3 [INFO] [stderr] Compiling yaml-rust v0.4.3 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling regex-syntax v0.6.6 [INFO] [stderr] Compiling walkdir v2.2.7 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling quote v0.5.2 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling miniz-sys v0.1.11 [INFO] [stderr] Compiling ring v0.13.5 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling libgit2-sys v0.7.11 [INFO] [stderr] Compiling ncurses v5.99.0 [INFO] [stderr] Compiling tokio-executor v0.1.7 [INFO] [stderr] Compiling tokio-sync v0.1.4 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling tokio-timer v0.2.10 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling aho-corasick v0.7.3 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling num_cpus v1.10.0 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling which v1.0.5 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling crossbeam-epoch v0.7.1 [INFO] [stderr] Compiling thread-id v3.3.0 [INFO] [stderr] Compiling blake2-rfc v0.2.18 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling term_size v0.3.1 [INFO] [stderr] Compiling signal-hook v0.1.8 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling grin_secp256k1zkp v0.7.5 [INFO] [stderr] Compiling liblmdb-sys v0.2.2 [INFO] [stderr] Compiling generic-array v0.9.0 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling flate2 v1.0.7 [INFO] [stderr] Compiling nom v3.2.1 [INFO] [stderr] Compiling digest v0.7.6 [INFO] [stderr] Compiling crypto-mac v0.6.2 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling sha2 v0.7.1 [INFO] [stderr] Compiling ripemd160 v0.7.0 [INFO] [stderr] Compiling msdos_time v0.1.6 [INFO] [stderr] Compiling hmac v0.6.3 [INFO] [stderr] Compiling zip v0.4.2 [INFO] [stderr] Compiling http v0.1.17 [INFO] [stderr] Compiling pbkdf2 v0.2.3 [INFO] [stderr] Compiling cexpr v0.2.3 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling parking_lot v0.6.4 [INFO] [stderr] Compiling tempfile v3.0.7 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling num v0.2.0 [INFO] [stderr] Compiling ctrlc v3.1.1 [INFO] [stderr] Compiling enum-map-derive v0.4.1 [INFO] [stderr] Compiling enum-map v0.5.0 [INFO] [stderr] Compiling webpki v0.18.1 [INFO] [stderr] Compiling sct v0.4.0 [INFO] [stderr] Compiling ct-logs v0.4.0 [INFO] [stderr] Compiling lmdb-zero v0.4.4 [INFO] [stderr] Compiling webpki-roots v0.15.0 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Compiling darling_core v0.9.0 [INFO] [stderr] Compiling serde_derive v1.0.90 [INFO] [stderr] Compiling zeroize_derive v0.8.0 [INFO] [stderr] Compiling darling_macro v0.9.0 [INFO] [stderr] Compiling zeroize v0.8.0 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling darling v0.9.0 [INFO] [stderr] Compiling enumset_derive v0.4.0 [INFO] [stderr] Compiling enumset v0.4.0 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling serde_json v1.0.39 [INFO] [stderr] Compiling serde_yaml v0.8.8 [INFO] [stderr] Compiling serde-value v0.5.3 [INFO] [stderr] Compiling uuid v0.6.5 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling toml v0.5.0 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling tokio-threadpool v0.1.13 [INFO] [stderr] Compiling want v0.0.6 [INFO] [stderr] Compiling rustls v0.13.1 [INFO] [stderr] Compiling pancurses v0.16.1 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling h2 v0.1.18 [INFO] [stderr] Compiling tokio-reactor v0.1.9 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling tokio-fs v0.1.6 [INFO] [stderr] Compiling log4rs v0.8.3 [INFO] [stderr] Compiling cursive v0.12.0 [INFO] [stderr] Compiling tokio-uds v0.2.5 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio-udp v0.1.3 [INFO] [stderr] Compiling tokio v0.1.18 [INFO] [stderr] Compiling tokio-core v0.1.17 [INFO] [stderr] Compiling tokio-rustls v0.7.2 [INFO] [stderr] Compiling grin_util v1.1.0 (/opt/rustwide/workdir/util) [INFO] [stderr] Compiling grin_keychain v1.1.0 (/opt/rustwide/workdir/keychain) [INFO] [stderr] Compiling hyper v0.12.27 [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 = { include_str!("wordlists/en.txt").split_whitespace().map(|s| s.into()).collect() }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 28 - pub static ref WORDS: Vec = { include_str!("wordlists/en.txt").split_whitespace().map(|s| s.into()).collect() }; [INFO] [stdout] 28 + pub static ref WORDS: Vec = include_str!("wordlists/en.txt").split_whitespace().map(|s| s.into()).collect(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> keychain/src/mnemonic.rs:75:30 [INFO] [stdout] | [INFO] [stdout] 75 | let mut indexes: Vec = r#try!(words.iter().map(|x| search(x)).collect()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> keychain/src/mnemonic.rs:158:2 [INFO] [stdout] | [INFO] [stdout] 158 | r#try!(to_entropy(mnemonic)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> keychain/src/types.rs:219:3 [INFO] [stdout] | [INFO] [stdout] 219 | 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:220:3 [INFO] [stdout] | [INFO] [stdout] 220 | 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 hyper-rustls v0.14.0 [INFO] [stderr] Compiling croaring-sys v0.3.9 [INFO] [stderr] Compiling git2 v0.7.5 [INFO] [stderr] Compiling built v0.3.0 [INFO] [stderr] Compiling forest v1.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling croaring v0.3.9 [INFO] [stderr] Compiling grin_core v1.1.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:287:35 [INFO] [stdout] | [INFO] [stdout] 287 | let (height, timestamp) = ser_multiread!(reader, 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:294:50 [INFO] [stdout] | [INFO] [stdout] 294 | 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:332:9 [INFO] [stdout] | [INFO] [stdout] 332 | / ser_multiwrite!( [INFO] [stdout] 333 | | writer, [INFO] [stdout] 334 | | [write_u64, self.height], [INFO] [stdout] 335 | | [write_i64, self.timestamp.timestamp()], [INFO] [stdout] ... | [INFO] [stdout] 343 | | [write_u64, self.kernel_mmr_size] [INFO] [stdout] 344 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ser_multiwrite` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> core/src/macros.rs:23:48 [INFO] [stdout] | [INFO] [stdout] 23 | $thing.iter().map($mapfn).collect::>(); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: core/src/core/block.rs:733:33 [INFO] [stdout] | [INFO] [stdout] 733 | secp.commit_sum(map_vec!(cb_outs, |x| x.commitment()), vec![over_commit])?; [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `map_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> core/src/core/committed.rs:128:14 [INFO] [stdout] | [INFO] [stdout] 128 | ) -> 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] 128 - ) -> Result<((Commitment, Commitment)), Error> { [INFO] [stdout] 128 + ) -> 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: 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:196:9 [INFO] [stdout] | [INFO] [stdout] 196 | 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:419:9 [INFO] [stdout] | [INFO] [stdout] 419 | / ser_multiwrite!( [INFO] [stdout] 420 | | writer, [INFO] [stdout] 421 | | [write_u64, self.inputs.len() as u64], [INFO] [stdout] 422 | | [write_u64, self.outputs.len() as u64], [INFO] [stdout] 423 | | [write_u64, self.kernels.len() as u64] [INFO] [stdout] 424 | | ); [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:439:13 [INFO] [stdout] | [INFO] [stdout] 439 | 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: unused import: `new_cuckaroo_ctx` [INFO] [stdout] --> core/src/global.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::pow::{self, new_cuckaroo_ctx, new_cuckatoo_ctx, EdgeType, PoWContext}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> core/src/macros.rs:23:48 [INFO] [stdout] | [INFO] [stdout] 23 | $thing.iter().map($mapfn).collect::>(); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: core/src/pow/cuckatoo.rs:267:24 [INFO] [stdout] | [INFO] [stdout] 267 | s.nonces = map_vec!(s.nonces, |n| val[*n as usize]); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `map_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> core/src/macros.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | $( r#try!($wrtr.$write_call($val)) );* [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: core/src/pow/types.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | / ser_multiwrite!( [INFO] [stdout] 272 | | writer, [INFO] [stdout] 273 | | [write_u64, self.total_difficulty.to_num()], [INFO] [stdout] 274 | | [write_u32, self.secondary_scaling] [INFO] [stdout] 275 | | ); [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:124:23 [INFO] [stdout] | [INFO] [stdout] 124 | fn read(reader: &mut Reader) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 124 - fn read(reader: &mut Reader) -> Result { [INFO] [stdout] 124 + fn read(reader: &mut dyn Reader) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> core/src/core/transaction.rs:341:23 [INFO] [stdout] | [INFO] [stdout] 341 | fn read(reader: &mut Reader) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 341 - fn read(reader: &mut Reader) -> Result { [INFO] [stdout] 341 + fn read(reader: &mut dyn Reader) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> core/src/core/pmmr/backend.rs:56:33 [INFO] [stdout] | [INFO] [stdout] 56 | fn leaf_pos_iter(&self) -> Box + '_>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 56 - fn leaf_pos_iter(&self) -> Box + '_>; [INFO] [stdout] 56 + fn leaf_pos_iter(&self) -> Box + '_>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> core/src/core/pmmr/rewindable_pmmr.rs:53:31 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn backend(&'a self) -> &Backend { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 53 - pub fn backend(&'a self) -> &Backend { [INFO] [stdout] 53 + pub fn backend(&'a self) -> &dyn Backend { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling grin_store v1.1.0 (/opt/rustwide/workdir/store) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> store/src/pmmr.rs:113:41 [INFO] [stdout] | [INFO] [stdout] 113 | 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] 113 - fn get_hash(&self, pos: u64) -> Option<(Hash)> { [INFO] [stdout] 113 + fn get_hash(&self, pos: u64) -> Option { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> store/src/pmmr.rs:122:41 [INFO] [stdout] | [INFO] [stdout] 122 | fn get_data(&self, pos: u64) -> Option<(T::E)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 122 - fn get_data(&self, pos: u64) -> Option<(T::E)> { [INFO] [stdout] 122 + fn get_data(&self, pos: u64) -> Option { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> store/src/pmmr.rs:135:33 [INFO] [stdout] | [INFO] [stdout] 135 | fn leaf_pos_iter(&self) -> Box + '_> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 135 - fn leaf_pos_iter(&self) -> Box + '_> { [INFO] [stdout] 135 + fn leaf_pos_iter(&self) -> Box + '_> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> store/src/pmmr.rs:469:44 [INFO] [stdout] | [INFO] [stdout] 469 | |possible_dir_entry| -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 469 - |possible_dir_entry| -> Result> { [INFO] [stdout] 469 + |possible_dir_entry| -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling grin_chain v1.1.0 (/opt/rustwide/workdir/chain) [INFO] [stderr] Compiling grin_pool v1.1.0 (/opt/rustwide/workdir/pool) [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> chain/src/txhashset/txhashset.rs:920:53 [INFO] [stdout] | [INFO] [stdout] 920 | 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] 920 - fn apply_output(&mut self, out: &Output) -> Result<(u64), Error> { [INFO] [stdout] 920 + fn apply_output(&mut self, out: &Output) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> chain/src/txhashset/txhashset.rs:1211:47 [INFO] [stdout] | [INFO] [stdout] 1211 | pub fn validate_kernel_sums(&self) -> Result<((Commitment, Commitment)), Error> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1211 - pub fn validate_kernel_sums(&self) -> Result<((Commitment, Commitment)), Error> { [INFO] [stdout] 1211 + 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:1234:14 [INFO] [stdout] | [INFO] [stdout] 1234 | ) -> Result<((Commitment, Commitment)), Error> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1234 - ) -> Result<((Commitment, Commitment)), Error> { [INFO] [stdout] 1234 + ) -> 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:648:47 [INFO] [stdout] | [INFO] [stdout] 648 | pub fn kernel_data_write(&self, reader: &mut Read) -> Result<(), Error> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 648 - pub fn kernel_data_write(&self, reader: &mut Read) -> Result<(), Error> { [INFO] [stdout] 648 + pub fn kernel_data_write(&self, reader: &mut dyn Read) -> Result<(), Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> chain/src/chain.rs:1393:53 [INFO] [stdout] | [INFO] [stdout] 1393 | let (utxo_sum, kernel_sum) = (sums, genesis as &Committed).verify_kernel_sums( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 1393 - let (utxo_sum, kernel_sum) = (sums, genesis as &Committed).verify_kernel_sums( [INFO] [stdout] 1393 + 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:316:6 [INFO] [stdout] | [INFO] [stdout] 316 | &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] 316 | let _ = &self.orphans.add(orphan); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling grin_p2p v1.1.0 (/opt/rustwide/workdir/p2p) [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> p2p/src/msg.rs:254:3 [INFO] [stdout] | [INFO] [stdout] 254 | / ser_multiwrite!( [INFO] [stdout] 255 | | writer, [INFO] [stdout] 256 | | [write_u8, self.magic[0]], [INFO] [stdout] 257 | | [write_u8, self.magic[1]], [INFO] [stdout] 258 | | [write_u8, self.msg_type as u8], [INFO] [stdout] 259 | | [write_u64, self.msg_len] [INFO] [stdout] 260 | | ); [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:273:22 [INFO] [stdout] | [INFO] [stdout] 273 | let (t, msg_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:371:3 [INFO] [stdout] | [INFO] [stdout] 371 | / ser_multiwrite!( [INFO] [stdout] 372 | | writer, [INFO] [stdout] 373 | | [write_u32, self.capabilities.bits()], [INFO] [stdout] 374 | | [write_u64, self.nonce] [INFO] [stdout] 375 | | ); [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:388:24 [INFO] [stdout] | [INFO] [stdout] 388 | let (capab, nonce) = ser_multiread!(reader, 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:521:3 [INFO] [stdout] | [INFO] [stdout] 521 | 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:704:3 [INFO] [stdout] | [INFO] [stdout] 704 | 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:712:25 [INFO] [stdout] | [INFO] [stdout] 712 | 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: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> p2p/src/store.rs:64:3 [INFO] [stdout] | [INFO] [stdout] 64 | / ser_multiwrite!( [INFO] [stdout] 65 | | writer, [INFO] [stdout] 66 | | [write_u32, self.capabilities.bits()], [INFO] [stdout] 67 | | [write_bytes, &self.user_agent], [INFO] [stdout] ... | [INFO] [stdout] 71 | | [write_i64, self.last_connected] [INFO] [stdout] 72 | | ); [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:82:22 [INFO] [stdout] | [INFO] [stdout] 82 | 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: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> p2p/src/types.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | / ser_multiwrite!( [INFO] [stdout] 115 | | writer, [INFO] [stdout] 116 | | [write_u8, 0], [INFO] [stdout] 117 | | [write_fixed_bytes, &sav4.ip().octets().to_vec()], [INFO] [stdout] 118 | | [write_u16, sav4.port()] [INFO] [stdout] 119 | | ); [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> p2p/src/peer.rs:557:43 [INFO] [stdout] | [INFO] [stdout] 557 | fn kernel_data_write(&self, reader: &mut Read) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 557 - fn kernel_data_write(&self, reader: &mut Read) -> Result { [INFO] [stdout] 557 + fn kernel_data_write(&self, reader: &mut dyn Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> p2p/src/peers.rs:669:43 [INFO] [stdout] | [INFO] [stdout] 669 | fn kernel_data_write(&self, reader: &mut Read) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 669 - fn kernel_data_write(&self, reader: &mut Read) -> Result { [INFO] [stdout] 669 + fn kernel_data_write(&self, reader: &mut dyn Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> p2p/src/serv.rs:298:44 [INFO] [stdout] | [INFO] [stdout] 298 | fn kernel_data_write(&self, _reader: &mut Read) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 298 - fn kernel_data_write(&self, _reader: &mut Read) -> Result { [INFO] [stdout] 298 + fn kernel_data_write(&self, _reader: &mut dyn Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> p2p/src/types.rs:532:43 [INFO] [stdout] | [INFO] [stdout] 532 | fn kernel_data_write(&self, reader: &mut Read) -> Result; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 532 - fn kernel_data_write(&self, reader: &mut Read) -> Result; [INFO] [stdout] 532 + fn kernel_data_write(&self, reader: &mut dyn Read) -> Result; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling grin_api v1.1.0 (/opt/rustwide/workdir/api) [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> api/src/web.rs:148:4 [INFO] [stdout] | [INFO] [stdout] 148 | }; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: api/src/handlers/blocks_api.rs:70:18 [INFO] [stdout] | [INFO] [stdout] 70 | let el = right_path_element!(req); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `right_path_element` (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] --> api/src/web.rs:148:4 [INFO] [stdout] | [INFO] [stdout] 148 | }; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: api/src/handlers/blocks_api.rs:133:18 [INFO] [stdout] | [INFO] [stdout] 133 | let el = right_path_element!(req); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `right_path_element` (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] --> api/src/web.rs:148:4 [INFO] [stdout] | [INFO] [stdout] 148 | }; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: api/src/handlers/chain_api.rs:193:15 [INFO] [stdout] | [INFO] [stdout] 193 | match right_path_element!(req) { [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `right_path_element` (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] --> api/src/web.rs:148:4 [INFO] [stdout] | [INFO] [stdout] 148 | }; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: api/src/handlers/peers_api.rs:59:23 [INFO] [stdout] | [INFO] [stdout] 59 | let command = right_path_element!(req); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `right_path_element` (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] --> api/src/web.rs:148:4 [INFO] [stdout] | [INFO] [stdout] 148 | }; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: api/src/handlers/transactions_api.rs:127:15 [INFO] [stdout] | [INFO] [stdout] 127 | match right_path_element!(req) { [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `right_path_element` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling grin_servers v1.1.0 (/opt/rustwide/workdir/servers) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> servers/src/common/adapters.rs:352:43 [INFO] [stdout] | [INFO] [stdout] 352 | fn kernel_data_write(&self, reader: &mut Read) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 352 - fn kernel_data_write(&self, reader: &mut Read) -> Result { [INFO] [stdout] 352 + fn kernel_data_write(&self, reader: &mut dyn Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> servers/src/grin/dandelion_monitor.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | adapter: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 - adapter: Arc, [INFO] [stdout] 39 + adapter: Arc, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> servers/src/grin/dandelion_monitor.rs:105:16 [INFO] [stdout] | [INFO] [stdout] 105 | adapter: &Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 105 - adapter: &Arc, [INFO] [stdout] 105 + adapter: &Arc, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> servers/src/common/hooks.rs:40:24 [INFO] [stdout] | [INFO] [stdout] 40 | let mut list: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 - let mut list: Vec> = Vec::new(); [INFO] [stdout] 40 + let mut list: Vec> = Vec::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> servers/src/common/hooks.rs:53:24 [INFO] [stdout] | [INFO] [stdout] 53 | let mut list: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 53 - let mut list: Vec> = Vec::new(); [INFO] [stdout] 53 + let mut list: Vec> = Vec::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling grin_config v1.1.0 (/opt/rustwide/workdir/config) [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 39s [INFO] running `Command { std: "docker" "inspect" "dc7a82379427c38c1cd8776da2640a70d4b7aed1ccd9e2a54d3ecea96ae8259c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc7a82379427c38c1cd8776da2640a70d4b7aed1ccd9e2a54d3ecea96ae8259c", kill_on_drop: false }` [INFO] [stdout] dc7a82379427c38c1cd8776da2640a70d4b7aed1ccd9e2a54d3ecea96ae8259c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-98/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-98/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d81634f72dfdeeba1440a5502c6a77e78f73f00f654f143d63a8fb0bbfad208b [INFO] running `Command { std: "docker" "start" "-a" "d81634f72dfdeeba1440a5502c6a77e78f73f00f654f143d63a8fb0bbfad208b", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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 = { include_str!("wordlists/en.txt").split_whitespace().map(|s| s.into()).collect() }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 28 - pub static ref WORDS: Vec = { include_str!("wordlists/en.txt").split_whitespace().map(|s| s.into()).collect() }; [INFO] [stdout] 28 + pub static ref WORDS: Vec = include_str!("wordlists/en.txt").split_whitespace().map(|s| s.into()).collect(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> keychain/src/mnemonic.rs:75:30 [INFO] [stdout] | [INFO] [stdout] 75 | let mut indexes: Vec = r#try!(words.iter().map(|x| search(x)).collect()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> keychain/src/mnemonic.rs:158:2 [INFO] [stdout] | [INFO] [stdout] 158 | r#try!(to_entropy(mnemonic)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> keychain/src/types.rs:219:3 [INFO] [stdout] | [INFO] [stdout] 219 | 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:220:3 [INFO] [stdout] | [INFO] [stdout] 220 | 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:287:35 [INFO] [stdout] | [INFO] [stdout] 287 | let (height, timestamp) = ser_multiread!(reader, 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:294:50 [INFO] [stdout] | [INFO] [stdout] 294 | 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:332:9 [INFO] [stdout] | [INFO] [stdout] 332 | / ser_multiwrite!( [INFO] [stdout] 333 | | writer, [INFO] [stdout] 334 | | [write_u64, self.height], [INFO] [stdout] 335 | | [write_i64, self.timestamp.timestamp()], [INFO] [stdout] ... | [INFO] [stdout] 343 | | [write_u64, self.kernel_mmr_size] [INFO] [stdout] 344 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ser_multiwrite` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> core/src/macros.rs:23:48 [INFO] [stdout] | [INFO] [stdout] 23 | $thing.iter().map($mapfn).collect::>(); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: core/src/core/block.rs:733:33 [INFO] [stdout] | [INFO] [stdout] 733 | secp.commit_sum(map_vec!(cb_outs, |x| x.commitment()), vec![over_commit])?; [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `map_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> core/src/core/committed.rs:128:14 [INFO] [stdout] | [INFO] [stdout] 128 | ) -> 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] 128 - ) -> Result<((Commitment, Commitment)), Error> { [INFO] [stdout] 128 + ) -> 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: 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:196:9 [INFO] [stdout] | [INFO] [stdout] 196 | 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:419:9 [INFO] [stdout] | [INFO] [stdout] 419 | / ser_multiwrite!( [INFO] [stdout] 420 | | writer, [INFO] [stdout] 421 | | [write_u64, self.inputs.len() as u64], [INFO] [stdout] 422 | | [write_u64, self.outputs.len() as u64], [INFO] [stdout] 423 | | [write_u64, self.kernels.len() as u64] [INFO] [stdout] 424 | | ); [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:439:13 [INFO] [stdout] | [INFO] [stdout] 439 | 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: unused import: `new_cuckaroo_ctx` [INFO] [stdout] --> core/src/global.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::pow::{self, new_cuckaroo_ctx, new_cuckatoo_ctx, EdgeType, PoWContext}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> core/src/macros.rs:23:48 [INFO] [stdout] | [INFO] [stdout] 23 | $thing.iter().map($mapfn).collect::>(); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: core/src/pow/cuckatoo.rs:267:24 [INFO] [stdout] | [INFO] [stdout] 267 | s.nonces = map_vec!(s.nonces, |n| val[*n as usize]); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `map_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> core/src/macros.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | $( r#try!($wrtr.$write_call($val)) );* [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: core/src/pow/types.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | / ser_multiwrite!( [INFO] [stdout] 272 | | writer, [INFO] [stdout] 273 | | [write_u64, self.total_difficulty.to_num()], [INFO] [stdout] 274 | | [write_u32, self.secondary_scaling] [INFO] [stdout] 275 | | ); [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:124:23 [INFO] [stdout] | [INFO] [stdout] 124 | fn read(reader: &mut Reader) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 124 - fn read(reader: &mut Reader) -> Result { [INFO] [stdout] 124 + fn read(reader: &mut dyn Reader) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> core/src/core/transaction.rs:341:23 [INFO] [stdout] | [INFO] [stdout] 341 | fn read(reader: &mut Reader) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 341 - fn read(reader: &mut Reader) -> Result { [INFO] [stdout] 341 + fn read(reader: &mut dyn Reader) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> core/src/core/pmmr/backend.rs:56:33 [INFO] [stdout] | [INFO] [stdout] 56 | fn leaf_pos_iter(&self) -> Box + '_>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 56 - fn leaf_pos_iter(&self) -> Box + '_>; [INFO] [stdout] 56 + fn leaf_pos_iter(&self) -> Box + '_>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> core/src/core/pmmr/rewindable_pmmr.rs:53:31 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn backend(&'a self) -> &Backend { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 53 - pub fn backend(&'a self) -> &Backend { [INFO] [stdout] 53 + pub fn backend(&'a self) -> &dyn Backend { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> store/src/pmmr.rs:113:41 [INFO] [stdout] | [INFO] [stdout] 113 | fn get_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] 113 - fn get_hash(&self, pos: u64) -> Option<(Hash)> { [INFO] [stdout] 113 + fn get_hash(&self, pos: u64) -> Option { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> store/src/pmmr.rs:122:41 [INFO] [stdout] | [INFO] [stdout] 122 | fn get_data(&self, pos: u64) -> Option<(T::E)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 122 - fn get_data(&self, pos: u64) -> Option<(T::E)> { [INFO] [stdout] 122 + fn get_data(&self, pos: u64) -> Option { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> store/src/pmmr.rs:135:33 [INFO] [stdout] | [INFO] [stdout] 135 | fn leaf_pos_iter(&self) -> Box + '_> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 135 - fn leaf_pos_iter(&self) -> Box + '_> { [INFO] [stdout] 135 + fn leaf_pos_iter(&self) -> Box + '_> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> store/src/pmmr.rs:469:44 [INFO] [stdout] | [INFO] [stdout] 469 | |possible_dir_entry| -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 469 - |possible_dir_entry| -> Result> { [INFO] [stdout] 469 + |possible_dir_entry| -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> chain/src/txhashset/txhashset.rs:920:53 [INFO] [stdout] | [INFO] [stdout] 920 | 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] 920 - fn apply_output(&mut self, out: &Output) -> Result<(u64), Error> { [INFO] [stdout] 920 + fn apply_output(&mut self, out: &Output) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> chain/src/txhashset/txhashset.rs:1211:47 [INFO] [stdout] | [INFO] [stdout] 1211 | pub fn validate_kernel_sums(&self) -> Result<((Commitment, Commitment)), Error> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1211 - pub fn validate_kernel_sums(&self) -> Result<((Commitment, Commitment)), Error> { [INFO] [stdout] 1211 + 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:1234:14 [INFO] [stdout] | [INFO] [stdout] 1234 | ) -> Result<((Commitment, Commitment)), Error> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1234 - ) -> Result<((Commitment, Commitment)), Error> { [INFO] [stdout] 1234 + ) -> 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:648:47 [INFO] [stdout] | [INFO] [stdout] 648 | pub fn kernel_data_write(&self, reader: &mut Read) -> Result<(), Error> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 648 - pub fn kernel_data_write(&self, reader: &mut Read) -> Result<(), Error> { [INFO] [stdout] 648 + pub fn kernel_data_write(&self, reader: &mut dyn Read) -> Result<(), Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> chain/src/chain.rs:1393:53 [INFO] [stdout] | [INFO] [stdout] 1393 | let (utxo_sum, kernel_sum) = (sums, genesis as &Committed).verify_kernel_sums( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 1393 - let (utxo_sum, kernel_sum) = (sums, genesis as &Committed).verify_kernel_sums( [INFO] [stdout] 1393 + 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:316:6 [INFO] [stdout] | [INFO] [stdout] 316 | &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] 316 | let _ = &self.orphans.add(orphan); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> p2p/src/msg.rs:254:3 [INFO] [stdout] | [INFO] [stdout] 254 | / ser_multiwrite!( [INFO] [stdout] 255 | | writer, [INFO] [stdout] 256 | | [write_u8, self.magic[0]], [INFO] [stdout] 257 | | [write_u8, self.magic[1]], [INFO] [stdout] 258 | | [write_u8, self.msg_type as u8], [INFO] [stdout] 259 | | [write_u64, self.msg_len] [INFO] [stdout] 260 | | ); [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:273:22 [INFO] [stdout] | [INFO] [stdout] 273 | let (t, msg_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:371:3 [INFO] [stdout] | [INFO] [stdout] 371 | / ser_multiwrite!( [INFO] [stdout] 372 | | writer, [INFO] [stdout] 373 | | [write_u32, self.capabilities.bits()], [INFO] [stdout] 374 | | [write_u64, self.nonce] [INFO] [stdout] 375 | | ); [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:388:24 [INFO] [stdout] | [INFO] [stdout] 388 | let (capab, nonce) = ser_multiread!(reader, 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:521:3 [INFO] [stdout] | [INFO] [stdout] 521 | 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:704:3 [INFO] [stdout] | [INFO] [stdout] 704 | 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:712:25 [INFO] [stdout] | [INFO] [stdout] 712 | 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: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> p2p/src/store.rs:64:3 [INFO] [stdout] | [INFO] [stdout] 64 | / ser_multiwrite!( [INFO] [stdout] 65 | | writer, [INFO] [stdout] 66 | | [write_u32, self.capabilities.bits()], [INFO] [stdout] 67 | | [write_bytes, &self.user_agent], [INFO] [stdout] ... | [INFO] [stdout] 71 | | [write_i64, self.last_connected] [INFO] [stdout] 72 | | ); [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:82:22 [INFO] [stdout] | [INFO] [stdout] 82 | 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] [stderr] Compiling forest v1.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> p2p/src/types.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | / ser_multiwrite!( [INFO] [stdout] 115 | | writer, [INFO] [stdout] 116 | | [write_u8, 0], [INFO] [stdout] 117 | | [write_fixed_bytes, &sav4.ip().octets().to_vec()], [INFO] [stdout] 118 | | [write_u16, sav4.port()] [INFO] [stdout] 119 | | ); [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> p2p/src/peer.rs:557:43 [INFO] [stdout] | [INFO] [stdout] 557 | fn kernel_data_write(&self, reader: &mut Read) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 557 - fn kernel_data_write(&self, reader: &mut Read) -> Result { [INFO] [stdout] 557 + fn kernel_data_write(&self, reader: &mut dyn Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> p2p/src/peers.rs:669:43 [INFO] [stdout] | [INFO] [stdout] 669 | fn kernel_data_write(&self, reader: &mut Read) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 669 - fn kernel_data_write(&self, reader: &mut Read) -> Result { [INFO] [stdout] 669 + fn kernel_data_write(&self, reader: &mut dyn Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> p2p/src/serv.rs:298:44 [INFO] [stdout] | [INFO] [stdout] 298 | fn kernel_data_write(&self, _reader: &mut Read) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 298 - fn kernel_data_write(&self, _reader: &mut Read) -> Result { [INFO] [stdout] 298 + fn kernel_data_write(&self, _reader: &mut dyn Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> p2p/src/types.rs:532:43 [INFO] [stdout] | [INFO] [stdout] 532 | fn kernel_data_write(&self, reader: &mut Read) -> Result; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 532 - fn kernel_data_write(&self, reader: &mut Read) -> Result; [INFO] [stdout] 532 + fn kernel_data_write(&self, reader: &mut dyn Read) -> Result; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> api/src/web.rs:148:4 [INFO] [stdout] | [INFO] [stdout] 148 | }; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: api/src/handlers/blocks_api.rs:70:18 [INFO] [stdout] | [INFO] [stdout] 70 | let el = right_path_element!(req); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `right_path_element` (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] --> api/src/web.rs:148:4 [INFO] [stdout] | [INFO] [stdout] 148 | }; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: api/src/handlers/blocks_api.rs:133:18 [INFO] [stdout] | [INFO] [stdout] 133 | let el = right_path_element!(req); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `right_path_element` (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] --> api/src/web.rs:148:4 [INFO] [stdout] | [INFO] [stdout] 148 | }; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: api/src/handlers/chain_api.rs:193:15 [INFO] [stdout] | [INFO] [stdout] 193 | match right_path_element!(req) { [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `right_path_element` (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] --> api/src/web.rs:148:4 [INFO] [stdout] | [INFO] [stdout] 148 | }; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: api/src/handlers/peers_api.rs:59:23 [INFO] [stdout] | [INFO] [stdout] 59 | let command = right_path_element!(req); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `right_path_element` (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] --> api/src/web.rs:148:4 [INFO] [stdout] | [INFO] [stdout] 148 | }; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: api/src/handlers/transactions_api.rs:127:15 [INFO] [stdout] | [INFO] [stdout] 127 | match right_path_element!(req) { [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `right_path_element` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> servers/src/common/adapters.rs:352:43 [INFO] [stdout] | [INFO] [stdout] 352 | fn kernel_data_write(&self, reader: &mut Read) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 352 - fn kernel_data_write(&self, reader: &mut Read) -> Result { [INFO] [stdout] 352 + fn kernel_data_write(&self, reader: &mut dyn Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> servers/src/grin/dandelion_monitor.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | adapter: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 - adapter: Arc, [INFO] [stdout] 39 + adapter: Arc, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> servers/src/grin/dandelion_monitor.rs:105:16 [INFO] [stdout] | [INFO] [stdout] 105 | adapter: &Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 105 - adapter: &Arc, [INFO] [stdout] 105 + adapter: &Arc, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> servers/src/common/hooks.rs:40:24 [INFO] [stdout] | [INFO] [stdout] 40 | let mut list: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 - let mut list: Vec> = Vec::new(); [INFO] [stdout] 40 + let mut list: Vec> = Vec::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> servers/src/common/hooks.rs:53:24 [INFO] [stdout] | [INFO] [stdout] 53 | let mut list: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 53 - let mut list: Vec> = Vec::new(); [INFO] [stdout] 53 + let mut list: Vec> = Vec::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 11.72s [INFO] running `Command { std: "docker" "inspect" "d81634f72dfdeeba1440a5502c6a77e78f73f00f654f143d63a8fb0bbfad208b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d81634f72dfdeeba1440a5502c6a77e78f73f00f654f143d63a8fb0bbfad208b", kill_on_drop: false }` [INFO] [stdout] d81634f72dfdeeba1440a5502c6a77e78f73f00f654f143d63a8fb0bbfad208b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-98/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-98/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9af204f1d392615e7343b0823e5f92bb9928ed3d77c682a788f76eaf52ba21bb [INFO] running `Command { std: "docker" "start" "-a" "9af204f1d392615e7343b0823e5f92bb9928ed3d77c682a788f76eaf52ba21bb", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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 = { 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 = { include_str!("wordlists/en.txt").split_whitespace().map(|s| s.into()).collect() }; [INFO] [stderr] 28 + pub static ref WORDS: Vec = 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 = 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:219:3 [INFO] [stderr] | [INFO] [stderr] 219 | 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:220:3 [INFO] [stderr] | [INFO] [stderr] 220 | 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:287:35 [INFO] [stderr] | [INFO] [stderr] 287 | let (height, timestamp) = ser_multiread!(reader, 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:294:50 [INFO] [stderr] | [INFO] [stderr] 294 | 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:332:9 [INFO] [stderr] | [INFO] [stderr] 332 | / ser_multiwrite!( [INFO] [stderr] 333 | | writer, [INFO] [stderr] 334 | | [write_u64, self.height], [INFO] [stderr] 335 | | [write_i64, self.timestamp.timestamp()], [INFO] [stderr] ... | [INFO] [stderr] 343 | | [write_u64, self.kernel_mmr_size] [INFO] [stderr] 344 | | ); [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::>(); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] ::: core/src/core/block.rs:733:33 [INFO] [stderr] | [INFO] [stderr] 733 | 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 [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:128:14 [INFO] [stderr] | [INFO] [stderr] 128 | ) -> 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] 128 - ) -> Result<((Commitment, Commitment)), Error> { [INFO] [stderr] 128 + ) -> 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: 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:196:9 [INFO] [stderr] | [INFO] [stderr] 196 | 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:419:9 [INFO] [stderr] | [INFO] [stderr] 419 | / ser_multiwrite!( [INFO] [stderr] 420 | | writer, [INFO] [stderr] 421 | | [write_u64, self.inputs.len() as u64], [INFO] [stderr] 422 | | [write_u64, self.outputs.len() as u64], [INFO] [stderr] 423 | | [write_u64, self.kernels.len() as u64] [INFO] [stderr] 424 | | ); [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:439:13 [INFO] [stderr] | [INFO] [stderr] 439 | 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: unused import: `new_cuckaroo_ctx` [INFO] [stderr] --> core/src/global.rs:25:24 [INFO] [stderr] | [INFO] [stderr] 25 | use crate::pow::{self, new_cuckaroo_ctx, new_cuckatoo_ctx, EdgeType, PoWContext}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [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::>(); [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 [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:271:9 [INFO] [stderr] | [INFO] [stderr] 271 | / ser_multiwrite!( [INFO] [stderr] 272 | | writer, [INFO] [stderr] 273 | | [write_u64, self.total_difficulty.to_num()], [INFO] [stderr] 274 | | [write_u32, self.secondary_scaling] [INFO] [stderr] 275 | | ); [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:124:23 [INFO] [stderr] | [INFO] [stderr] 124 | fn read(reader: &mut Reader) -> Result { [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 124 - fn read(reader: &mut Reader) -> Result { [INFO] [stderr] 124 + fn read(reader: &mut dyn Reader) -> Result { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> core/src/core/transaction.rs:341:23 [INFO] [stderr] | [INFO] [stderr] 341 | fn read(reader: &mut Reader) -> Result { [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 341 - fn read(reader: &mut Reader) -> Result { [INFO] [stderr] 341 + fn read(reader: &mut dyn Reader) -> Result { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> core/src/core/pmmr/backend.rs:56:33 [INFO] [stderr] | [INFO] [stderr] 56 | fn leaf_pos_iter(&self) -> Box + '_>; [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 56 - fn leaf_pos_iter(&self) -> Box + '_>; [INFO] [stderr] 56 + fn leaf_pos_iter(&self) -> Box + '_>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> core/src/core/pmmr/rewindable_pmmr.rs:53:31 [INFO] [stderr] | [INFO] [stderr] 53 | pub fn backend(&'a self) -> &Backend { [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 53 - pub fn backend(&'a self) -> &Backend { [INFO] [stderr] 53 + pub fn backend(&'a self) -> &dyn Backend { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `grin_core` (lib) generated 17 warnings [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> store/src/pmmr.rs:113:41 [INFO] [stderr] | [INFO] [stderr] 113 | 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] 113 - fn get_hash(&self, pos: u64) -> Option<(Hash)> { [INFO] [stderr] 113 + fn get_hash(&self, pos: u64) -> Option { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> store/src/pmmr.rs:122:41 [INFO] [stderr] | [INFO] [stderr] 122 | fn get_data(&self, pos: u64) -> Option<(T::E)> { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 122 - fn get_data(&self, pos: u64) -> Option<(T::E)> { [INFO] [stderr] 122 + fn get_data(&self, pos: u64) -> Option { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> store/src/pmmr.rs:135:33 [INFO] [stderr] | [INFO] [stderr] 135 | fn leaf_pos_iter(&self) -> Box + '_> { [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 135 - fn leaf_pos_iter(&self) -> Box + '_> { [INFO] [stderr] 135 + fn leaf_pos_iter(&self) -> Box + '_> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> store/src/pmmr.rs:469:44 [INFO] [stderr] | [INFO] [stderr] 469 | |possible_dir_entry| -> Result> { [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 469 - |possible_dir_entry| -> Result> { [INFO] [stderr] 469 + |possible_dir_entry| -> Result> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `grin_store` (lib) generated 4 warnings [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> chain/src/txhashset/txhashset.rs:920:53 [INFO] [stderr] | [INFO] [stderr] 920 | 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] 920 - fn apply_output(&mut self, out: &Output) -> Result<(u64), Error> { [INFO] [stderr] 920 + fn apply_output(&mut self, out: &Output) -> Result { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> chain/src/txhashset/txhashset.rs:1211:47 [INFO] [stderr] | [INFO] [stderr] 1211 | pub fn validate_kernel_sums(&self) -> Result<((Commitment, Commitment)), Error> { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 1211 - pub fn validate_kernel_sums(&self) -> Result<((Commitment, Commitment)), Error> { [INFO] [stderr] 1211 + 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:1234:14 [INFO] [stderr] | [INFO] [stderr] 1234 | ) -> Result<((Commitment, Commitment)), Error> { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 1234 - ) -> Result<((Commitment, Commitment)), Error> { [INFO] [stderr] 1234 + ) -> 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:648:47 [INFO] [stderr] | [INFO] [stderr] 648 | pub fn kernel_data_write(&self, reader: &mut Read) -> Result<(), 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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 648 - pub fn kernel_data_write(&self, reader: &mut Read) -> Result<(), Error> { [INFO] [stderr] 648 + pub fn kernel_data_write(&self, reader: &mut dyn Read) -> Result<(), Error> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> chain/src/chain.rs:1393:53 [INFO] [stderr] | [INFO] [stderr] 1393 | let (utxo_sum, kernel_sum) = (sums, genesis as &Committed).verify_kernel_sums( [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 1393 - let (utxo_sum, kernel_sum) = (sums, genesis as &Committed).verify_kernel_sums( [INFO] [stderr] 1393 + 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:316:6 [INFO] [stderr] | [INFO] [stderr] 316 | &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] 316 | let _ = &self.orphans.add(orphan); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `grin_chain` (lib) generated 6 warnings [INFO] [stderr] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stderr] --> p2p/src/msg.rs:254:3 [INFO] [stderr] | [INFO] [stderr] 254 | / ser_multiwrite!( [INFO] [stderr] 255 | | writer, [INFO] [stderr] 256 | | [write_u8, self.magic[0]], [INFO] [stderr] 257 | | [write_u8, self.magic[1]], [INFO] [stderr] 258 | | [write_u8, self.msg_type as u8], [INFO] [stderr] 259 | | [write_u64, self.msg_len] [INFO] [stderr] 260 | | ); [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:273:22 [INFO] [stderr] | [INFO] [stderr] 273 | let (t, msg_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:371:3 [INFO] [stderr] | [INFO] [stderr] 371 | / ser_multiwrite!( [INFO] [stderr] 372 | | writer, [INFO] [stderr] 373 | | [write_u32, self.capabilities.bits()], [INFO] [stderr] 374 | | [write_u64, self.nonce] [INFO] [stderr] 375 | | ); [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:388:24 [INFO] [stderr] | [INFO] [stderr] 388 | let (capab, nonce) = ser_multiread!(reader, 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:521:3 [INFO] [stderr] | [INFO] [stderr] 521 | 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:704:3 [INFO] [stderr] | [INFO] [stderr] 704 | 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:712:25 [INFO] [stderr] | [INFO] [stderr] 712 | 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: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stderr] --> p2p/src/store.rs:64:3 [INFO] [stderr] | [INFO] [stderr] 64 | / ser_multiwrite!( [INFO] [stderr] 65 | | writer, [INFO] [stderr] 66 | | [write_u32, self.capabilities.bits()], [INFO] [stderr] 67 | | [write_bytes, &self.user_agent], [INFO] [stderr] ... | [INFO] [stderr] 71 | | [write_i64, self.last_connected] [INFO] [stderr] 72 | | ); [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:82:22 [INFO] [stderr] | [INFO] [stderr] 82 | 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: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stderr] --> p2p/src/types.rs:114:5 [INFO] [stderr] | [INFO] [stderr] 114 | / ser_multiwrite!( [INFO] [stderr] 115 | | writer, [INFO] [stderr] 116 | | [write_u8, 0], [INFO] [stderr] 117 | | [write_fixed_bytes, &sav4.ip().octets().to_vec()], [INFO] [stderr] 118 | | [write_u16, sav4.port()] [INFO] [stderr] 119 | | ); [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: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> p2p/src/peer.rs:557:43 [INFO] [stderr] | [INFO] [stderr] 557 | fn kernel_data_write(&self, reader: &mut Read) -> Result { [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 557 - fn kernel_data_write(&self, reader: &mut Read) -> Result { [INFO] [stderr] 557 + fn kernel_data_write(&self, reader: &mut dyn Read) -> Result { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> p2p/src/peers.rs:669:43 [INFO] [stderr] | [INFO] [stderr] 669 | fn kernel_data_write(&self, reader: &mut Read) -> Result { [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 669 - fn kernel_data_write(&self, reader: &mut Read) -> Result { [INFO] [stderr] 669 + fn kernel_data_write(&self, reader: &mut dyn Read) -> Result { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> p2p/src/serv.rs:298:44 [INFO] [stderr] | [INFO] [stderr] 298 | fn kernel_data_write(&self, _reader: &mut Read) -> Result { [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 298 - fn kernel_data_write(&self, _reader: &mut Read) -> Result { [INFO] [stderr] 298 + fn kernel_data_write(&self, _reader: &mut dyn Read) -> Result { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> p2p/src/types.rs:532:43 [INFO] [stderr] | [INFO] [stderr] 532 | fn kernel_data_write(&self, reader: &mut Read) -> Result; [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 532 - fn kernel_data_write(&self, reader: &mut Read) -> Result; [INFO] [stderr] 532 + fn kernel_data_write(&self, reader: &mut dyn Read) -> Result; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `grin_p2p` (lib) generated 14 warnings [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> api/src/web.rs:148:4 [INFO] [stderr] | [INFO] [stderr] 148 | }; [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] ::: api/src/handlers/blocks_api.rs:70:18 [INFO] [stderr] | [INFO] [stderr] 70 | let el = right_path_element!(req); [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 [INFO] [stderr] = note: this warning originates in the macro `right_path_element` (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] --> api/src/web.rs:148:4 [INFO] [stderr] | [INFO] [stderr] 148 | }; [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] ::: api/src/handlers/blocks_api.rs:133:18 [INFO] [stderr] | [INFO] [stderr] 133 | let el = right_path_element!(req); [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 [INFO] [stderr] = note: this warning originates in the macro `right_path_element` (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] --> api/src/web.rs:148:4 [INFO] [stderr] | [INFO] [stderr] 148 | }; [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] ::: api/src/handlers/chain_api.rs:193:15 [INFO] [stderr] | [INFO] [stderr] 193 | match right_path_element!(req) { [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 [INFO] [stderr] = note: this warning originates in the macro `right_path_element` (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] --> api/src/web.rs:148:4 [INFO] [stderr] | [INFO] [stderr] 148 | }; [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] ::: api/src/handlers/peers_api.rs:59:23 [INFO] [stderr] | [INFO] [stderr] 59 | let command = right_path_element!(req); [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 [INFO] [stderr] = note: this warning originates in the macro `right_path_element` (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] --> api/src/web.rs:148:4 [INFO] [stderr] | [INFO] [stderr] 148 | }; [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] ::: api/src/handlers/transactions_api.rs:127:15 [INFO] [stderr] | [INFO] [stderr] 127 | match right_path_element!(req) { [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 [INFO] [stderr] = note: this warning originates in the macro `right_path_element` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `grin_api` (lib) generated 5 warnings [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> servers/src/common/adapters.rs:352:43 [INFO] [stderr] | [INFO] [stderr] 352 | fn kernel_data_write(&self, reader: &mut Read) -> Result { [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 352 - fn kernel_data_write(&self, reader: &mut Read) -> Result { [INFO] [stderr] 352 + fn kernel_data_write(&self, reader: &mut dyn Read) -> Result { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> servers/src/grin/dandelion_monitor.rs:39:15 [INFO] [stderr] | [INFO] [stderr] 39 | adapter: Arc, [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 39 - adapter: Arc, [INFO] [stderr] 39 + adapter: Arc, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> servers/src/grin/dandelion_monitor.rs:105:16 [INFO] [stderr] | [INFO] [stderr] 105 | adapter: &Arc, [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 105 - adapter: &Arc, [INFO] [stderr] 105 + adapter: &Arc, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> servers/src/common/hooks.rs:40:24 [INFO] [stderr] | [INFO] [stderr] 40 | let mut list: Vec> = Vec::new(); [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 40 - let mut list: Vec> = Vec::new(); [INFO] [stderr] 40 + let mut list: Vec> = Vec::new(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> servers/src/common/hooks.rs:53:24 [INFO] [stderr] | [INFO] [stderr] 53 | let mut list: Vec> = Vec::new(); [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 53 - let mut list: Vec> = Vec::new(); [INFO] [stderr] 53 + let mut list: Vec> = Vec::new(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `grin_servers` (lib) generated 5 warnings [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: `forest` (bin "forest" test) generated 1 warning [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.65s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/forest-3e6db48ecba11bf3) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9af204f1d392615e7343b0823e5f92bb9928ed3d77c682a788f76eaf52ba21bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9af204f1d392615e7343b0823e5f92bb9928ed3d77c682a788f76eaf52ba21bb", kill_on_drop: false }` [INFO] [stdout] 9af204f1d392615e7343b0823e5f92bb9928ed3d77c682a788f76eaf52ba21bb