[INFO] cloning repository https://github.com/tibs245/invoice-cli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tibs245/invoice-cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftibs245%2Finvoice-cli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftibs245%2Finvoice-cli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 82d5dfbc72e0d8c54e00d1c501f7e4b9eb39f634 [INFO] testing tibs245/invoice-cli against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftibs245%2Finvoice-cli" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tibs245/invoice-cli [INFO] finished tweaking git repo https://github.com/tibs245/invoice-cli [INFO] tweaked toml for git repo https://github.com/tibs245/invoice-cli written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tibs245/invoice-cli on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tibs245/invoice-cli already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a9931dbff94d52edcba8bb9ac8e2aeb51b1779ed897a5ca14e1492f71581fe8f [INFO] running `Command { std: "docker" "start" "-a" "a9931dbff94d52edcba8bb9ac8e2aeb51b1779ed897a5ca14e1492f71581fe8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a9931dbff94d52edcba8bb9ac8e2aeb51b1779ed897a5ca14e1492f71581fe8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9931dbff94d52edcba8bb9ac8e2aeb51b1779ed897a5ca14e1492f71581fe8f", kill_on_drop: false }` [INFO] [stdout] a9931dbff94d52edcba8bb9ac8e2aeb51b1779ed897a5ca14e1492f71581fe8f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2369f9a2ac818d0afc05845e414a89f0170ba328a8cf7a9cb239a65977c32dc9 [INFO] running `Command { std: "docker" "start" "-a" "2369f9a2ac818d0afc05845e414a89f0170ba328a8cf7a9cb239a65977c32dc9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling rustix v0.38.30 [INFO] [stderr] Compiling anstyle v1.0.5 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling fuzzy-matcher v0.3.7 [INFO] [stderr] Compiling iana-time-zone v0.1.59 [INFO] [stderr] Compiling shell-words v1.1.0 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling serde_derive v1.0.195 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling anstream v0.6.11 [INFO] [stderr] Compiling clap_builder v4.4.18 [INFO] [stderr] Compiling env_logger v0.11.1 [INFO] [stderr] Compiling chrono v0.4.33 [INFO] [stderr] Compiling console v0.15.8 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling tempfile v3.9.0 [INFO] [stderr] Compiling dialoguer v0.11.0 [INFO] [stderr] Compiling clap v4.4.18 [INFO] [stderr] Compiling serde_yaml v0.9.30 [INFO] [stderr] Compiling invoice-cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.10s [INFO] running `Command { std: "docker" "inspect" "2369f9a2ac818d0afc05845e414a89f0170ba328a8cf7a9cb239a65977c32dc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2369f9a2ac818d0afc05845e414a89f0170ba328a8cf7a9cb239a65977c32dc9", kill_on_drop: false }` [INFO] [stdout] 2369f9a2ac818d0afc05845e414a89f0170ba328a8cf7a9cb239a65977c32dc9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] edf40e6dfaa1444e0da8556e5ea6fd74c4b37818c713f80593b1581f653439f2 [INFO] running `Command { std: "docker" "start" "-a" "edf40e6dfaa1444e0da8556e5ea6fd74c4b37818c713f80593b1581f653439f2", kill_on_drop: false }` [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling bstr v1.9.0 [INFO] [stderr] Compiling predicates-core v1.0.6 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling termtree v0.4.1 [INFO] [stderr] Compiling serde_test v1.0.176 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling predicates-tree v1.0.9 [INFO] [stderr] Compiling predicates v3.1.0 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Compiling globset v0.4.14 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling env_filter v0.1.0 [INFO] [stderr] Compiling env_logger v0.11.1 [INFO] [stderr] Compiling ignore v0.4.22 [INFO] [stderr] Compiling globwalk v0.9.1 [INFO] [stderr] Compiling assert_fs v1.1.1 [INFO] [stderr] Compiling invoice-cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `mock_select_invoice` is never used [INFO] [stdout] --> src/cli/utils/select_invoice.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | pub(crate) fn mock_select_invoice(file_manager: &impl InvoiceManager) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mock_select_customer` is never used [INFO] [stdout] --> src/cli/utils/select_customer.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 32 | pub(crate) fn mock_select_customer(file_manager: &impl InvoiceManager) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 14.29s [INFO] running `Command { std: "docker" "inspect" "edf40e6dfaa1444e0da8556e5ea6fd74c4b37818c713f80593b1581f653439f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edf40e6dfaa1444e0da8556e5ea6fd74c4b37818c713f80593b1581f653439f2", kill_on_drop: false }` [INFO] [stdout] edf40e6dfaa1444e0da8556e5ea6fd74c4b37818c713f80593b1581f653439f2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7f6cb1234da99e317ec8de0b64169df56d91a8ffd32ef6f1696cfb6db21be46d [INFO] running `Command { std: "docker" "start" "-a" "7f6cb1234da99e317ec8de0b64169df56d91a8ffd32ef6f1696cfb6db21be46d", kill_on_drop: false }` [INFO] [stderr] warning: function `mock_select_invoice` is never used [INFO] [stdout] [INFO] [stderr] --> src/cli/utils/select_invoice.rs:35:19 [INFO] [stdout] running 44 tests [INFO] [stderr] | [INFO] [stdout] test entities::customer::tests::customer_from_string ... ok [INFO] [stderr] 35 | pub(crate) fn mock_select_invoice(file_manager: &impl InvoiceManager) -> Result> { [INFO] [stdout] test entities::customer::tests::customer_map_from_string ... ok [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] test entities::invoice::tests::invoice_reference_test ... ok [INFO] [stderr] | [INFO] [stdout] test entities::customer::tests::customer_to_string ... ok [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] test entities::customer::tests::customer_map_to_string ... ok [INFO] [stderr] [INFO] [stdout] test entities::invoice::tests::invoice_id_test ... ok [INFO] [stderr] warning: function `mock_select_customer` is never used [INFO] [stdout] test entities::invoice::tests::invoice_to_string ... ok [INFO] [stderr] --> src/cli/utils/select_customer.rs:32:19 [INFO] [stdout] test entities::invoice::tests::invoice_total_price ... ok [INFO] [stderr] | [INFO] [stdout] test entities::invoice::tests::test_invoice_display ... ok [INFO] [stderr] 32 | pub(crate) fn mock_select_customer(file_manager: &impl InvoiceManager) -> Result> { [INFO] [stdout] test entities::invoice_date::tests::day_string_parameters ... ok [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] test entities::invoice_date::tests::invoice_date_constructor ... ok [INFO] [stderr] [INFO] [stdout] test entities::invoice_date::tests::month_string_parameters ... ok [INFO] [stderr] warning: `invoice-cli` (bin "invoice-cli" test) generated 2 warnings [INFO] [stdout] test entities::invoice_date::tests::invoice_date_into_naive_date ... ok [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stdout] test entities::product::tests::product_from_string ... ok [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/invoice_cli-ae5e2b446a43c1b6) [INFO] [stdout] test entities::product::tests::product_total_price_half ... ok [INFO] [stdout] test entities::product::tests::product_to_string ... ok [INFO] [stdout] test entities::product::tests::product_total_price_multiple ... ok [INFO] [stdout] test entities::product::tests::product_total_price_simple ... ok [INFO] [stdout] test entities::serializer::tests::test_serializer ... ok [INFO] [stdout] test entities::settings::tests::test_settings_serialization ... ok [INFO] [stdout] test entities::siren::tests::test_new_siren ... ok [INFO] [stdout] test entities::settings::tests::invoice_from_string ... ok [INFO] [stdout] test entities::settings::tests::invoice_to_string ... ok [INFO] [stdout] test entities::invoice_date::tests::year_string_parameters ... ok [INFO] [stdout] test file_manager::customer::edit_customer::tests::test_edit_customer_not_exists ... ok [INFO] [stdout] test file_manager::customer::get_all_customers::tests::customer_map_from_string ... ok [INFO] [stdout] test file_manager::invoice::get_all_invoices_by_day::tests::test_get_all_invoices_path ... ok [INFO] [stdout] test file_manager::invoice::get_all_invoices_by_month::tests::test_get_all_invoices_by_day ... ok [INFO] [stdout] test file_manager::customer::edit_customer::tests::test_edit_customer ... ok [INFO] [stdout] test file_manager::customer::create_customer::tests::test_create_customer ... ok [INFO] [stdout] test file_manager::file_manager::tests::test_file_manager_create_read ... ok [INFO] [stdout] test file_manager::file_manager::tests::file_manager_generate_instance ... ok [INFO] [stdout] test file_manager::invoice::create_invoice::tests::test_create_invoice ... ok [INFO] [stdout] test file_manager::invoice::get_all_invoices::tests::test_get_all_invoices_path ... ok [INFO] [stdout] test file_manager::invoice::get_all_invoices_by_year::tests::test_get_all_invoices_path ... ok [INFO] [stdout] test entities::invoice::tests::invoice_from_string ... ok [INFO] [stdout] test file_manager::invoice::create_invoice::tests::test_assign_invoice_id ... ok [INFO] [stdout] test file_manager::invoice::get_invoice_by_filepath::tests::test_get_invoice ... ok [INFO] [stdout] test file_manager::settings::get_settings::tests::customer_map_from_string ... ok [INFO] [stdout] test file_manager::invoice::get_all_invoices_path::tests::test_get_all_invoices_path ... ok [INFO] [stdout] test file_manager::settings::save_settings::tests::test_save_config ... ok [INFO] [stdout] test file_manager::customer::delete_customer::tests::test_delete_customer ... ok [INFO] [stdout] test entities::settings::tests::test_enterprise_serialization ... ok [INFO] [stdout] test entities::product::tests::product_total_price_zero ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 44 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.14s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7f6cb1234da99e317ec8de0b64169df56d91a8ffd32ef6f1696cfb6db21be46d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f6cb1234da99e317ec8de0b64169df56d91a8ffd32ef6f1696cfb6db21be46d", kill_on_drop: false }` [INFO] [stdout] 7f6cb1234da99e317ec8de0b64169df56d91a8ffd32ef6f1696cfb6db21be46d