[INFO] cloning repository https://github.com/expenses/war-against-machines [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/expenses/war-against-machines" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fexpenses%2Fwar-against-machines", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fexpenses%2Fwar-against-machines'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cc702a4903528061034914d941635bbd5e6a1e18 [INFO] checking expenses/war-against-machines against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fexpenses%2Fwar-against-machines" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/expenses/war-against-machines on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/expenses/war-against-machines [INFO] finished tweaking git repo https://github.com/expenses/war-against-machines [INFO] tweaked toml for git repo https://github.com/expenses/war-against-machines written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/expenses/war-against-machines 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/expenses/pedot` [INFO] [stderr] Updating git repository `https://github.com/expenses/runic` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gl_generator v0.13.0 [INFO] [stderr] Downloaded backtrace v0.3.34 [INFO] [stderr] Downloaded rawslice v0.1.0 [INFO] [stderr] Downloaded png v0.15.0 [INFO] [stderr] Downloaded line_drawing v0.8.0 [INFO] [stderr] Downloaded ucd-util v0.1.5 [INFO] [stderr] Downloaded serde_derive v1.0.98 [INFO] [stderr] Downloaded odds v0.3.1 [INFO] [stderr] Downloaded ord_subset v3.1.1 [INFO] [stderr] Downloaded serde v1.0.98 [INFO] [stderr] Downloaded derive_is_enum_variant v0.1.1 [INFO] [stderr] Downloaded image v0.22.1 [INFO] [stderr] Downloaded pathfinding v1.1.12 [INFO] [stderr] Downloaded getrandom v0.1.8 [INFO] [stderr] Downloaded winit v0.19.2 [INFO] [stderr] Downloaded cc v1.0.38 [INFO] [stderr] Downloaded glium v0.25.1 [INFO] [stderr] Downloaded skynet v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 460a9519e0a07e83af48e8ec6c9d03bf4c5a74f0f1234f3ac82e980ff1815dc2 [INFO] running `Command { std: "docker" "start" "-a" "460a9519e0a07e83af48e8ec6c9d03bf4c5a74f0f1234f3ac82e980ff1815dc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "460a9519e0a07e83af48e8ec6c9d03bf4c5a74f0f1234f3ac82e980ff1815dc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "460a9519e0a07e83af48e8ec6c9d03bf4c5a74f0f1234f3ac82e980ff1815dc2", kill_on_drop: false }` [INFO] [stdout] 460a9519e0a07e83af48e8ec6c9d03bf4c5a74f0f1234f3ac82e980ff1815dc2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ee9622f997b75aa85ffd6af23468bb57b6ecb0e2147f6ef562c145379fd4e33 [INFO] running `Command { std: "docker" "start" "-a" "8ee9622f997b75aa85ffd6af23468bb57b6ecb0e2147f6ef562c145379fd4e33", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling autocfg v0.1.5 [INFO] [stderr] Compiling libc v0.2.60 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling cc v1.0.38 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling arrayvec v0.4.11 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling pkg-config v0.3.15 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling gl_generator v0.11.0 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking crossbeam-epoch v0.7.2 [INFO] [stderr] Checking num_cpus v1.10.1 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Compiling syn v0.15.42 [INFO] [stderr] Checking smallvec v0.6.10 [INFO] [stderr] Checking nix v0.14.1 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking dlib v0.4.1 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Checking wayland-sys v0.21.13 [INFO] [stderr] Checking crossbeam-deque v0.7.1 [INFO] [stderr] Compiling x11-dl v2.18.3 [INFO] [stderr] Compiling parking_lot_core v0.5.0 [INFO] [stderr] Checking stb_truetype v0.2.6 [INFO] [stderr] Checking rustc-hash v1.0.1 [INFO] [stderr] Checking same-file v1.0.5 [INFO] [stderr] Checking linked-hash-map v0.5.2 [INFO] [stderr] Checking downcast-rs v1.0.4 [INFO] [stderr] Checking walkdir v2.2.9 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Checking rusttype v0.7.7 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling parking_lot v0.8.0 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Checking owning_ref v0.4.0 [INFO] [stderr] Compiling glutin_glx_sys v0.1.5 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Compiling glutin_egl_sys v0.1.3 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking lock_api v0.2.0 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Checking wayland-commons v0.21.13 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Checking rawpointer v0.1.0 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Compiling rayon-core v1.5.0 [INFO] [stderr] Checking either v1.5.2 [INFO] [stderr] Compiling libm v0.1.4 [INFO] [stderr] Compiling serde v1.0.98 [INFO] [stderr] Checking backtrace v0.3.34 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Compiling glium v0.25.1 [INFO] [stderr] Checking crossbeam-deque v0.6.3 [INFO] [stderr] Compiling alsa-sys v0.1.2 [INFO] [stderr] Compiling minimp3-sys v0.3.1 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking getrandom v0.1.8 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling bincode v1.1.4 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Compiling unicode-segmentation v1.3.0 [INFO] [stderr] Checking ppv-lite86 v0.2.5 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking takeable-option v0.4.0 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking c2-chacha v0.2.2 [INFO] [stderr] Compiling error-chain v0.12.1 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking alga v0.9.1 [INFO] [stderr] Checking rand_core v0.5.0 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking aho-corasick v0.7.6 [INFO] [stderr] Checking rayon v1.1.0 [INFO] [stderr] Checking matrixmultiply v0.2.2 [INFO] [stderr] Checking slice-deque v0.2.4 [INFO] [stderr] Checking ogg v0.7.0 [INFO] [stderr] Checking regex-syntax v0.6.11 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Compiling derivative v1.0.2 [INFO] [stderr] Compiling derive_is_enum_variant v0.1.1 [INFO] [stderr] Checking gif v0.10.2 [INFO] [stderr] Checking humantime v1.2.0 [INFO] [stderr] Checking minimp3 v0.3.3 [INFO] [stderr] Checking lewton v0.9.4 [INFO] [stderr] Checking jpeg-decoder v0.1.15 [INFO] [stderr] Checking nalgebra v0.18.0 [INFO] [stderr] Checking png v0.15.0 [INFO] [stderr] Checking cpal v0.8.2 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking itertools v0.8.0 [INFO] [stderr] Checking tiff v0.3.1 [INFO] [stderr] Checking regex v1.2.1 [INFO] [stderr] Checking rawslice v0.1.0 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking fixedbitset v0.1.9 [INFO] [stderr] Checking unchecked-index v0.2.2 [INFO] [stderr] Checking termcolor v1.0.5 [INFO] [stderr] Checking claxon v0.4.2 [INFO] [stderr] Checking indexmap v1.0.2 [INFO] [stderr] Checking hound v3.4.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking odds v0.3.1 [INFO] [stderr] Checking image v0.22.1 [INFO] [stderr] Checking line_drawing v0.8.0 [INFO] [stderr] Checking pathfinding v1.1.12 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking rand v0.7.0 [INFO] [stderr] Checking skynet v0.1.0 [INFO] [stderr] Compiling serde_derive v1.0.98 [INFO] [stderr] Checking toml v0.5.1 [INFO] [stderr] Checking ord_subset v3.1.1 [INFO] [stderr] Checking rodio v0.9.0 [INFO] [stderr] Checking smithay-client-toolkit v0.4.6 [INFO] [stderr] Checking winit v0.19.2 [INFO] [stderr] Checking glutin v0.21.0 [INFO] [stderr] Checking runic v0.1.0 (https://github.com/expenses/runic#cbd658c7) [INFO] [stderr] Checking pedot v0.1.0 (https://github.com/expenses/pedot#6255f2cc) [INFO] [stderr] Checking war-against-machines v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/battle/responses.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | #![cfg_attr(feature = "cargo-clippy", allow(float_cmp))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/utils.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | (1.0 / (1.0 + 0.02 * 4.0_f32.powf(distance / 3.0))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 66 - (1.0 / (1.0 + 0.02 * 4.0_f32.powf(distance / 3.0))) [INFO] [stdout] 66 + 1.0 / (1.0 + 0.02 * 4.0_f32.powf(distance / 3.0)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/battle/responses.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | #![cfg_attr(feature = "cargo-clippy", allow(float_cmp))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/utils.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | (1.0 / (1.0 + 0.02 * 4.0_f32.powf(distance / 3.0))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 66 - (1.0 / (1.0 + 0.02 * 4.0_f32.powf(distance / 3.0))) [INFO] [stdout] 66 + 1.0 / (1.0 + 0.02 * 4.0_f32.powf(distance / 3.0)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / error_chain! { [INFO] [stdout] 6 | | foreign_links { [INFO] [stdout] 7 | | Bincode(bincode::Error); [INFO] [stdout] 8 | | Io(io::Error); [INFO] [stdout] 9 | | AddrParse(net::AddrParseError); [INFO] [stdout] 10 | | } [INFO] [stdout] 11 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / error_chain! { [INFO] [stdout] 6 | | foreign_links { [INFO] [stdout] 7 | | Bincode(bincode::Error); [INFO] [stdout] 8 | | Io(io::Error); [INFO] [stdout] 9 | | AddrParse(net::AddrParseError); [INFO] [stdout] 10 | | } [INFO] [stdout] 11 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_char` is never used [INFO] [stdout] --> src/resources.rs:187:8 [INFO] [stdout] | [INFO] [stdout] 186 | pub trait ToChar { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] 187 | fn to_char(&self) -> char; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_char` is never used [INFO] [stdout] --> src/resources.rs:187:8 [INFO] [stdout] | [INFO] [stdout] 186 | pub trait ToChar { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] 187 | fn to_char(&self) -> char; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.97s [INFO] running `Command { std: "docker" "inspect" "8ee9622f997b75aa85ffd6af23468bb57b6ecb0e2147f6ef562c145379fd4e33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ee9622f997b75aa85ffd6af23468bb57b6ecb0e2147f6ef562c145379fd4e33", kill_on_drop: false }` [INFO] [stdout] 8ee9622f997b75aa85ffd6af23468bb57b6ecb0e2147f6ef562c145379fd4e33 [INFO] checking expenses/war-against-machines against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fexpenses%2Fwar-against-machines" "/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/expenses/war-against-machines on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/expenses/war-against-machines [INFO] finished tweaking git repo https://github.com/expenses/war-against-machines [INFO] tweaked toml for git repo https://github.com/expenses/war-against-machines written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/expenses/war-against-machines 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] df2496d9863ab5950f8ea9db580227f2ca7efbb72b3e68f6946479ed9bf0985d [INFO] running `Command { std: "docker" "start" "-a" "df2496d9863ab5950f8ea9db580227f2ca7efbb72b3e68f6946479ed9bf0985d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df2496d9863ab5950f8ea9db580227f2ca7efbb72b3e68f6946479ed9bf0985d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df2496d9863ab5950f8ea9db580227f2ca7efbb72b3e68f6946479ed9bf0985d", kill_on_drop: false }` [INFO] [stdout] df2496d9863ab5950f8ea9db580227f2ca7efbb72b3e68f6946479ed9bf0985d [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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 96c42d60fc978d85d1d62183c06e661d202b6b4a227afb1d478e25008785b5da [INFO] running `Command { std: "docker" "start" "-a" "96c42d60fc978d85d1d62183c06e661d202b6b4a227afb1d478e25008785b5da", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling autocfg v0.1.5 [INFO] [stderr] Compiling libc v0.2.60 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling cc v1.0.38 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Compiling arrayvec v0.4.11 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling pkg-config v0.3.15 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling gl_generator v0.11.0 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking crossbeam-epoch v0.7.2 [INFO] [stderr] Checking num_cpus v1.10.1 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking smallvec v0.6.10 [INFO] [stderr] Compiling syn v0.15.42 [INFO] [stderr] Checking nix v0.14.1 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Checking crossbeam-deque v0.7.1 [INFO] [stderr] Checking dlib v0.4.1 [INFO] [stderr] Checking wayland-sys v0.21.13 [INFO] [stderr] Compiling x11-dl v2.18.3 [INFO] [stderr] Compiling parking_lot_core v0.5.0 [INFO] [stderr] Checking rustc-hash v1.0.1 [INFO] [stderr] Checking stb_truetype v0.2.6 [INFO] [stderr] Checking linked-hash-map v0.5.2 [INFO] [stderr] Checking downcast-rs v1.0.4 [INFO] [stderr] Checking same-file v1.0.5 [INFO] [stderr] Checking walkdir v2.2.9 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Checking rusttype v0.7.7 [INFO] [stderr] Compiling parking_lot v0.8.0 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Checking owning_ref v0.4.0 [INFO] [stderr] Compiling glutin_egl_sys v0.1.3 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Compiling glutin_glx_sys v0.1.5 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Checking lock_api v0.2.0 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling libm v0.1.4 [INFO] [stderr] Checking either v1.5.2 [INFO] [stderr] Checking rawpointer v0.1.0 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Compiling rayon-core v1.5.0 [INFO] [stderr] Compiling serde v1.0.98 [INFO] [stderr] Checking backtrace v0.3.34 [INFO] [stderr] Checking wayland-commons v0.21.13 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Compiling glium v0.25.1 [INFO] [stderr] Checking crossbeam-deque v0.6.3 [INFO] [stderr] Compiling alsa-sys v0.1.2 [INFO] [stderr] Compiling minimp3-sys v0.3.1 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking getrandom v0.1.8 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling bincode v1.1.4 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking takeable-option v0.4.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling unicode-segmentation v1.3.0 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking ppv-lite86 v0.2.5 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Compiling error-chain v0.12.1 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking c2-chacha v0.2.2 [INFO] [stderr] Checking alga v0.9.1 [INFO] [stderr] Checking rand_core v0.5.0 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking aho-corasick v0.7.6 [INFO] [stderr] Checking rayon v1.1.0 [INFO] [stderr] Checking matrixmultiply v0.2.2 [INFO] [stderr] Checking slice-deque v0.2.4 [INFO] [stderr] Checking ogg v0.7.0 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Compiling derivative v1.0.2 [INFO] [stderr] Checking regex-syntax v0.6.11 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking minimp3 v0.3.3 [INFO] [stderr] Checking gif v0.10.2 [INFO] [stderr] Checking jpeg-decoder v0.1.15 [INFO] [stderr] Checking lewton v0.9.4 [INFO] [stderr] Checking humantime v1.2.0 [INFO] [stderr] Checking nalgebra v0.18.0 [INFO] [stderr] Compiling derive_is_enum_variant v0.1.1 [INFO] [stderr] Checking png v0.15.0 [INFO] [stderr] Checking cpal v0.8.2 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking itertools v0.8.0 [INFO] [stderr] Checking rawslice v0.1.0 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking regex v1.2.1 [INFO] [stderr] Checking tiff v0.3.1 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking unchecked-index v0.2.2 [INFO] [stderr] Checking fixedbitset v0.1.9 [INFO] [stderr] Checking termcolor v1.0.5 [INFO] [stderr] Checking indexmap v1.0.2 [INFO] [stderr] Checking hound v3.4.0 [INFO] [stderr] Checking claxon v0.4.2 [INFO] [stderr] Checking image v0.22.1 [INFO] [stderr] Checking odds v0.3.1 [INFO] [stderr] Checking line_drawing v0.8.0 [INFO] [stderr] Checking pathfinding v1.1.12 [INFO] [stderr] Checking rand v0.7.0 [INFO] [stderr] Checking skynet v0.1.0 [INFO] [stderr] Checking toml v0.5.1 [INFO] [stderr] Compiling serde_derive v1.0.98 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking ord_subset v3.1.1 [INFO] [stderr] Checking rodio v0.9.0 [INFO] [stderr] Checking smithay-client-toolkit v0.4.6 [INFO] [stderr] Checking winit v0.19.2 [INFO] [stderr] Checking glutin v0.21.0 [INFO] [stderr] Checking pedot v0.1.0 (https://github.com/expenses/pedot#6255f2cc) [INFO] [stderr] Checking runic v0.1.0 (https://github.com/expenses/runic#cbd658c7) [INFO] [stderr] Checking war-against-machines v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/battle/responses.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | #![cfg_attr(feature = "cargo-clippy", allow(float_cmp))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/utils.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | (1.0 / (1.0 + 0.02 * 4.0_f32.powf(distance / 3.0))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 66 - (1.0 / (1.0 + 0.02 * 4.0_f32.powf(distance / 3.0))) [INFO] [stdout] 66 + 1.0 / (1.0 + 0.02 * 4.0_f32.powf(distance / 3.0)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/battle/responses.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | #![cfg_attr(feature = "cargo-clippy", allow(float_cmp))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/utils.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | (1.0 / (1.0 + 0.02 * 4.0_f32.powf(distance / 3.0))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 66 - (1.0 / (1.0 + 0.02 * 4.0_f32.powf(distance / 3.0))) [INFO] [stdout] 66 + 1.0 / (1.0 + 0.02 * 4.0_f32.powf(distance / 3.0)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / error_chain! { [INFO] [stdout] 6 | | foreign_links { [INFO] [stdout] 7 | | Bincode(bincode::Error); [INFO] [stdout] 8 | | Io(io::Error); [INFO] [stdout] 9 | | AddrParse(net::AddrParseError); [INFO] [stdout] 10 | | } [INFO] [stdout] 11 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / error_chain! { [INFO] [stdout] 6 | | foreign_links { [INFO] [stdout] 7 | | Bincode(bincode::Error); [INFO] [stdout] 8 | | Io(io::Error); [INFO] [stdout] 9 | | AddrParse(net::AddrParseError); [INFO] [stdout] 10 | | } [INFO] [stdout] 11 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_char` is never used [INFO] [stdout] --> src/resources.rs:187:8 [INFO] [stdout] | [INFO] [stdout] 186 | pub trait ToChar { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] 187 | fn to_char(&self) -> char; [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:75:23 [INFO] [stdout] | [INFO] [stdout] 70 | let mut ctx = Context::new(events_loop, settings); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 75 | skirmish: None, [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/items.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Copy, Clone, Serialize, Deserialize, Debug, PartialEq)] [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: 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/weapons.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Copy, Clone, Serialize, Deserialize, Debug, PartialEq)] [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: 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/resources.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive(Serialize, Deserialize, Copy, Clone, Debug, PartialEq)] [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: 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/resources.rs:179:21 [INFO] [stdout] | [INFO] [stdout] 179 | #[derive(Serialize, Deserialize, Clone, PartialEq, Debug)] [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: 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/battle/ai.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn new(connection: ClientConn) -> Result { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 56 | | client: Client::new(connection)?, [INFO] [stdout] 57 | | finished_units: HashSet::new(), [INFO] [stdout] 58 | | waiting_for_response: None, [INFO] [stdout] 59 | | }) [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/battle/map/mod.rs:112:34 [INFO] [stdout] | [INFO] [stdout] 112 | .and_then(|mut file| bincode::deserialize_from(&mut file).map_err(|err| err.into())) [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [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] [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/battle/map/mod.rs:141:39 [INFO] [stdout] | [INFO] [stdout] 141 | .map_err(|error| Box::new(bincode::ErrorKind::Io(error))) [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [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] [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/battle/map/tiles.rs:20:34 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Copy, Clone, Serialize, Deserialize, Debug, is_enum_variant, PartialEq)] [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: 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/battle/map/tiles.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | #[derive(Serialize, Deserialize, is_enum_variant, Debug, Clone, PartialEq)] [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: 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/battle/map/walls.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Serialize, Deserialize, Debug, Clone, PartialEq)] [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: 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/battle/messages.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Serialize, Deserialize)] [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: 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/battle/messages.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, Serialize, Deserialize)] [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: 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/battle/messages.rs:29:28 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Debug, Serialize, Deserialize)] [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: 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/battle/networking/mod.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 30 | let (player_conn, server_player_conn) = make_connections(); [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] 31 | let (ai_conn, server_ai_conn) = make_connections(); [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] 32 | [INFO] [stdout] 33 | let mut server = Server::new_local(map, server_player_conn, server_ai_conn, settings)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | let server = spawn(move || server.run()); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | let client = Client::new(player_conn)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | let mut ai_client = AIClient::new(ai_conn)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | let ai = spawn(move || ai_client.run()); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | [INFO] [stdout] 39 | Ok((client, ai, server)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] [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/battle/networking/mod.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 43 | let (client_conn, server_conn) = make_connections(); [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] 44 | [INFO] [stdout] 45 | let mut server = Server::new_one_local(addr, map, server_conn, settings)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 46 | let server = spawn(move || server.run()); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 47 | let client = Client::new(client_conn)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 48 | [INFO] [stdout] 49 | Ok((client, server)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] [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/battle/networking/client.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(mut connection: ClientConn) -> Result { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 30 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 31 | | connection, [INFO] [stdout] 32 | | map, [INFO] [stdout] 33 | | side, [INFO] [stdout] 34 | | response_queue: Vec::new(), [INFO] [stdout] 35 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/battle/networking/server.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 26 | let listener = TcpListener::bind(addr).chain_err(|| "Failed to start server")?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 33 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 34 | | player_a: None, [INFO] [stdout] 35 | | player_b: None, [INFO] [stdout] 36 | | listener: Some(listener), [INFO] [stdout] 37 | | map, [INFO] [stdout] 38 | | settings, [INFO] [stdout] 39 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/battle/responses.rs:57:35 [INFO] [stdout] | [INFO] [stdout] 57 | #[derive(Debug, Clone, Serialize, Deserialize, PartialEq)] [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: 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/battle/units.rs:61:41 [INFO] [stdout] | [INFO] [stdout] 61 | #[derive(Copy, Clone, Debug, Serialize, Deserialize, PartialEq, Eq, Hash)] [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: 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/battle/units.rs:96:21 [INFO] [stdout] | [INFO] [stdout] 96 | #[derive(Serialize, Deserialize, Debug, PartialEq, Eq, Hash, Clone, Copy)] [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: 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/battle/units.rs:207:45 [INFO] [stdout] | [INFO] [stdout] 207 | #[derive(PartialEq, Copy, Clone, Serialize, Deserialize, Debug)] [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: 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/context/mod.rs:38:21 [INFO] [stdout] | [INFO] [stdout] 30 | let renderer = Renderer::new(event_loop, &settings); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | player: Player::new(), [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/context/mod.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 30 | let renderer = Renderer::new(event_loop, &settings); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 39 | font: CachedFont::from_bytes(FONT, &renderer.display).unwrap(), [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/context/renderer.rs:116:23 [INFO] [stdout] | [INFO] [stdout] 91 | let mut builder = WindowBuilder::new() [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 102 | let display = Display::new(builder, context, &event_loop).unwrap(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 105 | let vertex_buffer = VertexBuffer::new(&display, SQUARE).unwrap(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 106 | let indices = IndexBuffer::new(&display, TrianglesList, INDICES).unwrap(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 107 | let program = Program::from_source(&display, VERT, FRAG, None).unwrap(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 108 | [INFO] [stdout] 109 | let text_program = default_program(&display).unwrap(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 112 | let (tileset_size, tileset) = load_texture(&display, TILESET); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 116 | uniforms: Uniforms { [INFO] [stdout] | _______________________^ [INFO] [stdout] 117 | | tileset_size, [INFO] [stdout] 118 | | screen_resolution: [width as f32, height as f32], [INFO] [stdout] 119 | | texture: tileset, [INFO] [stdout] 120 | | }, [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/context/renderer.rs:122:21 [INFO] [stdout] | [INFO] [stdout] 91 | let mut builder = WindowBuilder::new() [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 102 | let display = Display::new(builder, context, &event_loop).unwrap(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 105 | let vertex_buffer = VertexBuffer::new(&display, SQUARE).unwrap(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 106 | let indices = IndexBuffer::new(&display, TrianglesList, INDICES).unwrap(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 107 | let program = Program::from_source(&display, VERT, FRAG, None).unwrap(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 108 | [INFO] [stdout] 109 | let text_program = default_program(&display).unwrap(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 112 | let (tileset_size, tileset) = load_texture(&display, TILESET); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 122 | target: display.draw(), [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/menu.rs:171:17 [INFO] [stdout] | [INFO] [stdout] 170 | .filter_map(|entry| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 171 | / entry [INFO] [stdout] 172 | | .ok() [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/networking.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new_tcp(stream: TcpStream) -> Result { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | stream.set_nodelay(true)?; [INFO] [stdout] 29 | Ok(Connection::Tcp(SerializedTcpStream::new(stream)?)) [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/settings.rs:58:34 [INFO] [stdout] | [INFO] [stdout] 58 | .and_then(|mut file| file.read_to_string(&mut buffer).ok()) [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [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] [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/settings.rs:59:27 [INFO] [stdout] | [INFO] [stdout] 59 | .and_then(|_| buffer.parse::().ok()) [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 30 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `war-against-machines` (bin "war-against-machines") due to 31 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: method `to_char` is never used [INFO] [stdout] --> src/resources.rs:187:8 [INFO] [stdout] | [INFO] [stdout] 186 | pub trait ToChar { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] 187 | fn to_char(&self) -> char; [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:75:23 [INFO] [stdout] | [INFO] [stdout] 70 | let mut ctx = Context::new(events_loop, settings); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 75 | skirmish: None, [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/items.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Copy, Clone, Serialize, Deserialize, Debug, PartialEq)] [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: 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/weapons.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Copy, Clone, Serialize, Deserialize, Debug, PartialEq)] [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: 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/resources.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive(Serialize, Deserialize, Copy, Clone, Debug, PartialEq)] [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: 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/resources.rs:179:21 [INFO] [stdout] | [INFO] [stdout] 179 | #[derive(Serialize, Deserialize, Clone, PartialEq, Debug)] [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: 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/battle/ai.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn new(connection: ClientConn) -> Result { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 56 | | client: Client::new(connection)?, [INFO] [stdout] 57 | | finished_units: HashSet::new(), [INFO] [stdout] 58 | | waiting_for_response: None, [INFO] [stdout] 59 | | }) [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/battle/map/mod.rs:112:34 [INFO] [stdout] | [INFO] [stdout] 112 | .and_then(|mut file| bincode::deserialize_from(&mut file).map_err(|err| err.into())) [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [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] [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/battle/map/mod.rs:141:39 [INFO] [stdout] | [INFO] [stdout] 141 | .map_err(|error| Box::new(bincode::ErrorKind::Io(error))) [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [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] [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/battle/map/tiles.rs:20:34 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Copy, Clone, Serialize, Deserialize, Debug, is_enum_variant, PartialEq)] [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: 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/battle/map/tiles.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | #[derive(Serialize, Deserialize, is_enum_variant, Debug, Clone, PartialEq)] [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: 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/battle/map/walls.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Serialize, Deserialize, Debug, Clone, PartialEq)] [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: 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/battle/messages.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Serialize, Deserialize)] [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: 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/battle/messages.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, Serialize, Deserialize)] [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: 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/battle/messages.rs:29:28 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Debug, Serialize, Deserialize)] [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: 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/battle/networking/mod.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 30 | let (player_conn, server_player_conn) = make_connections(); [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] 31 | let (ai_conn, server_ai_conn) = make_connections(); [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] 32 | [INFO] [stdout] 33 | let mut server = Server::new_local(map, server_player_conn, server_ai_conn, settings)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | let server = spawn(move || server.run()); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | let client = Client::new(player_conn)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | let mut ai_client = AIClient::new(ai_conn)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | let ai = spawn(move || ai_client.run()); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | [INFO] [stdout] 39 | Ok((client, ai, server)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] [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/battle/networking/mod.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 43 | let (client_conn, server_conn) = make_connections(); [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] 44 | [INFO] [stdout] 45 | let mut server = Server::new_one_local(addr, map, server_conn, settings)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 46 | let server = spawn(move || server.run()); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 47 | let client = Client::new(client_conn)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 48 | [INFO] [stdout] 49 | Ok((client, server)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] [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/battle/networking/mod.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 58 | let (ai_1_conn, server_ai_1_conn) = make_connections(); [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] 59 | let (ai_2_conn, server_ai_2_conn) = make_connections(); [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] 60 | let server = Server::new_local(map, server_ai_1_conn, server_ai_2_conn, settings)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | [INFO] [stdout] 62 | let mut ai_1 = AIClient::new(ai_1_conn)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 63 | let ai_1 = spawn(move || ai_1.run()); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 64 | let mut ai_2 = AIClient::new(ai_2_conn)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 65 | let ai_2 = spawn(move || ai_2.run()); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 66 | [INFO] [stdout] 67 | Ok((server, ai_1, ai_2)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] [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/battle/networking/client.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(mut connection: ClientConn) -> Result { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 30 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 31 | | connection, [INFO] [stdout] 32 | | map, [INFO] [stdout] 33 | | side, [INFO] [stdout] 34 | | response_queue: Vec::new(), [INFO] [stdout] 35 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/battle/networking/server.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 26 | let listener = TcpListener::bind(addr).chain_err(|| "Failed to start server")?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 33 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 34 | | player_a: None, [INFO] [stdout] 35 | | player_b: None, [INFO] [stdout] 36 | | listener: Some(listener), [INFO] [stdout] 37 | | map, [INFO] [stdout] 38 | | settings, [INFO] [stdout] 39 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/battle/responses.rs:57:35 [INFO] [stdout] | [INFO] [stdout] 57 | #[derive(Debug, Clone, Serialize, Deserialize, PartialEq)] [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: 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/battle/units.rs:61:41 [INFO] [stdout] | [INFO] [stdout] 61 | #[derive(Copy, Clone, Debug, Serialize, Deserialize, PartialEq, Eq, Hash)] [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: 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/battle/units.rs:96:21 [INFO] [stdout] | [INFO] [stdout] 96 | #[derive(Serialize, Deserialize, Debug, PartialEq, Eq, Hash, Clone, Copy)] [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: 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/battle/units.rs:207:45 [INFO] [stdout] | [INFO] [stdout] 207 | #[derive(PartialEq, Copy, Clone, Serialize, Deserialize, Debug)] [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: 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/context/mod.rs:38:21 [INFO] [stdout] | [INFO] [stdout] 30 | let renderer = Renderer::new(event_loop, &settings); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | player: Player::new(), [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/context/mod.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 30 | let renderer = Renderer::new(event_loop, &settings); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 39 | font: CachedFont::from_bytes(FONT, &renderer.display).unwrap(), [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/context/renderer.rs:116:23 [INFO] [stdout] | [INFO] [stdout] 91 | let mut builder = WindowBuilder::new() [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 102 | let display = Display::new(builder, context, &event_loop).unwrap(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 105 | let vertex_buffer = VertexBuffer::new(&display, SQUARE).unwrap(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 106 | let indices = IndexBuffer::new(&display, TrianglesList, INDICES).unwrap(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 107 | let program = Program::from_source(&display, VERT, FRAG, None).unwrap(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 108 | [INFO] [stdout] 109 | let text_program = default_program(&display).unwrap(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 112 | let (tileset_size, tileset) = load_texture(&display, TILESET); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 116 | uniforms: Uniforms { [INFO] [stdout] | _______________________^ [INFO] [stdout] 117 | | tileset_size, [INFO] [stdout] 118 | | screen_resolution: [width as f32, height as f32], [INFO] [stdout] 119 | | texture: tileset, [INFO] [stdout] 120 | | }, [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/context/renderer.rs:122:21 [INFO] [stdout] | [INFO] [stdout] 91 | let mut builder = WindowBuilder::new() [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 102 | let display = Display::new(builder, context, &event_loop).unwrap(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 105 | let vertex_buffer = VertexBuffer::new(&display, SQUARE).unwrap(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 106 | let indices = IndexBuffer::new(&display, TrianglesList, INDICES).unwrap(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 107 | let program = Program::from_source(&display, VERT, FRAG, None).unwrap(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 108 | [INFO] [stdout] 109 | let text_program = default_program(&display).unwrap(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 112 | let (tileset_size, tileset) = load_texture(&display, TILESET); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 122 | target: display.draw(), [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/menu.rs:171:17 [INFO] [stdout] | [INFO] [stdout] 170 | .filter_map(|entry| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 171 | / entry [INFO] [stdout] 172 | | .ok() [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/networking.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new_tcp(stream: TcpStream) -> Result { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | stream.set_nodelay(true)?; [INFO] [stdout] 29 | Ok(Connection::Tcp(SerializedTcpStream::new(stream)?)) [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/settings.rs:58:34 [INFO] [stdout] | [INFO] [stdout] 58 | .and_then(|mut file| file.read_to_string(&mut buffer).ok()) [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [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] [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/settings.rs:59:27 [INFO] [stdout] | [INFO] [stdout] 59 | .and_then(|_| buffer.parse::().ok()) [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 31 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `war-against-machines` (bin "war-against-machines" test) due to 32 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "96c42d60fc978d85d1d62183c06e661d202b6b4a227afb1d478e25008785b5da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96c42d60fc978d85d1d62183c06e661d202b6b4a227afb1d478e25008785b5da", kill_on_drop: false }` [INFO] [stdout] 96c42d60fc978d85d1d62183c06e661d202b6b4a227afb1d478e25008785b5da