[INFO] cloning repository https://github.com/Iaiao/Kazyol [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Iaiao/Kazyol" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIaiao%2FKazyol", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIaiao%2FKazyol'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1c969927cb027e0bd8b987ff8274f86bee4a697d [INFO] checking Iaiao/Kazyol/1c969927cb027e0bd8b987ff8274f86bee4a697d against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIaiao%2FKazyol" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Iaiao/Kazyol 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 git repo https://github.com/Iaiao/Kazyol [INFO] finished tweaking git repo https://github.com/Iaiao/Kazyol [INFO] tweaked toml for git repo https://github.com/Iaiao/Kazyol written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Iaiao/Kazyol 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 78f7867383419a1ec840dbaea9e1bf3f52199e2ad2c7a8443d98fd45e4b0edf4 [INFO] running `Command { std: "docker" "start" "-a" "78f7867383419a1ec840dbaea9e1bf3f52199e2ad2c7a8443d98fd45e4b0edf4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "78f7867383419a1ec840dbaea9e1bf3f52199e2ad2c7a8443d98fd45e4b0edf4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78f7867383419a1ec840dbaea9e1bf3f52199e2ad2c7a8443d98fd45e4b0edf4", kill_on_drop: false }` [INFO] [stdout] 78f7867383419a1ec840dbaea9e1bf3f52199e2ad2c7a8443d98fd45e4b0edf4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 9ea3ab7baa6829dfb6499d23a695f1b3a9974d208bd92001a296cc8228a91a08 [INFO] running `Command { std: "docker" "start" "-a" "9ea3ab7baa6829dfb6499d23a695f1b3a9974d208bd92001a296cc8228a91a08", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling getrandom v0.2.1 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Checking kazyol_lib v0.1.0 (/opt/rustwide/workdir/kazyol_lib) [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking cesu8 v1.1.0 [INFO] [stderr] Checking byteorder v1.4.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling kazyol_api_method_macro v0.1.0 (/opt/rustwide/workdir/kazyol_api_method_macro) [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling kazyol_plugin_loader v0.1.0 (/opt/rustwide/workdir/kazyol_plugin_loader) [INFO] [stderr] Checking plugin_example v0.1.0 (/opt/rustwide/workdir/plugin_example) [INFO] [stdout] warning: fields `s` and `n` are never read [INFO] [stdout] --> plugin_example/src/lib.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct ExampleData { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 16 | s: String, [INFO] [stdout] | ^ [INFO] [stdout] 17 | n: i32, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `ExampleData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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: fields `s` and `n` are never read [INFO] [stdout] --> plugin_example/src/lib.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct ExampleData { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 16 | s: String, [INFO] [stdout] | ^ [INFO] [stdout] 17 | n: i32, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `ExampleData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking flate2 v1.0.19 [INFO] [stderr] Checking rand_core v0.6.1 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking ctrlc v3.1.7 [INFO] [stderr] Checking hematite-nbt v0.5.0 (https://github.com/PistonDevelopers/hematite_nbt#0ea396f4) [INFO] [stderr] Checking protocol v0.1.0 (/opt/rustwide/workdir/protocol) [INFO] [stderr] Checking server_list_status v0.1.0 (/opt/rustwide/workdir/server_list_status) [INFO] [stderr] Checking player v0.1.0 (/opt/rustwide/workdir/player) [INFO] [stderr] Checking kazyol v0.1.0 (/opt/rustwide/workdir/kazyol) [INFO] [stdout] error: this value of type `std::vec::IntoIter>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> kazyol/src/main.rs:57:23 [INFO] [stdout] | [INFO] [stdout] 34 | load_plugins!(); [INFO] [stdout] | --------------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 57 | for plugin in plugins { [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 `std::vec::IntoIter>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> kazyol/src/main.rs:57:23 [INFO] [stdout] | [INFO] [stdout] 34 | load_plugins!(); [INFO] [stdout] | --------------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 57 | for plugin in plugins { [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: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kazyol` (bin "kazyol" test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unnecessary allocation, use `&mut` instead [INFO] [stdout] --> protocol/src/bytebuf.rs:619:24 [INFO] [stdout] | [INFO] [stdout] 619 | assert_eq!(Box::new(Cursor::new(vec!(0))).read_varint().unwrap(), 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_allocation)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&mut` instead [INFO] [stdout] --> protocol/src/bytebuf.rs:620:24 [INFO] [stdout] | [INFO] [stdout] 620 | assert_eq!(Box::new(Cursor::new(vec!(1))).read_varint().unwrap(), 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&mut` instead [INFO] [stdout] --> protocol/src/bytebuf.rs:622:17 [INFO] [stdout] | [INFO] [stdout] 622 | Box::new(Cursor::new(vec!(128, 1))).read_varint().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&mut` instead [INFO] [stdout] --> protocol/src/bytebuf.rs:626:17 [INFO] [stdout] | [INFO] [stdout] 626 | Box::new(Cursor::new(vec!(255, 1))).read_varint().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&mut` instead [INFO] [stdout] --> protocol/src/bytebuf.rs:630:17 [INFO] [stdout] | [INFO] [stdout] 630 | Box::new(Cursor::new(vec!(255, 255, 127))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&mut` instead [INFO] [stdout] --> protocol/src/bytebuf.rs:636:17 [INFO] [stdout] | [INFO] [stdout] 636 | Box::new(Cursor::new(vec!(255, 255, 255, 255, 7))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&mut` instead [INFO] [stdout] --> protocol/src/bytebuf.rs:642:17 [INFO] [stdout] | [INFO] [stdout] 642 | Box::new(Cursor::new(vec!(255, 255, 255, 255, 15))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&mut` instead [INFO] [stdout] --> protocol/src/bytebuf.rs:648:17 [INFO] [stdout] | [INFO] [stdout] 648 | Box::new(Cursor::new(vec!(128, 128, 128, 128, 8))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&mut` instead [INFO] [stdout] --> protocol/src/bytebuf.rs:658:17 [INFO] [stdout] | [INFO] [stdout] 658 | Box::new(Cursor::new(vec!(255, 255, 127))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&mut` instead [INFO] [stdout] --> protocol/src/bytebuf.rs:664:17 [INFO] [stdout] | [INFO] [stdout] 664 | Box::new(Cursor::new(vec!(255, 255, 255, 255, 7))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&mut` instead [INFO] [stdout] --> protocol/src/bytebuf.rs:670:17 [INFO] [stdout] | [INFO] [stdout] 670 | / Box::new(Cursor::new(vec!( [INFO] [stdout] 671 | | 255, 255, 255, 255, 255, 255, 255, 255, 127 [INFO] [stdout] 672 | | ))) [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&mut` instead [INFO] [stdout] --> protocol/src/bytebuf.rs:678:17 [INFO] [stdout] | [INFO] [stdout] 678 | / Box::new(Cursor::new(vec!( [INFO] [stdout] 679 | | 255, 255, 255, 255, 255, 255, 255, 255, 255, 1 [INFO] [stdout] 680 | | ))) [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&mut` instead [INFO] [stdout] --> protocol/src/bytebuf.rs:686:17 [INFO] [stdout] | [INFO] [stdout] 686 | Box::new(Cursor::new(vec!(255, 255, 255, 255, 7))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kazyol` (bin "kazyol") due to 2 previous errors [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9ea3ab7baa6829dfb6499d23a695f1b3a9974d208bd92001a296cc8228a91a08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ea3ab7baa6829dfb6499d23a695f1b3a9974d208bd92001a296cc8228a91a08", kill_on_drop: false }` [INFO] [stdout] 9ea3ab7baa6829dfb6499d23a695f1b3a9974d208bd92001a296cc8228a91a08