[INFO] fetching crate torsh-optim 0.1.0-alpha.1... [INFO] checking torsh-optim-0.1.0-alpha.1 against master#e22dab387f6b4f6a87dfc54ac2f6013dddb41e68 for pr-149195 [INFO] extracting crate torsh-optim 0.1.0-alpha.1 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate torsh-optim 0.1.0-alpha.1 [INFO] finished tweaking crates.io crate torsh-optim 0.1.0-alpha.1 [INFO] tweaked toml for crates.io crate torsh-optim 0.1.0-alpha.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate torsh-optim 0.1.0-alpha.1 on toolchain e22dab387f6b4f6a87dfc54ac2f6013dddb41e68 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e22dab387f6b4f6a87dfc54ac2f6013dddb41e68" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate torsh-optim 0.1.0-alpha.1 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" "+e22dab387f6b4f6a87dfc54ac2f6013dddb41e68" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded scirs2 v0.1.0-beta.3 [INFO] [stderr] Downloaded openblas-build v0.10.13 [INFO] [stderr] Downloaded openblas-src v0.10.13 [INFO] [stderr] Downloaded rand_pcg v0.9.0 [INFO] [stderr] Downloaded argmin-math v0.4.0 [INFO] [stderr] Downloaded argmin v0.10.0 [INFO] [stderr] Downloaded torsh-linalg v0.1.0-alpha.1 [INFO] [stderr] Downloaded torsh-core v0.1.0-alpha.1 [INFO] [stderr] Downloaded scirs2-sparse v0.1.0-beta.3 [INFO] [stderr] Downloaded torsh-tensor v0.1.0-alpha.1 [INFO] [stderr] Downloaded scirs2-autograd v0.1.0-beta.3 [INFO] [stderr] Downloaded scirs2-optimize v0.1.0-beta.3 [INFO] [stderr] Downloaded torsh-autograd v0.1.0-alpha.1 [INFO] [stderr] Downloaded glam v0.30.7 [INFO] [stderr] Downloaded numrs2 v0.1.0-beta.2 [INFO] [stderr] Downloaded scirs2-linalg v0.1.0-beta.3 [INFO] [stderr] Downloaded scirs2-core v0.1.0-beta.3 [INFO] [stderr] Downloaded scirs2-stats v0.1.0-beta.3 [INFO] [stderr] Downloaded scirs2-neural v0.1.0-beta.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+e22dab387f6b4f6a87dfc54ac2f6013dddb41e68" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e9b2bac5a0e5e12a8df1c74e147029b697d3df581bd1c43f3b910054ffbedfdb [INFO] running `Command { std: "docker" "start" "-a" "e9b2bac5a0e5e12a8df1c74e147029b697d3df581bd1c43f3b910054ffbedfdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e9b2bac5a0e5e12a8df1c74e147029b697d3df581bd1c43f3b910054ffbedfdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9b2bac5a0e5e12a8df1c74e147029b697d3df581bd1c43f3b910054ffbedfdb", kill_on_drop: false }` [INFO] [stdout] e9b2bac5a0e5e12a8df1c74e147029b697d3df581bd1c43f3b910054ffbedfdb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+e22dab387f6b4f6a87dfc54ac2f6013dddb41e68" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 722a0140e14860da67362290212dcea15491fe8b46340292b4b9546edf1de7b8 [INFO] running `Command { std: "docker" "start" "-a" "722a0140e14860da67362290212dcea15491fe8b46340292b4b9546edf1de7b8", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.225 [INFO] [stderr] Compiling serde v1.0.225 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Checking bytemuck v1.23.1 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking safe_arch v0.7.4 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Compiling webpki-root-certs v1.0.2 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking lapack-sys v0.14.0 [INFO] [stderr] Checking wide v0.7.33 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking crossbeam-queue v0.3.12 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Compiling lambert_w v1.2.28 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling filetime v0.2.26 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Compiling ureq-proto v0.5.2 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking regex-automata v0.4.11 [INFO] [stderr] Checking winnow v0.7.13 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking toml_writer v1.0.3 [INFO] [stderr] Compiling scirs2-neural v0.1.0-beta.3 [INFO] [stderr] Checking bumpalo v3.18.1 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Checking rand_distr v0.5.1 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking libbz2-rs-sys v0.2.2 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Compiling xattr v1.5.1 [INFO] [stderr] Checking zopfli v0.8.2 [INFO] [stderr] Compiling tar v0.4.44 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking lzma-rust2 v0.13.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking memmap2 v0.9.8 [INFO] [stderr] Checking ppmd-rust v1.2.1 [INFO] [stderr] Checking array-init v2.1.0 [INFO] [stderr] Checking iter-read v1.1.0 [INFO] [stderr] Checking deflate64 v0.1.9 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking rand_pcg v0.9.0 [INFO] [stderr] Compiling torsh-tensor v0.1.0-alpha.1 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking toml_parser v1.0.3 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [INFO] [stderr] Checking rand_xoshiro v0.6.0 [INFO] [stderr] Checking toml_datetime v0.7.2 [INFO] [stderr] Checking serde_spanned v1.0.2 [INFO] [stderr] Checking tempfile v3.23.0 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking fixedbitset v0.5.7 [INFO] [stderr] Checking bzip2 v0.6.0 [INFO] [stderr] Checking petgraph v0.8.2 [INFO] [stderr] Checking toml v0.9.7 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking regex v1.11.3 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Checking quickcheck v1.0.3 [INFO] [stderr] Compiling serde_derive v1.0.225 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling katexit v0.1.5 [INFO] [stderr] Compiling nalgebra-macros v0.3.0 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling cached_proc_macro v0.25.0 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Checking zip v5.1.1 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking uuid v1.18.1 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking bincode v2.0.1 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking csv v1.3.1 [INFO] [stderr] Checking serde-pickle v1.2.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking cached v0.56.0 [INFO] [stderr] Checking ndarray v0.16.1 [INFO] [stderr] Checking simba v0.9.0 [INFO] [stderr] Checking cauchy v0.4.0 [INFO] [stderr] Compiling ureq v3.1.2 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking simba v0.7.3 [INFO] [stderr] Checking argmin-math v0.4.0 [INFO] [stderr] Checking special v0.11.4 [INFO] [stderr] Checking argmin v0.10.0 [INFO] [stderr] Compiling openblas-build v0.10.13 [INFO] [stderr] Compiling openblas-src v0.10.13 [INFO] [stderr] Checking lax v0.17.0 [INFO] [stderr] Checking ndarray-rand v0.15.0 [INFO] [stderr] Checking ndarray-linalg v0.17.0 [INFO] [stderr] Checking sprs v0.11.3 [INFO] [stderr] Checking nalgebra v0.33.2 [INFO] [stderr] Checking nalgebra v0.34.1 [INFO] [stderr] Checking nalgebra v0.30.1 [INFO] [stderr] Checking numrs2 v0.1.0-beta.2 [INFO] [stderr] Checking statrs v0.18.0 [INFO] [stderr] Checking scirs2-core v0.1.0-beta.3 [INFO] [stderr] Checking friedrich v0.5.0 [INFO] [stderr] Checking scirs2-linalg v0.1.0-beta.3 [INFO] [stderr] Checking scirs2-autograd v0.1.0-beta.3 [INFO] [stderr] Checking scirs2-sparse v0.1.0-beta.3 [INFO] [stderr] Checking scirs2 v0.1.0-beta.3 [INFO] [stderr] Checking scirs2-stats v0.1.0-beta.3 [INFO] [stderr] Checking scirs2-optimize v0.1.0-beta.3 [INFO] [stderr] Checking torsh-core v0.1.0-alpha.1 [INFO] [stderr] Checking torsh-linalg v0.1.0-alpha.1 [INFO] [stderr] Checking torsh-autograd v0.1.0-alpha.1 [INFO] [stderr] Checking torsh-optim v0.1.0-alpha.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `scirs2_core::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/bayesian_optimization.rs:512:26 [INFO] [stdout] | [INFO] [stdout] 512 | .map(|i| rng.gen::() * (upper[i] - lower[i]) + lower[i]) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `scirs2_core::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/bayesian_optimization.rs:566:26 [INFO] [stdout] | [INFO] [stdout] 566 | (rng.gen::() * 2.0 - 1.0) * step_size * (upper[i] - lower[i]); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `scirs2_core::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/bayesian_optimization.rs:512:26 [INFO] [stdout] | [INFO] [stdout] 512 | .map(|i| rng.gen::() * (upper[i] - lower[i]) + lower[i]) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `scirs2_core::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/bayesian_optimization.rs:566:26 [INFO] [stdout] | [INFO] [stdout] 566 | (rng.gen::() * 2.0 - 1.0) * step_size * (upper[i] - lower[i]); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `scirs2_core::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/evolutionary_strategies.rs:306:33 [INFO] [stdout] | [INFO] [stdout] 306 | genome.push(rng.gen::() * (max_bound - min_bound) + min_bound); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `scirs2_core::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/evolutionary_strategies.rs:337:29 [INFO] [stdout] | [INFO] [stdout] 337 | let alpha = rng.gen::(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `scirs2_core::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/evolutionary_strategies.rs:343:45 [INFO] [stdout] | [INFO] [stdout] 343 | let global_factor = (self.tau * rng.gen::().ln()).exp(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `scirs2_core::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/evolutionary_strategies.rs:347:59 [INFO] [stdout] | [INFO] [stdout] 347 | let individual_factor = (individual_tau * rng.gen::().ln()).exp(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `scirs2_core::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/evolutionary_strategies.rs:354:32 [INFO] [stdout] | [INFO] [stdout] 354 | let mutation = rng.gen::() * child_strategy[i]; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `scirs2_core::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/evolutionary_strategies.rs:571:29 [INFO] [stdout] | [INFO] [stdout] 571 | let noise = rng.gen::(); // This should be Gaussian noise, but using uniform for simplicity [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `scirs2_core::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/evolutionary_strategies.rs:649:36 [INFO] [stdout] | [INFO] [stdout] 649 | noise.push(rng.gen::() * 2.0 - 1.0); // Uniform noise [-1, 1] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `scirs2_core::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/gradient_free.rs:456:35 [INFO] [stdout] | [INFO] [stdout] 456 | position.push(rng.gen::() * (max_bound - min_bound) + min_bound); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `scirs2_core::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/gradient_free.rs:457:35 [INFO] [stdout] | [INFO] [stdout] 457 | velocity.push(rng.gen::() * self.max_velocity * 2.0 - self.max_velocity); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `scirs2_core::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/gradient_free.rs:495:34 [INFO] [stdout] | [INFO] [stdout] 495 | let r1 = rng.gen::(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `scirs2_core::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/gradient_free.rs:496:34 [INFO] [stdout] | [INFO] [stdout] 496 | let r2 = rng.gen::(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `scirs2_core::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/gradient_free.rs:614:32 [INFO] [stdout] | [INFO] [stdout] 614 | point.push(rng.gen::() * (max_bound - min_bound) + min_bound); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `scirs2_core::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/evolutionary_strategies.rs:306:33 [INFO] [stdout] | [INFO] [stdout] 306 | genome.push(rng.gen::() * (max_bound - min_bound) + min_bound); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `scirs2_core::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/evolutionary_strategies.rs:337:29 [INFO] [stdout] | [INFO] [stdout] 337 | let alpha = rng.gen::(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `scirs2_core::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/evolutionary_strategies.rs:343:45 [INFO] [stdout] | [INFO] [stdout] 343 | let global_factor = (self.tau * rng.gen::().ln()).exp(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `scirs2_core::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/evolutionary_strategies.rs:347:59 [INFO] [stdout] | [INFO] [stdout] 347 | let individual_factor = (individual_tau * rng.gen::().ln()).exp(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `scirs2_core::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/evolutionary_strategies.rs:354:32 [INFO] [stdout] | [INFO] [stdout] 354 | let mutation = rng.gen::() * child_strategy[i]; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `scirs2_core::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/evolutionary_strategies.rs:571:29 [INFO] [stdout] | [INFO] [stdout] 571 | let noise = rng.gen::(); // This should be Gaussian noise, but using uniform for simplicity [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `scirs2_core::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/evolutionary_strategies.rs:649:36 [INFO] [stdout] | [INFO] [stdout] 649 | noise.push(rng.gen::() * 2.0 - 1.0); // Uniform noise [-1, 1] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `scirs2_core::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/gradient_free.rs:456:35 [INFO] [stdout] | [INFO] [stdout] 456 | position.push(rng.gen::() * (max_bound - min_bound) + min_bound); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `scirs2_core::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/gradient_free.rs:457:35 [INFO] [stdout] | [INFO] [stdout] 457 | velocity.push(rng.gen::() * self.max_velocity * 2.0 - self.max_velocity); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `scirs2_core::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/gradient_free.rs:495:34 [INFO] [stdout] | [INFO] [stdout] 495 | let r1 = rng.gen::(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `scirs2_core::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/gradient_free.rs:496:34 [INFO] [stdout] | [INFO] [stdout] 496 | let r2 = rng.gen::(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `scirs2_core::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/gradient_free.rs:614:32 [INFO] [stdout] | [INFO] [stdout] 614 | point.push(rng.gen::() * (max_bound - min_bound) + min_bound); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a dangling pointer will be produced because the temporary `Vec` will be dropped [INFO] [stdout] --> src/adabelief.rs:107:48 [INFO] [stdout] | [INFO] [stdout] 107 | Ok(format!("param_{:p}", param.data()?.as_ptr())) [INFO] [stdout] | ------------- ^^^^^^ this pointer will immediately be invalid [INFO] [stdout] | | [INFO] [stdout] | this `Vec` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `Vec` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: you must make sure that the variable you bind the `Vec` to lives at least as long as the pointer returned by the call to `as_ptr` [INFO] [stdout] = help: in particular, if this pointer is returned from the current function, binding the `Vec` inside the function will not suffice [INFO] [stdout] = help: for more information, see [INFO] [stdout] = note: `#[warn(dangling_pointers_from_temporaries)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a dangling pointer will be produced because the temporary `Vec` will be dropped [INFO] [stdout] --> src/adabound.rs:106:48 [INFO] [stdout] | [INFO] [stdout] 106 | Ok(format!("param_{:p}", param.data()?.as_ptr())) [INFO] [stdout] | ------------- ^^^^^^ this pointer will immediately be invalid [INFO] [stdout] | | [INFO] [stdout] | this `Vec` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `Vec` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: you must make sure that the variable you bind the `Vec` to lives at least as long as the pointer returned by the call to `as_ptr` [INFO] [stdout] = help: in particular, if this pointer is returned from the current function, binding the `Vec` inside the function will not suffice [INFO] [stdout] = help: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/benchmarks/optimizer.rs:640:17 [INFO] [stdout] | [INFO] [stdout] 640 | grads.set(&[i], grad_val); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 640 | let _ = grads.set(&[i], grad_val); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a dangling pointer will be produced because the temporary `Vec` will be dropped [INFO] [stdout] --> src/lamb.rs:102:48 [INFO] [stdout] | [INFO] [stdout] 102 | Ok(format!("param_{:p}", param.data()?.as_ptr())) [INFO] [stdout] | ------------- ^^^^^^ this pointer will immediately be invalid [INFO] [stdout] | | [INFO] [stdout] | this `Vec` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `Vec` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: you must make sure that the variable you bind the `Vec` to lives at least as long as the pointer returned by the call to `as_ptr` [INFO] [stdout] = help: in particular, if this pointer is returned from the current function, binding the `Vec` inside the function will not suffice [INFO] [stdout] = help: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a dangling pointer will be produced because the temporary `Vec` will be dropped [INFO] [stdout] --> src/lookahead.rs:55:48 [INFO] [stdout] | [INFO] [stdout] 55 | Ok(format!("param_{:p}", param.data()?.as_ptr())) [INFO] [stdout] | ------------- ^^^^^^ this pointer will immediately be invalid [INFO] [stdout] | | [INFO] [stdout] | this `Vec` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `Vec` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: you must make sure that the variable you bind the `Vec` to lives at least as long as the pointer returned by the call to `as_ptr` [INFO] [stdout] = help: in particular, if this pointer is returned from the current function, binding the `Vec` inside the function will not suffice [INFO] [stdout] = help: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a dangling pointer will be produced because the temporary `Vec` will be dropped [INFO] [stdout] --> src/adabelief.rs:107:48 [INFO] [stdout] | [INFO] [stdout] 107 | Ok(format!("param_{:p}", param.data()?.as_ptr())) [INFO] [stdout] | ------------- ^^^^^^ this pointer will immediately be invalid [INFO] [stdout] | | [INFO] [stdout] | this `Vec` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `Vec` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: you must make sure that the variable you bind the `Vec` to lives at least as long as the pointer returned by the call to `as_ptr` [INFO] [stdout] = help: in particular, if this pointer is returned from the current function, binding the `Vec` inside the function will not suffice [INFO] [stdout] = help: for more information, see [INFO] [stdout] = note: `#[warn(dangling_pointers_from_temporaries)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a dangling pointer will be produced because the temporary `Vec` will be dropped [INFO] [stdout] --> src/adabound.rs:106:48 [INFO] [stdout] | [INFO] [stdout] 106 | Ok(format!("param_{:p}", param.data()?.as_ptr())) [INFO] [stdout] | ------------- ^^^^^^ this pointer will immediately be invalid [INFO] [stdout] | | [INFO] [stdout] | this `Vec` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `Vec` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: you must make sure that the variable you bind the `Vec` to lives at least as long as the pointer returned by the call to `as_ptr` [INFO] [stdout] = help: in particular, if this pointer is returned from the current function, binding the `Vec` inside the function will not suffice [INFO] [stdout] = help: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/benchmarks/optimizer.rs:640:17 [INFO] [stdout] | [INFO] [stdout] 640 | grads.set(&[i], grad_val); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 640 | let _ = grads.set(&[i], grad_val); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a dangling pointer will be produced because the temporary `Vec` will be dropped [INFO] [stdout] --> src/lamb.rs:102:48 [INFO] [stdout] | [INFO] [stdout] 102 | Ok(format!("param_{:p}", param.data()?.as_ptr())) [INFO] [stdout] | ------------- ^^^^^^ this pointer will immediately be invalid [INFO] [stdout] | | [INFO] [stdout] | this `Vec` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `Vec` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: you must make sure that the variable you bind the `Vec` to lives at least as long as the pointer returned by the call to `as_ptr` [INFO] [stdout] = help: in particular, if this pointer is returned from the current function, binding the `Vec` inside the function will not suffice [INFO] [stdout] = help: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a dangling pointer will be produced because the temporary `Vec` will be dropped [INFO] [stdout] --> src/lookahead.rs:55:48 [INFO] [stdout] | [INFO] [stdout] 55 | Ok(format!("param_{:p}", param.data()?.as_ptr())) [INFO] [stdout] | ------------- ^^^^^^ this pointer will immediately be invalid [INFO] [stdout] | | [INFO] [stdout] | this `Vec` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `Vec` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: you must make sure that the variable you bind the `Vec` to lives at least as long as the pointer returned by the call to `as_ptr` [INFO] [stdout] = help: in particular, if this pointer is returned from the current function, binding the `Vec` inside the function will not suffice [INFO] [stdout] = help: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 26s [INFO] running `Command { std: "docker" "inspect" "722a0140e14860da67362290212dcea15491fe8b46340292b4b9546edf1de7b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "722a0140e14860da67362290212dcea15491fe8b46340292b4b9546edf1de7b8", kill_on_drop: false }` [INFO] [stdout] 722a0140e14860da67362290212dcea15491fe8b46340292b4b9546edf1de7b8