[INFO] cloning repository https://github.com/enricozb/picogpt-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/enricozb/picogpt-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenricozb%2Fpicogpt-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenricozb%2Fpicogpt-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3d7c6681b97b5e39359a247606712f0363d198c3 [INFO] checking enricozb/picogpt-rust against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenricozb%2Fpicogpt-rust" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/enricozb/picogpt-rust on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/enricozb/picogpt-rust [INFO] finished tweaking git repo https://github.com/enricozb/picogpt-rust [INFO] tweaked toml for git repo https://github.com/enricozb/picogpt-rust written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/enricozb/picogpt-rust 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded extend v1.2.0 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ecb0f44f9951e2cbdfc22541b8c49ea86c2031f601298c845caf23da34f63bc2 [INFO] running `Command { std: "docker" "start" "-a" "ecb0f44f9951e2cbdfc22541b8c49ea86c2031f601298c845caf23da34f63bc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ecb0f44f9951e2cbdfc22541b8c49ea86c2031f601298c845caf23da34f63bc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ecb0f44f9951e2cbdfc22541b8c49ea86c2031f601298c845caf23da34f63bc2", kill_on_drop: false }` [INFO] [stdout] ecb0f44f9951e2cbdfc22541b8c49ea86c2031f601298c845caf23da34f63bc2 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4eb35ab1f991c5fe1ba45fdcc29a51b78ec41a5fde70cab697575ac02bfdb783 [INFO] running `Command { std: "docker" "start" "-a" "4eb35ab1f991c5fe1ba45fdcc29a51b78ec41a5fde70cab697575ac02bfdb783", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking anstyle v1.0.5 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Checking anstream v0.6.11 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking clap_builder v4.4.18 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Checking regex-automata v0.4.5 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling extend v1.2.0 [INFO] [stderr] Checking fancy-regex v0.13.0 [INFO] [stderr] Compiling pest v2.7.6 [INFO] [stderr] Checking zip v0.5.13 [INFO] [stderr] Checking clap v4.4.18 [INFO] [stderr] Compiling pest_meta v2.7.6 [INFO] [stderr] Compiling pest_generator v2.7.6 [INFO] [stderr] Compiling pest_derive v2.7.6 [INFO] [stderr] Checking py_literal v0.4.0 [INFO] [stderr] Checking ndarray-npy v0.8.1 [INFO] [stderr] Checking picogpt v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `size_vocab` and `network_width` are never read [INFO] [stdout] --> src/hyper_params.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct HyperParams { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub size_vocab: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub network_width: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `size_vocab` and `network_width` are never read [INFO] [stdout] --> src/hyper_params.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct HyperParams { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub size_vocab: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub network_width: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.56s [INFO] running `Command { std: "docker" "inspect" "4eb35ab1f991c5fe1ba45fdcc29a51b78ec41a5fde70cab697575ac02bfdb783", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4eb35ab1f991c5fe1ba45fdcc29a51b78ec41a5fde70cab697575ac02bfdb783", kill_on_drop: false }` [INFO] [stdout] 4eb35ab1f991c5fe1ba45fdcc29a51b78ec41a5fde70cab697575ac02bfdb783 [INFO] checking enricozb/picogpt-rust against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenricozb%2Fpicogpt-rust" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/enricozb/picogpt-rust on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/enricozb/picogpt-rust [INFO] finished tweaking git repo https://github.com/enricozb/picogpt-rust [INFO] tweaked toml for git repo https://github.com/enricozb/picogpt-rust written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/enricozb/picogpt-rust 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7fad395c1461b9f4af5bf205602e60a94c47997bb3bf0029c4ecc694344718fd [INFO] running `Command { std: "docker" "start" "-a" "7fad395c1461b9f4af5bf205602e60a94c47997bb3bf0029c4ecc694344718fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7fad395c1461b9f4af5bf205602e60a94c47997bb3bf0029c4ecc694344718fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fad395c1461b9f4af5bf205602e60a94c47997bb3bf0029c4ecc694344718fd", kill_on_drop: false }` [INFO] [stdout] 7fad395c1461b9f4af5bf205602e60a94c47997bb3bf0029c4ecc694344718fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ff1823755642db813a0a47bd420935bfc11e5df2a2ef94d2d9ff4a9cea71f9d4 [INFO] running `Command { std: "docker" "start" "-a" "ff1823755642db813a0a47bd420935bfc11e5df2a2ef94d2d9ff4a9cea71f9d4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Checking anstyle v1.0.5 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking anstream v0.6.11 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking clap_builder v4.4.18 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Checking regex-automata v0.4.5 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling extend v1.2.0 [INFO] [stderr] Checking fancy-regex v0.13.0 [INFO] [stderr] Compiling pest v2.7.6 [INFO] [stderr] Checking zip v0.5.13 [INFO] [stderr] Checking clap v4.4.18 [INFO] [stderr] Compiling pest_meta v2.7.6 [INFO] [stderr] Compiling pest_generator v2.7.6 [INFO] [stderr] Compiling pest_derive v2.7.6 [INFO] [stderr] Checking py_literal v0.4.0 [INFO] [stderr] Checking ndarray-npy v0.8.1 [INFO] [stderr] Checking picogpt v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `size_vocab` and `network_width` are never read [INFO] [stdout] --> src/hyper_params.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct HyperParams { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub size_vocab: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub network_width: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/encoder.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn from_dir>(model_dir: P) -> Result { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | Ok(Self { [INFO] [stdout] | ________^ [INFO] [stdout] 39 | | word_re: Regex::new(r"'s|'t|'re|'ve|'m|'ll|'d| ?\p{L}+| ?\p{N}+| ?[^\s\p{L}\p{N}]+|\s+(?!\S)|\s+").unwrap(), [INFO] [stdout] 40 | | char_to_byte: byte_to_char.invert(), [INFO] [stdout] 41 | | byte_to_char, [INFO] [stdout] ... | [INFO] [stdout] 45 | | tokenize_cache: HashMap::new(), [INFO] [stdout] 46 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ext.rs:13:31 [INFO] [stdout] | [INFO] [stdout] 13 | self.iter().map(|(k, v)| (v.clone(), k.clone())).collect() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ext.rs:13:42 [INFO] [stdout] | [INFO] [stdout] 13 | self.iter().map(|(k, v)| (v.clone(), k.clone())).collect() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ext.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 60 | let mut res: Array1 = Array::zeros(self.raw_dim().remove_axis(Axis(1))); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 70 | res.into_shape((res_shape, 1)).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ext.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 75 | let mean = self.mean_axis(Axis(1)).unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 76 | let mean_shape = mean.shape()[0]; [INFO] [stdout] 77 | mean.into_shape((mean_shape, 1)).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ext.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 82 | let var = self.var_axis(Axis(1), /* ddof */ 0.0); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 83 | let var_shape = var.shape()[0]; [INFO] [stdout] 84 | var.into_shape((var_shape, 1)).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ext.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 89 | let sum = self.sum_axis(Axis(1)); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 90 | let sum_shape = sum.shape()[0]; [INFO] [stdout] 91 | sum.into_shape((sum_shape, 1)).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/params.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn from_dir>(model_dir: P, num_heads: usize, depth: usize) -> Result { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 23 | Ok(Self { [INFO] [stdout] | ________^ [INFO] [stdout] 24 | | token_embedding: ndarray_npy::read_npy(model_dir.join("wte.npy")).context("wte")?, [INFO] [stdout] 25 | | position_embedding: ndarray_npy::read_npy(model_dir.join("wpe.npy")).context("wpe")?, [INFO] [stdout] 26 | | blocks: Block::from_dirs(model_dir, num_heads, depth).context("block")?, [INFO] [stdout] 27 | | layer_norm: LayerNorm::from_dir(model_dir.join("ln_f")).context("layer norm")?, [INFO] [stdout] 28 | | }) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/params.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 76 | fn from_dir>(layer_norm_dir: P) -> Result { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 79 | Ok(Self { [INFO] [stdout] | ________^ [INFO] [stdout] 80 | | beta: ndarray_npy::read_npy(layer_norm_dir.join("b.npy"))?, [INFO] [stdout] 81 | | gamma: ndarray_npy::read_npy(layer_norm_dir.join("g.npy"))?, [INFO] [stdout] 82 | | }) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/params.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 88 | let mean = x.view().mean_keep_dims(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 89 | let var = x.view().var_keep_dims(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 90 | let x = (x - mean) / (var + eps).mapv(f32::sqrt); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 91 | [INFO] [stdout] 92 | &self.gamma * x + &self.beta [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/params.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 115 | fn from_dir>(block_dir: P, num_heads: usize) -> Result { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 118 | Ok(Self { [INFO] [stdout] | ________^ [INFO] [stdout] 119 | | attention: Attention { [INFO] [stdout] 120 | | layer_norm: LayerNorm::from_dir(block_dir.join("ln_1")).context("ln_1")?, [INFO] [stdout] 121 | | expand: Weights::from_dir(block_dir.join("attn/c_attn")).context("attn/c_attn")?, [INFO] [stdout] ... | [INFO] [stdout] 130 | | }, [INFO] [stdout] 131 | | }) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/params.rs:137:10 [INFO] [stdout] | [INFO] [stdout] 135 | let x = x + self.attention.apply(x); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 136 | [INFO] [stdout] 137 | &x + self.network.apply(&x) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/params.rs:159:48 [INFO] [stdout] | [INFO] [stdout] 159 | let qkv_heads: Vec<_> = qkv.iter().map(|x| x.split_n(self.num_heads).unwrap()).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/params.rs:199:8 [INFO] [stdout] | [INFO] [stdout] 196 | fn from_dir>(weights_dir: P) -> Result { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 199 | Ok(Self { [INFO] [stdout] | ________^ [INFO] [stdout] 200 | | weights: ndarray_npy::read_npy(weights_dir.join("w.npy"))?, [INFO] [stdout] 201 | | bias: ndarray_npy::read_npy(weights_dir.join("b.npy"))?, [INFO] [stdout] 202 | | }) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/params.rs:219:12 [INFO] [stdout] | [INFO] [stdout] 217 | let exp_x = (x - x.view().max_keep_dims()).mapv(f32::exp); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 218 | [INFO] [stdout] 219 | &exp_x / exp_x.view().sum_keep_dims() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn serde_json_from_path, T: DeserializeOwned>(path: P) -> Result { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 12 | let file = File::open(&path).with_context(|| format!("file: {:?}", path.as_ref()))?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 13 | let reader = BufReader::new(file); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 14 | [INFO] [stdout] 15 | Ok(serde_json::from_reader(reader)?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `size_vocab` and `network_width` are never read [INFO] [stdout] --> src/hyper_params.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct HyperParams { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub size_vocab: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub network_width: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/encoder.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn from_dir>(model_dir: P) -> Result { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | Ok(Self { [INFO] [stdout] | ________^ [INFO] [stdout] 39 | | word_re: Regex::new(r"'s|'t|'re|'ve|'m|'ll|'d| ?\p{L}+| ?\p{N}+| ?[^\s\p{L}\p{N}]+|\s+(?!\S)|\s+").unwrap(), [INFO] [stdout] 40 | | char_to_byte: byte_to_char.invert(), [INFO] [stdout] 41 | | byte_to_char, [INFO] [stdout] ... | [INFO] [stdout] 45 | | tokenize_cache: HashMap::new(), [INFO] [stdout] 46 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ext.rs:13:31 [INFO] [stdout] | [INFO] [stdout] 13 | self.iter().map(|(k, v)| (v.clone(), k.clone())).collect() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ext.rs:13:42 [INFO] [stdout] | [INFO] [stdout] 13 | self.iter().map(|(k, v)| (v.clone(), k.clone())).collect() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ext.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 60 | let mut res: Array1 = Array::zeros(self.raw_dim().remove_axis(Axis(1))); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 70 | res.into_shape((res_shape, 1)).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ext.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 75 | let mean = self.mean_axis(Axis(1)).unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 76 | let mean_shape = mean.shape()[0]; [INFO] [stdout] 77 | mean.into_shape((mean_shape, 1)).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ext.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 82 | let var = self.var_axis(Axis(1), /* ddof */ 0.0); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 83 | let var_shape = var.shape()[0]; [INFO] [stdout] 84 | var.into_shape((var_shape, 1)).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ext.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 89 | let sum = self.sum_axis(Axis(1)); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 90 | let sum_shape = sum.shape()[0]; [INFO] [stdout] 91 | sum.into_shape((sum_shape, 1)).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/params.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn from_dir>(model_dir: P, num_heads: usize, depth: usize) -> Result { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 23 | Ok(Self { [INFO] [stdout] | ________^ [INFO] [stdout] 24 | | token_embedding: ndarray_npy::read_npy(model_dir.join("wte.npy")).context("wte")?, [INFO] [stdout] 25 | | position_embedding: ndarray_npy::read_npy(model_dir.join("wpe.npy")).context("wpe")?, [INFO] [stdout] 26 | | blocks: Block::from_dirs(model_dir, num_heads, depth).context("block")?, [INFO] [stdout] 27 | | layer_norm: LayerNorm::from_dir(model_dir.join("ln_f")).context("layer norm")?, [INFO] [stdout] 28 | | }) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/params.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 76 | fn from_dir>(layer_norm_dir: P) -> Result { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 79 | Ok(Self { [INFO] [stdout] | ________^ [INFO] [stdout] 80 | | beta: ndarray_npy::read_npy(layer_norm_dir.join("b.npy"))?, [INFO] [stdout] 81 | | gamma: ndarray_npy::read_npy(layer_norm_dir.join("g.npy"))?, [INFO] [stdout] 82 | | }) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/params.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 88 | let mean = x.view().mean_keep_dims(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 89 | let var = x.view().var_keep_dims(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 90 | let x = (x - mean) / (var + eps).mapv(f32::sqrt); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 91 | [INFO] [stdout] 92 | &self.gamma * x + &self.beta [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/params.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 115 | fn from_dir>(block_dir: P, num_heads: usize) -> Result { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 118 | Ok(Self { [INFO] [stdout] | ________^ [INFO] [stdout] 119 | | attention: Attention { [INFO] [stdout] 120 | | layer_norm: LayerNorm::from_dir(block_dir.join("ln_1")).context("ln_1")?, [INFO] [stdout] 121 | | expand: Weights::from_dir(block_dir.join("attn/c_attn")).context("attn/c_attn")?, [INFO] [stdout] ... | [INFO] [stdout] 130 | | }, [INFO] [stdout] 131 | | }) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/params.rs:137:10 [INFO] [stdout] | [INFO] [stdout] 135 | let x = x + self.attention.apply(x); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 136 | [INFO] [stdout] 137 | &x + self.network.apply(&x) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/params.rs:159:48 [INFO] [stdout] | [INFO] [stdout] 159 | let qkv_heads: Vec<_> = qkv.iter().map(|x| x.split_n(self.num_heads).unwrap()).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/params.rs:199:8 [INFO] [stdout] | [INFO] [stdout] 196 | fn from_dir>(weights_dir: P) -> Result { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 199 | Ok(Self { [INFO] [stdout] | ________^ [INFO] [stdout] 200 | | weights: ndarray_npy::read_npy(weights_dir.join("w.npy"))?, [INFO] [stdout] 201 | | bias: ndarray_npy::read_npy(weights_dir.join("b.npy"))?, [INFO] [stdout] 202 | | }) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/params.rs:219:12 [INFO] [stdout] | [INFO] [stdout] 217 | let exp_x = (x - x.view().max_keep_dims()).mapv(f32::exp); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 218 | [INFO] [stdout] 219 | &exp_x / exp_x.view().sum_keep_dims() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn serde_json_from_path, T: DeserializeOwned>(path: P) -> Result { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 12 | let file = File::open(&path).with_context(|| format!("file: {:?}", path.as_ref()))?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 13 | let reader = BufReader::new(file); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 14 | [INFO] [stdout] 15 | Ok(serde_json::from_reader(reader)?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `picogpt` (bin "picogpt") due to 17 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `picogpt` (bin "picogpt" test) due to 17 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "ff1823755642db813a0a47bd420935bfc11e5df2a2ef94d2d9ff4a9cea71f9d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff1823755642db813a0a47bd420935bfc11e5df2a2ef94d2d9ff4a9cea71f9d4", kill_on_drop: false }` [INFO] [stdout] ff1823755642db813a0a47bd420935bfc11e5df2a2ef94d2d9ff4a9cea71f9d4