[INFO] cloning repository https://github.com/SkyTemple/pelipper-post-office [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SkyTemple/pelipper-post-office" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSkyTemple%2Fpelipper-post-office", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSkyTemple%2Fpelipper-post-office'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2cccb3eff3db5aa6e8b2dd1b9de2277f83b45580 [INFO] checking SkyTemple/pelipper-post-office/2cccb3eff3db5aa6e8b2dd1b9de2277f83b45580 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSkyTemple%2Fpelipper-post-office" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SkyTemple/pelipper-post-office on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/SkyTemple/pelipper-post-office [INFO] finished tweaking git repo https://github.com/SkyTemple/pelipper-post-office [INFO] tweaked toml for git repo https://github.com/SkyTemple/pelipper-post-office written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/SkyTemple/pelipper-post-office already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0813c39b97eb0046cb70b6330b6b39c3aab045a5551b07853dd661cd68ccafb0 [INFO] running `Command { std: "docker" "start" "-a" "0813c39b97eb0046cb70b6330b6b39c3aab045a5551b07853dd661cd68ccafb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0813c39b97eb0046cb70b6330b6b39c3aab045a5551b07853dd661cd68ccafb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0813c39b97eb0046cb70b6330b6b39c3aab045a5551b07853dd661cd68ccafb0", kill_on_drop: false }` [INFO] [stdout] 0813c39b97eb0046cb70b6330b6b39c3aab045a5551b07853dd661cd68ccafb0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 34dc397d7fc36e5b833c3d04f62a7990916a417d6a2e959d48117c8c28b1c49b [INFO] running `Command { std: "docker" "start" "-a" "34dc397d7fc36e5b833c3d04f62a7990916a417d6a2e959d48117c8c28b1c49b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking smallvec v1.11.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Checking futures-sink v0.3.29 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking futures-io v0.3.29 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Compiling serde v1.0.192 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling async-trait v0.1.74 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Checking gimli v0.28.0 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Checking data-encoding v2.4.0 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking deranged v0.3.9 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking mio v0.8.9 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking object v0.32.1 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking iana-time-zone v0.1.58 [INFO] [stderr] Checking url v2.4.1 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking try-lock v0.2.4 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Compiling packed_struct v0.10.1 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking time v0.3.30 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Compiling const_format_proc_macros v0.2.32 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking hashbrown v0.14.2 [INFO] [stderr] Checking directories v5.0.1 [INFO] [stderr] Checking clru v0.6.1 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking const_format v0.2.32 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Checking stderrlog v0.5.4 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Compiling enum-as-inner v0.3.4 [INFO] [stderr] Compiling packed_struct_codegen v0.10.1 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling futures-macro v0.3.29 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling serde_derive v1.0.192 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Checking tokio v1.33.0 [INFO] [stderr] Checking futures-executor v0.3.29 [INFO] [stderr] Checking futures v0.3.29 [INFO] [stderr] Checking trust-dns-proto v0.20.4 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking h2 v0.3.21 [INFO] [stderr] Checking trust-dns-client v0.20.4 [INFO] [stderr] Checking trust-dns-server v0.20.4 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking pelipper-post-office v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `userid_base32` [INFO] [stdout] --> src/backend/users.rs:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::util::{md5sum, userid_base32}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `userid_base32` [INFO] [stdout] --> src/backend/users.rs:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::util::{md5sum, userid_base32}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `key` is never read [INFO] [stdout] --> src/backend/games.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Game { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 4 | pub code: String, [INFO] [stdout] 5 | key: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `contains`, `get_gamekey`, and `get_gameids` are never used [INFO] [stdout] --> src/backend/games.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl GamesBackend { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn contains(&self, gamecode: &str) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub async fn get_gamekey(&self, gamecode: &str) -> Option<&String> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub async fn get_gameids(&self, gamecode: &str) -> Option<&Vec> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/backend/users.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct GsAccount { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 13 | apinfo: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 14 | birth: (u8, u8), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | devname: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 16 | ingamesn: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 17 | pub gamecd: String, [INFO] [stdout] 18 | gsbrcd: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | lang: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] 20 | macadr: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 21 | makercd: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 22 | passwd: u16, [INFO] [stdout] 23 | sdkver: (u8, u8), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 24 | unitcd: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GsAccount` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `config_dir` is never used [INFO] [stdout] --> src/config.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) fn config_dir() -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_gamename` is never used [INFO] [stdout] --> src/gs_udp.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 63 | impl PeerState { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 76 | fn get_gamename(&self) -> Option<&String> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_cr` is never used [INFO] [stdout] --> src/util.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn decode_cr(src: &[u8], key: &[u8]) -> Option> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gsvalfunc` is never used [INFO] [stdout] --> src/util.rs:119:4 [INFO] [stdout] | [INFO] [stdout] 119 | fn gsvalfunc(reg: u8) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [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:77:50 [INFO] [stdout] | [INFO] [stdout] 75 | let br = backends_ref.clone(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 76 | servers.push(tokio::spawn( [INFO] [stdout] 77 | async move { run_http(opt.http_port, br).await }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:83:41 [INFO] [stdout] | [INFO] [stdout] 81 | let br = backends_ref.clone(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 82 | servers.push(tokio::spawn(async move { [INFO] [stdout] 83 | run_gs_udp(opt.gs_udp_port, br).await [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:89:41 [INFO] [stdout] | [INFO] [stdout] 87 | let br = backends_ref.clone(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 88 | servers.push(tokio::spawn(async move { [INFO] [stdout] 89 | run_gs_tcp(opt.gs_tcp_port, br).await [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/dns.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 46 | records: BTreeMap, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 50 | Ok(Self(InMemoryAuthority::new( [INFO] [stdout] | ____________^ [INFO] [stdout] 51 | | origin, records, zone_type, allow_axfr, [INFO] [stdout] 52 | | )?)) [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/gs_tcp.rs:554:19 [INFO] [stdout] | [INFO] [stdout] 551 | let (stream, _) = listener.accept().await?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 552 | let br = backends.clone(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 553 | tokio::spawn(async move { [INFO] [stdout] 554 | match process_socket(stream, br).await { [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/http.rs:177:35 [INFO] [stdout] | [INFO] [stdout] 175 | let ibackends = backends.clone(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 176 | async move { [INFO] [stdout] 177 | Ok::<_, hyper::Error>(service_fn(move |req| { [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 178 | | let iibackends = ibackends.clone(); [INFO] [stdout] 179 | | svc_http_service(req, iibackends) [INFO] [stdout] 180 | | })) [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 6 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pelipper-post-office` (bin "pelipper-post-office" test) due to 7 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `key` is never read [INFO] [stdout] --> src/backend/games.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Game { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 4 | pub code: String, [INFO] [stdout] 5 | key: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `contains`, `get_gamekey`, and `get_gameids` are never used [INFO] [stdout] --> src/backend/games.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl GamesBackend { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn contains(&self, gamecode: &str) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub async fn get_gamekey(&self, gamecode: &str) -> Option<&String> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub async fn get_gameids(&self, gamecode: &str) -> Option<&Vec> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/backend/users.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct GsAccount { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 13 | apinfo: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 14 | birth: (u8, u8), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | devname: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 16 | ingamesn: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 17 | pub gamecd: String, [INFO] [stdout] 18 | gsbrcd: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | lang: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] 20 | macadr: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 21 | makercd: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 22 | passwd: u16, [INFO] [stdout] 23 | sdkver: (u8, u8), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 24 | unitcd: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GsAccount` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `config_dir` is never used [INFO] [stdout] --> src/config.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) fn config_dir() -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_gamename` is never used [INFO] [stdout] --> src/gs_udp.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 63 | impl PeerState { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 76 | fn get_gamename(&self) -> Option<&String> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_cr` is never used [INFO] [stdout] --> src/util.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn decode_cr(src: &[u8], key: &[u8]) -> Option> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gsvalfunc` is never used [INFO] [stdout] --> src/util.rs:119:4 [INFO] [stdout] | [INFO] [stdout] 119 | fn gsvalfunc(reg: u8) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `userid_base32` is never used [INFO] [stdout] --> src/util.rs:138:15 [INFO] [stdout] | [INFO] [stdout] 138 | pub(crate) fn userid_base32(input: u64) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [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:77:50 [INFO] [stdout] | [INFO] [stdout] 75 | let br = backends_ref.clone(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 76 | servers.push(tokio::spawn( [INFO] [stdout] 77 | async move { run_http(opt.http_port, br).await }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:83:41 [INFO] [stdout] | [INFO] [stdout] 81 | let br = backends_ref.clone(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 82 | servers.push(tokio::spawn(async move { [INFO] [stdout] 83 | run_gs_udp(opt.gs_udp_port, br).await [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:89:41 [INFO] [stdout] | [INFO] [stdout] 87 | let br = backends_ref.clone(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 88 | servers.push(tokio::spawn(async move { [INFO] [stdout] 89 | run_gs_tcp(opt.gs_tcp_port, br).await [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/dns.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 46 | records: BTreeMap, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 50 | Ok(Self(InMemoryAuthority::new( [INFO] [stdout] | ____________^ [INFO] [stdout] 51 | | origin, records, zone_type, allow_axfr, [INFO] [stdout] 52 | | )?)) [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/gs_tcp.rs:554:19 [INFO] [stdout] | [INFO] [stdout] 551 | let (stream, _) = listener.accept().await?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 552 | let br = backends.clone(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 553 | tokio::spawn(async move { [INFO] [stdout] 554 | match process_socket(stream, br).await { [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/http.rs:177:35 [INFO] [stdout] | [INFO] [stdout] 175 | let ibackends = backends.clone(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 176 | async move { [INFO] [stdout] 177 | Ok::<_, hyper::Error>(service_fn(move |req| { [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 178 | | let iibackends = ibackends.clone(); [INFO] [stdout] 179 | | svc_http_service(req, iibackends) [INFO] [stdout] 180 | | })) [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 6 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pelipper-post-office` (bin "pelipper-post-office") due to 7 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "34dc397d7fc36e5b833c3d04f62a7990916a417d6a2e959d48117c8c28b1c49b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34dc397d7fc36e5b833c3d04f62a7990916a417d6a2e959d48117c8c28b1c49b", kill_on_drop: false }` [INFO] [stdout] 34dc397d7fc36e5b833c3d04f62a7990916a417d6a2e959d48117c8c28b1c49b