[INFO] cloning repository https://github.com/Sinono3/simple-roguelike [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Sinono3/simple-roguelike" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSinono3%2Fsimple-roguelike", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSinono3%2Fsimple-roguelike'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 968d58cfaaa9f682e5a7b28de34d02aed3e4b602 [INFO] checking Sinono3/simple-roguelike/968d58cfaaa9f682e5a7b28de34d02aed3e4b602 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%2FSinono3%2Fsimple-roguelike" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Sinono3/simple-roguelike 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/Sinono3/simple-roguelike [INFO] finished tweaking git repo https://github.com/Sinono3/simple-roguelike [INFO] tweaked toml for git repo https://github.com/Sinono3/simple-roguelike written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Sinono3/simple-roguelike 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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 8f2ee2e6950a6e615719464bfe2ff4b4ee49313c7700fb62a34191820f63d022 [INFO] running `Command { std: "docker" "start" "-a" "8f2ee2e6950a6e615719464bfe2ff4b4ee49313c7700fb62a34191820f63d022", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8f2ee2e6950a6e615719464bfe2ff4b4ee49313c7700fb62a34191820f63d022", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f2ee2e6950a6e615719464bfe2ff4b4ee49313c7700fb62a34191820f63d022", kill_on_drop: false }` [INFO] [stdout] 8f2ee2e6950a6e615719464bfe2ff4b4ee49313c7700fb62a34191820f63d022 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 525a42f4885abb6092d3a96c1695d4e92793903ebbfa13982171b42c05d6c447 [INFO] running `Command { std: "docker" "start" "-a" "525a42f4885abb6092d3a96c1695d4e92793903ebbfa13982171b42c05d6c447", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.44 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Compiling arrayvec v0.4.9 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Checking rand_core v0.3.0 [INFO] [stderr] Checking crossbeam-utils v0.5.0 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Checking crossbeam-utils v0.6.3 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Compiling serde v1.0.82 [INFO] [stderr] Checking owning_ref v0.4.0 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking owning_ref v0.3.3 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Checking byteorder v1.2.7 [INFO] [stderr] Checking atom v0.3.5 [INFO] [stderr] Checking rand_core v0.2.2 [INFO] [stderr] Checking smallvec v0.6.7 [INFO] [stderr] Checking mopa v0.2.2 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking itoa v0.4.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Checking tuple_utils v0.2.0 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking nonzero_signed v1.0.2 [INFO] [stderr] Checking anymap v0.12.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Checking crossbeam-epoch v0.5.2 [INFO] [stderr] Checking crossbeam-epoch v0.6.1 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Checking num_cpus v1.9.0 [INFO] [stderr] Checking rand v0.5.5 [INFO] [stderr] Checking rand v0.4.3 [INFO] [stderr] Checking termios v0.3.1 [INFO] [stderr] Checking crossbeam-deque v0.5.2 [INFO] [stderr] Compiling syn v0.15.23 [INFO] [stderr] Checking crossterm v0.5.1 [INFO] [stderr] Checking parking_lot_core v0.2.14 [INFO] [stderr] Checking parking_lot v0.5.5 [INFO] [stderr] Checking parking_lot v0.6.4 [INFO] [stderr] Checking crossbeam-channel v0.2.6 [INFO] [stderr] Checking crossbeam v0.4.1 [INFO] [stderr] Checking hibitset v0.5.3 [INFO] [stderr] Checking shred v0.7.1 [INFO] [stderr] Compiling serde_derive v1.0.82 [INFO] [stderr] Compiling derivative v1.0.2 [INFO] [stderr] Compiling shred-derive v0.5.1 [INFO] [stderr] Compiling specs-derive v0.3.0 [INFO] [stderr] Checking shrev v1.0.1 [INFO] [stderr] Checking specs v0.14.1 [INFO] [stderr] Checking serde_json v1.0.33 [INFO] [stderr] Checking simple-roguelike v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `specs::storage::GenericReadStorage` [INFO] [stdout] --> src/creature/trader.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use specs::storage::GenericReadStorage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::combatant::CombatantData` [INFO] [stdout] --> src/creature/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use self::combatant::CombatantData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::neutral::NeutralData` [INFO] [stdout] --> src/creature/mod.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub use self::neutral::NeutralData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::owned::OwnedData` [INFO] [stdout] --> src/unanimate/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use self::owned::OwnedData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `specs::storage::GenericReadStorage` [INFO] [stdout] --> src/creature/trader.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use specs::storage::GenericReadStorage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::combatant::CombatantData` [INFO] [stdout] --> src/creature/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use self::combatant::CombatantData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::neutral::NeutralData` [INFO] [stdout] --> src/creature/mod.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub use self::neutral::NeutralData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::owned::OwnedData` [INFO] [stdout] --> src/unanimate/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use self::owned::OwnedData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/creature/neutral.rs:40:22 [INFO] [stdout] | [INFO] [stdout] 40 | for (entity, mut neutral, name, attack) in (&entities, &mut neutral_s, &name_s, &attack_s).join() { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/creature/playable.rs:28:82 [INFO] [stdout] | [INFO] [stdout] 28 | fn run(&mut self, (entities, playable_s, name_s, mut health_s, mut attack_s, mut trader_s, [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/creature/neutral.rs:40:22 [INFO] [stdout] | [INFO] [stdout] 40 | for (entity, mut neutral, name, attack) in (&entities, &mut neutral_s, &name_s, &attack_s).join() { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` 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/shared/name.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Clone, Deserialize, Serialize)] [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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [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/shared/health.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 32 | fn convert_into(&self, mut ids: F) -> Result [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 36 | let marker = ids(self.0).unwrap(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | Ok(AffectedData(marker)) [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/unanimate/owned.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 19 | fn convert_into(&self, mut ids: F) -> Result [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 23 | let marker = ids(self.0).unwrap(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | Ok(OwnedData(marker)) [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] warning: variable does not need to be mutable [INFO] [stdout] --> src/creature/playable.rs:28:82 [INFO] [stdout] | [INFO] [stdout] 28 | fn run(&mut self, (entities, playable_s, name_s, mut health_s, mut attack_s, mut trader_s, [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `simple-roguelike` (bin "simple-roguelike") due to 4 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/shared/name.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Clone, Deserialize, Serialize)] [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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [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/shared/health.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 32 | fn convert_into(&self, mut ids: F) -> Result [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 36 | let marker = ids(self.0).unwrap(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | Ok(AffectedData(marker)) [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/unanimate/owned.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 19 | fn convert_into(&self, mut ids: F) -> Result [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 23 | let marker = ids(self.0).unwrap(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | Ok(OwnedData(marker)) [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 3 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `simple-roguelike` (bin "simple-roguelike" test) due to 4 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "525a42f4885abb6092d3a96c1695d4e92793903ebbfa13982171b42c05d6c447", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "525a42f4885abb6092d3a96c1695d4e92793903ebbfa13982171b42c05d6c447", kill_on_drop: false }` [INFO] [stdout] 525a42f4885abb6092d3a96c1695d4e92793903ebbfa13982171b42c05d6c447