[INFO] fetching crate rogue-net 0.4.1... [INFO] checking rogue-net-0.4.1 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate rogue-net 0.4.1 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate rogue-net 0.4.1 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rogue-net 0.4.1 [INFO] finished tweaking crates.io crate rogue-net 0.4.1 [INFO] tweaked toml for crates.io crate rogue-net 0.4.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate rogue-net 0.4.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fef1879363d2c77ec299f733ffc096eb56be7e48a9d62d93eef674ecbf1189f0 [INFO] running `Command { std: "docker" "start" "-a" "fef1879363d2c77ec299f733ffc096eb56be7e48a9d62d93eef674ecbf1189f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fef1879363d2c77ec299f733ffc096eb56be7e48a9d62d93eef674ecbf1189f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fef1879363d2c77ec299f733ffc096eb56be7e48a9d62d93eef674ecbf1189f0", kill_on_drop: false }` [INFO] [stdout] fef1879363d2c77ec299f733ffc096eb56be7e48a9d62d93eef674ecbf1189f0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5621396c948cb17e4440e5e3b0732dc29d1c7c8b0069917bd2294e174389e171 [INFO] running `Command { std: "docker" "start" "-a" "5621396c948cb17e4440e5e3b0732dc29d1c7c8b0069917bd2294e174389e171", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libm v0.2.2 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling serde_derive v1.0.139 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Compiling serde v1.0.139 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Checking matrixmultiply v0.3.2 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking hashbrown v0.12.2 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking os_str_bytes v6.2.0 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking once_cell v1.13.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking xattr v0.2.3 [INFO] [stderr] Checking filetime v0.2.17 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking tar v0.4.38 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking num-complex v0.4.2 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking rmp v0.8.11 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking rmpv v1.0.0 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking simba v0.5.1 [INFO] [stderr] Checking ndarray v0.15.4 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [INFO] [stderr] Compiling clap_derive v3.2.7 [INFO] [stderr] Checking nalgebra v0.27.1 [INFO] [stderr] Checking ron v0.7.1 [INFO] [stderr] Checking clap v3.2.14 [INFO] [stderr] Checking statrs v0.15.0 [INFO] [stderr] Checking rogue-net v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `ArrayBase, Dim<[usize; 2]>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/relpos_encoding.rs:203:17 [INFO] [stdout] | [INFO] [stdout] 153 | let mut poss = vec![]; [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 164 | let positions = [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 165 | concatenate(Axis(0), &poss.iter().map(|x| x.view()).collect::>()).unwrap(); [INFO] [stdout] 166 | let orientations = self [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 186 | let relative_positions = [INFO] [stdout] | ------------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 203 | let mut relpos_indices = [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: this value of type `TensorDict` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rogue_net.rs:115:14 [INFO] [stdout] | [INFO] [stdout] 87 | let mut a = tar::Archive::new(r); [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 88 | let mut config: Option = None; [INFO] [stdout] 89 | let mut state = None; [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 115 | &state_dict.ok_or_else(|| { [INFO] [stdout] | ______________^ [INFO] [stdout] 116 | | std::io::Error::new(std::io::ErrorKind::Other, "Missing state.agent.msgpack") [INFO] [stdout] 117 | | })?, [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: this value of type `ArrayBase, Dim<[usize; 2]>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/relpos_encoding.rs:203:17 [INFO] [stdout] | [INFO] [stdout] 153 | let mut poss = vec![]; [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 164 | let positions = [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 165 | concatenate(Axis(0), &poss.iter().map(|x| x.view()).collect::>()).unwrap(); [INFO] [stdout] 166 | let orientations = self [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 186 | let relative_positions = [INFO] [stdout] | ------------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 203 | let mut relpos_indices = [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] warning: field `0` is never read [INFO] [stdout] --> src/msgpack.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | ParseError(String), [INFO] [stdout] | ---------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 9 | ParseError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `shape` and `data` are never read [INFO] [stdout] --> src/msgpack.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 37 | I64 { shape: Vec, data: Vec }, [INFO] [stdout] | --- ^^^^^ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Tensor` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `TensorDict` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rogue_net.rs:115:14 [INFO] [stdout] | [INFO] [stdout] 87 | let mut a = tar::Archive::new(r); [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 88 | let mut config: Option = None; [INFO] [stdout] 89 | let mut state = None; [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 115 | &state_dict.ok_or_else(|| { [INFO] [stdout] | ______________^ [INFO] [stdout] 116 | | std::io::Error::new(std::io::ErrorKind::Other, "Missing state.agent.msgpack") [INFO] [stdout] 117 | | })?, [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 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rogue-net` (lib test) due to 3 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/msgpack.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | ParseError(String), [INFO] [stdout] | ---------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 9 | ParseError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `shape` and `data` are never read [INFO] [stdout] --> src/msgpack.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 37 | I64 { shape: Vec, data: Vec }, [INFO] [stdout] | --- ^^^^^ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Tensor` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rogue-net` (lib) due to 3 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5621396c948cb17e4440e5e3b0732dc29d1c7c8b0069917bd2294e174389e171", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5621396c948cb17e4440e5e3b0732dc29d1c7c8b0069917bd2294e174389e171", kill_on_drop: false }` [INFO] [stdout] 5621396c948cb17e4440e5e3b0732dc29d1c7c8b0069917bd2294e174389e171