[INFO] fetching crate mugle_core 5.2.0-alpha.5... [INFO] testing mugle_core-5.2.0-alpha.5 against beta-2024-10-19 for beta-1.83-1 [INFO] extracting crate mugle_core 5.2.0-alpha.5 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate mugle_core 5.2.0-alpha.5 on toolchain beta-2024-10-19 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-10-19" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate mugle_core 5.2.0-alpha.5 [INFO] finished tweaking crates.io crate mugle_core 5.2.0-alpha.5 [INFO] tweaked toml for crates.io crate mugle_core 5.2.0-alpha.5 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-10-19" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 175 packages to latest compatible versions [INFO] [stderr] Adding bytes v0.5.6 (available: v1.7.2) [INFO] [stderr] Adding croaring v0.4.6 (available: v2.1.1) [INFO] [stderr] Adding num v0.2.1 (available: v0.4.3) [INFO] [stderr] Adding num-bigint v0.2.6 (available: v0.4.6) [INFO] [stderr] Adding rand v0.6.5 (available: v0.8.5) [INFO] [stderr] Adding siphasher v0.3.11 (available: v1.0.1) [INFO] [stderr] Adding subtle v2.4.1 (available: v2.6.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-10-19" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-10-19" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ffa5e2cbf6d0c85b2567bf67a56c5c744c324f5fa8a2180ea6099beef5064a00 [INFO] running `Command { std: "docker" "start" "-a" "ffa5e2cbf6d0c85b2567bf67a56c5c744c324f5fa8a2180ea6099beef5064a00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ffa5e2cbf6d0c85b2567bf67a56c5c744c324f5fa8a2180ea6099beef5064a00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffa5e2cbf6d0c85b2567bf67a56c5c744c324f5fa8a2180ea6099beef5064a00", kill_on_drop: false }` [INFO] [stdout] ffa5e2cbf6d0c85b2567bf67a56c5c744c324f5fa8a2180ea6099beef5064a00 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-10-19" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9bc0aa188efcfc93c82b6e98284090975cd81ac338290c61e17ae0976e562c7c [INFO] running `Command { std: "docker" "start" "-a" "9bc0aa188efcfc93c82b6e98284090975cd81ac338290c61e17ae0976e562c7c", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling syn v2.0.82 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling nom v5.1.3 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling cc v1.1.31 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling bindgen v0.56.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling parking_lot_core v0.7.3 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling mugle_secp256k1zkp v0.7.12 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling ordered-float v1.1.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling object v0.36.5 [INFO] [stderr] Compiling regex v1.11.0 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling odds v0.2.26 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling arrayvec v0.3.25 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling flate2 v1.0.34 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling thread-id v3.3.0 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rustc-serialize v0.3.25 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling log-mdc v0.1.0 [INFO] [stderr] Compiling arc-swap v0.4.8 [INFO] [stderr] Compiling backtrace v0.3.74 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling password-hash v0.2.3 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling zip v0.5.13 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling blake2-rfc v0.2.18 [INFO] [stderr] Compiling pbkdf2 v0.8.0 [INFO] [stderr] Compiling ripemd160 v0.9.1 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling num v0.2.1 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Compiling serde_yaml v0.8.26 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling serde-value v0.6.0 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling log4rs v0.12.0 [INFO] [stderr] Compiling mugle_util v5.2.0-alpha.5 [INFO] [stderr] Compiling mugle_keychain v5.2.0-alpha.5 [INFO] [stderr] Compiling croaring-sys v0.4.6 [INFO] [stderr] Compiling croaring v0.4.6 [INFO] [stderr] Compiling mugle_core v5.2.0-alpha.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/genesis.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | #![cfg_attr(feature = "cargo-clippy", allow(clippy::unreadable_literal))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/core/pmmr/pmmr.rs:191:41 [INFO] [stdout] | [INFO] [stdout] 185 | impl<'a, T, B> PMMR<'a, T, B> [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 191 | pub fn new(backend: &'a mut B) -> PMMR<'_, T, B> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/core/pmmr/pmmr.rs:201:51 [INFO] [stdout] | [INFO] [stdout] 185 | impl<'a, T, B> PMMR<'a, T, B> [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 201 | pub fn at(backend: &'a mut B, size: u64) -> PMMR<'_, T, B> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/core/pmmr/readonly_pmmr.rs:44:45 [INFO] [stdout] | [INFO] [stdout] 38 | impl<'a, T, B> ReadonlyPMMR<'a, T, B> [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn new(backend: &'a B) -> ReadonlyPMMR<'_, T, B> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/core/pmmr/readonly_pmmr.rs:54:55 [INFO] [stdout] | [INFO] [stdout] 38 | impl<'a, T, B> ReadonlyPMMR<'a, T, B> [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn at(backend: &'a B, size: u64) -> ReadonlyPMMR<'_, T, B> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/core/pmmr/rewindable_pmmr.rs:43:47 [INFO] [stdout] | [INFO] [stdout] 37 | impl<'a, T, B> RewindablePMMR<'a, T, B> [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn new(backend: &'a B) -> RewindablePMMR<'_, T, B> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/core/pmmr/rewindable_pmmr.rs:53:61 [INFO] [stdout] | [INFO] [stdout] 37 | impl<'a, T, B> RewindablePMMR<'a, T, B> [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn at(backend: &'a B, last_pos: u64) -> RewindablePMMR<'_, T, B> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `chrono::naive::MAX_DATE`: Use NaiveDate::MAX instead [INFO] [stdout] --> src/core/block.rs:30:21 [INFO] [stdout] | [INFO] [stdout] 30 | use chrono::naive::{MAX_DATE, MIN_DATE}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `chrono::naive::MIN_DATE`: Use NaiveDate::MIN instead [INFO] [stdout] --> src/core/block.rs:30:31 [INFO] [stdout] | [INFO] [stdout] 30 | use chrono::naive::{MAX_DATE, MIN_DATE}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `chrono::naive::MAX_DATE`: Use NaiveDate::MAX instead [INFO] [stdout] --> src/core/block.rs:292:17 [INFO] [stdout] | [INFO] [stdout] 292 | if timestamp > MAX_DATE.and_hms(0, 0, 0).timestamp() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `chrono::naive::MIN_DATE`: Use NaiveDate::MIN instead [INFO] [stdout] --> src/core/block.rs:293:18 [INFO] [stdout] | [INFO] [stdout] 293 | || timestamp < MIN_DATE.and_hms(0, 0, 0).timestamp() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/core/block.rs:235:32 [INFO] [stdout] | [INFO] [stdout] 235 | timestamp: DateTime::::from_utc(NaiveDateTime::from_timestamp(0, 0), Utc), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/core/block.rs:235:56 [INFO] [stdout] | [INFO] [stdout] 235 | timestamp: DateTime::::from_utc(NaiveDateTime::from_timestamp(0, 0), Utc), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDate::and_hms`: use `and_hms_opt()` instead [INFO] [stdout] --> src/core/block.rs:292:26 [INFO] [stdout] | [INFO] [stdout] 292 | if timestamp > MAX_DATE.and_hms(0, 0, 0).timestamp() [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDateTime::timestamp`: use `.and_utc().timestamp()` instead [INFO] [stdout] --> src/core/block.rs:292:43 [INFO] [stdout] | [INFO] [stdout] 292 | if timestamp > MAX_DATE.and_hms(0, 0, 0).timestamp() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDate::and_hms`: use `and_hms_opt()` instead [INFO] [stdout] --> src/core/block.rs:293:27 [INFO] [stdout] | [INFO] [stdout] 293 | || timestamp < MIN_DATE.and_hms(0, 0, 0).timestamp() [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDateTime::timestamp`: use `.and_utc().timestamp()` instead [INFO] [stdout] --> src/core/block.rs:293:44 [INFO] [stdout] | [INFO] [stdout] 293 | || timestamp < MIN_DATE.and_hms(0, 0, 0).timestamp() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/core/block.rs:301:31 [INFO] [stdout] | [INFO] [stdout] 301 | timestamp: DateTime::::from_utc(NaiveDateTime::from_timestamp(timestamp, 0), Utc), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/core/block.rs:301:55 [INFO] [stdout] | [INFO] [stdout] 301 | timestamp: DateTime::::from_utc(NaiveDateTime::from_timestamp(timestamp, 0), Utc), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/core/block.rs:649:36 [INFO] [stdout] | [INFO] [stdout] 649 | let timestamp = DateTime::::from_utc(NaiveDateTime::from_timestamp(now, 0), Utc); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/core/block.rs:649:60 [INFO] [stdout] | [INFO] [stdout] 649 | let timestamp = DateTime::::from_utc(NaiveDateTime::from_timestamp(now, 0), Utc); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/genesis.rs:37:18 [INFO] [stdout] | [INFO] [stdout] 37 | timestamp: Utc.ymd(1997, 8, 4).and_hms(0, 0, 0), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stdout] --> src/genesis.rs:37:34 [INFO] [stdout] | [INFO] [stdout] 37 | timestamp: Utc.ymd(1997, 8, 4).and_hms(0, 0, 0), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/genesis.rs:51:18 [INFO] [stdout] | [INFO] [stdout] 51 | timestamp: Utc.ymd(2018, 12, 28).and_hms(20, 48, 4), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stdout] --> src/genesis.rs:51:36 [INFO] [stdout] | [INFO] [stdout] 51 | timestamp: Utc.ymd(2018, 12, 28).and_hms(20, 48, 4), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/genesis.rs:164:18 [INFO] [stdout] | [INFO] [stdout] 164 | timestamp: Utc.ymd(2022, 6, 19).and_hms(8, 1, 26), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stdout] --> src/genesis.rs:164:35 [INFO] [stdout] | [INFO] [stdout] 164 | timestamp: Utc.ymd(2022, 6, 19).and_hms(8, 1, 26), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/pow.rs:118:36 [INFO] [stdout] | [INFO] [stdout] 118 | bh.timestamp = DateTime::::from_utc(NaiveDateTime::from_timestamp(0, 0), Utc); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/pow.rs:118:60 [INFO] [stdout] | [INFO] [stdout] 118 | bh.timestamp = DateTime::::from_utc(NaiveDateTime::from_timestamp(0, 0), Utc); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `edge_bits` is never read [INFO] [stdout] --> src/pow/common.rs:85:6 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct CuckooParams { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 85 | pub edge_bits: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/core.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_Error` [INFO] [stdout] 40 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/core.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_Error` [INFO] [stdout] 40 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/core/block.rs:40:39 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(Debug, Clone, Eq, PartialEq, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_Error` [INFO] [stdout] 41 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/core/committed.rs:24:39 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug, Clone, PartialEq, Eq, Fail, Serialize, Deserialize)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_Error` [INFO] [stdout] 25 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/core/committed.rs:24:39 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug, Clone, PartialEq, Eq, Fail, Serialize, Deserialize)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_Error` [INFO] [stdout] 25 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/libtx/error.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Clone, Debug, Eq, Fail, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_ErrorKind` [INFO] [stdout] 28 | /// Libwallet error types [INFO] [stdout] 29 | pub enum ErrorKind { [INFO] [stdout] | --------- `ErrorKind` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/libtx/error.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Clone, Debug, Eq, Fail, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_ErrorKind` [INFO] [stdout] 28 | /// Libwallet error types [INFO] [stdout] 29 | pub enum ErrorKind { [INFO] [stdout] | --------- `ErrorKind` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/pow/error.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone, Debug, Eq, Fail, PartialEq)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_ErrorKind` [INFO] [stdout] 27 | /// Libwallet error types [INFO] [stdout] 28 | pub enum ErrorKind { [INFO] [stdout] | --------- `ErrorKind` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/pow/error.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone, Debug, Eq, Fail, PartialEq)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_ErrorKind` [INFO] [stdout] 27 | /// Libwallet error types [INFO] [stdout] 28 | pub enum ErrorKind { [INFO] [stdout] | --------- `ErrorKind` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 33.28s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: mugle_secp256k1zkp v0.7.12, traitobject v0.1.0, typemap v0.3.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "9bc0aa188efcfc93c82b6e98284090975cd81ac338290c61e17ae0976e562c7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9bc0aa188efcfc93c82b6e98284090975cd81ac338290c61e17ae0976e562c7c", kill_on_drop: false }` [INFO] [stdout] 9bc0aa188efcfc93c82b6e98284090975cd81ac338290c61e17ae0976e562c7c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-10-19" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6a4b8fed877258ee0000a1e57b0cec82e38c3e965a881472e942ae4fd8b7b949 [INFO] running `Command { std: "docker" "start" "-a" "6a4b8fed877258ee0000a1e57b0cec82e38c3e965a881472e942ae4fd8b7b949", kill_on_drop: false }` [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/genesis.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | #![cfg_attr(feature = "cargo-clippy", allow(clippy::unreadable_literal))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/core/pmmr/pmmr.rs:191:41 [INFO] [stdout] | [INFO] [stdout] 185 | impl<'a, T, B> PMMR<'a, T, B> [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 191 | pub fn new(backend: &'a mut B) -> PMMR<'_, T, B> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/core/pmmr/pmmr.rs:201:51 [INFO] [stdout] | [INFO] [stdout] 185 | impl<'a, T, B> PMMR<'a, T, B> [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 201 | pub fn at(backend: &'a mut B, size: u64) -> PMMR<'_, T, B> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/core/pmmr/readonly_pmmr.rs:44:45 [INFO] [stdout] | [INFO] [stdout] 38 | impl<'a, T, B> ReadonlyPMMR<'a, T, B> [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn new(backend: &'a B) -> ReadonlyPMMR<'_, T, B> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/core/pmmr/readonly_pmmr.rs:54:55 [INFO] [stdout] | [INFO] [stdout] 38 | impl<'a, T, B> ReadonlyPMMR<'a, T, B> [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn at(backend: &'a B, size: u64) -> ReadonlyPMMR<'_, T, B> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/core/pmmr/rewindable_pmmr.rs:43:47 [INFO] [stdout] | [INFO] [stdout] 37 | impl<'a, T, B> RewindablePMMR<'a, T, B> [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn new(backend: &'a B) -> RewindablePMMR<'_, T, B> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/core/pmmr/rewindable_pmmr.rs:53:61 [INFO] [stdout] | [INFO] [stdout] 37 | impl<'a, T, B> RewindablePMMR<'a, T, B> [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn at(backend: &'a B, last_pos: u64) -> RewindablePMMR<'_, T, B> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `chrono::naive::MAX_DATE`: Use NaiveDate::MAX instead [INFO] [stdout] --> src/core/block.rs:30:21 [INFO] [stdout] | [INFO] [stdout] 30 | use chrono::naive::{MAX_DATE, MIN_DATE}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `chrono::naive::MIN_DATE`: Use NaiveDate::MIN instead [INFO] [stdout] --> src/core/block.rs:30:31 [INFO] [stdout] | [INFO] [stdout] 30 | use chrono::naive::{MAX_DATE, MIN_DATE}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `chrono::naive::MAX_DATE`: Use NaiveDate::MAX instead [INFO] [stdout] --> src/core/block.rs:292:17 [INFO] [stdout] | [INFO] [stdout] 292 | if timestamp > MAX_DATE.and_hms(0, 0, 0).timestamp() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `chrono::naive::MIN_DATE`: Use NaiveDate::MIN instead [INFO] [stdout] --> src/core/block.rs:293:18 [INFO] [stdout] | [INFO] [stdout] 293 | || timestamp < MIN_DATE.and_hms(0, 0, 0).timestamp() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/core/block.rs:235:32 [INFO] [stdout] | [INFO] [stdout] 235 | timestamp: DateTime::::from_utc(NaiveDateTime::from_timestamp(0, 0), Utc), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/core/block.rs:235:56 [INFO] [stdout] | [INFO] [stdout] 235 | timestamp: DateTime::::from_utc(NaiveDateTime::from_timestamp(0, 0), Utc), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDate::and_hms`: use `and_hms_opt()` instead [INFO] [stdout] --> src/core/block.rs:292:26 [INFO] [stdout] | [INFO] [stdout] 292 | if timestamp > MAX_DATE.and_hms(0, 0, 0).timestamp() [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDateTime::timestamp`: use `.and_utc().timestamp()` instead [INFO] [stdout] --> src/core/block.rs:292:43 [INFO] [stdout] | [INFO] [stdout] 292 | if timestamp > MAX_DATE.and_hms(0, 0, 0).timestamp() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDate::and_hms`: use `and_hms_opt()` instead [INFO] [stdout] --> src/core/block.rs:293:27 [INFO] [stdout] | [INFO] [stdout] 293 | || timestamp < MIN_DATE.and_hms(0, 0, 0).timestamp() [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDateTime::timestamp`: use `.and_utc().timestamp()` instead [INFO] [stdout] --> src/core/block.rs:293:44 [INFO] [stdout] | [INFO] [stdout] 293 | || timestamp < MIN_DATE.and_hms(0, 0, 0).timestamp() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/core/block.rs:301:31 [INFO] [stdout] | [INFO] [stdout] 301 | timestamp: DateTime::::from_utc(NaiveDateTime::from_timestamp(timestamp, 0), Utc), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/core/block.rs:301:55 [INFO] [stdout] | [INFO] [stdout] 301 | timestamp: DateTime::::from_utc(NaiveDateTime::from_timestamp(timestamp, 0), Utc), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/core/block.rs:649:36 [INFO] [stdout] | [INFO] [stdout] 649 | let timestamp = DateTime::::from_utc(NaiveDateTime::from_timestamp(now, 0), Utc); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/core/block.rs:649:60 [INFO] [stdout] | [INFO] [stdout] 649 | let timestamp = DateTime::::from_utc(NaiveDateTime::from_timestamp(now, 0), Utc); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/genesis.rs:37:18 [INFO] [stdout] | [INFO] [stdout] 37 | timestamp: Utc.ymd(1997, 8, 4).and_hms(0, 0, 0), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stdout] --> src/genesis.rs:37:34 [INFO] [stdout] | [INFO] [stdout] 37 | timestamp: Utc.ymd(1997, 8, 4).and_hms(0, 0, 0), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/genesis.rs:51:18 [INFO] [stdout] | [INFO] [stdout] 51 | timestamp: Utc.ymd(2018, 12, 28).and_hms(20, 48, 4), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stdout] --> src/genesis.rs:51:36 [INFO] [stdout] | [INFO] [stdout] 51 | timestamp: Utc.ymd(2018, 12, 28).and_hms(20, 48, 4), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/genesis.rs:164:18 [INFO] [stdout] | [INFO] [stdout] 164 | timestamp: Utc.ymd(2022, 6, 19).and_hms(8, 1, 26), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stdout] --> src/genesis.rs:164:35 [INFO] [stdout] | [INFO] [stdout] 164 | timestamp: Utc.ymd(2022, 6, 19).and_hms(8, 1, 26), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/pow.rs:118:36 [INFO] [stdout] | [INFO] [stdout] 118 | bh.timestamp = DateTime::::from_utc(NaiveDateTime::from_timestamp(0, 0), Utc); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/pow.rs:118:60 [INFO] [stdout] | [INFO] [stdout] 118 | bh.timestamp = DateTime::::from_utc(NaiveDateTime::from_timestamp(0, 0), Utc); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `edge_bits` is never read [INFO] [stdout] --> src/pow/common.rs:85:6 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct CuckooParams { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 85 | pub edge_bits: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/core.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_Error` [INFO] [stdout] 40 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/core.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_Error` [INFO] [stdout] 40 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/core/block.rs:40:39 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(Debug, Clone, Eq, PartialEq, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_Error` [INFO] [stdout] 41 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/core/committed.rs:24:39 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug, Clone, PartialEq, Eq, Fail, Serialize, Deserialize)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_Error` [INFO] [stdout] 25 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/core/committed.rs:24:39 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug, Clone, PartialEq, Eq, Fail, Serialize, Deserialize)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_Error` [INFO] [stdout] 25 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/libtx/error.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Clone, Debug, Eq, Fail, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_ErrorKind` [INFO] [stdout] 28 | /// Libwallet error types [INFO] [stdout] 29 | pub enum ErrorKind { [INFO] [stdout] | --------- `ErrorKind` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/libtx/error.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Clone, Debug, Eq, Fail, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_ErrorKind` [INFO] [stdout] 28 | /// Libwallet error types [INFO] [stdout] 29 | pub enum ErrorKind { [INFO] [stdout] | --------- `ErrorKind` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/pow/error.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone, Debug, Eq, Fail, PartialEq)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_ErrorKind` [INFO] [stdout] 27 | /// Libwallet error types [INFO] [stdout] 28 | pub enum ErrorKind { [INFO] [stdout] | --------- `ErrorKind` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling mugle_core v5.2.0-alpha.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/pow/error.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone, Debug, Eq, Fail, PartialEq)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_ErrorKind` [INFO] [stdout] 27 | /// Libwallet error types [INFO] [stdout] 28 | pub enum ErrorKind { [INFO] [stdout] | --------- `ErrorKind` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/genesis.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | #![cfg_attr(feature = "cargo-clippy", allow(clippy::unreadable_literal))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/core/pmmr/pmmr.rs:191:41 [INFO] [stdout] | [INFO] [stdout] 185 | impl<'a, T, B> PMMR<'a, T, B> [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 191 | pub fn new(backend: &'a mut B) -> PMMR<'_, T, B> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/core/pmmr/pmmr.rs:201:51 [INFO] [stdout] | [INFO] [stdout] 185 | impl<'a, T, B> PMMR<'a, T, B> [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 201 | pub fn at(backend: &'a mut B, size: u64) -> PMMR<'_, T, B> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/core/pmmr/readonly_pmmr.rs:44:45 [INFO] [stdout] | [INFO] [stdout] 38 | impl<'a, T, B> ReadonlyPMMR<'a, T, B> [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn new(backend: &'a B) -> ReadonlyPMMR<'_, T, B> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/core/pmmr/readonly_pmmr.rs:54:55 [INFO] [stdout] | [INFO] [stdout] 38 | impl<'a, T, B> ReadonlyPMMR<'a, T, B> [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn at(backend: &'a B, size: u64) -> ReadonlyPMMR<'_, T, B> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/core/pmmr/rewindable_pmmr.rs:43:47 [INFO] [stdout] | [INFO] [stdout] 37 | impl<'a, T, B> RewindablePMMR<'a, T, B> [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn new(backend: &'a B) -> RewindablePMMR<'_, T, B> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/core/pmmr/rewindable_pmmr.rs:53:61 [INFO] [stdout] | [INFO] [stdout] 37 | impl<'a, T, B> RewindablePMMR<'a, T, B> [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn at(backend: &'a B, last_pos: u64) -> RewindablePMMR<'_, T, B> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `chrono::naive::MAX_DATE`: Use NaiveDate::MAX instead [INFO] [stdout] --> src/core/block.rs:30:21 [INFO] [stdout] | [INFO] [stdout] 30 | use chrono::naive::{MAX_DATE, MIN_DATE}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `chrono::naive::MIN_DATE`: Use NaiveDate::MIN instead [INFO] [stdout] --> src/core/block.rs:30:31 [INFO] [stdout] | [INFO] [stdout] 30 | use chrono::naive::{MAX_DATE, MIN_DATE}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `chrono::naive::MAX_DATE`: Use NaiveDate::MAX instead [INFO] [stdout] --> src/core/block.rs:292:17 [INFO] [stdout] | [INFO] [stdout] 292 | if timestamp > MAX_DATE.and_hms(0, 0, 0).timestamp() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `chrono::naive::MIN_DATE`: Use NaiveDate::MIN instead [INFO] [stdout] --> src/core/block.rs:293:18 [INFO] [stdout] | [INFO] [stdout] 293 | || timestamp < MIN_DATE.and_hms(0, 0, 0).timestamp() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::timestamp_nanos`: use `timestamp_nanos_opt()` instead [INFO] [stdout] --> tests/pmmr.rs:46:26 [INFO] [stdout] | [INFO] [stdout] 46 | let start = Utc::now().timestamp_nanos(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::timestamp_nanos`: use `timestamp_nanos_opt()` instead [INFO] [stdout] --> tests/pmmr.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | let fin = Utc::now().timestamp_nanos(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/core/block.rs:235:32 [INFO] [stdout] | [INFO] [stdout] 235 | timestamp: DateTime::::from_utc(NaiveDateTime::from_timestamp(0, 0), Utc), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/core/block.rs:235:56 [INFO] [stdout] | [INFO] [stdout] 235 | timestamp: DateTime::::from_utc(NaiveDateTime::from_timestamp(0, 0), Utc), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDate::and_hms`: use `and_hms_opt()` instead [INFO] [stdout] --> src/core/block.rs:292:26 [INFO] [stdout] | [INFO] [stdout] 292 | if timestamp > MAX_DATE.and_hms(0, 0, 0).timestamp() [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDateTime::timestamp`: use `.and_utc().timestamp()` instead [INFO] [stdout] --> src/core/block.rs:292:43 [INFO] [stdout] | [INFO] [stdout] 292 | if timestamp > MAX_DATE.and_hms(0, 0, 0).timestamp() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDate::and_hms`: use `and_hms_opt()` instead [INFO] [stdout] --> src/core/block.rs:293:27 [INFO] [stdout] | [INFO] [stdout] 293 | || timestamp < MIN_DATE.and_hms(0, 0, 0).timestamp() [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDateTime::timestamp`: use `.and_utc().timestamp()` instead [INFO] [stdout] --> src/core/block.rs:293:44 [INFO] [stdout] | [INFO] [stdout] 293 | || timestamp < MIN_DATE.and_hms(0, 0, 0).timestamp() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/core/block.rs:301:31 [INFO] [stdout] | [INFO] [stdout] 301 | timestamp: DateTime::::from_utc(NaiveDateTime::from_timestamp(timestamp, 0), Utc), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/core/block.rs:301:55 [INFO] [stdout] | [INFO] [stdout] 301 | timestamp: DateTime::::from_utc(NaiveDateTime::from_timestamp(timestamp, 0), Utc), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/core/block.rs:649:36 [INFO] [stdout] | [INFO] [stdout] 649 | let timestamp = DateTime::::from_utc(NaiveDateTime::from_timestamp(now, 0), Utc); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/core/block.rs:649:60 [INFO] [stdout] | [INFO] [stdout] 649 | let timestamp = DateTime::::from_utc(NaiveDateTime::from_timestamp(now, 0), Utc); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/genesis.rs:37:18 [INFO] [stdout] | [INFO] [stdout] 37 | timestamp: Utc.ymd(1997, 8, 4).and_hms(0, 0, 0), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stdout] --> src/genesis.rs:37:34 [INFO] [stdout] | [INFO] [stdout] 37 | timestamp: Utc.ymd(1997, 8, 4).and_hms(0, 0, 0), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/genesis.rs:51:18 [INFO] [stdout] | [INFO] [stdout] 51 | timestamp: Utc.ymd(2018, 12, 28).and_hms(20, 48, 4), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stdout] --> src/genesis.rs:51:36 [INFO] [stdout] | [INFO] [stdout] 51 | timestamp: Utc.ymd(2018, 12, 28).and_hms(20, 48, 4), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/genesis.rs:164:18 [INFO] [stdout] | [INFO] [stdout] 164 | timestamp: Utc.ymd(2022, 6, 19).and_hms(8, 1, 26), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stdout] --> src/genesis.rs:164:35 [INFO] [stdout] | [INFO] [stdout] 164 | timestamp: Utc.ymd(2022, 6, 19).and_hms(8, 1, 26), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/pow.rs:118:36 [INFO] [stdout] | [INFO] [stdout] 118 | bh.timestamp = DateTime::::from_utc(NaiveDateTime::from_timestamp(0, 0), Utc); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/pow.rs:118:60 [INFO] [stdout] | [INFO] [stdout] 118 | bh.timestamp = DateTime::::from_utc(NaiveDateTime::from_timestamp(0, 0), Utc); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `edge_bits` is never read [INFO] [stdout] --> src/pow/common.rs:85:6 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct CuckooParams { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 85 | pub edge_bits: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/core.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_Error` [INFO] [stdout] 40 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/core.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_Error` [INFO] [stdout] 40 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/core/block.rs:40:39 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(Debug, Clone, Eq, PartialEq, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_Error` [INFO] [stdout] 41 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/core/committed.rs:24:39 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug, Clone, PartialEq, Eq, Fail, Serialize, Deserialize)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_Error` [INFO] [stdout] 25 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/core/committed.rs:24:39 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug, Clone, PartialEq, Eq, Fail, Serialize, Deserialize)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_Error` [INFO] [stdout] 25 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/libtx/error.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Clone, Debug, Eq, Fail, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_ErrorKind` [INFO] [stdout] 28 | /// Libwallet error types [INFO] [stdout] 29 | pub enum ErrorKind { [INFO] [stdout] | --------- `ErrorKind` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/libtx/error.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Clone, Debug, Eq, Fail, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_ErrorKind` [INFO] [stdout] 28 | /// Libwallet error types [INFO] [stdout] 29 | pub enum ErrorKind { [INFO] [stdout] | --------- `ErrorKind` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/pow/error.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone, Debug, Eq, Fail, PartialEq)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_ErrorKind` [INFO] [stdout] 27 | /// Libwallet error types [INFO] [stdout] 28 | pub enum ErrorKind { [INFO] [stdout] | --------- `ErrorKind` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/pow/error.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone, Debug, Eq, Fail, PartialEq)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_ErrorKind` [INFO] [stdout] 27 | /// Libwallet error types [INFO] [stdout] 28 | pub enum ErrorKind { [INFO] [stdout] | --------- `ErrorKind` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mugle_core` (lib test); 39 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/beta-2024-10-19-x86_64-unknown-linux-gnu/bin/rustc --crate-name mugle_core --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=3229c34764a7e8e2 -C extra-filename=-3229c34764a7e8e2 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern blake2=/opt/rustwide/target/debug/deps/libblake2_rfc-d65365be6408bf13.rlib --extern byteorder=/opt/rustwide/target/debug/deps/libbyteorder-6ac88002c46ec63a.rlib --extern bytes=/opt/rustwide/target/debug/deps/libbytes-de5719fbf9674f6a.rlib --extern chrono=/opt/rustwide/target/debug/deps/libchrono-6f82754b27dcfe22.rlib --extern croaring=/opt/rustwide/target/debug/deps/libcroaring-e16b6d3111b17c38.rlib --extern enum_primitive=/opt/rustwide/target/debug/deps/libenum_primitive-29ebf7bab502a4d6.rlib --extern failure=/opt/rustwide/target/debug/deps/libfailure-8408d9c1d545273f.rlib --extern failure_derive=/opt/rustwide/target/debug/deps/libfailure_derive-11a8ca30d1fdaa99.so --extern lazy_static=/opt/rustwide/target/debug/deps/liblazy_static-34736fcc74b41a53.rlib --extern log=/opt/rustwide/target/debug/deps/liblog-273617e1cfafd561.rlib --extern lru_cache=/opt/rustwide/target/debug/deps/liblru_cache-a931b4435704fdf9.rlib --extern keychain=/opt/rustwide/target/debug/deps/libmugle_keychain-e3dd0fde5cccd4f3.rlib --extern util=/opt/rustwide/target/debug/deps/libmugle_util-3e332fdb5c66ccdc.rlib --extern num=/opt/rustwide/target/debug/deps/libnum-834610c5d65597bc.rlib --extern num_bigint=/opt/rustwide/target/debug/deps/libnum_bigint-b727a09d4390cb7f.rlib --extern rand=/opt/rustwide/target/debug/deps/librand-a0b85d9e02bf933d.rlib --extern serde=/opt/rustwide/target/debug/deps/libserde-316eaa0a0ce1c29d.rlib --extern serde_derive=/opt/rustwide/target/debug/deps/libserde_derive-abfee6c2b063019f.so --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-1292e7a763d792b6.rlib --extern siphasher=/opt/rustwide/target/debug/deps/libsiphasher-8c98df6e4615cbd6.rlib --extern zeroize=/opt/rustwide/target/debug/deps/libzeroize-c62132363a870c79.rlib --cap-lints=warn -L native=/opt/rustwide/target/debug/build/croaring-sys-ce0f81930ef5458b/out -L native=/opt/rustwide/target/debug/build/mugle_secp256k1zkp-4ff35e477fe03238/out` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "6a4b8fed877258ee0000a1e57b0cec82e38c3e965a881472e942ae4fd8b7b949", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a4b8fed877258ee0000a1e57b0cec82e38c3e965a881472e942ae4fd8b7b949", kill_on_drop: false }` [INFO] [stdout] 6a4b8fed877258ee0000a1e57b0cec82e38c3e965a881472e942ae4fd8b7b949