[INFO] fetching crate algotrading 0.1.0-alpha.2... [INFO] checking algotrading-0.1.0-alpha.2 against try#5d96fa0e954d77528204a1ba3b8847ec083c779b for pr-153457 [INFO] extracting crate algotrading 0.1.0-alpha.2 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate algotrading 0.1.0-alpha.2 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate algotrading 0.1.0-alpha.2 [INFO] tweaked toml for crates.io crate algotrading 0.1.0-alpha.2 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate algotrading 0.1.0-alpha.2 on toolchain 5d96fa0e954d77528204a1ba3b8847ec083c779b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5d96fa0e954d77528204a1ba3b8847ec083c779b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate algotrading 0.1.0-alpha.2 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" "+5d96fa0e954d77528204a1ba3b8847ec083c779b" "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 quote v1.0.41 [INFO] [stderr] Downloaded wasm-bindgen v0.2.104 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.104 [INFO] [stderr] Downloaded clap_lex v0.7.6 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.104 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.104 [INFO] [stderr] Downloaded unicode-ident v1.0.20 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.104 [INFO] [stderr] Downloaded clap v4.5.50 [INFO] [stderr] Downloaded js-sys v0.3.81 [INFO] [stderr] Downloaded memchr v2.7.6 [INFO] [stderr] Downloaded regex v1.12.2 [INFO] [stderr] Downloaded clap_builder v4.5.50 [INFO] [stderr] Downloaded syn v2.0.108 [INFO] [stderr] Downloaded regex-syntax v0.8.8 [INFO] [stderr] Downloaded web-sys v0.3.81 [INFO] [stderr] Downloaded regex-automata v0.4.13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+5d96fa0e954d77528204a1ba3b8847ec083c779b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f5252c5dba87dfc55256099e9553c12d12b060d6cff2c15f57a110dc6d2539f2 [INFO] running `Command { std: "docker" "start" "-a" "f5252c5dba87dfc55256099e9553c12d12b060d6cff2c15f57a110dc6d2539f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f5252c5dba87dfc55256099e9553c12d12b060d6cff2c15f57a110dc6d2539f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5252c5dba87dfc55256099e9553c12d12b060d6cff2c15f57a110dc6d2539f2", kill_on_drop: false }` [INFO] [stdout] f5252c5dba87dfc55256099e9553c12d12b060d6cff2c15f57a110dc6d2539f2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+5d96fa0e954d77528204a1ba3b8847ec083c779b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e6fc17387c2280e73e02039fb696a48f821d9e3007149c84fc3734ff2b962f45 [INFO] running `Command { std: "docker" "start" "-a" "e6fc17387c2280e73e02039fb696a48f821d9e3007149c84fc3734ff2b962f45", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling unicode-ident v1.0.20 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Checking cfg-if v1.0.4 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking clap_lex v0.7.6 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking anstyle v1.0.13 [INFO] [stderr] Checking memchr v2.7.6 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking regex-syntax v0.8.8 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking algotrading v0.1.0-alpha.2 (/opt/rustwide/workdir) [INFO] [stderr] Checking clap_builder v4.5.50 [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_loadu_pd` is unsafe and requires unsafe block [INFO] [stdout] --> src/stats/batch.rs:74:23 [INFO] [stdout] | [INFO] [stdout] 74 | let new_vec = _mm256_loadu_pd(new_values.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/stats/batch.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | unsafe fn update_avx2(&mut self, new_values: [f64; 4]) -> [(f64, f64); 4] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_loadu_pd` is unsafe and requires unsafe block [INFO] [stdout] --> src/stats/batch.rs:78:27 [INFO] [stdout] | [INFO] [stdout] 78 | let old_vec = _mm256_loadu_pd(self.values[self.head].as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_loadu_pd` is unsafe and requires unsafe block [INFO] [stdout] --> src/stats/batch.rs:79:28 [INFO] [stdout] | [INFO] [stdout] 79 | let sums_vec = _mm256_loadu_pd(self.sums.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_loadu_pd` is unsafe and requires unsafe block [INFO] [stdout] --> src/stats/batch.rs:80:31 [INFO] [stdout] | [INFO] [stdout] 80 | let sums_sq_vec = _mm256_loadu_pd(self.sums_sq.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_storeu_pd` is unsafe and requires unsafe block [INFO] [stdout] --> src/stats/batch.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | _mm256_storeu_pd(self.sums.as_mut_ptr(), new_sums); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_storeu_pd` is unsafe and requires unsafe block [INFO] [stdout] --> src/stats/batch.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | _mm256_storeu_pd(self.sums_sq.as_mut_ptr(), new_sums_sq); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_storeu_pd` is unsafe and requires unsafe block [INFO] [stdout] --> src/stats/batch.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | _mm256_storeu_pd(self.values[self.head].as_mut_ptr(), new_vec); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_loadu_pd` is unsafe and requires unsafe block [INFO] [stdout] --> src/stats/batch.rs:98:24 [INFO] [stdout] | [INFO] [stdout] 98 | let sums_vec = _mm256_loadu_pd(self.sums.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_storeu_pd` is unsafe and requires unsafe block [INFO] [stdout] --> src/stats/batch.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | _mm256_storeu_pd(self.sums.as_mut_ptr(), new_sums); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_loadu_pd` is unsafe and requires unsafe block [INFO] [stdout] --> src/stats/batch.rs:103:27 [INFO] [stdout] | [INFO] [stdout] 103 | let sums_sq_vec = _mm256_loadu_pd(self.sums_sq.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_storeu_pd` is unsafe and requires unsafe block [INFO] [stdout] --> src/stats/batch.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | _mm256_storeu_pd(self.sums_sq.as_mut_ptr(), new_sums_sq); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_storeu_pd` is unsafe and requires unsafe block [INFO] [stdout] --> src/stats/batch.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | _mm256_storeu_pd(means_arr.as_mut_ptr(), means); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_storeu_pd` is unsafe and requires unsafe block [INFO] [stdout] --> src/stats/batch.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | _mm256_storeu_pd(stds_arr.as_mut_ptr(), std_devs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_loadu_pd` is unsafe and requires unsafe block [INFO] [stdout] --> src/matrix/kernels.rs:77:27 [INFO] [stdout] | [INFO] [stdout] 77 | let mat_vec = _mm256_loadu_pd(&matrix[i][j]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/matrix/kernels.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | unsafe fn matvec_avx2(matrix: &[[f64; N]; N], vector: &[f64; N]) -> [f64; N] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_loadu_pd` is unsafe and requires unsafe block [INFO] [stdout] --> src/matrix/kernels.rs:78:27 [INFO] [stdout] | [INFO] [stdout] 78 | let vec_vec = _mm256_loadu_pd(&vector[j]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_storeu_pd` is unsafe and requires unsafe block [INFO] [stdout] --> src/matrix/kernels.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | _mm256_storeu_pd(sum_array.as_mut_ptr(), sum_vec); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking is-terminal v0.4.17 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking clap v4.5.50 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Checking serde_json v1.0.145 [INFO] [stderr] Compiling zerocopy-derive v0.8.27 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Checking half v2.7.1 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stdout] warning: unused import: `delta_put` [INFO] [stdout] --> examples/options_hedging.rs:13:37 [INFO] [stdout] | [INFO] [stdout] 13 | black_scholes_call, delta_call, delta_put, gamma, vega, theta_call [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> examples/options_hedging.rs:147:29 [INFO] [stdout] | [INFO] [stdout] 147 | let theta_pnl = (-portfolio_theta); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 147 - let theta_pnl = (-portfolio_theta); [INFO] [stdout] 147 + let theta_pnl = -portfolio_theta; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_dd` [INFO] [stdout] --> tests/another.rs:64:22 [INFO] [stdout] | [INFO] [stdout] 64 | let (max_dd, current_dd) = drawdown.update(account_value * (1.0 + daily_return)); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_dd` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_gamma` [INFO] [stdout] --> examples/options_hedging.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | let new_gamma = gamma(spot, strike, rate, div_yield, vol, time_remaining); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_gamma` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `stats::generic::tests::test_generic_function`: Use RollingStats with default type parameters instead [INFO] [stdout] --> src/stats/generic.rs:207:5 [INFO] [stdout] | [INFO] [stdout] 207 | / fn test_generic_function() { [INFO] [stdout] 208 | | fn process(data: &[f64]) -> (f64, f64) { [INFO] [stdout] 209 | | let mut stats = RollingStatsGeneric::::new(); [INFO] [stdout] 210 | | let mut final_mean = T::zero(); [INFO] [stdout] ... | [INFO] [stdout] 236 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `stats::generic::tests::test_scalar_rolling_stats`: Use RollingStats with default type parameters instead [INFO] [stdout] --> src/stats/generic.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 171 | / fn test_scalar_rolling_stats() { [INFO] [stdout] 172 | | let mut stats = RollingStatsGeneric::::new(); [INFO] [stdout] 173 | | [INFO] [stdout] 174 | | let (mean, std) = stats.update(1.0); [INFO] [stdout] ... | [INFO] [stdout] 185 | | assert_eq!(mean, 3.0); // (2+3+4)/3 [INFO] [stdout] 186 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `std_dev` [INFO] [stdout] --> src/stats/rolling.rs:198:20 [INFO] [stdout] | [INFO] [stdout] 198 | let (mean, std_dev) = stats.update(4.0); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_std_dev` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `std` [INFO] [stdout] --> src/stats/generic.rs:174:20 [INFO] [stdout] | [INFO] [stdout] 174 | let (mean, std) = stats.update(1.0); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `std` [INFO] [stdout] --> src/stats/generic.rs:177:20 [INFO] [stdout] | [INFO] [stdout] 177 | let (mean, std) = stats.update(2.0); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `std` [INFO] [stdout] --> src/stats/generic.rs:180:20 [INFO] [stdout] | [INFO] [stdout] 180 | let (mean, std) = stats.update(3.0); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `std` [INFO] [stdout] --> src/stats/generic.rs:184:20 [INFO] [stdout] | [INFO] [stdout] 184 | let (mean, std) = stats.update(4.0); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_loadu_pd` is unsafe and requires unsafe block [INFO] [stdout] --> src/stats/batch.rs:74:23 [INFO] [stdout] | [INFO] [stdout] 74 | let new_vec = _mm256_loadu_pd(new_values.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/stats/batch.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | unsafe fn update_avx2(&mut self, new_values: [f64; 4]) -> [(f64, f64); 4] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_loadu_pd` is unsafe and requires unsafe block [INFO] [stdout] --> src/stats/batch.rs:78:27 [INFO] [stdout] | [INFO] [stdout] 78 | let old_vec = _mm256_loadu_pd(self.values[self.head].as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_loadu_pd` is unsafe and requires unsafe block [INFO] [stdout] --> src/stats/batch.rs:79:28 [INFO] [stdout] | [INFO] [stdout] 79 | let sums_vec = _mm256_loadu_pd(self.sums.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_loadu_pd` is unsafe and requires unsafe block [INFO] [stdout] --> src/stats/batch.rs:80:31 [INFO] [stdout] | [INFO] [stdout] 80 | let sums_sq_vec = _mm256_loadu_pd(self.sums_sq.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_storeu_pd` is unsafe and requires unsafe block [INFO] [stdout] --> src/stats/batch.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | _mm256_storeu_pd(self.sums.as_mut_ptr(), new_sums); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_storeu_pd` is unsafe and requires unsafe block [INFO] [stdout] --> src/stats/batch.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | _mm256_storeu_pd(self.sums_sq.as_mut_ptr(), new_sums_sq); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_storeu_pd` is unsafe and requires unsafe block [INFO] [stdout] --> src/stats/batch.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | _mm256_storeu_pd(self.values[self.head].as_mut_ptr(), new_vec); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_loadu_pd` is unsafe and requires unsafe block [INFO] [stdout] --> src/stats/batch.rs:98:24 [INFO] [stdout] | [INFO] [stdout] 98 | let sums_vec = _mm256_loadu_pd(self.sums.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_storeu_pd` is unsafe and requires unsafe block [INFO] [stdout] --> src/stats/batch.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | _mm256_storeu_pd(self.sums.as_mut_ptr(), new_sums); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_loadu_pd` is unsafe and requires unsafe block [INFO] [stdout] --> src/stats/batch.rs:103:27 [INFO] [stdout] | [INFO] [stdout] 103 | let sums_sq_vec = _mm256_loadu_pd(self.sums_sq.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_storeu_pd` is unsafe and requires unsafe block [INFO] [stdout] --> src/stats/batch.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | _mm256_storeu_pd(self.sums_sq.as_mut_ptr(), new_sums_sq); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_storeu_pd` is unsafe and requires unsafe block [INFO] [stdout] --> src/stats/batch.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | _mm256_storeu_pd(means_arr.as_mut_ptr(), means); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_storeu_pd` is unsafe and requires unsafe block [INFO] [stdout] --> src/stats/batch.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | _mm256_storeu_pd(stds_arr.as_mut_ptr(), std_devs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_loadu_pd` is unsafe and requires unsafe block [INFO] [stdout] --> src/matrix/kernels.rs:77:27 [INFO] [stdout] | [INFO] [stdout] 77 | let mat_vec = _mm256_loadu_pd(&matrix[i][j]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/matrix/kernels.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | unsafe fn matvec_avx2(matrix: &[[f64; N]; N], vector: &[f64; N]) -> [f64; N] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_loadu_pd` is unsafe and requires unsafe block [INFO] [stdout] --> src/matrix/kernels.rs:78:27 [INFO] [stdout] | [INFO] [stdout] 78 | let vec_vec = _mm256_loadu_pd(&vector[j]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_storeu_pd` is unsafe and requires unsafe block [INFO] [stdout] --> src/matrix/kernels.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | _mm256_storeu_pd(sum_array.as_mut_ptr(), sum_vec); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `value` and `count` are never read [INFO] [stdout] --> src/numeric/helpers.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 129 | pub struct TestStruct { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 130 | value: T, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 131 | count: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `numeric_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.78s [INFO] running `Command { std: "docker" "inspect" "e6fc17387c2280e73e02039fb696a48f821d9e3007149c84fc3734ff2b962f45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6fc17387c2280e73e02039fb696a48f821d9e3007149c84fc3734ff2b962f45", kill_on_drop: false }` [INFO] [stdout] e6fc17387c2280e73e02039fb696a48f821d9e3007149c84fc3734ff2b962f45