[INFO] fetching crate alator 0.4.1... [INFO] testing alator-0.4.1 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate alator 0.4.1 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate alator 0.4.1 [INFO] finished tweaking crates.io crate alator 0.4.1 [INFO] tweaked toml for crates.io crate alator 0.4.1 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate alator 0.4.1 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 298 packages to latest compatible versions [INFO] [stderr] Adding criterion v0.5.1 (available: v0.7.0) [INFO] [stderr] Adding env_logger v0.10.2 (available: v0.11.8) [INFO] [stderr] Adding itertools v0.12.1 (available: v0.14.0) [INFO] [stderr] Adding pyo3 v0.20.3 (available: v0.27.1) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding rand_distr v0.4.3 (available: v0.5.1) [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.24) [INFO] [stderr] Adding zip v0.6.6 (available: v6.0.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unindent v0.2.4 [INFO] [stderr] Downloaded indoc v2.0.7 [INFO] [stderr] Downloaded pyo3-macros v0.20.3 [INFO] [stderr] Downloaded pyo3-build-config v0.20.3 [INFO] [stderr] Downloaded rotala v0.1.1 [INFO] [stderr] Downloaded pyo3-ffi v0.20.3 [INFO] [stderr] Downloaded pyo3-macros-backend v0.20.3 [INFO] [stderr] Downloaded criterion v0.5.1 [INFO] [stderr] Downloaded pyo3 v0.20.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] df3e1f37060162a3206e8460c10eb5ea02501513bcf3d5a878fbadba2f5c1ce0 [INFO] running `Command { std: "docker" "start" "-a" "df3e1f37060162a3206e8460c10eb5ea02501513bcf3d5a878fbadba2f5c1ce0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df3e1f37060162a3206e8460c10eb5ea02501513bcf3d5a878fbadba2f5c1ce0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df3e1f37060162a3206e8460c10eb5ea02501513bcf3d5a878fbadba2f5c1ce0", kill_on_drop: false }` [INFO] [stdout] df3e1f37060162a3206e8460c10eb5ea02501513bcf3d5a878fbadba2f5c1ce0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c4992de2b396325cc38c84a5ce578fd6e5c99887492af079c7db13cd423b4d8a [INFO] running `Command { std: "docker" "start" "-a" "c4992de2b396325cc38c84a5ce578fd6e5c99887492af079c7db13cd423b4d8a", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling mio v1.1.0 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling bzip2-sys v0.1.13+1.0.8 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling is-terminal v0.4.17 [INFO] [stderr] Compiling csv-core v0.1.13 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling password-hash v0.4.2 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling bzip2 v0.4.4 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling zip v0.6.6 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling csv v1.4.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling actix-rt v2.11.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling actix-server v2.6.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling actix-http v3.11.2 [INFO] [stderr] Compiling actix-web v4.11.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling rotala v0.1.1 [INFO] [stderr] Compiling alator v0.4.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 36.87s [INFO] running `Command { std: "docker" "inspect" "c4992de2b396325cc38c84a5ce578fd6e5c99887492af079c7db13cd423b4d8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4992de2b396325cc38c84a5ce578fd6e5c99887492af079c7db13cd423b4d8a", kill_on_drop: false }` [INFO] [stdout] c4992de2b396325cc38c84a5ce578fd6e5c99887492af079c7db13cd423b4d8a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d4cf2647565e32326076c3ccae8635c22546a96cf6c5aa41d9ecae6f3224d423 [INFO] running `Command { std: "docker" "start" "-a" "d4cf2647565e32326076c3ccae8635c22546a96cf6c5aa41d9ecae6f3224d423", kill_on_drop: false }` [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling zerocopy-derive v0.8.27 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling clap_builder v4.5.51 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling clap v4.5.51 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling half v2.7.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling csv v1.4.0 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling actix-http v3.11.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling actix-web v4.11.0 [INFO] [stderr] Compiling rotala v0.1.1 [INFO] [stderr] Compiling alator v0.4.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 28.42s [INFO] running `Command { std: "docker" "inspect" "d4cf2647565e32326076c3ccae8635c22546a96cf6c5aa41d9ecae6f3224d423", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4cf2647565e32326076c3ccae8635c22546a96cf6c5aa41d9ecae6f3224d423", kill_on_drop: false }` [INFO] [stdout] d4cf2647565e32326076c3ccae8635c22546a96cf6c5aa41d9ecae6f3224d423 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cb0426f76a92e29ca1c7977ce10eecf663cb8ca500fad2f60dd860319e8b4e78 [INFO] running `Command { std: "docker" "start" "-a" "cb0426f76a92e29ca1c7977ce10eecf663cb8ca500fad2f60dd860319e8b4e78", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.39s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/alator-11acc4813be2f352) [INFO] [stdout] [INFO] [stdout] running 29 tests [INFO] [stdout] test broker::uist::tests::diff_continues_if_security_missing ... ok [INFO] [stdout] test broker::uist::tests::diff_direction_correct_if_need_to_buy ... ok [INFO] [stdout] test broker::uist::tests::can_estimate_trade_costs_of_proposed_trade ... ok [INFO] [stdout] test broker::uist::tests::diff_direction_correct_if_need_to_sell ... ok [INFO] [stdout] test broker::uist::tests::diff_handles_sent_but_unexecuted_orders ... ok [INFO] [stdout] test broker::uist::tests::diff_handles_case_when_existing_order_requires_sell_to_rebalance ... ok [INFO] [stdout] test broker::uist::tests::test_that_broker_build_passes_without_trade_costs ... ok [INFO] [stdout] test broker::uist::tests::test_that_broker_stops_when_liquidation_fails ... ok [INFO] [stdout] test broker::uist::tests::test_that_broker_handles_negative_cash_balance_due_to_volatility ... ok [INFO] [stdout] test broker::uist::tests::test_that_broker_uses_last_value_if_it_fails_to_find_quote ... ok [INFO] [stdout] test broker::uist::tests::test_that_buy_order_larger_than_cash_fails_with_error_returned_without_panic ... ok [INFO] [stdout] test broker::uist::tests::test_that_market_sell_increases_cash_and_decreases_holdings ... ok [INFO] [stdout] test broker::uist::tests::test_that_holdings_updates_correctly ... ok [INFO] [stdout] test broker::uist::tests::test_that_sell_order_larger_than_holding_fails_with_error_returned_without_panic ... ok [INFO] [stdout] test broker::uist::tests::test_that_buy_order_reduces_cash_and_increases_holdings ... ok [INFO] [stdout] test broker::uist::tests::test_that_profit_calculation_is_accurate ... ok [INFO] [stdout] test broker::uist::tests::test_that_valuation_updates_in_next_period ... ok [INFO] [stdout] test schedule::tests::test_that_schedule_returns_false_for_non_last_day_of_month ... ok [INFO] [stdout] test perf::tests::test_that_perf_orders_best_and_worst ... ok [INFO] [stdout] test perf::tests::test_that_returns_with_cash_flow_correct ... ok [INFO] [stdout] test perf::tests::test_that_returns_with_inflation_correct ... ok [INFO] [stdout] test perf::tests::test_that_annualizations_calculate_correctly ... ok [INFO] [stdout] test perf::tests::test_that_perf_completes_with_zeros ... ok [INFO] [stdout] test schedule::tests::test_that_schedule_returns_true_for_last_day_of_month ... ok [INFO] [stdout] test broker::uist::tests::test_that_log_calculates_the_cost_basis ... ok [INFO] [stdout] test perf::tests::test_that_portfolio_calculates_performance_accurately ... ok [INFO] [stdout] test broker::uist::tests::test_cash_deposit_withdraw ... ok [INFO] [stdout] test broker::uist::tests::test_that_log_filters_trades_between_dates ... ok [INFO] [stdout] test broker::uist::tests::diff_panics_if_brkr_has_no_cash - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 29 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.17s [INFO] [stdout] [INFO] [stderr] Running tests/staticweight_test.rs (/opt/rustwide/target/debug/deps/staticweight_test-744877f7ad7f5ca5) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test staticweight_integration_test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s [INFO] [stdout] [INFO] [stderr] Doc-tests alator [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] running `Command { std: "docker" "inspect" "cb0426f76a92e29ca1c7977ce10eecf663cb8ca500fad2f60dd860319e8b4e78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb0426f76a92e29ca1c7977ce10eecf663cb8ca500fad2f60dd860319e8b4e78", kill_on_drop: false }` [INFO] [stdout] cb0426f76a92e29ca1c7977ce10eecf663cb8ca500fad2f60dd860319e8b4e78