[INFO] cloning repository https://github.com/G0ldenSp00n/rustygrad [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/G0ldenSp00n/rustygrad" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FG0ldenSp00n%2Frustygrad", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FG0ldenSp00n%2Frustygrad'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3926c4459c9cfac385e692da8e6c574920fb5f71 [INFO] checking G0ldenSp00n/rustygrad/3926c4459c9cfac385e692da8e6c574920fb5f71 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FG0ldenSp00n%2Frustygrad" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/G0ldenSp00n/rustygrad on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/G0ldenSp00n/rustygrad [INFO] finished tweaking git repo https://github.com/G0ldenSp00n/rustygrad [INFO] tweaked toml for git repo https://github.com/G0ldenSp00n/rustygrad written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/G0ldenSp00n/rustygrad 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5bb30b06173c6808c4f6425f53001ce0127db603ad727fd78f532640613637b7 [INFO] running `Command { std: "docker" "start" "-a" "5bb30b06173c6808c4f6425f53001ce0127db603ad727fd78f532640613637b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5bb30b06173c6808c4f6425f53001ce0127db603ad727fd78f532640613637b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5bb30b06173c6808c4f6425f53001ce0127db603ad727fd78f532640613637b7", kill_on_drop: false }` [INFO] [stdout] 5bb30b06173c6808c4f6425f53001ce0127db603ad727fd78f532640613637b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 35d1d9ee5b28c8d63f52a9a70986f2928557ed806d906d98b75e611114a46059 [INFO] running `Command { std: "docker" "start" "-a" "35d1d9ee5b28c8d63f52a9a70986f2928557ed806d906d98b75e611114a46059", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking crossterm v0.25.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tqdm v0.7.0 [INFO] [stderr] Checking rustygrad v0.1.0 (/opt/rustwide/workdir) [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/lib.rs:162:18 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn tanh(self) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 162 | RefValue(Rc::new(RefCell::new(Value { [INFO] [stdout] | __________________^ [INFO] [stdout] 163 | | id: COUNTER.fetch_add(1, std::sync::atomic::Ordering::Relaxed), [INFO] [stdout] 164 | | value, [INFO] [stdout] 165 | | grad: 0.0, [INFO] [stdout] 166 | | prev: Some(Box::new(Op::Tanh(self))), [INFO] [stdout] 167 | | }))) [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/lib.rs:176:18 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn exp(self) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 176 | RefValue(Rc::new(RefCell::new(Value { [INFO] [stdout] | __________________^ [INFO] [stdout] 177 | | id: COUNTER.fetch_add(1, std::sync::atomic::Ordering::Relaxed), [INFO] [stdout] 178 | | value, [INFO] [stdout] 179 | | grad: 0.0, [INFO] [stdout] 180 | | prev: Some(Box::new(Op::Exp(self))), [INFO] [stdout] 181 | | }))) [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/lib.rs:190:18 [INFO] [stdout] | [INFO] [stdout] 184 | pub fn powf(self, rhs: f64) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 190 | RefValue(Rc::new(RefCell::new(Value { [INFO] [stdout] | __________________^ [INFO] [stdout] 191 | | id: COUNTER.fetch_add(1, std::sync::atomic::Ordering::Relaxed), [INFO] [stdout] 192 | | value, [INFO] [stdout] 193 | | grad: 0.0, [INFO] [stdout] 194 | | prev: Some(Box::new(Op::Pow(self, rhs))), [INFO] [stdout] 195 | | }))) [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/lib.rs:206:18 [INFO] [stdout] | [INFO] [stdout] 198 | pub fn relu(self) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 206 | RefValue(Rc::new(RefCell::new(Value { [INFO] [stdout] | __________________^ [INFO] [stdout] 207 | | id: COUNTER.fetch_add(1, std::sync::atomic::Ordering::Relaxed), [INFO] [stdout] 208 | | value, [INFO] [stdout] 209 | | grad: 0.0, [INFO] [stdout] 210 | | prev: Some(Box::new(Op::Relu(self))), [INFO] [stdout] 211 | | }))) [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/lib.rs:225:16 [INFO] [stdout] | [INFO] [stdout] 224 | fn sub(self, rhs: f64) -> Self::Output { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 225 | self - RefValue::new(rhs) [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/lib.rs:232:9 [INFO] [stdout] | [INFO] [stdout] 231 | fn sub(self, rhs: RefValue) -> Self::Output { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 232 | RefValue::new(self) - rhs [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/lib.rs:253:16 [INFO] [stdout] | [INFO] [stdout] 252 | fn sub(self, rhs: RefValue) -> Self::Output { [INFO] [stdout] | ---- ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 253 | self + (-rhs) [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/lib.rs:291:18 [INFO] [stdout] | [INFO] [stdout] 288 | fn add(self, rhs: RefValue) -> Self::Output { [INFO] [stdout] | ---- ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 289 | let val = (*self).borrow(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 290 | let val2 = (*rhs).borrow(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 291 | RefValue(Rc::new(RefCell::new(Value { [INFO] [stdout] | __________________^ [INFO] [stdout] 292 | | id: COUNTER.fetch_add(1, std::sync::atomic::Ordering::Relaxed), [INFO] [stdout] 293 | | value: val.value + val2.value, [INFO] [stdout] 294 | | grad: 0.0, [INFO] [stdout] 295 | | prev: Some(Box::new(Op::Add(self.clone(), rhs.clone()))), [INFO] [stdout] 296 | | }))) [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/lib.rs:335:18 [INFO] [stdout] | [INFO] [stdout] 332 | fn mul(self, rhs: RefValue) -> Self::Output { [INFO] [stdout] | ---- ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 333 | let val = (*self).borrow(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 334 | let val2 = (*rhs).borrow(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 335 | RefValue(Rc::new(RefCell::new(Value { [INFO] [stdout] | __________________^ [INFO] [stdout] 336 | | id: COUNTER.fetch_add(1, std::sync::atomic::Ordering::Relaxed), [INFO] [stdout] 337 | | value: val.value * val2.value, [INFO] [stdout] 338 | | grad: 0.0, [INFO] [stdout] 339 | | prev: Some(Box::new(Op::Mul(self.clone(), rhs.clone()))), [INFO] [stdout] 340 | | }))) [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/lib.rs:347:16 [INFO] [stdout] | [INFO] [stdout] 346 | fn div(self, rhs: RefValue) -> Self::Output { [INFO] [stdout] | ---- ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 347 | self * rhs.powf(-1.0) [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/lib.rs:360:19 [INFO] [stdout] | [INFO] [stdout] 359 | fn sum>(iter: I) -> Self { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 360 | iter.fold(RefValue::new(0.0), |a, b| a + b) [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/mlp.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 14 | let mut ref_values: Vec = Vec::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 20 | b: RefValue::new(rng.gen_range(-1.0..=1.0)), [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/mlp.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn call(&self, x: Vec) -> RefValue { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 31 | let out: RefValue = self [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 37 | out + self.b.clone().tanh() [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/mlp.rs:35:27 [INFO] [stdout] | [INFO] [stdout] 35 | .map(|(w, x)| w.clone() * x.clone()) [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/mlp.rs:35:39 [INFO] [stdout] | [INFO] [stdout] 35 | .map(|(w, x)| w.clone() * x.clone()) [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/mlp.rs:59:51 [INFO] [stdout] | [INFO] [stdout] 59 | .for_each(|neuron| params.append(&mut neuron.parameters())); [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/mlp.rs:67:39 [INFO] [stdout] | [INFO] [stdout] 67 | .map(|neuron| neuron.call(x.clone())) [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/mlp.rs:93:50 [INFO] [stdout] | [INFO] [stdout] 93 | .for_each(|layer| params.append(&mut layer.parameters())); [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 18 previous errors [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/lib.rs:162:18 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn tanh(self) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 162 | RefValue(Rc::new(RefCell::new(Value { [INFO] [stdout] | __________________^ [INFO] [stdout] 163 | | id: COUNTER.fetch_add(1, std::sync::atomic::Ordering::Relaxed), [INFO] [stdout] 164 | | value, [INFO] [stdout] 165 | | grad: 0.0, [INFO] [stdout] 166 | | prev: Some(Box::new(Op::Tanh(self))), [INFO] [stdout] 167 | | }))) [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/lib.rs:176:18 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn exp(self) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 176 | RefValue(Rc::new(RefCell::new(Value { [INFO] [stdout] | __________________^ [INFO] [stdout] 177 | | id: COUNTER.fetch_add(1, std::sync::atomic::Ordering::Relaxed), [INFO] [stdout] 178 | | value, [INFO] [stdout] 179 | | grad: 0.0, [INFO] [stdout] 180 | | prev: Some(Box::new(Op::Exp(self))), [INFO] [stdout] 181 | | }))) [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/lib.rs:190:18 [INFO] [stdout] | [INFO] [stdout] 184 | pub fn powf(self, rhs: f64) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 190 | RefValue(Rc::new(RefCell::new(Value { [INFO] [stdout] | __________________^ [INFO] [stdout] 191 | | id: COUNTER.fetch_add(1, std::sync::atomic::Ordering::Relaxed), [INFO] [stdout] 192 | | value, [INFO] [stdout] 193 | | grad: 0.0, [INFO] [stdout] 194 | | prev: Some(Box::new(Op::Pow(self, rhs))), [INFO] [stdout] 195 | | }))) [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/lib.rs:206:18 [INFO] [stdout] | [INFO] [stdout] 198 | pub fn relu(self) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 206 | RefValue(Rc::new(RefCell::new(Value { [INFO] [stdout] | __________________^ [INFO] [stdout] 207 | | id: COUNTER.fetch_add(1, std::sync::atomic::Ordering::Relaxed), [INFO] [stdout] 208 | | value, [INFO] [stdout] 209 | | grad: 0.0, [INFO] [stdout] 210 | | prev: Some(Box::new(Op::Relu(self))), [INFO] [stdout] 211 | | }))) [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/lib.rs:225:16 [INFO] [stdout] | [INFO] [stdout] 224 | fn sub(self, rhs: f64) -> Self::Output { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 225 | self - RefValue::new(rhs) [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/lib.rs:232:9 [INFO] [stdout] | [INFO] [stdout] 231 | fn sub(self, rhs: RefValue) -> Self::Output { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 232 | RefValue::new(self) - rhs [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/lib.rs:253:16 [INFO] [stdout] | [INFO] [stdout] 252 | fn sub(self, rhs: RefValue) -> Self::Output { [INFO] [stdout] | ---- ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 253 | self + (-rhs) [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/lib.rs:291:18 [INFO] [stdout] | [INFO] [stdout] 288 | fn add(self, rhs: RefValue) -> Self::Output { [INFO] [stdout] | ---- ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 289 | let val = (*self).borrow(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 290 | let val2 = (*rhs).borrow(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 291 | RefValue(Rc::new(RefCell::new(Value { [INFO] [stdout] | __________________^ [INFO] [stdout] 292 | | id: COUNTER.fetch_add(1, std::sync::atomic::Ordering::Relaxed), [INFO] [stdout] 293 | | value: val.value + val2.value, [INFO] [stdout] 294 | | grad: 0.0, [INFO] [stdout] 295 | | prev: Some(Box::new(Op::Add(self.clone(), rhs.clone()))), [INFO] [stdout] 296 | | }))) [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/lib.rs:335:18 [INFO] [stdout] | [INFO] [stdout] 332 | fn mul(self, rhs: RefValue) -> Self::Output { [INFO] [stdout] | ---- ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 333 | let val = (*self).borrow(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 334 | let val2 = (*rhs).borrow(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 335 | RefValue(Rc::new(RefCell::new(Value { [INFO] [stdout] | __________________^ [INFO] [stdout] 336 | | id: COUNTER.fetch_add(1, std::sync::atomic::Ordering::Relaxed), [INFO] [stdout] 337 | | value: val.value * val2.value, [INFO] [stdout] 338 | | grad: 0.0, [INFO] [stdout] 339 | | prev: Some(Box::new(Op::Mul(self.clone(), rhs.clone()))), [INFO] [stdout] 340 | | }))) [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/lib.rs:347:16 [INFO] [stdout] | [INFO] [stdout] 346 | fn div(self, rhs: RefValue) -> Self::Output { [INFO] [stdout] | ---- ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 347 | self * rhs.powf(-1.0) [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/lib.rs:360:19 [INFO] [stdout] | [INFO] [stdout] 359 | fn sum>(iter: I) -> Self { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 360 | iter.fold(RefValue::new(0.0), |a, b| a + b) [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/mlp.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 14 | let mut ref_values: Vec = Vec::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 20 | b: RefValue::new(rng.gen_range(-1.0..=1.0)), [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/mlp.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn call(&self, x: Vec) -> RefValue { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 31 | let out: RefValue = self [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 37 | out + self.b.clone().tanh() [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/mlp.rs:35:27 [INFO] [stdout] | [INFO] [stdout] 35 | .map(|(w, x)| w.clone() * x.clone()) [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/mlp.rs:35:39 [INFO] [stdout] | [INFO] [stdout] 35 | .map(|(w, x)| w.clone() * x.clone()) [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/mlp.rs:59:51 [INFO] [stdout] | [INFO] [stdout] 59 | .for_each(|neuron| params.append(&mut neuron.parameters())); [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/mlp.rs:67:39 [INFO] [stdout] | [INFO] [stdout] 67 | .map(|neuron| neuron.call(x.clone())) [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/mlp.rs:93:50 [INFO] [stdout] | [INFO] [stdout] 93 | .for_each(|layer| params.append(&mut layer.parameters())); [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 18 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rustygrad` (lib test) due to 19 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rustygrad` (lib) due to 19 previous errors [INFO] running `Command { std: "docker" "inspect" "35d1d9ee5b28c8d63f52a9a70986f2928557ed806d906d98b75e611114a46059", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35d1d9ee5b28c8d63f52a9a70986f2928557ed806d906d98b75e611114a46059", kill_on_drop: false }` [INFO] [stdout] 35d1d9ee5b28c8d63f52a9a70986f2928557ed806d906d98b75e611114a46059