[INFO] cloning repository https://github.com/hexuria/potbonus [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hexuria/potbonus" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhexuria%2Fpotbonus", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhexuria%2Fpotbonus'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7c661a016520f10f2c022188ebf73eee6253c2af [INFO] testing hexuria/potbonus against 1.98.0-beta.1 for beta-1.98-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhexuria%2Fpotbonus" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-2-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/hexuria/potbonus [INFO] finished tweaking git repo https://github.com/hexuria/potbonus [INFO] tweaked toml for git repo https://github.com/hexuria/potbonus written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hexuria/potbonus on toolchain 1.98.0-beta.1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/hexuria/potbonus 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.98.0-beta.1" "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/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 1c6fd5be359a7ec484cc843abbcd163ec658a8af627232e1bfcc5f2d9f710664 [INFO] running `Command { std: "docker" "start" "1c6fd5be359a7ec484cc843abbcd163ec658a8af627232e1bfcc5f2d9f710664", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1c6fd5be359a7ec484cc843abbcd163ec658a8af627232e1bfcc5f2d9f710664", 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" "1c6fd5be359a7ec484cc843abbcd163ec658a8af627232e1bfcc5f2d9f710664" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1c6fd5be359a7ec484cc843abbcd163ec658a8af627232e1bfcc5f2d9f710664", 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" "1c6fd5be359a7ec484cc843abbcd163ec658a8af627232e1bfcc5f2d9f710664" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling quote v1.0.46 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling libc v0.2.186 [INFO] [stderr] Compiling getrandom v0.4.3 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling syn v2.0.118 [INFO] [stderr] Compiling uuid v1.23.3 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling potbonus v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.66s [INFO] running `Command { std: "docker" "inspect" "1c6fd5be359a7ec484cc843abbcd163ec658a8af627232e1bfcc5f2d9f710664", 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" "1c6fd5be359a7ec484cc843abbcd163ec658a8af627232e1bfcc5f2d9f710664" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Compiling serde_json v1.0.150 [INFO] [stderr] Compiling memchr v2.8.2 [INFO] [stderr] Compiling itoa v1.0.18 [INFO] [stderr] Compiling potbonus v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.62s [INFO] running `Command { std: "docker" "inspect" "1c6fd5be359a7ec484cc843abbcd163ec658a8af627232e1bfcc5f2d9f710664", 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" "1c6fd5be359a7ec484cc843abbcd163ec658a8af627232e1bfcc5f2d9f710664" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/potbonus-1379cb8a1a1d35f6) [INFO] [stdout] [INFO] [stderr] Running tests/db_tests.rs (/opt/rustwide/target/debug/deps/db_tests-a0cf4641042b053e) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/distribution.rs (/opt/rustwide/target/debug/deps/distribution-c7151a74089e2be7) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test custom_policy_changes_split_ratios ... ok [INFO] [stdout] test fewer_than_four_top_performers_forfeits_unused_bucket ... ok [INFO] [stdout] test single_qualified_user_gets_exact_75_percent_profit_share ... ok [INFO] [stdout] test pool_resets_to_zero_after_distribution ... ok [INFO] [stderr] Running tests/edge_cases.rs (/opt/rustwide/target/debug/deps/edge_cases-531dac1c45e5ad00) [INFO] [stdout] test zero_pool_distribution_errors ... ok [INFO] [stderr] Running tests/qualification.rs (/opt/rustwide/target/debug/deps/qualification-65def7c4806799f2) [INFO] [stdout] test tracker_resets_after_distribution_allows_requalification_next_week ... ok [INFO] [stderr] Running tests/tier_reset.rs (/opt/rustwide/target/debug/deps/tier_reset-deb634794b6f4f8f) [INFO] [stdout] test profit_sharing_splits_equally_across_qualified_users ... ok [INFO] [stdout] test top_performer_split_uses_40_30_20_10_of_the_25_percent_bucket ... ok [INFO] [stdout] test no_qualified_users_returns_empty_result_and_preserves_pool ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test one_point_pool_yields_zero_distribution_but_entries ... ok [INFO] [stdout] test whale_dominates_top_performer_share_but_profit_stays_equal ... ok [INFO] [stdout] test distribution_is_user_level_not_account_level ... ok [INFO] [stdout] test two_point_pool_rounds_to_one_zero ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test cycle_count_aggregates_across_all_user_accounts ... ok [INFO] [stdout] test dual_qualification_graduation_plus_cycle_qualifies ... ok [INFO] [stdout] test matrix_cycle_alone_does_not_qualify ... ok [INFO] [stdout] test graduation_alone_does_not_qualify ... ok [INFO] [stdout] test record_events_for_unregistered_account_errors ... ok [INFO] [stdout] test user_starts_unqualified ... ok [INFO] [stdout] test top_performers_rank_by_cycle_count_then_graduation_count ... ok [INFO] [stdout] test dual_qualification_can_span_different_accounts_of_same_user ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test reset_only_targets_graduated_accounts_of_qualified_users ... ok [INFO] [stdout] test distribution_without_reset_port_skips_reset ... ok [INFO] [stdout] test distribution_succeeds_even_if_every_reset_fails ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests potbonus [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 42) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.38s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1c6fd5be359a7ec484cc843abbcd163ec658a8af627232e1bfcc5f2d9f710664", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c6fd5be359a7ec484cc843abbcd163ec658a8af627232e1bfcc5f2d9f710664", kill_on_drop: false }` [INFO] [stdout] 1c6fd5be359a7ec484cc843abbcd163ec658a8af627232e1bfcc5f2d9f710664