[INFO] cloning repository https://github.com/matjazv/coding_test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/matjazv/coding_test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatjazv%2Fcoding_test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatjazv%2Fcoding_test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] faef750eaeebaf91d10cda3393bbbccbd789006b [INFO] testing matjazv/coding_test against 1.77.0 for beta-1.78-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatjazv%2Fcoding_test" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/matjazv/coding_test on toolchain 1.77.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.77.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/matjazv/coding_test [INFO] finished tweaking git repo https://github.com/matjazv/coding_test [INFO] tweaked toml for git repo https://github.com/matjazv/coding_test written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/matjazv/coding_test 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.77.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] testing matjazv/coding_test against beta-2024-03-24 for beta-1.78-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatjazv%2Fcoding_test" "/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/matjazv/coding_test on toolchain beta-2024-03-24 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-03-24" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/matjazv/coding_test [INFO] finished tweaking git repo https://github.com/matjazv/coding_test [INFO] tweaked toml for git repo https://github.com/matjazv/coding_test written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/matjazv/coding_test 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-2024-03-24" "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] 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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-03-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ec9d0785d284742c9ac9c30647f8461910ec07eabc97a6f004cbae94fba07447 [INFO] running `Command { std: "docker" "start" "-a" "ec9d0785d284742c9ac9c30647f8461910ec07eabc97a6f004cbae94fba07447", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ec9d0785d284742c9ac9c30647f8461910ec07eabc97a6f004cbae94fba07447", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec9d0785d284742c9ac9c30647f8461910ec07eabc97a6f004cbae94fba07447", kill_on_drop: false }` [INFO] [stdout] ec9d0785d284742c9ac9c30647f8461910ec07eabc97a6f004cbae94fba07447 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-03-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9fcd2f4dfa1467cd3e534cadaea956cd3f6893a8e39c4a9f1f788a23694c4902 [INFO] running `Command { std: "docker" "start" "-a" "9fcd2f4dfa1467cd3e534cadaea956cd3f6893a8e39c4a9f1f788a23694c4902", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling syn v1.0.96 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling rust_decimal v1.25.0 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling coding_test v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.25s [INFO] running `Command { std: "docker" "inspect" "9fcd2f4dfa1467cd3e534cadaea956cd3f6893a8e39c4a9f1f788a23694c4902", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9fcd2f4dfa1467cd3e534cadaea956cd3f6893a8e39c4a9f1f788a23694c4902", kill_on_drop: false }` [INFO] [stdout] 9fcd2f4dfa1467cd3e534cadaea956cd3f6893a8e39c4a9f1f788a23694c4902 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-03-24" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd47b134efc77de2b6ca52a3421aca6f34692c4c462c0e4ebee7d8db03fc28f0 [INFO] running `Command { std: "docker" "start" "-a" "fd47b134efc77de2b6ca52a3421aca6f34692c4c462c0e4ebee7d8db03fc28f0", kill_on_drop: false }` [INFO] [stderr] Compiling coding_test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/account.rs:518:13 [INFO] [stdout] | [INFO] [stdout] 518 | let mut transaction = account.transactions.get_mut(0).unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/account.rs:603:13 [INFO] [stdout] | [INFO] [stdout] 603 | let mut transaction = account.transactions.get_mut(0).unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/account.rs:688:13 [INFO] [stdout] | [INFO] [stdout] 688 | let mut transaction = account.transactions.get_mut(0).unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.82s [INFO] running `Command { std: "docker" "inspect" "fd47b134efc77de2b6ca52a3421aca6f34692c4c462c0e4ebee7d8db03fc28f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd47b134efc77de2b6ca52a3421aca6f34692c4c462c0e4ebee7d8db03fc28f0", kill_on_drop: false }` [INFO] [stdout] fd47b134efc77de2b6ca52a3421aca6f34692c4c462c0e4ebee7d8db03fc28f0 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-03-24" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3746b15277ce23fadb33ec6a93cc74b18a567d1d20132469716d888ae8e5a26b [INFO] running `Command { std: "docker" "start" "-a" "3746b15277ce23fadb33ec6a93cc74b18a567d1d20132469716d888ae8e5a26b", kill_on_drop: false }` [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/account.rs:518:13 [INFO] [stderr] | [INFO] [stderr] 518 | let mut transaction = account.transactions.get_mut(0).unwrap(); [INFO] [stderr] | ----^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/account.rs:603:13 [INFO] [stderr] | [INFO] [stderr] 603 | let mut transaction = account.transactions.get_mut(0).unwrap(); [INFO] [stderr] | ----^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/account.rs:688:13 [INFO] [stderr] | [INFO] [stderr] 688 | let mut transaction = account.transactions.get_mut(0).unwrap(); [INFO] [stderr] | ----^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: `coding_test` (bin "coding_test" test) generated 3 warnings (run `cargo fix --bin "coding_test" --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/coding_test-62e268276d05fde6) [INFO] [stdout] [INFO] [stdout] running 40 tests [INFO] [stdout] test account::test::test_add_transaction ... ok [INFO] [stdout] test account::test::test_chargeback_insufficient_account_balance ... ok [INFO] [stdout] test account::test::test_chargeback_success ... ok [INFO] [stdout] test account::test::test_chargeback_invalid_transaction_status ... ok [INFO] [stdout] test account::test::test_chargeback_transaction_does_not_exist ... ok [INFO] [stdout] test account::test::test_create_new_account ... ok [INFO] [stdout] test account::test::test_deposit_invalid_account_id ... ok [INFO] [stdout] test account::test::test_deposit_negative_transaction_amount ... ok [INFO] [stdout] test account::test::test_deposit_overflow_occurs ... ok [INFO] [stdout] test account::test::test_deposit_success ... ok [INFO] [stdout] test account::test::test_deposit_zero_transaction_amount ... ok [INFO] [stdout] test account::test::test_dispute_insufficient_account_balance ... ok [INFO] [stdout] test account::test::test_dispute_success ... ok [INFO] [stdout] test account::test::test_dispute_transaction_does_not_exist ... ok [INFO] [stdout] test account::test::test_new_account_is_not_locked ... ok [INFO] [stdout] test account::test::test_dispute_invalid_transaction_status ... ok [INFO] [stdout] test account::test::test_resolve_invalid_transaction_status ... ok [INFO] [stdout] test account::test::test_resolve_insufficient_account_balance ... ok [INFO] [stdout] test account::test::test_withdrawal_insufficient_account_balance ... ok [INFO] [stdout] test account::test::test_withdrawal_invalid_account_id ... ok [INFO] [stdout] test account::test::test_get_account_id ... ok [INFO] [stdout] test account::test::test_resolve_success ... ok [INFO] [stdout] test account::test::test_resolve_transaction_does_not_exist ... ok [INFO] [stdout] test account::test::test_withdrawal_negative_transaction_amount ... ok [INFO] [stdout] test account::test::test_withdrawal_zero_transaction_amount ... ok [INFO] [stdout] test account::test::test_withdrawal_success ... ok [INFO] [stdout] test transaction::test::test_get_client_id_from_transaction ... ok [INFO] [stdout] test transaction::test::test_process_chargeback_account_locked ... ok [INFO] [stdout] test transaction::test::test_process_deposit_success ... ok [INFO] [stdout] test transaction::test::test_process_deposit_account_locked ... ok [INFO] [stdout] test transaction::test::test_process_chargeback_success ... ok [INFO] [stdout] test transaction::test::test_process_dispute_account_locked ... ok [INFO] [stdout] test test::test_process_payments_1 ... ok [INFO] [stdout] test transaction::test::test_process_dispute_success ... ok [INFO] [stdout] test transaction::test::test_process_resolve_success ... ok [INFO] [stdout] test transaction::test::test_process_resolve_account_locked ... ok [INFO] [stdout] test transaction::test::test_process_withdrawal_account_locked ... ok [INFO] [stdout] test transaction::test::test_process_withdrawal_success ... ok [INFO] [stdout] test test::test_process_payments_3 ... ok [INFO] [stdout] test test::test_process_payments_2 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 40 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3746b15277ce23fadb33ec6a93cc74b18a567d1d20132469716d888ae8e5a26b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3746b15277ce23fadb33ec6a93cc74b18a567d1d20132469716d888ae8e5a26b", kill_on_drop: false }` [INFO] [stdout] 3746b15277ce23fadb33ec6a93cc74b18a567d1d20132469716d888ae8e5a26b