[INFO] fetching crate rust_ledger 0.8.0... [INFO] testing rust_ledger-0.8.0 against 1.59.0 for beta-1.60-1 [INFO] extracting crate rust_ledger 0.8.0 into /workspace/builds/worker-27/source [INFO] validating manifest of crates.io crate rust_ledger 0.8.0 on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rust_ledger 0.8.0 [INFO] finished tweaking crates.io crate rust_ledger 0.8.0 [INFO] tweaked toml for crates.io crate rust_ledger 0.8.0 written to /workspace/builds/worker-27/source/Cargo.toml [INFO] crate crates.io crate rust_ledger 0.8.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a8b4d33507b71d7b7028e9dc67ef728bc16958334c230e6a53e89b1c55422955 [INFO] running `Command { std: "docker" "start" "-a" "a8b4d33507b71d7b7028e9dc67ef728bc16958334c230e6a53e89b1c55422955", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a8b4d33507b71d7b7028e9dc67ef728bc16958334c230e6a53e89b1c55422955", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8b4d33507b71d7b7028e9dc67ef728bc16958334c230e6a53e89b1c55422955", kill_on_drop: false }` [INFO] [stdout] a8b4d33507b71d7b7028e9dc67ef728bc16958334c230e6a53e89b1c55422955 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d15f8d0175052e96c4a20142c9dcb190d7b145351d3ebbac756019087cf20dfb [INFO] running `Command { std: "docker" "start" "-a" "d15f8d0175052e96c4a20142c9dcb190d7b145351d3ebbac756019087cf20dfb", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling encode_unicode v0.3.6 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling bstr v0.2.16 [INFO] [stderr] Compiling rust_decimal v1.15.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling serde_yaml v0.8.20 [INFO] [stderr] Compiling rust_decimal_macros v1.15.0 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling rusty-money v0.4.1 [INFO] [stderr] Compiling prettytable-rs v0.8.0 [INFO] [stderr] Compiling rust_ledger v0.8.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `description` [INFO] [stdout] --> src/cli/csv.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | description: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 17.16s [INFO] running `Command { std: "docker" "inspect" "d15f8d0175052e96c4a20142c9dcb190d7b145351d3ebbac756019087cf20dfb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d15f8d0175052e96c4a20142c9dcb190d7b145351d3ebbac756019087cf20dfb", kill_on_drop: false }` [INFO] [stdout] d15f8d0175052e96c4a20142c9dcb190d7b145351d3ebbac756019087cf20dfb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 88a8d0b3978429d442e5f53e40159641d2e808237f61a420ffc7f90e00877d6c [INFO] running `Command { std: "docker" "start" "-a" "88a8d0b3978429d442e5f53e40159641d2e808237f61a420ffc7f90e00877d6c", kill_on_drop: false }` [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stdout] warning: field is never read: `description` [INFO] [stdout] --> src/cli/csv.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | description: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling predicates v2.0.2 [INFO] [stderr] Compiling assert_cmd v2.0.0 [INFO] [stderr] Compiling rust_ledger v0.8.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `description` [INFO] [stdout] --> src/cli/csv.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | description: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.09s [INFO] running `Command { std: "docker" "inspect" "88a8d0b3978429d442e5f53e40159641d2e808237f61a420ffc7f90e00877d6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88a8d0b3978429d442e5f53e40159641d2e808237f61a420ffc7f90e00877d6c", kill_on_drop: false }` [INFO] [stdout] 88a8d0b3978429d442e5f53e40159641d2e808237f61a420ffc7f90e00877d6c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8a8970fcf3c14abc4a5904fa7be36c9149a3109493094c7710104c15edabb64c [INFO] running `Command { std: "docker" "start" "-a" "8a8970fcf3c14abc4a5904fa7be36c9149a3109493094c7710104c15edabb64c", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] warning: field is never read: `description` [INFO] [stdout] running 11 tests [INFO] [stderr] --> src/cli/csv.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | description: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `rust_ledger` (bin "rust_ledger" test) generated 1 warning [INFO] [stderr] warning: `rust_ledger` (bin "rust_ledger") generated 1 warning (1 duplicate) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rust_ledger-fae10c53dc30c349) [INFO] [stdout] test cli::csv::should_handle_credits ... ok [INFO] [stderr] Running tests/cli.rs (/opt/rustwide/target/debug/deps/cli-5a24a4d2a06ff3c9) [INFO] [stdout] test cli::csv::negative_csv_amount_should_be_debit ... ok [INFO] [stdout] test cli::csv::account_should_be_matched_account ... ok [INFO] [stdout] test ledger::group_map ... ok [INFO] [stdout] test cli::csv::positive_csv_amount_should_be_credit ... ok [INFO] [stdout] test cli::csv::account_should_be_expense_general ... ok [INFO] [stdout] test cli::csv::account_should_be_income_general ... ok [INFO] [stdout] test cli::csv::should_handle_debits ... ok [INFO] [stdout] test ledger::flatten_ledger_transactions ... ok [INFO] [stdout] test ledger::filter_transactions_by_option_42 ... ok [INFO] [stdout] test ledger::optional_keys ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test test::print_budget_to_stdout ... ok [INFO] [stdout] test test::print_accounts_to_stdout ... ok [INFO] [stdout] test test::print_balances_to_stdout ... ok [INFO] [stdout] test test::print_register_to_stdout ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8a8970fcf3c14abc4a5904fa7be36c9149a3109493094c7710104c15edabb64c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a8970fcf3c14abc4a5904fa7be36c9149a3109493094c7710104c15edabb64c", kill_on_drop: false }` [INFO] [stdout] 8a8970fcf3c14abc4a5904fa7be36c9149a3109493094c7710104c15edabb64c