[INFO] fetching crate torsh-optim 0.1.0-alpha.1... [INFO] checking torsh-optim-0.1.0-alpha.1 against master#3391c0133661be933c3ef24edf1867d71b9f206b for pr-149195-2 [INFO] extracting crate torsh-optim 0.1.0-alpha.1 into /workspace/builds/worker-1-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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate torsh-optim 0.1.0-alpha.1 on toolchain 3391c0133661be933c3ef24edf1867d71b9f206b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3391c0133661be933c3ef24edf1867d71b9f206b" "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" "+3391c0133661be933c3ef24edf1867d71b9f206b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+3391c0133661be933c3ef24edf1867d71b9f206b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4f2cd4e533420868741fb859a687779dd8f8ce427a957d974c590aa93459422a [INFO] running `Command { std: "docker" "start" "-a" "4f2cd4e533420868741fb859a687779dd8f8ce427a957d974c590aa93459422a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4f2cd4e533420868741fb859a687779dd8f8ce427a957d974c590aa93459422a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f2cd4e533420868741fb859a687779dd8f8ce427a957d974c590aa93459422a", kill_on_drop: false }` [INFO] [stdout] 4f2cd4e533420868741fb859a687779dd8f8ce427a957d974c590aa93459422a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+3391c0133661be933c3ef24edf1867d71b9f206b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3b7fcbe6218d6f455fd10a0204446c943bc5665b286f25d9a95a9cfca7bb148b [INFO] running `Command { std: "docker" "start" "-a" "3b7fcbe6218d6f455fd10a0204446c943bc5665b286f25d9a95a9cfca7bb148b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling serde_core v1.0.225 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling serde v1.0.225 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking bytemuck v1.23.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking safe_arch v0.7.4 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking wide v0.7.33 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling webpki-root-certs v1.0.2 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling filetime v0.2.26 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling ureq-proto v0.5.2 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling xattr v1.5.1 [INFO] [stderr] Compiling tar v0.4.44 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking lapack-sys v0.14.0 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Compiling virtue v0.0.18 [INFO] [stderr] Checking rand_distr v0.5.1 [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] Checking regex-automata v0.4.11 [INFO] [stderr] Compiling bincode_derive v2.0.1 [INFO] [stderr] Checking crossbeam-queue v0.3.12 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Checking unty v0.0.4 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking cached_proc_macro_types v0.1.1 [INFO] [stderr] Checking web-time v1.1.0 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking tempfile v3.23.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling nalgebra-macros v0.3.0 [INFO] [stderr] Compiling lambert_w v1.2.28 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling cached_proc_macro v0.25.0 [INFO] [stderr] Checking winnow v0.7.13 [INFO] [stderr] Checking zlib-rs v0.5.2 [INFO] [stderr] Checking crc-catalog v2.4.0 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking hashbrown v0.16.0 [INFO] [stderr] Checking regex v1.11.3 [INFO] [stderr] Checking indexmap v2.11.4 [INFO] [stderr] Checking cached v0.56.0 [INFO] [stderr] Checking deranged v0.4.0 [INFO] [stderr] Checking crc v3.3.0 [INFO] [stderr] Checking toml_parser v1.0.3 [INFO] [stderr] Checking libz-rs-sys v0.5.2 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Checking toml_datetime v0.7.2 [INFO] [stderr] Checking serde_spanned v1.0.2 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking libbz2-rs-sys v0.2.2 [INFO] [stderr] Checking bumpalo v3.18.1 [INFO] [stderr] Compiling scirs2-neural v0.1.0-beta.3 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Checking toml_writer v1.0.3 [INFO] [stderr] Checking time-core v0.1.4 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking toml v0.9.7 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking zopfli v0.8.2 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking uuid v1.18.1 [INFO] [stderr] Compiling ureq v3.1.2 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking simba v0.9.0 [INFO] [stderr] Checking ndarray v0.16.1 [INFO] [stderr] Checking cauchy v0.4.0 [INFO] [stderr] Checking bincode v2.0.1 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking special v0.11.4 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking bzip2 v0.6.0 [INFO] [stderr] Checking lzma-rust2 v0.13.0 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Compiling openblas-build v0.10.13 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking csv-core v0.1.12 [INFO] [stderr] Checking memmap2 v0.9.8 [INFO] [stderr] Checking deflate64 v0.1.9 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking ppmd-rust v1.2.1 [INFO] [stderr] Checking constant_time_eq v0.3.1 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking rustc-hash v2.1.1 [INFO] [stderr] Checking array-init v2.1.0 [INFO] [stderr] Checking iter-read v1.1.0 [INFO] [stderr] Checking csv v1.3.1 [INFO] [stderr] Compiling openblas-src v0.10.13 [INFO] [stderr] Checking serde-pickle v1.2.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking lax v0.17.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking quickcheck v1.0.3 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking rand_pcg v0.9.0 [INFO] [stderr] Compiling torsh-tensor v0.1.0-alpha.1 [INFO] [stderr] Checking simba v0.7.3 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking rand_xoshiro v0.6.0 [INFO] [stderr] Checking ndarray-linalg v0.17.0 [INFO] [stderr] Checking ndarray-rand v0.15.0 [INFO] [stderr] Checking sprs v0.11.3 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking fixedbitset v0.5.7 [INFO] [stderr] Checking petgraph v0.8.2 [INFO] [stderr] Checking argmin-math v0.4.0 [INFO] [stderr] Checking argmin v0.10.0 [INFO] [stderr] Checking nalgebra v0.33.2 [INFO] [stderr] Checking nalgebra v0.34.1 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Checking zip v5.1.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 3m 44s [INFO] running `Command { std: "docker" "inspect" "3b7fcbe6218d6f455fd10a0204446c943bc5665b286f25d9a95a9cfca7bb148b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b7fcbe6218d6f455fd10a0204446c943bc5665b286f25d9a95a9cfca7bb148b", kill_on_drop: false }` [INFO] [stdout] 3b7fcbe6218d6f455fd10a0204446c943bc5665b286f25d9a95a9cfca7bb148b