[INFO] cloning repository https://github.com/fernandobatels/blitz-money [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fernandobatels/blitz-money" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffernandobatels%2Fblitz-money", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffernandobatels%2Fblitz-money'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bd11e87a82320c4c0e2db67c8f521e2f2a67bd34 [INFO] checking fernandobatels/blitz-money/bd11e87a82320c4c0e2db67c8f521e2f2a67bd34 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffernandobatels%2Fblitz-money" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fernandobatels/blitz-money on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/fernandobatels/blitz-money [INFO] finished tweaking git repo https://github.com/fernandobatels/blitz-money [INFO] tweaked toml for git repo https://github.com/fernandobatels/blitz-money written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/fernandobatels/icalendar-rs` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 116 packages to latest compatible versions [INFO] [stderr] Adding autocfg v0.1.8 (available: v1.4.0) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding cloudabi v0.0.3 (available: v0.1.0) [INFO] [stderr] Adding rand v0.3.23 (available: v0.8.5) [INFO] [stderr] Adding rand v0.4.6 (available: v0.8.5) [INFO] [stderr] Adding rand v0.6.5 (available: v0.8.5) [INFO] [stderr] Adding rand_chacha v0.1.1 (available: v0.3.1) [INFO] [stderr] Adding rand_core v0.3.1 (available: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (available: v0.6.4) [INFO] [stderr] Adding rand_hc v0.1.0 (available: v0.3.2) [INFO] [stderr] Adding rand_isaac v0.1.1 (available: v0.3.0) [INFO] [stderr] Adding rand_jitter v0.1.4 (available: v0.4.0) [INFO] [stderr] Adding rand_os v0.1.3 (available: v0.2.2) [INFO] [stderr] Adding rand_pcg v0.1.2 (available: v0.3.1) [INFO] [stderr] Adding rand_xorshift v0.1.1 (available: v0.3.0) [INFO] [stderr] Adding rdrand v0.4.0 (available: v0.8.3) [INFO] [stderr] Adding term v0.7.0 (available: v1.0.0) [INFO] [stderr] Adding termtree v0.4.1 (available: v0.5.1) [INFO] [stderr] Adding unicode-width v0.1.14 (available: v0.2.0) [INFO] [stderr] Adding uuid v0.5.1 (available: v1.10.0) [INFO] [stderr] Adding uuid v0.7.4 (available: v1.10.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-core v0.52.0 (available: v0.58.0) [INFO] [stderr] Adding windows-sys v0.48.0 (available: v0.59.0) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] [stderr] Adding windows-targets v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (available: v0.52.6) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded manifest-dir-macros v0.1.18 [INFO] [stderr] Downloaded xmltree v0.11.0 [INFO] [stderr] Downloaded json-gettext v4.0.10 [INFO] [stderr] Downloaded lazy-static-include v3.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 53ed119ecb84c820d4b21555c32ffd932e7b867ade5ca3ab289aaec923f9b33c [INFO] running `Command { std: "docker" "start" "-a" "53ed119ecb84c820d4b21555c32ffd932e7b867ade5ca3ab289aaec923f9b33c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "53ed119ecb84c820d4b21555c32ffd932e7b867ade5ca3ab289aaec923f9b33c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53ed119ecb84c820d4b21555c32ffd932e7b867ade5ca3ab289aaec923f9b33c", kill_on_drop: false }` [INFO] [stdout] 53ed119ecb84c820d4b21555c32ffd932e7b867ade5ca3ab289aaec923f9b33c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "RUSTDOCFLAGS=--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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8c36c320070c36217fd271cfbcc1176e4780a23901d180e28fdea291064cedb4 [INFO] running `Command { std: "docker" "start" "-a" "8c36c320070c36217fd271cfbcc1176e4780a23901d180e28fdea291064cedb4", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking unicode-ident v1.0.13 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Checking predicates-core v1.0.8 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking termtree v0.4.1 [INFO] [stderr] Compiling assert_cmd v2.0.16 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking predicates-tree v1.0.11 [INFO] [stderr] Checking uuid v0.5.1 [INFO] [stderr] Checking predicates v3.1.2 [INFO] [stderr] Checking term v0.7.0 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking encode_unicode v1.0.0 [INFO] [stderr] Checking xml-rs v0.8.22 [INFO] [stderr] Checking csv v1.3.0 [INFO] [stderr] Checking icalendar v0.3.1 (https://github.com/fernandobatels/icalendar-rs#01ae766a) [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking xmltree v0.11.0 [INFO] [stderr] Checking prettytable-rs v0.10.0 [INFO] [stderr] Checking json v0.12.4 [INFO] [stderr] Checking bstr v1.10.0 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Compiling manifest-dir-macros v0.1.18 [INFO] [stderr] Checking lazy-static-include v3.2.1 [INFO] [stderr] Checking json-gettext v4.0.10 [INFO] [stderr] Checking bmoney v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] error: no rules expected the token `,` [INFO] [stdout] --> src/i18n.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | lang, [INFO] [stdout] | ^ no rules expected this token in macro call [INFO] [stdout] | [INFO] [stdout] note: while trying to match `;` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/json-gettext-4.0.10/src/macros/mod.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | ( $default_key:expr; $($key:expr => $path:expr), * $(,)* ) => { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: no rules expected the token `,` [INFO] [stdout] --> src/i18n.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | lang, [INFO] [stdout] | ^ no rules expected this token in macro call [INFO] [stdout] | [INFO] [stdout] note: while trying to match `;` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/json-gettext-4.0.10/src/macros/mod.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | ( $default_key:expr; $($key:expr => $path:expr), * $(,)* ) => { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/ui/ui.rs:96:38 [INFO] [stdout] | [INFO] [stdout] 96 | return Some(Local::now().date().naive_local()); [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::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/ui/ui.rs:373:58 [INFO] [stdout] | [INFO] [stdout] 373 | let mut from = Local::now().with_day(1).unwrap().date().naive_local(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/ui/ui.rs:374:122 [INFO] [stdout] | [INFO] [stdout] 374 | ... let mut to = ((Local::now().with_day(1).unwrap() + Duration::days(32)).with_day(1).unwrap() - Duration::days(1)).date().naive_local(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/ui/ui.rs:96:38 [INFO] [stdout] | [INFO] [stdout] 96 | return Some(Local::now().date().naive_local()); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::Local::today`: use `Local::now()` instead [INFO] [stdout] --> src/ui/transactions.rs:414:51 [INFO] [stdout] | [INFO] [stdout] 414 | transaction.paid_in = Some(Local::today().naive_local()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/ui/ui.rs:373:58 [INFO] [stdout] | [INFO] [stdout] 373 | let mut from = Local::now().with_day(1).unwrap().date().naive_local(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/ui/ui.rs:374:122 [INFO] [stdout] | [INFO] [stdout] 374 | ... let mut to = ((Local::now().with_day(1).unwrap() + Duration::days(32)).with_day(1).unwrap() - Duration::days(1)).date().naive_local(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/ui/transactions.rs:649:97 [INFO] [stdout] | [INFO] [stdout] 649 | let from = (Local::now().with_day(1).unwrap() - Duration::days(1)).with_day(1).unwrap().date().naive_local(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/ui/transactions.rs:651:118 [INFO] [stdout] | [INFO] [stdout] 651 | let to = ((Local::now().with_day(1).unwrap() + Duration::days(64)).with_day(1).unwrap() - Duration::days(1)).date().naive_local(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::Local::today`: use `Local::now()` instead [INFO] [stdout] --> src/ui/transactions.rs:730:53 [INFO] [stdout] | [INFO] [stdout] 730 | principal.paid_in = Some(Local::today().naive_local()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/ui/transactions.rs:829:62 [INFO] [stdout] | [INFO] [stdout] 829 | let mut from = Local::now().with_day(1).unwrap().date().naive_local(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/ui/transactions.rs:830:64 [INFO] [stdout] | [INFO] [stdout] 830 | let mut to = (Local::now() + Duration::weeks(104)).date().naive_local(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::Local::today`: use `Local::now()` instead [INFO] [stdout] --> src/ui/transactions.rs:414:51 [INFO] [stdout] | [INFO] [stdout] 414 | transaction.paid_in = Some(Local::today().naive_local()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/ui/transactions.rs:649:97 [INFO] [stdout] | [INFO] [stdout] 649 | let from = (Local::now().with_day(1).unwrap() - Duration::days(1)).with_day(1).unwrap().date().naive_local(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/ui/transactions.rs:651:118 [INFO] [stdout] | [INFO] [stdout] 651 | let to = ((Local::now().with_day(1).unwrap() + Duration::days(64)).with_day(1).unwrap() - Duration::days(1)).date().naive_local(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::Local::today`: use `Local::now()` instead [INFO] [stdout] --> src/ui/transactions.rs:730:53 [INFO] [stdout] | [INFO] [stdout] 730 | principal.paid_in = Some(Local::today().naive_local()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/ui/transactions.rs:829:62 [INFO] [stdout] | [INFO] [stdout] 829 | let mut from = Local::now().with_day(1).unwrap().date().naive_local(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/ui/transactions.rs:830:64 [INFO] [stdout] | [INFO] [stdout] 830 | let mut to = (Local::now() + Duration::weeks(104)).date().naive_local(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `name` on type `XMLNode` [INFO] [stdout] --> src/backend/import_ofx.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 63 | if tr.name == "STMTTRN".to_string() { [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::Local::today`: use `Local::now()` instead [INFO] [stdout] --> src/backend/accounts.rs:159:188 [INFO] [stdout] | [INFO] [stdout] 159 | ....to_string(), open_balance: 0.0, open_balance_date: Some(Local::today().naive_local()) }); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::Local::today`: use `Local::now()` instead [INFO] [stdout] --> src/backend/accounts.rs:160:189 [INFO] [stdout] | [INFO] [stdout] 160 | ...o_string(), open_balance: 100.0, open_balance_date: Some(Local::today().naive_local()) }); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::Local::today`: use `Local::now()` instead [INFO] [stdout] --> src/backend/accounts.rs:161:189 [INFO] [stdout] | [INFO] [stdout] 161 | ...o_string(), open_balance: -10.0, open_balance_date: Some(Local::today().naive_local()) }); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::Local::today`: use `Local::now()` instead [INFO] [stdout] --> src/backend/accounts.rs:162:189 [INFO] [stdout] | [INFO] [stdout] 162 | ...to_string(), open_balance: 35.0, open_balance_date: Some(Local::today().naive_local()) }); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::Local::today`: use `Local::now()` instead [INFO] [stdout] --> src/backend/accounts.rs:178:63 [INFO] [stdout] | [INFO] [stdout] 178 | assert_eq!(accounts[0].open_balance_date, Some(Local::today().naive_local())); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::Local::today`: use `Local::now()` instead [INFO] [stdout] --> src/backend/accounts.rs:184:63 [INFO] [stdout] | [INFO] [stdout] 184 | assert_eq!(accounts[1].open_balance_date, Some(Local::today().naive_local())); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::Local::today`: use `Local::now()` instead [INFO] [stdout] --> src/backend/accounts.rs:190:63 [INFO] [stdout] | [INFO] [stdout] 190 | assert_eq!(accounts[2].open_balance_date, Some(Local::today().naive_local())); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_child` found for enum `XMLNode` in the current scope [INFO] [stdout] --> src/backend/import_ofx.rs:65:35 [INFO] [stdout] | [INFO] [stdout] 65 | let dtposted = tr.get_child("DTPOSTED") [INFO] [stdout] | ^^^^^^^^^ method not found in `XMLNode` [INFO] [stdout] | [INFO] [stdout] note: the method `get_child` exists on the type `xmltree::Element` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/xmltree-0.11.0/src/lib.rs:432:5 [INFO] [stdout] | [INFO] [stdout] 432 | pub fn get_child(&self, k: P) -> Option<&Element> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::Local::today`: use `Local::now()` instead [INFO] [stdout] --> src/backend/accounts.rs:196:63 [INFO] [stdout] | [INFO] [stdout] 196 | assert_eq!(accounts[3].open_balance_date, Some(Local::today().naive_local())); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::Local::today`: use `Local::now()` instead [INFO] [stdout] --> src/backend/accounts.rs:215:68 [INFO] [stdout] | [INFO] [stdout] 215 | assert_eq!(account.unwrap().open_balance_date, Some(Local::today().naive_local())); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::Local::today`: use `Local::now()` instead [INFO] [stdout] --> src/backend/accounts.rs:227:210 [INFO] [stdout] | [INFO] [stdout] 227 | ....to_string(), open_balance: 0.0, open_balance_date: Some(Local::today().naive_local()) }); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::Local::today`: use `Local::now()` instead [INFO] [stdout] --> src/backend/accounts.rs:235:63 [INFO] [stdout] | [INFO] [stdout] 235 | assert_eq!(accounts[0].open_balance_date, Some(Local::today().naive_local())); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_child` found for enum `XMLNode` in the current scope [INFO] [stdout] --> src/backend/import_ofx.rs:69:33 [INFO] [stdout] | [INFO] [stdout] 69 | let trnamt = tr.get_child("TRNAMT") [INFO] [stdout] | ^^^^^^^^^ method not found in `XMLNode` [INFO] [stdout] | [INFO] [stdout] note: the method `get_child` exists on the type `xmltree::Element` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/xmltree-0.11.0/src/lib.rs:432:5 [INFO] [stdout] | [INFO] [stdout] 432 | pub fn get_child(&self, k: P) -> Option<&Element> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::Local::today`: use `Local::now()` instead [INFO] [stdout] --> src/backend/accounts.rs:241:63 [INFO] [stdout] | [INFO] [stdout] 241 | assert_eq!(accounts[1].open_balance_date, Some(Local::today().naive_local())); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_child` found for enum `XMLNode` in the current scope [INFO] [stdout] --> src/backend/import_ofx.rs:73:32 [INFO] [stdout] | [INFO] [stdout] 73 | let fitid = tr.get_child("FITID") [INFO] [stdout] | ^^^^^^^^^ method not found in `XMLNode` [INFO] [stdout] | [INFO] [stdout] note: the method `get_child` exists on the type `xmltree::Element` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/xmltree-0.11.0/src/lib.rs:432:5 [INFO] [stdout] | [INFO] [stdout] 432 | pub fn get_child(&self, k: P) -> Option<&Element> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_child` found for enum `XMLNode` in the current scope [INFO] [stdout] --> src/backend/import_ofx.rs:77:31 [INFO] [stdout] | [INFO] [stdout] 77 | let memo = tr.get_child("MEMO") [INFO] [stdout] | ^^^^^^^^^ method not found in `XMLNode` [INFO] [stdout] | [INFO] [stdout] note: the method `get_child` exists on the type `xmltree::Element` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/xmltree-0.11.0/src/lib.rs:432:5 [INFO] [stdout] | [INFO] [stdout] 432 | pub fn get_child(&self, k: P) -> Option<&Element> { [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/backend/calendar.rs:51:31 [INFO] [stdout] | [INFO] [stdout] 51 | event.all_day(Utc.ymd(deadline.year(), deadline.month(), deadline.day())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::Local::today`: use `Local::now()` instead [INFO] [stdout] --> src/backend/transactions.rs:566:211 [INFO] [stdout] | [INFO] [stdout] 566 | ....to_string(), open_balance: 0.0, open_balance_date: Some(Local::today().naive_local()) }); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::Local::today`: use `Local::now()` instead [INFO] [stdout] --> src/backend/transactions.rs:567:212 [INFO] [stdout] | [INFO] [stdout] 567 | ...to_string(), open_balance: 35.0, open_balance_date: Some(Local::today().naive_local()) }); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/backend/storage.rs:69:83 [INFO] [stdout] | [INFO] [stdout] 69 | Err(e) => panic!("Couldn't create/open the storage file at {}", e.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/backend/storage.rs:294:70 [INFO] [stdout] | [INFO] [stdout] 294 | Err(e) => panic!("Couldn't parse the row: {}", e.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ui/accounts.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | let mut row = table.add_row(row![ [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] error[E0609]: no field `name` on type `XMLNode` [INFO] [stdout] --> src/backend/import_ofx.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 63 | if tr.name == "STMTTRN".to_string() { [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_child` found for enum `XMLNode` in the current scope [INFO] [stdout] --> src/backend/import_ofx.rs:65:35 [INFO] [stdout] | [INFO] [stdout] 65 | let dtposted = tr.get_child("DTPOSTED") [INFO] [stdout] | ^^^^^^^^^ method not found in `XMLNode` [INFO] [stdout] | [INFO] [stdout] note: the method `get_child` exists on the type `xmltree::Element` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/xmltree-0.11.0/src/lib.rs:432:5 [INFO] [stdout] | [INFO] [stdout] 432 | pub fn get_child(&self, k: P) -> Option<&Element> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ui/transactions.rs:124:21 [INFO] [stdout] | [INFO] [stdout] 124 | let mut row = table.add_row(row![ [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ui/transactions.rs:202:21 [INFO] [stdout] | [INFO] [stdout] 202 | let mut row = table.add_row(row![ [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_child` found for enum `XMLNode` in the current scope [INFO] [stdout] --> src/backend/import_ofx.rs:69:33 [INFO] [stdout] | [INFO] [stdout] 69 | let trnamt = tr.get_child("TRNAMT") [INFO] [stdout] | ^^^^^^^^^ method not found in `XMLNode` [INFO] [stdout] | [INFO] [stdout] note: the method `get_child` exists on the type `xmltree::Element` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/xmltree-0.11.0/src/lib.rs:432:5 [INFO] [stdout] | [INFO] [stdout] 432 | pub fn get_child(&self, k: P) -> Option<&Element> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_child` found for enum `XMLNode` in the current scope [INFO] [stdout] --> src/backend/import_ofx.rs:73:32 [INFO] [stdout] | [INFO] [stdout] 73 | let fitid = tr.get_child("FITID") [INFO] [stdout] | ^^^^^^^^^ method not found in `XMLNode` [INFO] [stdout] | [INFO] [stdout] note: the method `get_child` exists on the type `xmltree::Element` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/xmltree-0.11.0/src/lib.rs:432:5 [INFO] [stdout] | [INFO] [stdout] 432 | pub fn get_child(&self, k: P) -> Option<&Element> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_child` found for enum `XMLNode` in the current scope [INFO] [stdout] --> src/backend/import_ofx.rs:77:31 [INFO] [stdout] | [INFO] [stdout] 77 | let memo = tr.get_child("MEMO") [INFO] [stdout] | ^^^^^^^^^ method not found in `XMLNode` [INFO] [stdout] | [INFO] [stdout] note: the method `get_child` exists on the type `xmltree::Element` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/xmltree-0.11.0/src/lib.rs:432:5 [INFO] [stdout] | [INFO] [stdout] 432 | pub fn get_child(&self, k: P) -> Option<&Element> { [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/backend/calendar.rs:51:31 [INFO] [stdout] | [INFO] [stdout] 51 | event.all_day(Utc.ymd(deadline.year(), deadline.month(), deadline.day())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ui/rules.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | let mut row = table.add_row(row![ [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/backend/storage.rs:69:83 [INFO] [stdout] | [INFO] [stdout] 69 | Err(e) => panic!("Couldn't create/open the storage file at {}", e.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ui/forecasts.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | let mut row = table.add_row(row![ [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/backend/storage.rs:294:70 [INFO] [stdout] | [INFO] [stdout] 294 | Err(e) => panic!("Couldn't parse the row: {}", e.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: assign to part of moved value: `other` [INFO] [stdout] --> src/backend/transactions.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 158 | let mut other = data.next::() [INFO] [stdout] | --------- move occurs because `other` has type `backend::transactions::Transaction`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 163 | mov.transfer = Some(Box::new(other)); [INFO] [stdout] | ----- value moved here [INFO] [stdout] ... [INFO] [stdout] 167 | other.transfer = Some(Box::new(mov.clone())); [INFO] [stdout] | ^^^^^^^^^^^^^^ value partially assigned here after move [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 163 | mov.transfer = Some(Box::new(other.clone())); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ui/accounts.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | let mut row = table.add_row(row![ [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: variable does not need to be mutable [INFO] [stdout] --> src/ui/transactions.rs:124:21 [INFO] [stdout] | [INFO] [stdout] 124 | let mut row = table.add_row(row![ [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ui/transactions.rs:202:21 [INFO] [stdout] | [INFO] [stdout] 202 | let mut row = table.add_row(row![ [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0382, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ui/rules.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | let mut row = table.add_row(row![ [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bmoney` (bin "bmoney") due to 8 previous errors; 18 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ui/forecasts.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | let mut row = table.add_row(row![ [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: assign to part of moved value: `other` [INFO] [stdout] --> src/backend/transactions.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 158 | let mut other = data.next::() [INFO] [stdout] | --------- move occurs because `other` has type `backend::transactions::Transaction`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 163 | mov.transfer = Some(Box::new(other)); [INFO] [stdout] | ----- value moved here [INFO] [stdout] ... [INFO] [stdout] 167 | other.transfer = Some(Box::new(mov.clone())); [INFO] [stdout] | ^^^^^^^^^^^^^^ value partially assigned here after move [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 163 | mov.transfer = Some(Box::new(other.clone())); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0382, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bmoney` (bin "bmoney" test) due to 8 previous errors; 32 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8c36c320070c36217fd271cfbcc1176e4780a23901d180e28fdea291064cedb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c36c320070c36217fd271cfbcc1176e4780a23901d180e28fdea291064cedb4", kill_on_drop: false }` [INFO] [stdout] 8c36c320070c36217fd271cfbcc1176e4780a23901d180e28fdea291064cedb4