[INFO] cloning repository https://github.com/asifZaman0362/monopoly [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/asifZaman0362/monopoly" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FasifZaman0362%2Fmonopoly", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FasifZaman0362%2Fmonopoly'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cdc82965c8272d2c9f06bf9cfd13de423fae7c66 [INFO] checking asifZaman0362/monopoly/cdc82965c8272d2c9f06bf9cfd13de423fae7c66 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%2FasifZaman0362%2Fmonopoly" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/asifZaman0362/monopoly 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/asifZaman0362/monopoly [INFO] finished tweaking git repo https://github.com/asifZaman0362/monopoly [INFO] tweaked toml for git repo https://github.com/asifZaman0362/monopoly written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/asifZaman0362/monopoly 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3a883dc26d5a541ca09260f48f589b7203997be348d4932feaef85b8a254ffe2 [INFO] running `Command { std: "docker" "start" "-a" "3a883dc26d5a541ca09260f48f589b7203997be348d4932feaef85b8a254ffe2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3a883dc26d5a541ca09260f48f589b7203997be348d4932feaef85b8a254ffe2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a883dc26d5a541ca09260f48f589b7203997be348d4932feaef85b8a254ffe2", kill_on_drop: false }` [INFO] [stdout] 3a883dc26d5a541ca09260f48f589b7203997be348d4932feaef85b8a254ffe2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e07e32dc00372a27d1703bb62e8fe229704fafc3cf92bc03abbb9a31a32f5308 [INFO] running `Command { std: "docker" "start" "-a" "e07e32dc00372a27d1703bb62e8fe229704fafc3cf92bc03abbb9a31a32f5308", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling zstd-safe v7.1.0 [INFO] [stderr] Checking local-waker v0.1.4 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Checking tinyvec v1.6.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking brotli-decompressor v4.0.1 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking actix-utils v3.0.1 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling bytestring v1.3.1 [INFO] [stderr] Checking zerocopy v0.7.34 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Checking actix-service v2.0.2 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking brotli v6.0.0 [INFO] [stderr] Compiling cc v1.0.104 [INFO] [stderr] Checking local-channel v0.1.5 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking language-tags v0.3.2 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling zstd-sys v2.0.11+zstd.1.5.6 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling actix_derive v0.6.1 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking actix-rt v2.10.0 [INFO] [stderr] Checking actix-server v2.4.0 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking actix v0.13.5 [INFO] [stderr] Checking zstd v0.13.1 [INFO] [stderr] Checking actix-http v3.8.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking actix-web v4.8.0 [INFO] [stderr] Checking actix-web-actors v4.3.0 [INFO] [stderr] Checking actix-cors v0.7.0 [INFO] [stderr] Checking monopoly v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `LabelFor` is more private than the item `load_labels` [INFO] [stdout] --> src/rng.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn load_labels() -> std::io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `load_labels` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `LabelFor` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/rng.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | enum LabelFor { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ChanceType` is more private than the item `load_chance_table` [INFO] [stdout] --> src/rng.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn load_chance_table() -> std::io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `load_chance_table` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ChanceType` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/rng.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | enum ChanceType { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `LabelFor` is more private than the item `get_random_community_chest_card` [INFO] [stdout] --> src/rng.rs:106:1 [INFO] [stdout] | [INFO] [stdout] 106 | / pub fn get_random_community_chest_card( [INFO] [stdout] 107 | | labels: &Labels, [INFO] [stdout] 108 | | chance_table: &ChanceTable, [INFO] [stdout] 109 | | config: &super::Config, [INFO] [stdout] 110 | | data: &super::Data, [INFO] [stdout] 111 | | ) -> RandomCard { [INFO] [stdout] | |_______________^ function `get_random_community_chest_card` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `LabelFor` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/rng.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | enum LabelFor { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ChanceType` is more private than the item `get_random_community_chest_card` [INFO] [stdout] --> src/rng.rs:106:1 [INFO] [stdout] | [INFO] [stdout] 106 | / pub fn get_random_community_chest_card( [INFO] [stdout] 107 | | labels: &Labels, [INFO] [stdout] 108 | | chance_table: &ChanceTable, [INFO] [stdout] 109 | | config: &super::Config, [INFO] [stdout] 110 | | data: &super::Data, [INFO] [stdout] 111 | | ) -> RandomCard { [INFO] [stdout] | |_______________^ function `get_random_community_chest_card` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ChanceType` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/rng.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | enum ChanceType { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cities`, `utilities`, and `stations` are never read [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | struct Data { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 10 | cells: Vec, [INFO] [stdout] 11 | cities: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | utilities: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 13 | stations: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Config` is never constructed [INFO] [stdout] --> src/main.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | struct Config { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `LabelFor` is more private than the item `load_labels` [INFO] [stdout] --> src/rng.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn load_labels() -> std::io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `load_labels` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `LabelFor` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/rng.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | enum LabelFor { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Building` is never used [INFO] [stdout] --> src/game.rs:315:10 [INFO] [stdout] | [INFO] [stdout] 315 | pub enum Building { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `calc_cost` and `update_owner` are never used [INFO] [stdout] --> src/game.rs:364:12 [INFO] [stdout] | [INFO] [stdout] 363 | impl Cell { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 364 | pub fn calc_cost(&self, game: &Game) -> u16 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 381 | pub fn update_owner(&mut self, player: Player) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cells`, `cities`, `utilities`, and `stations` are never read [INFO] [stdout] --> src/game.rs:387:5 [INFO] [stdout] | [INFO] [stdout] 386 | pub struct Board { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 387 | cells: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 388 | cities: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 389 | utilities: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 390 | stations: Vec [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `money`, `owned`, `bankrupt`, and `pos` are never read [INFO] [stdout] --> src/game.rs:394:5 [INFO] [stdout] | [INFO] [stdout] 393 | struct PlayerInfo { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 394 | money: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 395 | owned: HashSet, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 396 | bankrupt: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 397 | pos: usize [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `board`, `players`, `ids`, `set_info`, and `turn` are never read [INFO] [stdout] --> src/game.rs:401:5 [INFO] [stdout] | [INFO] [stdout] 400 | pub struct Game { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 401 | board: Board, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 402 | players: HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 403 | ids: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] 404 | set_info: HashMap>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 405 | turn: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/game.rs:409:8 [INFO] [stdout] | [INFO] [stdout] 408 | impl Board { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 409 | fn new(data: &super::Data) -> Board { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/game.rs:423:12 [INFO] [stdout] | [INFO] [stdout] 422 | impl Game { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 423 | pub fn new(data: &super::Data) -> Game { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 453 | fn start() {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] 454 | [INFO] [stdout] 455 | fn next_turn(&self, current: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 459 | fn on_progress_turn(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 479 | fn station_set_multiplier(&self, player: &Option) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 494 | fn on_complete_set(&mut self, c: Color) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 508 | fn is_complete_set(&self, c: Color, owner: &Player) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 517 | fn move_to(&mut self, player: &Player, pos: usize, skip_go: bool) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 525 | fn advance_by(&self, player: &Player, cells: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | fn recede_by(&self, player: &Player, cells: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Collect` and `Skip` are never constructed [INFO] [stdout] --> src/rng.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum GoPassAction { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 8 | Collect, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | Skip, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GoPassAction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Cell`, `Go`, `Back`, and `Ahead` are never constructed [INFO] [stdout] --> src/rng.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum Target { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 14 | Cell(usize), [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | Go, [INFO] [stdout] | ^^ [INFO] [stdout] 16 | Back(usize), [INFO] [stdout] | ^^^^ [INFO] [stdout] 17 | Ahead(usize), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Target` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Bank` and `Players` are never constructed [INFO] [stdout] --> src/rng.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub enum Payee { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 32 | Bank, [INFO] [stdout] | ^^^^ [INFO] [stdout] 33 | Players, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Payee` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Original` and `Roll` are never constructed [INFO] [stdout] --> src/rng.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub enum Amount { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 38 | Original, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 39 | Roll, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Amount` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Move`, `Gain`, `Loss`, `GotoJail`, `GetOutOfJailFree`, and `Repairs` are never constructed [INFO] [stdout] --> src/rng.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub enum RandomCard { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 44 | Move { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | Gain { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | Loss { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | GotoJail, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 60 | GetOutOfJailFree, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 61 | Repairs { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RandomCard` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Labels` is never used [INFO] [stdout] --> src/rng.rs:76:6 [INFO] [stdout] | [INFO] [stdout] 76 | type Labels = HashMap>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_labels` is never used [INFO] [stdout] --> src/rng.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn load_labels() -> std::io::Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ChanceTable` is never used [INFO] [stdout] --> src/rng.rs:90:6 [INFO] [stdout] | [INFO] [stdout] 90 | type ChanceTable = Vec<(ChanceType, f32)>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_chance_table` is never used [INFO] [stdout] --> src/rng.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn load_chance_table() -> std::io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_random_community_chest_card` is never used [INFO] [stdout] --> src/rng.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn get_random_community_chest_card( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_random_loss_card` is never used [INFO] [stdout] --> src/rng.rs:137:4 [INFO] [stdout] | [INFO] [stdout] 137 | fn get_random_loss_card(labels: &Labels) -> RandomCard { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_random_gain_card` is never used [INFO] [stdout] --> src/rng.rs:161:4 [INFO] [stdout] | [INFO] [stdout] 161 | fn get_random_gain_card(labels: &Labels) -> RandomCard { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_random_move_card` is never used [INFO] [stdout] --> src/rng.rs:172:4 [INFO] [stdout] | [INFO] [stdout] 172 | fn get_random_move_card(config: &super::Config, data: &super::Data) -> RandomCard { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_random_repairs_card` is never used [INFO] [stdout] --> src/rng.rs:201:4 [INFO] [stdout] | [INFO] [stdout] 201 | fn get_random_repairs_card(labels: &Labels) -> RandomCard { [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:103:8 [INFO] [stdout] | [INFO] [stdout] 35 | let mut cells = vec![]; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 103 | Ok(Data { [INFO] [stdout] | ________^ [INFO] [stdout] 104 | | cells, [INFO] [stdout] 105 | | cities, [INFO] [stdout] 106 | | utilities, [INFO] [stdout] 107 | | stations, [INFO] [stdout] 108 | | }) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ChanceType` is more private than the item `load_chance_table` [INFO] [stdout] --> src/rng.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn load_chance_table() -> std::io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `load_chance_table` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ChanceType` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/rng.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | enum ChanceType { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `LabelFor` is more private than the item `get_random_community_chest_card` [INFO] [stdout] --> src/rng.rs:106:1 [INFO] [stdout] | [INFO] [stdout] 106 | / pub fn get_random_community_chest_card( [INFO] [stdout] 107 | | labels: &Labels, [INFO] [stdout] 108 | | chance_table: &ChanceTable, [INFO] [stdout] 109 | | config: &super::Config, [INFO] [stdout] 110 | | data: &super::Data, [INFO] [stdout] 111 | | ) -> RandomCard { [INFO] [stdout] | |_______________^ function `get_random_community_chest_card` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `LabelFor` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/rng.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | enum LabelFor { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ChanceType` is more private than the item `get_random_community_chest_card` [INFO] [stdout] --> src/rng.rs:106:1 [INFO] [stdout] | [INFO] [stdout] 106 | / pub fn get_random_community_chest_card( [INFO] [stdout] 107 | | labels: &Labels, [INFO] [stdout] 108 | | chance_table: &ChanceTable, [INFO] [stdout] 109 | | config: &super::Config, [INFO] [stdout] 110 | | data: &super::Data, [INFO] [stdout] 111 | | ) -> RandomCard { [INFO] [stdout] | |_______________^ function `get_random_community_chest_card` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ChanceType` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/rng.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | enum ChanceType { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cities`, `utilities`, and `stations` are never read [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | struct Data { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 10 | cells: Vec, [INFO] [stdout] 11 | cities: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | utilities: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 13 | stations: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Config` is never constructed [INFO] [stdout] --> src/main.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | struct Config { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Building` is never used [INFO] [stdout] --> src/game.rs:315:10 [INFO] [stdout] | [INFO] [stdout] 315 | pub enum Building { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `calc_cost` and `update_owner` are never used [INFO] [stdout] --> src/game.rs:364:12 [INFO] [stdout] | [INFO] [stdout] 363 | impl Cell { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 364 | pub fn calc_cost(&self, game: &Game) -> u16 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 381 | pub fn update_owner(&mut self, player: Player) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cells`, `cities`, `utilities`, and `stations` are never read [INFO] [stdout] --> src/game.rs:387:5 [INFO] [stdout] | [INFO] [stdout] 386 | pub struct Board { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 387 | cells: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 388 | cities: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 389 | utilities: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 390 | stations: Vec [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `money`, `owned`, `bankrupt`, and `pos` are never read [INFO] [stdout] --> src/game.rs:394:5 [INFO] [stdout] | [INFO] [stdout] 393 | struct PlayerInfo { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 394 | money: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 395 | owned: HashSet, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 396 | bankrupt: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 397 | pos: usize [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `board`, `players`, `ids`, `set_info`, and `turn` are never read [INFO] [stdout] --> src/game.rs:401:5 [INFO] [stdout] | [INFO] [stdout] 400 | pub struct Game { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 401 | board: Board, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 402 | players: HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 403 | ids: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] 404 | set_info: HashMap>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 405 | turn: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/game.rs:409:8 [INFO] [stdout] | [INFO] [stdout] 408 | impl Board { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 409 | fn new(data: &super::Data) -> Board { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/game.rs:423:12 [INFO] [stdout] | [INFO] [stdout] 422 | impl Game { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 423 | pub fn new(data: &super::Data) -> Game { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 453 | fn start() {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] 454 | [INFO] [stdout] 455 | fn next_turn(&self, current: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 459 | fn on_progress_turn(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 479 | fn station_set_multiplier(&self, player: &Option) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 494 | fn on_complete_set(&mut self, c: Color) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 508 | fn is_complete_set(&self, c: Color, owner: &Player) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 517 | fn move_to(&mut self, player: &Player, pos: usize, skip_go: bool) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 525 | fn advance_by(&self, player: &Player, cells: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | fn recede_by(&self, player: &Player, cells: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Collect` and `Skip` are never constructed [INFO] [stdout] --> src/rng.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum GoPassAction { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 8 | Collect, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | Skip, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GoPassAction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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:12:9 [INFO] [stdout] | [INFO] [stdout] 10 | let data = Arc::new(data); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 11 | HttpServer::new(move || { [INFO] [stdout] 12 | / App::new() [INFO] [stdout] 13 | | .app_data(web::Data::new(Arc::clone(&data))) [INFO] [stdout] 14 | | .wrap(actix_cors::Cors::permissive()) [INFO] [stdout] | |_________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Cell`, `Go`, `Back`, and `Ahead` are never constructed [INFO] [stdout] --> src/rng.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum Target { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 14 | Cell(usize), [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | Go, [INFO] [stdout] | ^^ [INFO] [stdout] 16 | Back(usize), [INFO] [stdout] | ^^^^ [INFO] [stdout] 17 | Ahead(usize), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Target` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Bank` and `Players` are never constructed [INFO] [stdout] --> src/rng.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub enum Payee { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 32 | Bank, [INFO] [stdout] | ^^^^ [INFO] [stdout] 33 | Players, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Payee` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Original` and `Roll` are never constructed [INFO] [stdout] --> src/rng.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub enum Amount { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 38 | Original, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 39 | Roll, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Amount` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Move`, `Gain`, `Loss`, `GotoJail`, `GetOutOfJailFree`, and `Repairs` are never constructed [INFO] [stdout] --> src/rng.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub enum RandomCard { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 44 | Move { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | Gain { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | Loss { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | GotoJail, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 60 | GetOutOfJailFree, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 61 | Repairs { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RandomCard` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Labels` is never used [INFO] [stdout] --> src/rng.rs:76:6 [INFO] [stdout] | [INFO] [stdout] 76 | type Labels = HashMap>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_labels` is never used [INFO] [stdout] --> src/rng.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn load_labels() -> std::io::Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ChanceTable` is never used [INFO] [stdout] --> src/rng.rs:90:6 [INFO] [stdout] | [INFO] [stdout] 90 | type ChanceTable = Vec<(ChanceType, f32)>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_chance_table` is never used [INFO] [stdout] --> src/rng.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn load_chance_table() -> std::io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_random_community_chest_card` is never used [INFO] [stdout] --> src/rng.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn get_random_community_chest_card( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_random_loss_card` is never used [INFO] [stdout] --> src/rng.rs:137:4 [INFO] [stdout] | [INFO] [stdout] 137 | fn get_random_loss_card(labels: &Labels) -> RandomCard { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_random_gain_card` is never used [INFO] [stdout] --> src/rng.rs:161:4 [INFO] [stdout] | [INFO] [stdout] 161 | fn get_random_gain_card(labels: &Labels) -> RandomCard { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_random_move_card` is never used [INFO] [stdout] --> src/rng.rs:172:4 [INFO] [stdout] | [INFO] [stdout] 172 | fn get_random_move_card(config: &super::Config, data: &super::Data) -> RandomCard { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_random_repairs_card` is never used [INFO] [stdout] --> src/rng.rs:201:4 [INFO] [stdout] | [INFO] [stdout] 201 | fn get_random_repairs_card(labels: &Labels) -> RandomCard { [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:103:8 [INFO] [stdout] | [INFO] [stdout] 35 | let mut cells = vec![]; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 103 | Ok(Data { [INFO] [stdout] | ________^ [INFO] [stdout] 104 | | cells, [INFO] [stdout] 105 | | cities, [INFO] [stdout] 106 | | utilities, [INFO] [stdout] 107 | | stations, [INFO] [stdout] 108 | | }) [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/http.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 10 | let data = Arc::new(data); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 11 | HttpServer::new(move || { [INFO] [stdout] 12 | / App::new() [INFO] [stdout] 13 | | .app_data(web::Data::new(Arc::clone(&data))) [INFO] [stdout] 14 | | .wrap(actix_cors::Cors::permissive()) [INFO] [stdout] | |_________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `monopoly` (bin "monopoly") due to 3 previous errors; 27 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `monopoly` (bin "monopoly" test) due to 3 previous errors; 27 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e07e32dc00372a27d1703bb62e8fe229704fafc3cf92bc03abbb9a31a32f5308", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e07e32dc00372a27d1703bb62e8fe229704fafc3cf92bc03abbb9a31a32f5308", kill_on_drop: false }` [INFO] [stdout] e07e32dc00372a27d1703bb62e8fe229704fafc3cf92bc03abbb9a31a32f5308