[INFO] cloning repository https://github.com/Memnoc/expense-tracker [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Memnoc/expense-tracker" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMemnoc%2Fexpense-tracker", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMemnoc%2Fexpense-tracker'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ef7acbb5c77e7bb7cafe35344a575e76063813c0 [INFO] testing Memnoc/expense-tracker against beta-2025-02-18 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMemnoc%2Fexpense-tracker" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Memnoc/expense-tracker on toolchain beta-2025-02-18 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-02-18" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Memnoc/expense-tracker [INFO] finished tweaking git repo https://github.com/Memnoc/expense-tracker [INFO] tweaked toml for git repo https://github.com/Memnoc/expense-tracker written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Memnoc/expense-tracker 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" "+beta-2025-02-18" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-02-18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 53a3cdfd9f68d3313e7a94e83ed3d1eb3d39e1335079602d615a7e266ce1c37d [INFO] running `Command { std: "docker" "start" "-a" "53a3cdfd9f68d3313e7a94e83ed3d1eb3d39e1335079602d615a7e266ce1c37d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "53a3cdfd9f68d3313e7a94e83ed3d1eb3d39e1335079602d615a7e266ce1c37d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53a3cdfd9f68d3313e7a94e83ed3d1eb3d39e1335079602d615a7e266ce1c37d", kill_on_drop: false }` [INFO] [stdout] 53a3cdfd9f68d3313e7a94e83ed3d1eb3d39e1335079602d615a7e266ce1c37d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-02-18" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8596a640e986ac99c2ccfa6e2b6571740dede6518505b31ef3a1bb6be877fb1a [INFO] running `Command { std: "docker" "start" "-a" "8596a640e986ac99c2ccfa6e2b6571740dede6518505b31ef3a1bb6be877fb1a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling cc v1.1.7 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling bytes v1.6.1 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.1 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling libsqlite3-sys v0.27.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling tokio v1.39.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling serde_json v1.0.121 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling sqlformat v0.2.4 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling castaway v0.2.3 [INFO] [stderr] Compiling unicode-width v0.1.13 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling crossterm v0.27.0 [INFO] [stderr] Compiling compact_str v0.7.1 [INFO] [stderr] Compiling lru v0.12.3 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling tempfile v3.12.0 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling stability v0.2.1 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling unicode-truncate v1.1.0 [INFO] [stderr] Compiling ratatui v0.27.0 [INFO] [stderr] Compiling sqlx-sqlite v0.7.4 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Compiling sqlx v0.7.4 [INFO] [stderr] Compiling expense_tracker v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `set_expenses` is never used [INFO] [stdout] --> src/app.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl App { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn set_expenses(&mut self, expenses: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_expense`, `update_expense`, `clear_expenses`, `filter_by_category`, and `filter_by_month` are never used [INFO] [stdout] --> src/db.rs:42:18 [INFO] [stdout] | [INFO] [stdout] 10 | impl Database { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 42 | pub async fn get_expense(&self, id: i64) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub async fn update_expense(&self, expense: &Expense) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub async fn clear_expenses(&self) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub async fn filter_by_category(&self, category: &str) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub async fn filter_by_month( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 12s [INFO] running `Command { std: "docker" "inspect" "8596a640e986ac99c2ccfa6e2b6571740dede6518505b31ef3a1bb6be877fb1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8596a640e986ac99c2ccfa6e2b6571740dede6518505b31ef3a1bb6be877fb1a", kill_on_drop: false }` [INFO] [stdout] 8596a640e986ac99c2ccfa6e2b6571740dede6518505b31ef3a1bb6be877fb1a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-02-18" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3381b66da7ecb1698b59b362a187db4f86c94d342ac757a4d7bc06584c1e6d28 [INFO] running `Command { std: "docker" "start" "-a" "3381b66da7ecb1698b59b362a187db4f86c94d342ac757a4d7bc06584c1e6d28", kill_on_drop: false }` [INFO] [stderr] Compiling expense_tracker v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `test_db_operations` is never used [INFO] [stdout] --> src/db.rs:184:14 [INFO] [stdout] | [INFO] [stdout] 184 | async fn test_db_operations() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_expenses` is never used [INFO] [stdout] --> src/app.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl App { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn set_expenses(&mut self, expenses: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_expense`, `update_expense`, `filter_by_category`, and `filter_by_month` are never used [INFO] [stdout] --> src/db.rs:42:18 [INFO] [stdout] | [INFO] [stdout] 10 | impl Database { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 42 | pub async fn get_expense(&self, id: i64) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub async fn update_expense(&self, expense: &Expense) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub async fn filter_by_category(&self, category: &str) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub async fn filter_by_month( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_db_operations` is never used [INFO] [stdout] --> src/db.rs:184:14 [INFO] [stdout] | [INFO] [stdout] 184 | async fn test_db_operations() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.56s [INFO] running `Command { std: "docker" "inspect" "3381b66da7ecb1698b59b362a187db4f86c94d342ac757a4d7bc06584c1e6d28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3381b66da7ecb1698b59b362a187db4f86c94d342ac757a4d7bc06584c1e6d28", kill_on_drop: false }` [INFO] [stdout] 3381b66da7ecb1698b59b362a187db4f86c94d342ac757a4d7bc06584c1e6d28 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-02-18" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 49a0759ee61cef8df6c61a00df030a542155c37c769b230848d3a1d1076eff1a [INFO] running `Command { std: "docker" "start" "-a" "49a0759ee61cef8df6c61a00df030a542155c37c769b230848d3a1d1076eff1a", kill_on_drop: false }` [INFO] [stderr] warning: function `test_db_operations` is never used [INFO] [stderr] --> src/db.rs:184:14 [INFO] [stderr] | [INFO] [stderr] 184 | async fn test_db_operations() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `expense_tracker` (lib test) generated 1 warning [INFO] [stderr] warning: method `set_expenses` is never used [INFO] [stderr] --> src/app.rs:36:12 [INFO] [stderr] | [INFO] [stderr] 31 | impl App { [INFO] [stderr] | -------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 36 | pub fn set_expenses(&mut self, expenses: Vec) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: methods `get_expense`, `update_expense`, `filter_by_category`, and `filter_by_month` are never used [INFO] [stderr] --> src/db.rs:42:18 [INFO] [stderr] | [INFO] [stderr] 10 | impl Database { [INFO] [stderr] | ------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 42 | pub async fn get_expense(&self, id: i64) -> Result, sqlx::Error> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 49 | pub async fn update_expense(&self, expense: &Expense) -> Result<(), sqlx::Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 107 | pub async fn filter_by_category(&self, category: &str) -> Result, sqlx::Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 116 | pub async fn filter_by_month( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `test_db_operations` is never used [INFO] [stderr] --> src/db.rs:184:14 [INFO] [stderr] | [INFO] [stderr] 184 | async fn test_db_operations() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `expense_tracker` (bin "expense_tracker" test) generated 3 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/expense_tracker-3f0500e577a93076) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test db_tests::tests::test_delete_expense ... ok [INFO] [stdout] test db_tests::tests::test_insert_and_get_expense ... ok [INFO] [stdout] test db_tests::tests::test_filter_by_category ... ok [INFO] [stdout] test db_tests::tests::test_filter_by_month ... ok [INFO] [stdout] test db_tests::tests::test_update_expense ... ok [INFO] [stdout] test db_tests::tests::test_list_expenses ... ok [INFO] [stdout] test db::tests::test_save_and_laod_expenses ... ok [INFO] [stdout] test db_tests::tests::test_save_and_load_expenses ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- db_tests::tests::test_save_and_load_expenses stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'db_tests::tests::test_save_and_load_expenses' panicked at src/db_tests.rs:190:51: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5d0823356af0 - std::backtrace_rs::backtrace::libunwind::trace::h8ddfbb338e69e199 [INFO] [stdout] at /rustc/f0cb41030579cd1a6f72bd23f38e677052d5d485/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5d0823356af0 - std::backtrace_rs::backtrace::trace_unsynchronized::h4b42ed801e8ee862 [INFO] [stdout] at /rustc/f0cb41030579cd1a6f72bd23f38e677052d5d485/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5d0823356af0 - std::sys::backtrace::_print_fmt::hb90198f2c10bf707 [INFO] [stdout] at /rustc/f0cb41030579cd1a6f72bd23f38e677052d5d485/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5d0823356af0 - ::fmt::h0f123f0656f13ecf [INFO] [stdout] at /rustc/f0cb41030579cd1a6f72bd23f38e677052d5d485/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5d082337f913 - core::fmt::rt::Argument::fmt::h12e51c1529489cd8 [INFO] [stdout] at /rustc/f0cb41030579cd1a6f72bd23f38e677052d5d485/library/core/src/fmt/rt.rs:177:76 [INFO] [stdout] 5: 0x5d082337f913 - core::fmt::write::h0abcdef7aa759353 [INFO] [stdout] at /rustc/f0cb41030579cd1a6f72bd23f38e677052d5d485/library/core/src/fmt/mod.rs:1449:21 [INFO] [stdout] 6: 0x5d0823353823 - std::io::Write::write_fmt::h7dca996477fd2572 [INFO] [stdout] at /rustc/f0cb41030579cd1a6f72bd23f38e677052d5d485/library/std/src/io/mod.rs:1890:15 [INFO] [stdout] 7: 0x5d0823356942 - std::sys::backtrace::BacktraceLock::print::h759bdab738e31d9d [INFO] [stdout] at /rustc/f0cb41030579cd1a6f72bd23f38e677052d5d485/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 8: 0x5d0823357f1f - std::panicking::default_hook::{{closure}}::h0616f7020c8b9e0d [INFO] [stdout] at /rustc/f0cb41030579cd1a6f72bd23f38e677052d5d485/library/std/src/panicking.rs:298:22 [INFO] [stdout] 9: 0x5d0823357d38 - std::panicking::default_hook::hcb4bf3fe9044f7f6 [INFO] [stdout] at /rustc/f0cb41030579cd1a6f72bd23f38e677052d5d485/library/std/src/panicking.rs:322:9 [INFO] [stdout] 10: 0x5d0822fa20d5 - as core::ops::function::Fn>::call::h279e54743b3b5624 [INFO] [stdout] at /rustc/f0cb41030579cd1a6f72bd23f38e677052d5d485/library/alloc/src/boxed.rs:1990:9 [INFO] [stdout] 11: 0x5d0822fa20d5 - test::test_main::{{closure}}::h1534cf01c0e4ff40 [INFO] [stdout] at /rustc/f0cb41030579cd1a6f72bd23f38e677052d5d485/library/test/src/lib.rs:135:21 [INFO] [stdout] 12: 0x5d0823358993 - as core::ops::function::Fn>::call::h1e945e436dfc22a7 [INFO] [stdout] at /rustc/f0cb41030579cd1a6f72bd23f38e677052d5d485/library/alloc/src/boxed.rs:1990:9 [INFO] [stdout] 13: 0x5d0823358993 - std::panicking::rust_panic_with_hook::h2fd8d6252462d800 [INFO] [stdout] at /rustc/f0cb41030579cd1a6f72bd23f38e677052d5d485/library/std/src/panicking.rs:839:13 [INFO] [stdout] 14: 0x5d082335866a - std::panicking::begin_panic_handler::{{closure}}::h746cf6ba43e1c73f [INFO] [stdout] at /rustc/f0cb41030579cd1a6f72bd23f38e677052d5d485/library/std/src/panicking.rs:704:13 [INFO] [stdout] 15: 0x5d0823357009 - std::sys::backtrace::__rust_end_short_backtrace::hba3f7b171935b491 [INFO] [stdout] at /rustc/f0cb41030579cd1a6f72bd23f38e677052d5d485/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 16: 0x5d08233582fd - rust_begin_unwind [INFO] [stdout] at /rustc/f0cb41030579cd1a6f72bd23f38e677052d5d485/library/std/src/panicking.rs:695:5 [INFO] [stdout] 17: 0x5d0822f015b0 - core::panicking::panic_fmt::h34cc4efb1683329b [INFO] [stdout] at /rustc/f0cb41030579cd1a6f72bd23f38e677052d5d485/library/core/src/panicking.rs:75:14 [INFO] [stdout] 18: 0x5d0822f01ab6 - core::result::unwrap_failed::h7658f905fcb0751c [INFO] [stdout] at /rustc/f0cb41030579cd1a6f72bd23f38e677052d5d485/library/core/src/result.rs:1704:5 [INFO] [stdout] 19: 0x5d0822f23474 - core::result::Result::unwrap::h37a59125373c68a5 [INFO] [stdout] at /rustc/f0cb41030579cd1a6f72bd23f38e677052d5d485/library/core/src/result.rs:1109:23 [INFO] [stdout] 20: 0x5d0822f23474 - expense_tracker::db_tests::tests::test_save_and_load_expenses::{{closure}}::hed582f1c0690c460 [INFO] [stdout] at /opt/rustwide/workdir/src/db_tests.rs:190:9 [INFO] [stdout] 21: 0x5d0822f56aa2 - as core::future::future::Future>::poll::h124420720660b6b5 [INFO] [stdout] at /rustc/f0cb41030579cd1a6f72bd23f38e677052d5d485/library/core/src/future/future.rs:124:9 [INFO] [stdout] 22: 0x5d0822f56bbd - as core::future::future::Future>::poll::hac221893164e1e70 [INFO] [stdout] at /rustc/f0cb41030579cd1a6f72bd23f38e677052d5d485/library/core/src/future/future.rs:124:9 [INFO] [stdout] 23: 0x5d0822f4393f - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}::h4caff3d1a8514c21 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.2/src/runtime/scheduler/current_thread/mod.rs:673:57 [INFO] [stdout] 24: 0x5d0822f436a5 - tokio::runtime::coop::with_budget::h10c1612c74e64402 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.2/src/runtime/coop.rs:107:5 [INFO] [stdout] 25: 0x5d0822f436a5 - tokio::runtime::coop::budget::h373a0e5eed2f9a3f [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.2/src/runtime/coop.rs:73:5 [INFO] [stdout] 26: 0x5d0822f436a5 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::hd0fe1258db1235b3 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.2/src/runtime/scheduler/current_thread/mod.rs:673:25 [INFO] [stdout] 27: 0x5d0822f407f0 - tokio::runtime::scheduler::current_thread::Context::enter::h0479097e35b6fa18 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.2/src/runtime/scheduler/current_thread/mod.rs:412:19 [INFO] [stdout] 28: 0x5d0822f42daf - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::h77c13f2944b6d85a [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.2/src/runtime/scheduler/current_thread/mod.rs:672:36 [INFO] [stdout] 29: 0x5d0822f42064 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}::h17178b747740cbff [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.2/src/runtime/scheduler/current_thread/mod.rs:751:68 [INFO] [stdout] 30: 0x5d0822f3597b - tokio::runtime::context::scoped::Scoped::set::hf69b5eeb1882de76 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.2/src/runtime/context/scoped.rs:40:9 [INFO] [stdout] 31: 0x5d0822f354e9 - tokio::runtime::context::set_scheduler::{{closure}}::h5e7ae86fc6052bb3 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.2/src/runtime/context.rs:180:26 [INFO] [stdout] 32: 0x5d0822f4b072 - std::thread::local::LocalKey::try_with::hc612de5475c1e6b9 [INFO] [stdout] at /rustc/f0cb41030579cd1a6f72bd23f38e677052d5d485/library/std/src/thread/local.rs:310:12 [INFO] [stdout] 33: 0x5d0822f4a21e - std::thread::local::LocalKey::with::h09602de30caa7b4f [INFO] [stdout] at /rustc/f0cb41030579cd1a6f72bd23f38e677052d5d485/library/std/src/thread/local.rs:274:15 [INFO] [stdout] 34: 0x5d0822f3549d - tokio::runtime::context::set_scheduler::he65d5a62d2022132 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.2/src/runtime/context.rs:180:9 [INFO] [stdout] 35: 0x5d0822f419f0 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::h9ea31352ed521ae5 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.2/src/runtime/scheduler/current_thread/mod.rs:751:27 [INFO] [stdout] 36: 0x5d0822f420a3 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::h14633f96f523ecbd [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.2/src/runtime/scheduler/current_thread/mod.rs:660:19 [INFO] [stdout] 37: 0x5d0822f3f85a - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}::h9737329a7e83ac89 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.2/src/runtime/scheduler/current_thread/mod.rs:180:28 [INFO] [stdout] 38: 0x5d0822f45a86 - tokio::runtime::context::runtime::enter_runtime::h4978fe6d5422e209 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.2/src/runtime/context/runtime.rs:65:16 [INFO] [stdout] 39: 0x5d0822f3f0d1 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::h9f02de2b09b93f87 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.2/src/runtime/scheduler/current_thread/mod.rs:168:9 [INFO] [stdout] 40: 0x5d0822f5034d - tokio::runtime::runtime::Runtime::block_on_inner::hcaaaaaa028985432 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.2/src/runtime/runtime.rs:361:47 [INFO] [stdout] 41: 0x5d0822f50465 - tokio::runtime::runtime::Runtime::block_on::h3582c610955e8fff [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.2/src/runtime/runtime.rs:335:13 [INFO] [stdout] 42: 0x5d0822f22520 - expense_tracker::db_tests::tests::test_save_and_load_expenses::hb115d47912f0d725 [INFO] [stdout] at /opt/rustwide/workdir/src/db_tests.rs:205:9 [INFO] [stdout] 43: 0x5d0822f223b7 - expense_tracker::db_tests::tests::test_save_and_load_expenses::{{closure}}::he02713de8c83fd7f [INFO] [stdout] at /opt/rustwide/workdir/src/db_tests.rs:165:43 [INFO] [stdout] 44: 0x5d0822f025a6 - core::ops::function::FnOnce::call_once::h8c0714a651b9b56a [INFO] [stdout] at /rustc/f0cb41030579cd1a6f72bd23f38e677052d5d485/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 45: 0x5d0822fa78cb - core::ops::function::FnOnce::call_once::h646a81b1a0ee3114 [INFO] [stdout] at /rustc/f0cb41030579cd1a6f72bd23f38e677052d5d485/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 46: 0x5d0822fa78cb - test::__rust_begin_short_backtrace::h9737b749cdf20b73 [INFO] [stdout] at /rustc/f0cb41030579cd1a6f72bd23f38e677052d5d485/library/test/src/lib.rs:637:18 [INFO] [stdout] 47: 0x5d0822fa6748 - test::run_test_in_process::{{closure}}::hc9246156bf12c5e3 [INFO] [stdout] at /rustc/f0cb41030579cd1a6f72bd23f38e677052d5d485/library/test/src/lib.rs:660:60 [INFO] [stdout] 48: 0x5d0822fa6748 - as core::ops::function::FnOnce<()>>::call_once::hd187ec090a91a453 [INFO] [stdout] at /rustc/f0cb41030579cd1a6f72bd23f38e677052d5d485/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 49: 0x5d0822fa6748 - std::panicking::try::do_call::hb7490276b7008401 [INFO] [stdout] at /rustc/f0cb41030579cd1a6f72bd23f38e677052d5d485/library/std/src/panicking.rs:587:40 [INFO] [stdout] 50: 0x5d0822fa6748 - std::panicking::try::hde59a334d39e511f [INFO] [stdout] at /rustc/f0cb41030579cd1a6f72bd23f38e677052d5d485/library/std/src/panicking.rs:550:19 [INFO] [stdout] 51: 0x5d0822fa6748 - std::panic::catch_unwind::h777cbed9f782814a [INFO] [stdout] at /rustc/f0cb41030579cd1a6f72bd23f38e677052d5d485/library/std/src/panic.rs:358:14 [INFO] [stdout] 52: 0x5d0822fa6748 - test::run_test_in_process::h6282ed78cab70f02 [INFO] [stdout] at /rustc/f0cb41030579cd1a6f72bd23f38e677052d5d485/library/test/src/lib.rs:660:27 [INFO] [stdout] 53: 0x5d0822fa6748 - test::run_test::{{closure}}::ha4e6ef53f436d64b [INFO] [stdout] at /rustc/f0cb41030579cd1a6f72bd23f38e677052d5d485/library/test/src/lib.rs:581:43 [INFO] [stdout] 54: 0x5d0822f6a6d5 - test::run_test::{{closure}}::he11a461bf23e93a3 [INFO] [stdout] at /rustc/f0cb41030579cd1a6f72bd23f38e677052d5d485/library/test/src/lib.rs:611:41 [INFO] [stdout] 55: 0x5d0822f6a6d5 - std::sys::backtrace::__rust_begin_short_backtrace::h25c92ff64d2c4388 [INFO] [stdout] at /rustc/f0cb41030579cd1a6f72bd23f38e677052d5d485/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 56: 0x5d0822f6e0aa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6e893de0bbdcdcce [INFO] [stdout] at /rustc/f0cb41030579cd1a6f72bd23f38e677052d5d485/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 57: 0x5d0822f6e0aa - as core::ops::function::FnOnce<()>>::call_once::h2b3c3ff4a3a96573 [INFO] [stdout] at /rustc/f0cb41030579cd1a6f72bd23f38e677052d5d485/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 58: 0x5d0822f6e0aa - std::panicking::try::do_call::hcc3185a4abc5431b [INFO] [stdout] at /rustc/f0cb41030579cd1a6f72bd23f38e677052d5d485/library/std/src/panicking.rs:587:40 [INFO] [stdout] 59: 0x5d0822f6e0aa - std::panicking::try::hc832a415a1d2ee28 [INFO] [stdout] at /rustc/f0cb41030579cd1a6f72bd23f38e677052d5d485/library/std/src/panicking.rs:550:19 [INFO] [stdout] 60: 0x5d0822f6e0aa - std::panic::catch_unwind::h5e16acac36e3f225 [INFO] [stdout] at /rustc/f0cb41030579cd1a6f72bd23f38e677052d5d485/library/std/src/panic.rs:358:14 [INFO] [stdout] 61: 0x5d0822f6e0aa - std::thread::Builder::spawn_unchecked_::{{closure}}::h9863d22f929fcd53 [INFO] [stdout] at /rustc/f0cb41030579cd1a6f72bd23f38e677052d5d485/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 62: 0x5d0822f6e0aa - core::ops::function::FnOnce::call_once{{vtable.shim}}::h707ec2cca9db5939 [INFO] [stdout] at /rustc/f0cb41030579cd1a6f72bd23f38e677052d5d485/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 63: 0x5d082335cadb - as core::ops::function::FnOnce>::call_once::h5f64cf9bc27988da [INFO] [stdout] at /rustc/f0cb41030579cd1a6f72bd23f38e677052d5d485/library/alloc/src/boxed.rs:1976:9 [INFO] [stdout] 64: 0x5d082335cadb - as core::ops::function::FnOnce>::call_once::h2964712f7a7284c7 [INFO] [stdout] at /rustc/f0cb41030579cd1a6f72bd23f38e677052d5d485/library/alloc/src/boxed.rs:1976:9 [INFO] [stdout] 65: 0x5d082335cadb - std::sys::pal::unix::thread::Thread::new::thread_start::h22ff3573f90e72f2 [INFO] [stdout] at /rustc/f0cb41030579cd1a6f72bd23f38e677052d5d485/library/std/src/sys/pal/unix/thread.rs:106:17 [INFO] [stdout] 66: 0x76e2ea6b4ac3 - [INFO] [stdout] 67: 0x76e2ea745a04 - clone [INFO] [stdout] 68: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] db_tests::tests::test_save_and_load_expenses [INFO] [stdout] [INFO] [stdout] test result: FAILED. 7 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "49a0759ee61cef8df6c61a00df030a542155c37c769b230848d3a1d1076eff1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49a0759ee61cef8df6c61a00df030a542155c37c769b230848d3a1d1076eff1a", kill_on_drop: false }` [INFO] [stdout] 49a0759ee61cef8df6c61a00df030a542155c37c769b230848d3a1d1076eff1a