[INFO] cloning repository https://github.com/losinieckipiotr/rust-bank [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/losinieckipiotr/rust-bank" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flosinieckipiotr%2Frust-bank", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flosinieckipiotr%2Frust-bank'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b22ae829959697c2bae9417ab63af47e08807680 [INFO] testing losinieckipiotr/rust-bank 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%2Flosinieckipiotr%2Frust-bank" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/losinieckipiotr/rust-bank 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/losinieckipiotr/rust-bank [INFO] finished tweaking git repo https://github.com/losinieckipiotr/rust-bank [INFO] tweaked toml for git repo https://github.com/losinieckipiotr/rust-bank written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/losinieckipiotr/rust-bank 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] testing losinieckipiotr/rust-bank 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%2Flosinieckipiotr%2Frust-bank" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/losinieckipiotr/rust-bank 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/losinieckipiotr/rust-bank [INFO] finished tweaking git repo https://github.com/losinieckipiotr/rust-bank [INFO] tweaked toml for git repo https://github.com/losinieckipiotr/rust-bank written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/losinieckipiotr/rust-bank 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] [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 serde_derive v1.0.145 [INFO] [stderr] Downloaded error-stack v0.1.1 [INFO] [stderr] Downloaded serde v1.0.145 [INFO] [stderr] Downloaded rusqlite v0.28.0 [INFO] [stderr] Downloaded syn v1.0.102 [INFO] [stderr] Downloaded libsqlite3-sys v0.25.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] fccbcc9551556e8ec734802af71323feb2ecd6047c13413d15e940d3578ee851 [INFO] running `Command { std: "docker" "start" "-a" "fccbcc9551556e8ec734802af71323feb2ecd6047c13413d15e940d3578ee851", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fccbcc9551556e8ec734802af71323feb2ecd6047c13413d15e940d3578ee851", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fccbcc9551556e8ec734802af71323feb2ecd6047c13413d15e940d3578ee851", kill_on_drop: false }` [INFO] [stdout] fccbcc9551556e8ec734802af71323feb2ecd6047c13413d15e940d3578ee851 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 2c4baa594bdda6616d94e0b75019deb0d6c5e2fcbcc649741af9e127bcdf12fd [INFO] running `Command { std: "docker" "start" "-a" "2c4baa594bdda6616d94e0b75019deb0d6c5e2fcbcc649741af9e127bcdf12fd", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling libc v0.2.134 [INFO] [stderr] Compiling proc-macro2 v1.0.46 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling unicode-ident v1.0.5 [INFO] [stderr] Compiling syn v1.0.102 [INFO] [stderr] Compiling once_cell v1.15.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.145 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling serde v1.0.145 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling os_str_bytes v6.3.0 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling textwrap v0.15.1 [INFO] [stderr] Compiling ryu v1.0.11 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling itoa v1.0.4 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling error-stack v0.1.1 [INFO] [stderr] Compiling libsqlite3-sys v0.25.1 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling hashlink v0.8.1 [INFO] [stderr] Compiling clap_derive v3.2.18 [INFO] [stderr] Compiling clap v3.2.22 [INFO] [stderr] Compiling rusqlite v0.28.0 [INFO] [stderr] Compiling rust-bank v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/database/json.rs:311:42 [INFO] [stdout] | [INFO] [stdout] 311 | let mut json_copy = String::from(json.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.51s [INFO] running `Command { std: "docker" "inspect" "2c4baa594bdda6616d94e0b75019deb0d6c5e2fcbcc649741af9e127bcdf12fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c4baa594bdda6616d94e0b75019deb0d6c5e2fcbcc649741af9e127bcdf12fd", kill_on_drop: false }` [INFO] [stdout] 2c4baa594bdda6616d94e0b75019deb0d6c5e2fcbcc649741af9e127bcdf12fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 001ab74f774ae735eba23c05565d3466f3966209e643ef72312869e0bbf747e3 [INFO] running `Command { std: "docker" "start" "-a" "001ab74f774ae735eba23c05565d3466f3966209e643ef72312869e0bbf747e3", kill_on_drop: false }` [INFO] [stderr] Compiling rust-bank v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/database/json.rs:311:42 [INFO] [stdout] | [INFO] [stdout] 311 | let mut json_copy = String::from(json.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.07s [INFO] running `Command { std: "docker" "inspect" "001ab74f774ae735eba23c05565d3466f3966209e643ef72312869e0bbf747e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "001ab74f774ae735eba23c05565d3466f3966209e643ef72312869e0bbf747e3", kill_on_drop: false }` [INFO] [stdout] 001ab74f774ae735eba23c05565d3466f3966209e643ef72312869e0bbf747e3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] f8a144a331f7914c350f19940013f785f9ccd8efe913f95612e3b4227e834c33 [INFO] running `Command { std: "docker" "start" "-a" "f8a144a331f7914c350f19940013f785f9ccd8efe913f95612e3b4227e834c33", kill_on_drop: false }` [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/database/json.rs:311:42 [INFO] [stderr] | [INFO] [stderr] 311 | let mut json_copy = String::from(json.clone()); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `rust-bank` (bin "rust-bank" test) generated 1 warning (run `cargo fix --bin "rust-bank" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_bank-1521da07a2f63c3d) [INFO] [stdout] [INFO] [stdout] running 21 tests [INFO] [stdout] test database::json::tests::should_save_client_to_json ... ok [INFO] [stdout] test luhn::tests::should_return_true ... ok [INFO] [stdout] test menu::cmd::add_income::tests::should_exec_add_income_cmd_json ... ok [INFO] [stdout] test menu::cmd::balance::tests::should_exec_balance_cmd_json ... ok [INFO] [stdout] test menu::cmd::close_account::tests::should_exec_create_account_cmd_json ... ok [INFO] [stdout] test menu::cmd::create_account::tests::should_exec_create_account_cmd_json ... ok [INFO] [stdout] test menu::cmd::do_transfer::tests::should_exec_do_transfer_cmd_json ... ok [INFO] [stdout] test menu::cmd::login::tests::should_exec_login_json ... ok [INFO] [stdout] test menu::tests::json_tests::should_close_with_false_json ... ok [INFO] [stdout] test menu::tests::json_tests::should_exit_with_true_json ... ok [INFO] [stdout] test menu::cmd::add_income::tests::should_exec_add_income_cmd_sqlite ... ok [INFO] [stdout] test database::sqlite::tests::should_save_client_to_clients_table ... ok [INFO] [stdout] test menu::tests::json_tests::should_create_account_then_exit_json ... ok [INFO] [stdout] test menu::cmd::close_account::tests::should_exec_create_account_cmd_sqlite ... ok [INFO] [stdout] test menu::cmd::login::tests::should_exec_login_sqlite ... ok [INFO] [stdout] test menu::tests::sqlite_tests::should_exit_with_true_sqlite ... ok [INFO] [stdout] test menu::cmd::create_account::tests::should_exec_create_account_cmd_sqlite ... ok [INFO] [stdout] test menu::tests::sqlite_tests::should_close_with_false_sqlite ... ok [INFO] [stdout] test menu::cmd::balance::tests::should_exec_balance_cmd_sqlite ... ok [INFO] [stdout] test menu::cmd::do_transfer::tests::should_exec_do_transfer_cmd_sqlite ... ok [INFO] [stdout] test menu::tests::sqlite_tests::should_create_account_then_exit_sqlite ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 21 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f8a144a331f7914c350f19940013f785f9ccd8efe913f95612e3b4227e834c33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8a144a331f7914c350f19940013f785f9ccd8efe913f95612e3b4227e834c33", kill_on_drop: false }` [INFO] [stdout] f8a144a331f7914c350f19940013f785f9ccd8efe913f95612e3b4227e834c33