[INFO] cloning repository https://github.com/daviddprtma/banking-system-with-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/daviddprtma/banking-system-with-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdaviddprtma%2Fbanking-system-with-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdaviddprtma%2Fbanking-system-with-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4db66ad6fbd2e6c859e2c9ce0f651b4ca253776e
[INFO] testing daviddprtma/banking-system-with-rust against try#28f95933dc0727396c07b48d0a8cb5211b7fb472 for pr-154065-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdaviddprtma%2Fbanking-system-with-rust" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/daviddprtma/banking-system-with-rust
[INFO] finished tweaking git repo https://github.com/daviddprtma/banking-system-with-rust
[INFO] tweaked toml for git repo https://github.com/daviddprtma/banking-system-with-rust written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/daviddprtma/banking-system-with-rust on toolchain 28f95933dc0727396c07b48d0a8cb5211b7fb472
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/daviddprtma/banking-system-with-rust 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" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded anstyle v1.0.7
[INFO] [stderr]   Downloaded clap_lex v0.7.0
[INFO] [stderr]   Downloaded clap_derive v4.5.4
[INFO] [stderr]   Downloaded clap v4.5.4
[INFO] [stderr]   Downloaded anstyle-wincon v3.0.3
[INFO] [stderr]   Downloaded colorchoice v1.0.1
[INFO] [stderr]   Downloaded is_terminal_polyfill v1.70.0
[INFO] [stderr]   Downloaded anstyle-query v1.0.3
[INFO] [stderr]   Downloaded anstyle-parse v0.2.4
[INFO] [stderr]   Downloaded anstream v0.6.14
[INFO] [stderr]   Downloaded clap_builder v4.5.2
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fc002258663c3e32456f665fbbc58bf1fe150ed9ea55c75d26ae892280cbe1ff
[INFO] running `Command { std: "docker" "start" "-a" "fc002258663c3e32456f665fbbc58bf1fe150ed9ea55c75d26ae892280cbe1ff", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fc002258663c3e32456f665fbbc58bf1fe150ed9ea55c75d26ae892280cbe1ff", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fc002258663c3e32456f665fbbc58bf1fe150ed9ea55c75d26ae892280cbe1ff", kill_on_drop: false }`
[INFO] [stdout] fc002258663c3e32456f665fbbc58bf1fe150ed9ea55c75d26ae892280cbe1ff
[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=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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fd2bbcdc4c209d52c4dea59271538c63041261337f6142440a5356f188a2925e
[INFO] running `Command { std: "docker" "start" "-a" "fd2bbcdc4c209d52c4dea59271538c63041261337f6142440a5356f188a2925e", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling proc-macro2 v1.0.85
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling utf8parse v0.2.1
[INFO] [stderr]    Compiling zerocopy v0.7.34
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling cc v1.0.98
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling pkg-config v0.3.30
[INFO] [stderr]    Compiling anstyle-query v1.0.3
[INFO] [stderr]    Compiling anstyle v1.0.7
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.0
[INFO] [stderr]    Compiling colorchoice v1.0.1
[INFO] [stderr]    Compiling clap_lex v0.7.0
[INFO] [stderr]    Compiling heck v0.5.0
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling anstyle-parse v0.2.4
[INFO] [stderr]    Compiling bitflags v2.5.0
[INFO] [stderr]    Compiling fallible-iterator v0.3.0
[INFO] [stderr]    Compiling fallible-streaming-iterator v0.1.9
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling anstream v0.6.14
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling clap_builder v4.5.2
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling syn v2.0.66
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling libsqlite3-sys v0.28.0
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling hashlink v0.9.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling clap_derive v4.5.4
[INFO] [stderr]    Compiling clap v4.5.4
[INFO] [stderr]    Compiling rusqlite v0.31.0
[INFO] [stderr]    Compiling banking-system v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `db`
[INFO] [stdout]   --> src/database.rs:21:13
[INFO] [stdout]    |
[INFO] [stdout] 21 |         let db = initialise_bankdb()?;
[INFO] [stdout]    |             ^^ help: if this is intentional, prefix it with an underscore: `_db`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `query_string`
[INFO] [stdout]   --> src/database.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 22 |         let query_string = format!(
[INFO] [stdout]    |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_query_string`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:39:17
[INFO] [stdout]    |
[INFO] [stdout] 39 |             let mut new_account = AccountNumber::default();
[INFO] [stdout]    |                 ----^^^^^^^^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.94s
[INFO] running `Command { std: "docker" "inspect" "fd2bbcdc4c209d52c4dea59271538c63041261337f6142440a5356f188a2925e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fd2bbcdc4c209d52c4dea59271538c63041261337f6142440a5356f188a2925e", kill_on_drop: false }`
[INFO] [stdout] fd2bbcdc4c209d52c4dea59271538c63041261337f6142440a5356f188a2925e
[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=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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1c3d1f60c22eb21672012a6a2b251927de869e5fab87d4aae3f1d51716698cf7
[INFO] running `Command { std: "docker" "start" "-a" "1c3d1f60c22eb21672012a6a2b251927de869e5fab87d4aae3f1d51716698cf7", kill_on_drop: false }`
[INFO] [stdout] warning: unused variable: `db`
[INFO] [stdout]   --> src/database.rs:21:13
[INFO] [stdout]    |
[INFO] [stdout] 21 |         let db = initialise_bankdb()?;
[INFO] [stdout]    |             ^^ help: if this is intentional, prefix it with an underscore: `_db`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `query_string`
[INFO] [stdout]   --> src/database.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 22 |         let query_string = format!(
[INFO] [stdout]    |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_query_string`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling banking-system v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:39:17
[INFO] [stdout]    |
[INFO] [stdout] 39 |             let mut new_account = AccountNumber::default();
[INFO] [stdout]    |                 ----^^^^^^^^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `db`
[INFO] [stdout]   --> src/database.rs:21:13
[INFO] [stdout]    |
[INFO] [stdout] 21 |         let db = initialise_bankdb()?;
[INFO] [stdout]    |             ^^ help: if this is intentional, prefix it with an underscore: `_db`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `query_string`
[INFO] [stdout]   --> src/database.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 22 |         let query_string = format!(
[INFO] [stdout]    |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_query_string`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.35s
[INFO] running `Command { std: "docker" "inspect" "1c3d1f60c22eb21672012a6a2b251927de869e5fab87d4aae3f1d51716698cf7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1c3d1f60c22eb21672012a6a2b251927de869e5fab87d4aae3f1d51716698cf7", kill_on_drop: false }`
[INFO] [stdout] 1c3d1f60c22eb21672012a6a2b251927de869e5fab87d4aae3f1d51716698cf7
[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=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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 79c4419f0cfd66810ce2b3d259ba51a71eda4956d56e445c8ec21752a4e7c798
[INFO] running `Command { std: "docker" "start" "-a" "79c4419f0cfd66810ce2b3d259ba51a71eda4956d56e445c8ec21752a4e7c798", kill_on_drop: false }`
[INFO] [stderr] warning: unused variable: `db`
[INFO] [stderr]   --> src/database.rs:21:13
[INFO] [stderr]    |
[INFO] [stderr] 21 |         let db = initialise_bankdb()?;
[INFO] [stderr]    |             ^^ help: if this is intentional, prefix it with an underscore: `_db`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `query_string`
[INFO] [stderr]   --> src/database.rs:22:13
[INFO] [stderr]    |
[INFO] [stderr] 22 |         let query_string = format!(
[INFO] [stderr]    |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_query_string`
[INFO] [stderr] 
[INFO] [stderr] warning: `banking-system` (lib) generated 2 warnings (run `cargo fix --lib -p banking-system` to apply 2 suggestions)
[INFO] [stderr] warning: `banking-system` (lib test) generated 2 warnings (2 duplicates)
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/main.rs:39:17
[INFO] [stderr]    |
[INFO] [stderr] 39 |             let mut new_account = AccountNumber::default();
[INFO] [stderr]    |                 ----^^^^^^^^^^^
[INFO] [stderr]    |                 |
[INFO] [stderr]    |                 help: remove this `mut`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `banking-system` (bin "banking-system" test) generated 1 warning (run `cargo fix --bin "banking-system" -p banking-system --tests` to apply 1 suggestion)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/banking_system-480d9c672d1853f7)
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test luhn::tests::invalid_account_numbers_fixed_length ... ok
[INFO] [stdout] test luhn::tests::valid_account_numbers_fixed_length ... ok
[INFO] [stdout] test luhn::tests::valid_account_numbers_in_different_lengths ... ok
[INFO] [stdout] test database::tests::created_account_is_correct_fetched_from_db ... FAILED
[INFO] [stdout] test database::tests::transferred_balance_is_correct ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- database::tests::created_account_is_correct_fetched_from_db stdout ----
[INFO] [stdout] Error: SqliteFailure(Error { code: ReadOnly, extended_code: 8 }, Some("attempt to write a readonly database"))
[INFO] [stdout] 
[INFO] [stdout] ---- database::tests::transferred_balance_is_correct stdout ----
[INFO] [stdout] Error: SqliteFailure(Error { code: ReadOnly, extended_code: 8 }, Some("attempt to write a readonly database"))
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     database::tests::created_account_is_correct_fetched_from_db
[INFO] [stdout]     database::tests::transferred_balance_is_correct
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 3 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] running `Command { std: "docker" "inspect" "79c4419f0cfd66810ce2b3d259ba51a71eda4956d56e445c8ec21752a4e7c798", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "79c4419f0cfd66810ce2b3d259ba51a71eda4956d56e445c8ec21752a4e7c798", kill_on_drop: false }`
[INFO] [stdout] 79c4419f0cfd66810ce2b3d259ba51a71eda4956d56e445c8ec21752a4e7c798
