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