[INFO] fetching crate pense 0.9.0... [INFO] testing pense-0.9.0 against 1.99.0-beta.1+cargoflags=--release for beta-release-1.99-2 [INFO] extracting crate pense 0.9.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate pense 0.9.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate pense 0.9.0 [INFO] tweaked toml for crates.io crate pense 0.9.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate pense 0.9.0 on toolchain 1.99.0-beta.1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate pense 0.9.0 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" "+1.99.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 136e614a807d3f3e14347039b493d65b7baa14a0060aa62c952a7c1842a9c5c9 [INFO] running `Command { std: "docker" "start" "136e614a807d3f3e14347039b493d65b7baa14a0060aa62c952a7c1842a9c5c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "136e614a807d3f3e14347039b493d65b7baa14a0060aa62c952a7c1842a9c5c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "136e614a807d3f3e14347039b493d65b7baa14a0060aa62c952a7c1842a9c5c9" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "136e614a807d3f3e14347039b493d65b7baa14a0060aa62c952a7c1842a9c5c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "136e614a807d3f3e14347039b493d65b7baa14a0060aa62c952a7c1842a9c5c9" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling cc v1.2.56 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling socket2 v0.6.3 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling futures-sink v0.3.32 [INFO] [stderr] Compiling itoa v1.0.17 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling crc v3.4.0 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling tokio v1.50.0 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling ryu v1.0.23 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling anstyle v1.0.13 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling anstream v0.6.21 [INFO] [stderr] Compiling clap_lex v1.0.0 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling clap_builder v4.5.60 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling futures-executor v0.3.32 [INFO] [stderr] Compiling clap_derive v4.5.55 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling uuid v1.22.0 [INFO] [stderr] Compiling directories v6.0.0 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Compiling clap v4.5.60 [INFO] [stderr] Compiling sqlx-sqlite v0.8.6 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Compiling sqlx v0.8.6 [INFO] [stderr] Compiling pense v0.9.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `release` profile [optimized] target(s) in 1m 21s [INFO] running `Command { std: "docker" "inspect" "136e614a807d3f3e14347039b493d65b7baa14a0060aa62c952a7c1842a9c5c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "136e614a807d3f3e14347039b493d65b7baa14a0060aa62c952a7c1842a9c5c9" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling winnow v0.7.15 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling toml_datetime v1.0.0+spec-1.1.0 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling rstest_macros v0.26.1 [INFO] [stderr] Compiling assert_cmd v2.1.2 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Compiling predicates v3.1.4 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling bstr v1.12.1 [INFO] [stderr] Compiling toml_parser v1.0.9+spec-1.1.0 [INFO] [stderr] Compiling toml_edit v0.25.4+spec-1.1.0 [INFO] [stderr] Compiling proc-macro-crate v3.5.0 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Compiling futures-executor v0.3.32 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling sqlx-sqlite v0.8.6 [INFO] [stderr] Compiling rstest v0.26.1 [INFO] [stderr] Compiling sqlx v0.8.6 [INFO] [stderr] Compiling pense v0.9.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `release` profile [optimized] target(s) in 14.26s [INFO] running `Command { std: "docker" "inspect" "136e614a807d3f3e14347039b493d65b7baa14a0060aa62c952a7c1842a9c5c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "136e614a807d3f3e14347039b493d65b7baa14a0060aa62c952a7c1842a9c5c9" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "test" "--frozen" "--release", kill_on_drop: false }` [INFO] [stderr] Finished `release` profile [optimized] target(s) in 0.18s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/release/deps/pense-4aeefcaca7179b1f) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test cli::test::test_validate_amount_invalid::case_2 ... ok [INFO] [stdout] test cli::test::test_validate_amount_invalid::case_1 ... ok [INFO] [stdout] test cli::test::test_validate_amount_valid::case_1 ... ok [INFO] [stdout] test cli::test::test_validate_amount_valid::case_2 ... ok [INFO] [stdout] test cli::test::test_validate_amount_valid::case_3 ... ok [INFO] [stdout] test path::tests::test_construct_file_path ... ok [INFO] [stdout] test path::tests::test_validate_file_path_invalid_dir ... ok [INFO] [stdout] test path::tests::test_validate_file_path_invalid_file ... ok [INFO] [stdout] test path::tests::test_validate_file_path_valid ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/release/deps/pense-0e56603ef472c4a4) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/integration_test.rs (/opt/rustwide/target/release/deps/integration_test-4a013b3bf2280245) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test test_invalid_records_path_file ... ok [INFO] [stdout] test test_invalid_records_path_dir ... ok [INFO] [stdout] test test_list ... FAILED [INFO] [stdout] test test_total ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test_list stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'test_list' (2247) panicked at /rustc/f47d5bb13648d5c859f5b438eb7dc834b9729961/library/core/src/ops/function.rs:250:5: [INFO] [stdout] Unexpected failure. [INFO] [stdout] code=1 [INFO] [stdout] stderr=```"Error: Database(SqliteError { code: 14, message: \"unable to open database file\" })\n"``` [INFO] [stdout] command=`"/opt/rustwide/target/release/pense" "-p=./tests/resources/pense.db" "list"` [INFO] [stdout] code=1 [INFO] [stdout] stdout="" [INFO] [stdout] stderr="Error: Database(SqliteError { code: 14, message: \"unable to open database file\" })\n" [INFO] [stdout] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x58952534a561 - <::print::DisplayBacktrace as core[7c831bd917ebf35f]::fmt::Display>::fmt [INFO] [stdout] 1: 0x5895253607da - core[7c831bd917ebf35f]::fmt::write [INFO] [stdout] 2: 0x58952534fdec - as core[7c831bd917ebf35f]::io::write::Write>::write_fmt [INFO] [stdout] 3: 0x589525326556 - std[104cf6e2632825ea]::panicking::default_hook::{closure#0} [INFO] [stdout] 4: 0x589525342b49 - std[104cf6e2632825ea]::panicking::default_hook [INFO] [stdout] 5: 0x5895252c85b0 - test[73009c9f9aebf890]::test_main_inner::::{closure#0} [INFO] [stdout] 6: 0x589525342d02 - std[104cf6e2632825ea]::panicking::panic_with_hook [INFO] [stdout] 7: 0x589525326602 - std[104cf6e2632825ea]::panicking::panic_handler::{closure#0} [INFO] [stdout] 8: 0x58952531efa9 - std[104cf6e2632825ea]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] 9: 0x5895253271fd - __rustc[b0d56fa5b193ad05]::rust_begin_unwind [INFO] [stdout] 10: 0x589525360f8c - core[7c831bd917ebf35f]::panicking::panic_fmt [INFO] [stdout] 11: 0x5895252fc863 - ::panic:: [INFO] [stdout] 12: 0x5895252fd006 - ::success [INFO] [stdout] 13: 0x5895252bb762 - >::call_once [INFO] [stdout] 14: 0x5895252bb89b - test[73009c9f9aebf890]::__rust_begin_short_backtrace::, fn() -> core[7c831bd917ebf35f]::result::Result<(), alloc[2fdc3f7464fcf288]::string::String>> [INFO] [stdout] 15: 0x5895252c8f05 - test[73009c9f9aebf890]::run_test::{closure#0} [INFO] [stdout] 16: 0x5895252c22c4 - std[104cf6e2632825ea]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 17: 0x5895252cc062 - ::{closure#1} as core[7c831bd917ebf35f]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 18: 0x589525349db9 - ::new::thread_start [INFO] [stdout] 19: 0x728c9990807a - [INFO] [stdout] 20: 0x728c9999b534 - clone [INFO] [stdout] 21: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- test_total stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'test_total' (2248) panicked at /rustc/f47d5bb13648d5c859f5b438eb7dc834b9729961/library/core/src/ops/function.rs:250:5: [INFO] [stdout] Unexpected stdout, failed diff original var [INFO] [stdout] ├── original: Total: 594 [INFO] [stdout] ├── diff: [INFO] [stdout] │ --- orig [INFO] [stdout] │ +++ var [INFO] [stdout] │ @@ -1 +0,0 @@ [INFO] [stdout] │ -Total: 594 [INFO] [stdout] └── var as str: [INFO] [stdout] [INFO] [stdout] command=`"/opt/rustwide/target/release/pense" "-p=./tests/resources/pense.db" "total"` [INFO] [stdout] code=1 [INFO] [stdout] stdout="" [INFO] [stdout] stderr="Error: Database(SqliteError { code: 14, message: \"unable to open database file\" })\n" [INFO] [stdout] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x58952534a561 - <::print::DisplayBacktrace as core[7c831bd917ebf35f]::fmt::Display>::fmt [INFO] [stdout] 1: 0x5895253607da - core[7c831bd917ebf35f]::fmt::write [INFO] [stdout] 2: 0x58952534fdec - as core[7c831bd917ebf35f]::io::write::Write>::write_fmt [INFO] [stdout] 3: 0x589525326556 - std[104cf6e2632825ea]::panicking::default_hook::{closure#0} [INFO] [stdout] 4: 0x589525342b49 - std[104cf6e2632825ea]::panicking::default_hook [INFO] [stdout] 5: 0x5895252c85b0 - test[73009c9f9aebf890]::test_main_inner::::{closure#0} [INFO] [stdout] 6: 0x589525342d02 - std[104cf6e2632825ea]::panicking::panic_with_hook [INFO] [stdout] 7: 0x589525326602 - std[104cf6e2632825ea]::panicking::panic_handler::{closure#0} [INFO] [stdout] 8: 0x58952531efa9 - std[104cf6e2632825ea]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stderr] error: test failed, to rerun pass `--test integration_test` [INFO] [stdout] 9: 0x5895253271fd - __rustc[b0d56fa5b193ad05]::rust_begin_unwind [INFO] [stdout] 10: 0x589525360f8c - core[7c831bd917ebf35f]::panicking::panic_fmt [INFO] [stdout] 11: 0x5895252ba2b4 - ::panic:: [INFO] [stdout] 12: 0x5895252bb3af - >::call_once [INFO] [stdout] 13: 0x5895252bb89b - test[73009c9f9aebf890]::__rust_begin_short_backtrace::, fn() -> core[7c831bd917ebf35f]::result::Result<(), alloc[2fdc3f7464fcf288]::string::String>> [INFO] [stdout] 14: 0x5895252c8f05 - test[73009c9f9aebf890]::run_test::{closure#0} [INFO] [stdout] 15: 0x5895252c22c4 - std[104cf6e2632825ea]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 16: 0x5895252cc062 - ::{closure#1} as core[7c831bd917ebf35f]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 17: 0x589525349db9 - ::new::thread_start [INFO] [stdout] 18: 0x728c9990807a - [INFO] [stdout] 19: 0x728c9999b534 - clone [INFO] [stdout] 20: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] test_list [INFO] [stdout] test_total [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "136e614a807d3f3e14347039b493d65b7baa14a0060aa62c952a7c1842a9c5c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "136e614a807d3f3e14347039b493d65b7baa14a0060aa62c952a7c1842a9c5c9", kill_on_drop: false }` [INFO] [stdout] 136e614a807d3f3e14347039b493d65b7baa14a0060aa62c952a7c1842a9c5c9