[INFO] cloning repository https://github.com/alassiamailen/prex-core-challenge [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alassiamailen/prex-core-challenge" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falassiamailen%2Fprex-core-challenge", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falassiamailen%2Fprex-core-challenge'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6a3894c4b9d5d0f6037dd759d1e1863fb69da2dd [INFO] testing alassiamailen/prex-core-challenge against 1.99.0-beta.8+cargoflags=--release for beta-release-1.100-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falassiamailen%2Fprex-core-challenge" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/alassiamailen/prex-core-challenge [INFO] finished tweaking git repo https://github.com/alassiamailen/prex-core-challenge [INFO] tweaked toml for git repo https://github.com/alassiamailen/prex-core-challenge written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/alassiamailen/prex-core-challenge on toolchain 1.99.0-beta.8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/alassiamailen/prex-core-challenge 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.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rust_decimal v1.37.2 [INFO] [stderr] Downloaded fragile v2.0.1 [INFO] [stderr] Downloaded tokio v1.46.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 14c7049bff50965f029bef27db57d45109cfffce579439f29c87c9f48cefc994 [INFO] running `Command { std: "docker" "start" "14c7049bff50965f029bef27db57d45109cfffce579439f29c87c9f48cefc994", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "14c7049bff50965f029bef27db57d45109cfffce579439f29c87c9f48cefc994", 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" "14c7049bff50965f029bef27db57d45109cfffce579439f29c87c9f48cefc994" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "14c7049bff50965f029bef27db57d45109cfffce579439f29c87c9f48cefc994", 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" "14c7049bff50965f029bef27db57d45109cfffce579439f29c87c9f48cefc994" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling local-waker v0.1.4 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling bytestring v1.4.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling brotli-decompressor v5.0.0 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling actix-service v2.0.3 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling predicates-core v1.0.9 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling brotli v8.0.1 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling rust_decimal v1.37.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling termtree v0.5.1 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling predicates v3.1.3 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling predicates-tree v1.0.12 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling fragile v2.0.1 [INFO] [stderr] Compiling downcast v0.11.0 [INFO] [stderr] Compiling humantime v2.2.0 [INFO] [stderr] Compiling impl-more v0.1.9 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling mockall_derive v0.12.1 [INFO] [stderr] Compiling tokio v1.46.0 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling serial_test_derive v2.0.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling serial_test v2.0.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling mockall v0.12.1 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling actix-server v2.6.0 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling actix-http v3.11.0 [INFO] [stderr] Compiling actix-web v4.11.0 [INFO] [stderr] Compiling prex-core-challenge v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `mockall::automock` [INFO] [stdout] --> src/service/client_service.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use mockall::automock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `client_service` is never read [INFO] [stdout] --> src/controller/client_controller.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct ClientController { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 16 | client_service: DynClientService, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClientController` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `release` profile [optimized] target(s) in 2m 55s [INFO] running `Command { std: "docker" "inspect" "14c7049bff50965f029bef27db57d45109cfffce579439f29c87c9f48cefc994", 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" "14c7049bff50965f029bef27db57d45109cfffce579439f29c87c9f48cefc994" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling prex-core-challenge v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `mockall::automock` [INFO] [stdout] --> src/service/client_service.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use mockall::automock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `client_service` is never read [INFO] [stdout] --> src/controller/client_controller.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct ClientController { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 16 | client_service: DynClientService, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClientController` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `client_service` is never read [INFO] [stdout] --> src/controller/client_controller.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct ClientController { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 16 | client_service: DynClientService, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClientController` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `release` profile [optimized] target(s) in 14.28s [INFO] running `Command { std: "docker" "inspect" "14c7049bff50965f029bef27db57d45109cfffce579439f29c87c9f48cefc994", 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" "14c7049bff50965f029bef27db57d45109cfffce579439f29c87c9f48cefc994" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--release", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `mockall::automock` [INFO] [stderr] --> src/service/client_service.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | use mockall::automock; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `client_service` is never read [INFO] [stderr] --> src/controller/client_controller.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 15 | pub struct ClientController { [INFO] [stderr] | ---------------- field in this struct [INFO] [stderr] 16 | client_service: DynClientService, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ClientController` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `prex-core-challenge` (lib) generated 2 warnings (run `cargo fix --lib -p prex-core-challenge` to apply 1 suggestion) [INFO] [stderr] warning: `prex-core-challenge` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `release` profile [optimized] target(s) in 0.20s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/release/deps/prex_core_challenge-12c0e7e01efac5e7) [INFO] [stdout] [INFO] [stdout] running 30 tests [INFO] [stdout] test controller::client_controller::tests::when_create_new_client_and_document_number_all_ready_exists_should_return_http_error ... ok [INFO] [stdout] test controller::client_controller::tests::when_map_create_balance_files_when_service_failed_should_return_return_http_error ... ok [INFO] [stdout] test controller::client_controller::tests::when_create_new_client_should_return_ok_and_id ... ok [INFO] [stdout] test constants::constants::tests::test_constants ... ok [INFO] [stdout] test controller::client_controller::tests::when_map_create_new_debit_transaction_is_valid_should_return_ok_status ... ok [INFO] [stdout] test controller::client_controller::tests::when_map_create_new_credit_transaction_but_client_id_is_invalid_should_return_http_error ... ok [INFO] [stdout] test mapper::client_info_mapper::tests::when_map_client_info_should_return_client_info_struct ... ok [INFO] [stdout] test dto::new_credit_transaction::tests::when_create_new_credit_transaction_with_proper_values_should_retrieve_set_values ... ok [INFO] [stdout] test dto::new_debit_transaction::tests::when_create_new_debit_transaction_with_proper_values_should_retrieve_set_values ... ok [INFO] [stdout] test controller::client_controller::tests::when_map_create_balance_files_should_return_ok_status ... ok [INFO] [stdout] test mapper::new_client_mapper::tests::when_map_client_should_return_client_struct ... ok [INFO] [stdout] test dto::client_info_dto::tests::when_create_client_info_with_proper_values_should_retrieve_set_values ... ok [INFO] [stdout] test dto::new_client_dto::tests::when_create_new_client_with_proper_values_should_retrieve_set_values ... ok [INFO] [stdout] test controller::client_controller::tests::when_map_get_client_balance_is_valid_should_return_ok_status ... ok [INFO] [stdout] test dto::client_balance_dto::tests::when_create_client_balance_with_proper_values_should_retrieve_set_values ... ok [INFO] [stdout] test controller::client_controller::tests::when_map_create_new_credit_transaction_is_valid_should_return_ok_status ... ok [INFO] [stdout] test controller::client_controller::tests::when_map_create_new_debit_transaction_should_return_http_error ... ok [INFO] [stdout] test model::client_model::tests::test_client_model ... ok [INFO] [stdout] test service::client_service::tests::when_create_new_client_with_valid_values_and_rwlock_failed_should_return_common_error ... ok [INFO] [stdout] test controller::client_controller::tests::when_map_get_client_balance_should_return_http_error ... ok [INFO] [stdout] test service::client_service::tests::when_get_client_balance_with_invalid_client_id_and_rwlock_failed_should_return_common_error ... ok [INFO] [stdout] test service::client_service::tests::when_get_client_balance_with_valid_values_and_rwlock_failed_should_return_common_error ... ok [INFO] [stdout] test service::client_service::tests::when_create_new_debit_transaction_with_valid_values_and_rwlock_failed_should_return_common_error ... ok [INFO] [stdout] test service::client_service::tests::when_generate_file_with_all_clients_balances_and_failed_try_write_in_lock_should_return_common_error ... FAILED [INFO] [stdout] test service::client_service::tests::when_create_new_credit_transaction_with_valid_values_should_return_client_id ... ok [INFO] [stdout] test service::client_service::tests::when_generate_file_with_all_clients_balances_with_exit_should_return_ok ... FAILED [INFO] [stdout] test service::client_service::tests::when_create_new_debit_transaction_with_valid_values_should_return_client_id ... ok [INFO] [stdout] test service::client_service::tests::when_create_new_credit_transaction_with_invalid_values_should_return_common_error ... ok [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] [stdout] test service::client_service::tests::when_create_new_client_with_valid_values_should_return_client_id ... ok [INFO] [stdout] test service::client_service::tests::when_generate_file_with_all_clients_balances_and_create_folder_failed_should_return_common_error ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- service::client_service::tests::when_generate_file_with_all_clients_balances_and_failed_try_write_in_lock_should_return_common_error stdout ---- [INFO] [stdout] [INFO] [stdout] thread '' (3101) panicked at src/service/client_service.rs:861:13: [INFO] [stdout] error [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x57871ddfc3e1 - <::print::DisplayBacktrace as core[df12db4294e9bfd3]::fmt::Display>::fmt [INFO] [stdout] 1: 0x57871de136aa - core[df12db4294e9bfd3]::fmt::write [INFO] [stdout] 2: 0x57871de00ecc - as core[df12db4294e9bfd3]::io::write::Write>::write_fmt [INFO] [stdout] 3: 0x57871ddd62a6 - std[70759c8f55707aa4]::panicking::default_hook::{closure#0} [INFO] [stdout] 4: 0x57871ddf3519 - std[70759c8f55707aa4]::panicking::default_hook [INFO] [stdout] 5: 0x57871dbc6ce0 - test[9d35eded1c95d3be]::test_main_inner::::{closure#0} [INFO] [stdout] 6: 0x57871ddf3842 - std[70759c8f55707aa4]::panicking::panic_with_hook [INFO] [stdout] 7: 0x57871ddd6384 - std[70759c8f55707aa4]::panicking::panic_handler::{closure#0} [INFO] [stdout] 8: 0x57871ddced59 - std[70759c8f55707aa4]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] 9: 0x57871ddd6f4d - __rustc[8fa7c3cbc660c2b3]::rust_begin_unwind [INFO] [stdout] 10: 0x57871de13e8c - core[df12db4294e9bfd3]::panicking::panic_fmt [INFO] [stdout] 11: 0x57871dba3aaa - std[70759c8f55707aa4]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 12: 0x57871dbaac93 - ::{closure#1} as core[df12db4294e9bfd3]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 13: 0x57871ddfb5e9 - ::new::thread_start [INFO] [stdout] 14: 0x7df1fc830dfa - [INFO] [stdout] 15: 0x7df1fc8c43d4 - clone [INFO] [stdout] 16: 0x0 - [INFO] [stdout] [INFO] [stdout] thread 'service::client_service::tests::when_generate_file_with_all_clients_balances_and_failed_try_write_in_lock_should_return_common_error' (3096) panicked at src/service/client_service.rs:872:14: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x57871ddfc3e1 - <::print::DisplayBacktrace as core[df12db4294e9bfd3]::fmt::Display>::fmt [INFO] [stdout] 1: 0x57871de136aa - core[df12db4294e9bfd3]::fmt::write [INFO] [stdout] 2: 0x57871de00ecc - as core[df12db4294e9bfd3]::io::write::Write>::write_fmt [INFO] [stdout] 3: 0x57871ddd62a6 - std[70759c8f55707aa4]::panicking::default_hook::{closure#0} [INFO] [stdout] 4: 0x57871ddf3519 - std[70759c8f55707aa4]::panicking::default_hook [INFO] [stdout] 5: 0x57871dbc6ce0 - test[9d35eded1c95d3be]::test_main_inner::::{closure#0} [INFO] [stdout] 6: 0x57871ddf3842 - std[70759c8f55707aa4]::panicking::panic_with_hook [INFO] [stdout] 7: 0x57871ddd6352 - std[70759c8f55707aa4]::panicking::panic_handler::{closure#0} [INFO] [stdout] 8: 0x57871ddced59 - std[70759c8f55707aa4]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] 9: 0x57871ddd6f4d - __rustc[8fa7c3cbc660c2b3]::rust_begin_unwind [INFO] [stdout] 10: 0x57871de13e8c - core[df12db4294e9bfd3]::panicking::panic_fmt [INFO] [stdout] 11: 0x57871de13c62 - core[df12db4294e9bfd3]::result::unwrap_failed [INFO] [stdout] 12: 0x57871dba5255 - prex_core_challenge[bc79184f0f7af220]::service::client_service::tests::when_generate_file_with_all_clients_balances_and_failed_try_write_in_lock_should_return_common_error::{closure#0}::{closure#0} [INFO] [stdout] 13: 0x57871db49953 - ::enter::, ::block_on>>>::{closure#0}::{closure#0}> [INFO] [stdout] 14: 0x57871db9cd3c - >::set::<::enter<::block_on>>>::{closure#0}, core[df12db4294e9bfd3]::option::Option<()>>::{closure#0}, (alloc[2182bb758b4b3781]::boxed::Box, core[df12db4294e9bfd3]::option::Option<()>)> [INFO] [stdout] 15: 0x57871db4ace7 - ::block_on::>>> [INFO] [stdout] 16: 0x57871dbb68b7 - tokio[eb34dcb2bdfe571]::runtime::context::runtime::enter_runtime::<::block_on>>::{closure#0}, ()> [INFO] [stdout] 17: 0x57871db6ed75 - ::block_on::>> [INFO] [stdout] 18: 0x57871dbac85b - >::call_once [INFO] [stdout] 19: 0x57871dbfb0fb - serial_test[4f9de3582734d09f]::serial_code_lock::local_serial_core [INFO] [stdout] 20: 0x57871db9ca68 - >::call_once [INFO] [stdout] 21: 0x57871dbb9fcb - test[9d35eded1c95d3be]::__rust_begin_short_backtrace::, fn() -> core[df12db4294e9bfd3]::result::Result<(), alloc[2182bb758b4b3781]::string::String>> [INFO] [stdout] 22: 0x57871dbc7635 - test[9d35eded1c95d3be]::run_test::{closure#0} [INFO] [stdout] 23: 0x57871dbc0ef4 - std[70759c8f55707aa4]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 24: 0x57871dbca792 - ::{closure#1} as core[df12db4294e9bfd3]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 25: 0x57871ddfb5e9 - ::new::thread_start [INFO] [stdout] 26: 0x7df1fc830dfa - [INFO] [stdout] 27: 0x7df1fc8c43d4 - clone [INFO] [stdout] 28: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- service::client_service::tests::when_generate_file_with_all_clients_balances_with_exit_should_return_ok stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'service::client_service::tests::when_generate_file_with_all_clients_balances_with_exit_should_return_ok' (3097) panicked at src/service/client_service.rs:776:9: [INFO] [stdout] assertion failed: expected_result.is_ok() [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x57871ddfc3e1 - <::print::DisplayBacktrace as core[df12db4294e9bfd3]::fmt::Display>::fmt [INFO] [stdout] 1: 0x57871de136aa - core[df12db4294e9bfd3]::fmt::write [INFO] [stdout] 2: 0x57871de00ecc - as core[df12db4294e9bfd3]::io::write::Write>::write_fmt [INFO] [stdout] 3: 0x57871ddd62a6 - std[70759c8f55707aa4]::panicking::default_hook::{closure#0} [INFO] [stdout] 4: 0x57871ddf3519 - std[70759c8f55707aa4]::panicking::default_hook [INFO] [stdout] 5: 0x57871dbc6ce0 - test[9d35eded1c95d3be]::test_main_inner::::{closure#0} [INFO] [stdout] 6: 0x57871ddf3842 - std[70759c8f55707aa4]::panicking::panic_with_hook [INFO] [stdout] 7: 0x57871ddd6384 - std[70759c8f55707aa4]::panicking::panic_handler::{closure#0} [INFO] [stdout] 8: 0x57871ddced59 - std[70759c8f55707aa4]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] 9: 0x57871ddd6f4d - __rustc[8fa7c3cbc660c2b3]::rust_begin_unwind [INFO] [stdout] 10: 0x57871de13e8c - core[df12db4294e9bfd3]::panicking::panic_fmt [INFO] [stdout] 11: 0x57871de13e52 - core[df12db4294e9bfd3]::panicking::panic [INFO] [stdout] 12: 0x57871dba617f - prex_core_challenge[bc79184f0f7af220]::service::client_service::tests::when_generate_file_with_all_clients_balances_with_exit_should_return_ok::{closure#0}::{closure#0} [INFO] [stdout] 13: 0x57871db49953 - ::enter::, ::block_on>>>::{closure#0}::{closure#0}> [INFO] [stdout] 14: 0x57871db9cd3c - >::set::<::enter<::block_on>>>::{closure#0}, core[df12db4294e9bfd3]::option::Option<()>>::{closure#0}, (alloc[2182bb758b4b3781]::boxed::Box, core[df12db4294e9bfd3]::option::Option<()>)> [INFO] [stdout] 15: 0x57871db4ace7 - ::block_on::>>> [INFO] [stdout] 16: 0x57871dbb68b7 - tokio[eb34dcb2bdfe571]::runtime::context::runtime::enter_runtime::<::block_on>>::{closure#0}, ()> [INFO] [stdout] 17: 0x57871db6ed75 - ::block_on::>> [INFO] [stdout] 18: 0x57871dbacafb - >::call_once [INFO] [stdout] 19: 0x57871dbfb0fb - serial_test[4f9de3582734d09f]::serial_code_lock::local_serial_core [INFO] [stdout] 20: 0x57871db9cac8 - >::call_once [INFO] [stdout] 21: 0x57871dbb9fcb - test[9d35eded1c95d3be]::__rust_begin_short_backtrace::, fn() -> core[df12db4294e9bfd3]::result::Result<(), alloc[2182bb758b4b3781]::string::String>> [INFO] [stdout] 22: 0x57871dbc7635 - test[9d35eded1c95d3be]::run_test::{closure#0} [INFO] [stdout] 23: 0x57871dbc0ef4 - std[70759c8f55707aa4]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 24: 0x57871dbca792 - ::{closure#1} as core[df12db4294e9bfd3]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 25: 0x57871ddfb5e9 - ::new::thread_start [INFO] [stdout] 26: 0x7df1fc830dfa - [INFO] [stdout] 27: 0x7df1fc8c43d4 - clone [INFO] [stdout] 28: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- service::client_service::tests::when_generate_file_with_all_clients_balances_and_create_folder_failed_should_return_common_error stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'service::client_service::tests::when_generate_file_with_all_clients_balances_and_create_folder_failed_should_return_common_error' (3095) panicked at src/service/client_service.rs:802:45: [INFO] [stdout] Cannot create file: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x57871ddfc3e1 - <::print::DisplayBacktrace as core[df12db4294e9bfd3]::fmt::Display>::fmt [INFO] [stdout] 1: 0x57871de136aa - core[df12db4294e9bfd3]::fmt::write [INFO] [stdout] 2: 0x57871de00ecc - as core[df12db4294e9bfd3]::io::write::Write>::write_fmt [INFO] [stdout] 3: 0x57871ddd62a6 - std[70759c8f55707aa4]::panicking::default_hook::{closure#0} [INFO] [stdout] 4: 0x57871ddf3519 - std[70759c8f55707aa4]::panicking::default_hook [INFO] [stdout] 5: 0x57871dbc6ce0 - test[9d35eded1c95d3be]::test_main_inner::::{closure#0} [INFO] [stdout] 6: 0x57871ddf3842 - std[70759c8f55707aa4]::panicking::panic_with_hook [INFO] [stdout] 7: 0x57871ddd6352 - std[70759c8f55707aa4]::panicking::panic_handler::{closure#0} [INFO] [stdout] 8: 0x57871ddced59 - std[70759c8f55707aa4]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] 9: 0x57871ddd6f4d - __rustc[8fa7c3cbc660c2b3]::rust_begin_unwind [INFO] [stdout] 10: 0x57871de13e8c - core[df12db4294e9bfd3]::panicking::panic_fmt [INFO] [stdout] 11: 0x57871de13c62 - core[df12db4294e9bfd3]::result::unwrap_failed [INFO] [stdout] 12: 0x57871dba9e02 - prex_core_challenge[bc79184f0f7af220]::service::client_service::tests::when_generate_file_with_all_clients_balances_and_create_folder_failed_should_return_common_error::{closure#0}::{closure#0} [INFO] [stdout] 13: 0x57871db49953 - ::enter::, ::block_on>>>::{closure#0}::{closure#0}> [INFO] [stdout] 14: 0x57871db9cd3c - >::set::<::enter<::block_on>>>::{closure#0}, core[df12db4294e9bfd3]::option::Option<()>>::{closure#0}, (alloc[2182bb758b4b3781]::boxed::Box, core[df12db4294e9bfd3]::option::Option<()>)> [INFO] [stdout] 15: 0x57871db4ace7 - ::block_on::>>> [INFO] [stdout] 16: 0x57871dbb68b7 - tokio[eb34dcb2bdfe571]::runtime::context::runtime::enter_runtime::<::block_on>>::{closure#0}, ()> [INFO] [stdout] 17: 0x57871db6ed75 - ::block_on::>> [INFO] [stdout] 18: 0x57871dbad57b - >::call_once [INFO] [stdout] 19: 0x57871dbfb0fb - serial_test[4f9de3582734d09f]::serial_code_lock::local_serial_core [INFO] [stdout] 20: 0x57871db9cc48 - >::call_once [INFO] [stdout] 21: 0x57871dbb9fcb - test[9d35eded1c95d3be]::__rust_begin_short_backtrace::, fn() -> core[df12db4294e9bfd3]::result::Result<(), alloc[2182bb758b4b3781]::string::String>> [INFO] [stdout] 22: 0x57871dbc7635 - test[9d35eded1c95d3be]::run_test::{closure#0} [INFO] [stdout] 23: 0x57871dbc0ef4 - std[70759c8f55707aa4]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 24: 0x57871dbca792 - ::{closure#1} as core[df12db4294e9bfd3]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 25: 0x57871ddfb5e9 - ::new::thread_start [INFO] [stdout] 26: 0x7df1fc830dfa - [INFO] [stdout] 27: 0x7df1fc8c43d4 - clone [INFO] [stdout] 28: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] service::client_service::tests::when_generate_file_with_all_clients_balances_and_create_folder_failed_should_return_common_error [INFO] [stdout] service::client_service::tests::when_generate_file_with_all_clients_balances_and_failed_try_write_in_lock_should_return_common_error [INFO] [stdout] service::client_service::tests::when_generate_file_with_all_clients_balances_with_exit_should_return_ok [INFO] [stdout] [INFO] [stdout] test result: FAILED. 27 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.02s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "14c7049bff50965f029bef27db57d45109cfffce579439f29c87c9f48cefc994", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14c7049bff50965f029bef27db57d45109cfffce579439f29c87c9f48cefc994", kill_on_drop: false }` [INFO] [stdout] 14c7049bff50965f029bef27db57d45109cfffce579439f29c87c9f48cefc994