[INFO] cloning repository https://github.com/0xtito/rusty-micrograd [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/0xtito/rusty-micrograd" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xtito%2Frusty-micrograd", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xtito%2Frusty-micrograd'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a03d8e274b1b1b122c131c376220ecc85a70cb38 [INFO] checking 0xtito/rusty-micrograd/a03d8e274b1b1b122c131c376220ecc85a70cb38 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%2F0xtito%2Frusty-micrograd" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/0xtito/rusty-micrograd 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] started tweaking git repo https://github.com/0xtito/rusty-micrograd [INFO] finished tweaking git repo https://github.com/0xtito/rusty-micrograd [INFO] tweaked toml for git repo https://github.com/0xtito/rusty-micrograd written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/0xtito/rusty-micrograd 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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 35b272fd0bc4a1e0e875f36b0130c59f33ca45c3a82c1d911f796711cd8a44c9 [INFO] running `Command { std: "docker" "start" "-a" "35b272fd0bc4a1e0e875f36b0130c59f33ca45c3a82c1d911f796711cd8a44c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "35b272fd0bc4a1e0e875f36b0130c59f33ca45c3a82c1d911f796711cd8a44c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35b272fd0bc4a1e0e875f36b0130c59f33ca45c3a82c1d911f796711cd8a44c9", kill_on_drop: false }` [INFO] [stdout] 35b272fd0bc4a1e0e875f36b0130c59f33ca45c3a82c1d911f796711cd8a44c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] d826f6f62e3466ddfb44275973b166ae90c0cacc276142950f9b320ffd3a5c39 [INFO] running `Command { std: "docker" "start" "-a" "d826f6f62e3466ddfb44275973b166ae90c0cacc276142950f9b320ffd3a5c39", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling cc v1.0.97 [INFO] [stderr] Checking libloading v0.8.3 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking bytemuck v1.15.0 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Compiling font-kit v0.11.0 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking plotters-backend v0.3.5 [INFO] [stderr] Checking const-cstr v0.3.0 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking float-ord v0.2.0 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking fixedbitset v0.2.0 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking plotters-svg v0.3.5 [INFO] [stderr] Checking ttf-parser v0.17.1 [INFO] [stderr] Checking gif v0.12.0 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Compiling pathfinder_simd v0.5.3 [INFO] [stderr] Compiling yeslogic-fontconfig-sys v3.2.0 [INFO] [stderr] Checking petgraph v0.5.1 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking num-complex v0.4.5 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking uuid v1.8.0 [INFO] [stderr] Compiling freetype-sys v0.20.1 [INFO] [stderr] Checking pathfinder_geometry v0.5.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Checking petgraph-evcxr v0.2.0 [INFO] [stderr] Checking plotters-bitmap v0.3.3 [INFO] [stderr] Checking freetype v0.7.2 [INFO] [stderr] Checking plotters v0.3.5 [INFO] [stderr] Checking rusty-micrograd v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function `from` is never used [INFO] [stdout] --> src/neuron.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Neuron { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn from(nin: i32) -> Neuron { [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/main.rs:79:27 [INFO] [stdout] | [INFO] [stdout] 79 | .flat_map(|x| mlp.call(x).into_iter()) [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/main.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 86 | let diff = y_out.to_owned() - y_gt.to_owned(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 87 | (y_out.to_owned() - y_gt.to_owned()) * diff [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/main.rs:108:27 [INFO] [stdout] | [INFO] [stdout] 108 | ys.iter().map(|v| v.0.borrow().data).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/main.rs:116:22 [INFO] [stdout] | [INFO] [stdout] 116 | .map(|v| v.0.borrow().data) [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/main.rs:126:22 [INFO] [stdout] | [INFO] [stdout] 126 | .map(|v| v.0.borrow().data) [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/main.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 134 | let diff = y_out.to_owned() - y_gt.to_owned(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 135 | (y_out.to_owned() - y_gt.to_owned()) * diff [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/neuron.rs:35:29 [INFO] [stdout] | [INFO] [stdout] 35 | .map(|(wi, xi)| xi.to_owned() * wi.to_owned()) [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/neuron.rs:35:45 [INFO] [stdout] | [INFO] [stdout] 35 | .map(|(wi, xi)| xi.to_owned() * wi.to_owned()) [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 8 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rusty-micrograd` (bin "rusty-micrograd" test) due to 9 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: associated function `from` is never used [INFO] [stdout] --> src/neuron.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Neuron { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn from(nin: i32) -> Neuron { [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/main.rs:79:27 [INFO] [stdout] | [INFO] [stdout] 79 | .flat_map(|x| mlp.call(x).into_iter()) [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/main.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 86 | let diff = y_out.to_owned() - y_gt.to_owned(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 87 | (y_out.to_owned() - y_gt.to_owned()) * diff [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/main.rs:108:27 [INFO] [stdout] | [INFO] [stdout] 108 | ys.iter().map(|v| v.0.borrow().data).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/main.rs:116:22 [INFO] [stdout] | [INFO] [stdout] 116 | .map(|v| v.0.borrow().data) [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/main.rs:126:22 [INFO] [stdout] | [INFO] [stdout] 126 | .map(|v| v.0.borrow().data) [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/main.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 134 | let diff = y_out.to_owned() - y_gt.to_owned(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 135 | (y_out.to_owned() - y_gt.to_owned()) * diff [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/neuron.rs:35:29 [INFO] [stdout] | [INFO] [stdout] 35 | .map(|(wi, xi)| xi.to_owned() * wi.to_owned()) [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/neuron.rs:35:45 [INFO] [stdout] | [INFO] [stdout] 35 | .map(|(wi, xi)| xi.to_owned() * wi.to_owned()) [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 8 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rusty-micrograd` (bin "rusty-micrograd") due to 9 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "d826f6f62e3466ddfb44275973b166ae90c0cacc276142950f9b320ffd3a5c39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d826f6f62e3466ddfb44275973b166ae90c0cacc276142950f9b320ffd3a5c39", kill_on_drop: false }` [INFO] [stdout] d826f6f62e3466ddfb44275973b166ae90c0cacc276142950f9b320ffd3a5c39