[INFO] cloning repository https://github.com/lbrande/18-chesapeake [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lbrande/18-chesapeake" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flbrande%2F18-chesapeake", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flbrande%2F18-chesapeake'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7e485fa3f30057b006d08cbc09198074319a24d0 [INFO] checking lbrande/18-chesapeake against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flbrande%2F18-chesapeake" "/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/lbrande/18-chesapeake 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/lbrande/18-chesapeake [INFO] finished tweaking git repo https://github.com/lbrande/18-chesapeake [INFO] tweaked toml for git repo https://github.com/lbrande/18-chesapeake written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/lbrande/18-chesapeake 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] Downloading crates ... [INFO] [stderr] Downloaded serde v1.0.98 [INFO] [stderr] Downloaded toml v0.5.5 [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] 65cb0c5e6c5768a1828c48e9415e56d6b2162c649514680d2602080e2d6ae42c [INFO] running `Command { std: "docker" "start" "-a" "65cb0c5e6c5768a1828c48e9415e56d6b2162c649514680d2602080e2d6ae42c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "65cb0c5e6c5768a1828c48e9415e56d6b2162c649514680d2602080e2d6ae42c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65cb0c5e6c5768a1828c48e9415e56d6b2162c649514680d2602080e2d6ae42c", kill_on_drop: false }` [INFO] [stdout] 65cb0c5e6c5768a1828c48e9415e56d6b2162c649514680d2602080e2d6ae42c [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] bff861290341b5df768db485920edbff35c3b3ee1a7517f3b6e9f16b89734fbb [INFO] running `Command { std: "docker" "start" "-a" "bff861290341b5df768db485920edbff35c3b3ee1a7517f3b6e9f16b89734fbb", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.98 [INFO] [stderr] Checking toml v0.5.5 [INFO] [stderr] Checking lib v0.1.0 (/opt/rustwide/workdir/lib) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> lib/src/economy/stock_chart.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | values: Vec>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 13 - values: Vec>, [INFO] [stdout] 13 + values: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> lib/src/economy/stock_chart.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | values: Vec>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 13 - values: Vec>, [INFO] [stdout] 13 + values: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> lib/src/geography/map.rs:117:19 [INFO] [stdout] | [INFO] [stdout] 117 | for &(x, y, edge) in stations {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> lib/src/geography/map.rs:117:22 [INFO] [stdout] | [INFO] [stdout] 117 | for &(x, y, edge) in stations {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> lib/src/geography/map.rs:117:19 [INFO] [stdout] | [INFO] [stdout] 117 | for &(x, y, edge) in stations {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `edge` [INFO] [stdout] --> lib/src/geography/map.rs:117:25 [INFO] [stdout] | [INFO] [stdout] 117 | for &(x, y, edge) in stations {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_edge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> lib/src/geography/map.rs:117:22 [INFO] [stdout] | [INFO] [stdout] 117 | for &(x, y, edge) in stations {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `edge` [INFO] [stdout] --> lib/src/geography/map.rs:117:25 [INFO] [stdout] | [INFO] [stdout] 117 | for &(x, y, edge) in stations {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_edge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `capital`, `stations_left`, `trains`, `priv_coms`, and `operated` are never read [INFO] [stdout] --> lib/src/economy/pub_com.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct PubCom { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 7 | id: PubComId, [INFO] [stdout] | ^^ [INFO] [stdout] 8 | capital: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | stations_left: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 10 | trains: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | priv_coms: HashSet, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 12 | operated: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PubCom` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `capital`, `stations_left`, `trains`, `priv_coms`, and `operated` are never read [INFO] [stdout] --> lib/src/economy/pub_com.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct PubCom { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 7 | id: PubComId, [INFO] [stdout] | ^^ [INFO] [stdout] 8 | capital: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | stations_left: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 10 | trains: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | priv_coms: HashSet, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 12 | operated: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PubCom` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tile_set` and `train_set` are never read [INFO] [stdout] --> lib/src/game.rs:21:16 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Game { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | pub(crate) tile_set: TileSet, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 22 | pub(crate) train_set: TrainSet, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Game` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `terrain` and `private` are never read [INFO] [stdout] --> lib/src/geography/hex.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Hex { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 12 | terrain: TerrainId, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 13 | content: Option, [INFO] [stdout] 14 | private: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Hex` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tile_set` and `train_set` are never read [INFO] [stdout] --> lib/src/game.rs:21:16 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Game { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | pub(crate) tile_set: TileSet, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 22 | pub(crate) train_set: TrainSet, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Game` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width` and `height` are never read [INFO] [stdout] --> lib/src/geography/map.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Map { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 26 | width: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 27 | height: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Map` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `terrain` and `private` are never read [INFO] [stdout] --> lib/src/geography/hex.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Hex { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 12 | terrain: TerrainId, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 13 | content: Option, [INFO] [stdout] 14 | private: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Hex` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `value` and `name` are never read [INFO] [stdout] --> lib/src/geography/stops.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct City { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 28 | value: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `City` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width` and `height` are never read [INFO] [stdout] --> lib/src/geography/map.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Map { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 26 | width: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 27 | height: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Map` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `values` and `name` are never read [INFO] [stdout] --> lib/src/geography/stops.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct Location { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 69 | values: (u32, u32, u32, u32), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 70 | station: Option, [INFO] [stdout] 71 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Location` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `value` and `name` are never read [INFO] [stdout] --> lib/src/geography/stops.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct City { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 28 | value: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `City` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `values` and `name` are never read [INFO] [stdout] --> lib/src/geography/stops.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct Location { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 69 | values: (u32, u32, u32, u32), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 70 | station: Option, [INFO] [stdout] 71 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Location` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `color` and `upgrades` are never read [INFO] [stdout] --> lib/src/geography/tile.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Tile { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 15 | rails: Vec, [INFO] [stdout] 16 | color: ColorId, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 17 | upgrades: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tile` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `color` and `upgrades` are never read [INFO] [stdout] --> lib/src/geography/tile.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Tile { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 15 | rails: Vec, [INFO] [stdout] 16 | color: ColorId, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 17 | upgrades: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tile` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tiles` is never read [INFO] [stdout] --> lib/src/geography/tile_set.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct TileSet { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 16 | tiles: HashMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TileSet` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `track_lays` is never read [INFO] [stdout] --> lib/src/geography/track_lay_map.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct TrackLayMap { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 6 | track_lays: HashMap<(usize, usize), Vec<(i32, u32)>>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrackLayMap` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tiles` is never read [INFO] [stdout] --> lib/src/geography/tile_set.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct TileSet { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 16 | tiles: HashMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TileSet` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `insert` is never used [INFO] [stdout] --> lib/src/geography/track_lay_map.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 9 | impl TrackLayMap { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 16 | pub(crate) fn insert(&mut self, key: (usize, usize), value: (i32, u32)) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `track_lays` is never read [INFO] [stdout] --> lib/src/geography/track_lay_map.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct TrackLayMap { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 6 | track_lays: HashMap<(usize, usize), Vec<(i32, u32)>>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrackLayMap` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `phase` and `operating_rounds_left` are never read [INFO] [stdout] --> lib/src/rounds/operating_round.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct OperatingRound { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 8 | phase: OperatingPhaseId, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | operating_rounds_left: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OperatingRound` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `insert` is never used [INFO] [stdout] --> lib/src/geography/track_lay_map.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 9 | impl TrackLayMap { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 16 | pub(crate) fn insert(&mut self, key: (usize, usize), value: (i32, u32)) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `trains` is never read [INFO] [stdout] --> lib/src/train_set.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct TrainSet { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 16 | trains: HashSet<(TrainId, i32)>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrainSet` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `phase` and `operating_rounds_left` are never read [INFO] [stdout] --> lib/src/rounds/operating_round.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct OperatingRound { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 8 | phase: OperatingPhaseId, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | operating_rounds_left: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OperatingRound` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `trains` is never read [INFO] [stdout] --> lib/src/train_set.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct TrainSet { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 16 | trains: HashSet<(TrainId, i32)>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrainSet` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> lib/src/game.rs:75:20 [INFO] [stdout] | [INFO] [stdout] 75 | panic!(ACTION_FORBIDDEN); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 75 | panic!("{}", ACTION_FORBIDDEN); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> lib/src/game.rs:75:20 [INFO] [stdout] | [INFO] [stdout] 75 | panic!(ACTION_FORBIDDEN); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 75 | panic!("{}", ACTION_FORBIDDEN); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> lib/src/game.rs:231:20 [INFO] [stdout] | [INFO] [stdout] 231 | panic!(ACTION_FORBIDDEN); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 231 | panic!("{}", ACTION_FORBIDDEN); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> lib/src/game.rs:231:20 [INFO] [stdout] | [INFO] [stdout] 231 | panic!(ACTION_FORBIDDEN); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 231 | panic!("{}", ACTION_FORBIDDEN); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> lib/src/geography/rail.rs:46:20 [INFO] [stdout] | [INFO] [stdout] 46 | panic!(ACTION_FORBIDDEN); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 46 | panic!("{}", ACTION_FORBIDDEN); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> lib/src/geography/rail.rs:46:20 [INFO] [stdout] | [INFO] [stdout] 46 | panic!(ACTION_FORBIDDEN); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 46 | panic!("{}", ACTION_FORBIDDEN); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> lib/src/geography/stops.rs:61:20 [INFO] [stdout] | [INFO] [stdout] 61 | panic!(ACTION_FORBIDDEN); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 61 | panic!("{}", ACTION_FORBIDDEN); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> lib/src/geography/stops.rs:82:20 [INFO] [stdout] | [INFO] [stdout] 82 | panic!(VALUES_LENERROR); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 82 | panic!("{}", VALUES_LENERROR); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> lib/src/geography/stops.rs:61:20 [INFO] [stdout] | [INFO] [stdout] 61 | panic!(ACTION_FORBIDDEN); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 61 | panic!("{}", ACTION_FORBIDDEN); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> lib/src/geography/stops.rs:106:20 [INFO] [stdout] | [INFO] [stdout] 106 | panic!(ACTION_FORBIDDEN); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 106 | panic!("{}", ACTION_FORBIDDEN); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> lib/src/geography/stops.rs:82:20 [INFO] [stdout] | [INFO] [stdout] 82 | panic!(VALUES_LENERROR); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 82 | panic!("{}", VALUES_LENERROR); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> lib/src/geography/stops.rs:106:20 [INFO] [stdout] | [INFO] [stdout] 106 | panic!(ACTION_FORBIDDEN); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 106 | panic!("{}", ACTION_FORBIDDEN); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> lib/src/rounds/priv_auction.rs:186:20 [INFO] [stdout] | [INFO] [stdout] 186 | panic!(ACTION_FORBIDDEN); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 186 | panic!("{}", ACTION_FORBIDDEN); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> lib/src/rounds/priv_auction.rs:186:20 [INFO] [stdout] | [INFO] [stdout] 186 | panic!(ACTION_FORBIDDEN); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 186 | panic!("{}", ACTION_FORBIDDEN); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> lib/src/rounds/priv_auction.rs:212:20 [INFO] [stdout] | [INFO] [stdout] 212 | panic!(ACTION_FORBIDDEN); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 212 | panic!("{}", ACTION_FORBIDDEN); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> lib/src/rounds/priv_auction.rs:212:20 [INFO] [stdout] | [INFO] [stdout] 212 | panic!(ACTION_FORBIDDEN); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 212 | panic!("{}", ACTION_FORBIDDEN); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> lib/src/rounds/stock_round.rs:68:20 [INFO] [stdout] | [INFO] [stdout] 68 | panic!(ACTION_FORBIDDEN); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 68 | panic!("{}", ACTION_FORBIDDEN); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> lib/src/rounds/stock_round.rs:68:20 [INFO] [stdout] | [INFO] [stdout] 68 | panic!(ACTION_FORBIDDEN); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 68 | panic!("{}", ACTION_FORBIDDEN); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> lib/src/rounds/stock_round.rs:111:20 [INFO] [stdout] | [INFO] [stdout] 111 | panic!(ACTION_FORBIDDEN); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 111 | panic!("{}", ACTION_FORBIDDEN); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> lib/src/rounds/stock_round.rs:111:20 [INFO] [stdout] | [INFO] [stdout] 111 | panic!(ACTION_FORBIDDEN); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 111 | panic!("{}", ACTION_FORBIDDEN); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> lib/src/rounds/stock_round.rs:145:20 [INFO] [stdout] | [INFO] [stdout] 145 | panic!(ACTION_FORBIDDEN); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 145 | panic!("{}", ACTION_FORBIDDEN); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> lib/src/rounds/stock_round.rs:145:20 [INFO] [stdout] | [INFO] [stdout] 145 | panic!(ACTION_FORBIDDEN); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 145 | panic!("{}", ACTION_FORBIDDEN); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> lib/src/rounds/stock_round.rs:176:20 [INFO] [stdout] | [INFO] [stdout] 176 | panic!(ACTION_FORBIDDEN); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 176 | panic!("{}", ACTION_FORBIDDEN); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> lib/src/rounds/stock_round.rs:176:20 [INFO] [stdout] | [INFO] [stdout] 176 | panic!(ACTION_FORBIDDEN); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 176 | panic!("{}", ACTION_FORBIDDEN); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> lib/src/rounds/stock_round.rs:211:20 [INFO] [stdout] | [INFO] [stdout] 211 | panic!(ACTION_FORBIDDEN); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 211 | panic!("{}", ACTION_FORBIDDEN); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> lib/src/rounds/stock_round.rs:211:20 [INFO] [stdout] | [INFO] [stdout] 211 | panic!(ACTION_FORBIDDEN); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 211 | panic!("{}", ACTION_FORBIDDEN); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking server v0.1.0 (/opt/rustwide/workdir/server) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.44s [INFO] running `Command { std: "docker" "inspect" "bff861290341b5df768db485920edbff35c3b3ee1a7517f3b6e9f16b89734fbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bff861290341b5df768db485920edbff35c3b3ee1a7517f3b6e9f16b89734fbb", kill_on_drop: false }` [INFO] [stdout] bff861290341b5df768db485920edbff35c3b3ee1a7517f3b6e9f16b89734fbb [INFO] checking lbrande/18-chesapeake 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%2Flbrande%2F18-chesapeake" "/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/lbrande/18-chesapeake 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/lbrande/18-chesapeake [INFO] finished tweaking git repo https://github.com/lbrande/18-chesapeake [INFO] tweaked toml for git repo https://github.com/lbrande/18-chesapeake written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/lbrande/18-chesapeake 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] 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] 595e00e4e47fcd6304b1559ada740c045326827db05e9ce108ce79f723338c7c [INFO] running `Command { std: "docker" "start" "-a" "595e00e4e47fcd6304b1559ada740c045326827db05e9ce108ce79f723338c7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "595e00e4e47fcd6304b1559ada740c045326827db05e9ce108ce79f723338c7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "595e00e4e47fcd6304b1559ada740c045326827db05e9ce108ce79f723338c7c", kill_on_drop: false }` [INFO] [stdout] 595e00e4e47fcd6304b1559ada740c045326827db05e9ce108ce79f723338c7c [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] 35869e5e53a4292da05ee63c05cd32041e83f42e998706e06a43393db87af6ee [INFO] running `Command { std: "docker" "start" "-a" "35869e5e53a4292da05ee63c05cd32041e83f42e998706e06a43393db87af6ee", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.98 [INFO] [stderr] Checking toml v0.5.5 [INFO] [stderr] Checking lib v0.1.0 (/opt/rustwide/workdir/lib) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> lib/src/economy/stock_chart.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | values: Vec>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 13 - values: Vec>, [INFO] [stdout] 13 + values: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> lib/src/economy/stock_chart.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | values: Vec>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 13 - values: Vec>, [INFO] [stdout] 13 + values: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> lib/src/geography/map.rs:117:19 [INFO] [stdout] | [INFO] [stdout] 117 | for &(x, y, edge) in stations {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> lib/src/geography/map.rs:117:22 [INFO] [stdout] | [INFO] [stdout] 117 | for &(x, y, edge) in stations {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `edge` [INFO] [stdout] --> lib/src/geography/map.rs:117:25 [INFO] [stdout] | [INFO] [stdout] 117 | for &(x, y, edge) in stations {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_edge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> lib/src/geography/map.rs:117:19 [INFO] [stdout] | [INFO] [stdout] 117 | for &(x, y, edge) in stations {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> lib/src/geography/map.rs:117:22 [INFO] [stdout] | [INFO] [stdout] 117 | for &(x, y, edge) in stations {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `edge` [INFO] [stdout] --> lib/src/geography/map.rs:117:25 [INFO] [stdout] | [INFO] [stdout] 117 | for &(x, y, edge) in stations {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_edge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `capital`, `stations_left`, `trains`, `priv_coms`, and `operated` are never read [INFO] [stdout] --> lib/src/economy/pub_com.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct PubCom { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 7 | id: PubComId, [INFO] [stdout] | ^^ [INFO] [stdout] 8 | capital: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | stations_left: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 10 | trains: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | priv_coms: HashSet, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 12 | operated: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PubCom` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tile_set` and `train_set` are never read [INFO] [stdout] --> lib/src/game.rs:21:16 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Game { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | pub(crate) tile_set: TileSet, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 22 | pub(crate) train_set: TrainSet, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Game` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `terrain` and `private` are never read [INFO] [stdout] --> lib/src/geography/hex.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Hex { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 12 | terrain: TerrainId, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 13 | content: Option, [INFO] [stdout] 14 | private: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Hex` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width` and `height` are never read [INFO] [stdout] --> lib/src/geography/map.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Map { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 26 | width: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 27 | height: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Map` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `value` and `name` are never read [INFO] [stdout] --> lib/src/geography/stops.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct City { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 28 | value: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `City` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `values` and `name` are never read [INFO] [stdout] --> lib/src/geography/stops.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct Location { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 69 | values: (u32, u32, u32, u32), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 70 | station: Option, [INFO] [stdout] 71 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Location` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `color` and `upgrades` are never read [INFO] [stdout] --> lib/src/geography/tile.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Tile { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 15 | rails: Vec, [INFO] [stdout] 16 | color: ColorId, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 17 | upgrades: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tile` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tiles` is never read [INFO] [stdout] --> lib/src/geography/tile_set.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct TileSet { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 16 | tiles: HashMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TileSet` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `track_lays` is never read [INFO] [stdout] --> lib/src/geography/track_lay_map.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct TrackLayMap { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 6 | track_lays: HashMap<(usize, usize), Vec<(i32, u32)>>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrackLayMap` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `insert` is never used [INFO] [stdout] --> lib/src/geography/track_lay_map.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 9 | impl TrackLayMap { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 16 | pub(crate) fn insert(&mut self, key: (usize, usize), value: (i32, u32)) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `phase` and `operating_rounds_left` are never read [INFO] [stdout] --> lib/src/rounds/operating_round.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct OperatingRound { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 8 | phase: OperatingPhaseId, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | operating_rounds_left: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OperatingRound` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `trains` is never read [INFO] [stdout] --> lib/src/train_set.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct TrainSet { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 16 | trains: HashSet<(TrainId, i32)>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrainSet` has derived impls for the traits `Debug` and `Clone`, but these are 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] --> lib/src/game.rs:40:20 [INFO] [stdout] | [INFO] [stdout] 35 | let mut players = Vec::with_capacity(player_count); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 40 | round: RoundId::PrivAuction(PrivAuction::new(player_count)), [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] --> lib/src/game.rs:46:23 [INFO] [stdout] | [INFO] [stdout] 35 | let mut players = Vec::with_capacity(player_count); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 46 | pub_coms: HashMap::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] --> lib/src/game.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 35 | let mut players = Vec::with_capacity(player_count); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 47 | map: Map::from_toml(&read_toml_file("map")), [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] --> lib/src/game.rs:48:23 [INFO] [stdout] | [INFO] [stdout] 35 | let mut players = Vec::with_capacity(player_count); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 48 | tile_set: TileSet::from_toml(&read_toml_file("tile_set")), [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] --> lib/src/game.rs:49:24 [INFO] [stdout] | [INFO] [stdout] 35 | let mut players = Vec::with_capacity(player_count); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 49 | train_set: TrainSet::from_toml(&read_toml_file("train_set")), [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] --> lib/src/game.rs:52:18 [INFO] [stdout] | [INFO] [stdout] 35 | let mut players = Vec::with_capacity(player_count); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 52 | ipo: Shares::ipo_shares(), [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] --> lib/src/game.rs:53:19 [INFO] [stdout] | [INFO] [stdout] 35 | let mut players = Vec::with_capacity(player_count); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 53 | pool: Shares::empty_shares(), [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: panic message is not a string literal [INFO] [stdout] --> lib/src/game.rs:75:20 [INFO] [stdout] | [INFO] [stdout] 75 | panic!(ACTION_FORBIDDEN); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 75 | panic!("{}", ACTION_FORBIDDEN); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> lib/src/game.rs:231:20 [INFO] [stdout] | [INFO] [stdout] 231 | panic!(ACTION_FORBIDDEN); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 231 | panic!("{}", ACTION_FORBIDDEN); [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] --> lib/src/geography/hex.rs:43:22 [INFO] [stdout] | [INFO] [stdout] 28 | let tile = toml [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 32 | let cities = toml.get("cities").map(|cs| { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 43 | content: tile.or(cities), [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] --> lib/src/geography/hex.rs:31:36 [INFO] [stdout] | [INFO] [stdout] 31 | .map(|_| Content::Tile(Tile::from_toml(&toml))); [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] --> lib/src/geography/rail.rs:31:19 [INFO] [stdout] | [INFO] [stdout] 25 | let city = toml.get("city").map(|c| Stop::City(City::from_toml(c))); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | let location = toml [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 31 | stop: city.or(location), [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] --> lib/src/geography/rail.rs:25:56 [INFO] [stdout] | [INFO] [stdout] 25 | let city = toml.get("city").map(|c| Stop::City(City::from_toml(c))); [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: panic message is not a string literal [INFO] [stdout] --> lib/src/geography/rail.rs:46:20 [INFO] [stdout] | [INFO] [stdout] 46 | panic!(ACTION_FORBIDDEN); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 46 | panic!("{}", ACTION_FORBIDDEN); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> lib/src/geography/stops.rs:61:20 [INFO] [stdout] | [INFO] [stdout] 61 | panic!(ACTION_FORBIDDEN); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 61 | panic!("{}", ACTION_FORBIDDEN); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> lib/src/geography/stops.rs:82:20 [INFO] [stdout] | [INFO] [stdout] 82 | panic!(VALUES_LENERROR); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 82 | panic!("{}", VALUES_LENERROR); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> lib/src/geography/stops.rs:106:20 [INFO] [stdout] | [INFO] [stdout] 106 | panic!(ACTION_FORBIDDEN); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 106 | panic!("{}", ACTION_FORBIDDEN); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> lib/src/rounds/priv_auction.rs:186:20 [INFO] [stdout] | [INFO] [stdout] 186 | panic!(ACTION_FORBIDDEN); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 186 | panic!("{}", ACTION_FORBIDDEN); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> lib/src/rounds/priv_auction.rs:212:20 [INFO] [stdout] | [INFO] [stdout] 212 | panic!(ACTION_FORBIDDEN); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 212 | panic!("{}", ACTION_FORBIDDEN); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> lib/src/rounds/stock_round.rs:68:20 [INFO] [stdout] | [INFO] [stdout] 68 | panic!(ACTION_FORBIDDEN); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 68 | panic!("{}", ACTION_FORBIDDEN); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> lib/src/rounds/stock_round.rs:111:20 [INFO] [stdout] | [INFO] [stdout] 111 | panic!(ACTION_FORBIDDEN); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 111 | panic!("{}", ACTION_FORBIDDEN); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> lib/src/rounds/stock_round.rs:145:20 [INFO] [stdout] | [INFO] [stdout] 145 | panic!(ACTION_FORBIDDEN); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 145 | panic!("{}", ACTION_FORBIDDEN); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> lib/src/rounds/stock_round.rs:176:20 [INFO] [stdout] | [INFO] [stdout] 176 | panic!(ACTION_FORBIDDEN); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 176 | panic!("{}", ACTION_FORBIDDEN); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> lib/src/rounds/stock_round.rs:211:20 [INFO] [stdout] | [INFO] [stdout] 211 | panic!(ACTION_FORBIDDEN); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 211 | panic!("{}", ACTION_FORBIDDEN); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `capital`, `stations_left`, `trains`, `priv_coms`, and `operated` are never read [INFO] [stdout] --> lib/src/economy/pub_com.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct PubCom { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 7 | id: PubComId, [INFO] [stdout] | ^^ [INFO] [stdout] 8 | capital: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | stations_left: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 10 | trains: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | priv_coms: HashSet, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 12 | operated: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PubCom` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tile_set` and `train_set` are never read [INFO] [stdout] --> lib/src/game.rs:21:16 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Game { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | pub(crate) tile_set: TileSet, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 22 | pub(crate) train_set: TrainSet, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Game` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `terrain` and `private` are never read [INFO] [stdout] --> lib/src/geography/hex.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Hex { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 12 | terrain: TerrainId, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 13 | content: Option, [INFO] [stdout] 14 | private: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Hex` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width` and `height` are never read [INFO] [stdout] --> lib/src/geography/map.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Map { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 26 | width: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 27 | height: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Map` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `value` and `name` are never read [INFO] [stdout] --> lib/src/geography/stops.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct City { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 28 | value: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `City` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `values` and `name` are never read [INFO] [stdout] --> lib/src/geography/stops.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct Location { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 69 | values: (u32, u32, u32, u32), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 70 | station: Option, [INFO] [stdout] 71 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Location` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `color` and `upgrades` are never read [INFO] [stdout] --> lib/src/geography/tile.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Tile { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 15 | rails: Vec, [INFO] [stdout] 16 | color: ColorId, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 17 | upgrades: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tile` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tiles` is never read [INFO] [stdout] --> lib/src/geography/tile_set.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct TileSet { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 16 | tiles: HashMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TileSet` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `track_lays` is never read [INFO] [stdout] --> lib/src/geography/track_lay_map.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct TrackLayMap { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 6 | track_lays: HashMap<(usize, usize), Vec<(i32, u32)>>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrackLayMap` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `insert` is never used [INFO] [stdout] --> lib/src/geography/track_lay_map.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 9 | impl TrackLayMap { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 16 | pub(crate) fn insert(&mut self, key: (usize, usize), value: (i32, u32)) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `phase` and `operating_rounds_left` are never read [INFO] [stdout] --> lib/src/rounds/operating_round.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct OperatingRound { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 8 | phase: OperatingPhaseId, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | operating_rounds_left: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OperatingRound` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `trains` is never read [INFO] [stdout] --> lib/src/train_set.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct TrainSet { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 16 | trains: HashSet<(TrainId, i32)>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrainSet` has derived impls for the traits `Debug` and `Clone`, but these are 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] --> lib/src/game.rs:40:20 [INFO] [stdout] | [INFO] [stdout] 35 | let mut players = Vec::with_capacity(player_count); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 40 | round: RoundId::PrivAuction(PrivAuction::new(player_count)), [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] --> lib/src/game.rs:46:23 [INFO] [stdout] | [INFO] [stdout] 35 | let mut players = Vec::with_capacity(player_count); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 46 | pub_coms: HashMap::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] --> lib/src/game.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 35 | let mut players = Vec::with_capacity(player_count); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 47 | map: Map::from_toml(&read_toml_file("map")), [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] --> lib/src/game.rs:48:23 [INFO] [stdout] | [INFO] [stdout] 35 | let mut players = Vec::with_capacity(player_count); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 48 | tile_set: TileSet::from_toml(&read_toml_file("tile_set")), [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] --> lib/src/game.rs:49:24 [INFO] [stdout] | [INFO] [stdout] 35 | let mut players = Vec::with_capacity(player_count); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 49 | train_set: TrainSet::from_toml(&read_toml_file("train_set")), [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] --> lib/src/game.rs:52:18 [INFO] [stdout] | [INFO] [stdout] 35 | let mut players = Vec::with_capacity(player_count); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 52 | ipo: Shares::ipo_shares(), [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] --> lib/src/game.rs:53:19 [INFO] [stdout] | [INFO] [stdout] 35 | let mut players = Vec::with_capacity(player_count); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 53 | pool: Shares::empty_shares(), [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: panic message is not a string literal [INFO] [stdout] --> lib/src/game.rs:75:20 [INFO] [stdout] | [INFO] [stdout] 75 | panic!(ACTION_FORBIDDEN); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 75 | panic!("{}", ACTION_FORBIDDEN); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> lib/src/game.rs:231:20 [INFO] [stdout] | [INFO] [stdout] 231 | panic!(ACTION_FORBIDDEN); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 231 | panic!("{}", ACTION_FORBIDDEN); [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] --> lib/src/geography/hex.rs:43:22 [INFO] [stdout] | [INFO] [stdout] 28 | let tile = toml [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 32 | let cities = toml.get("cities").map(|cs| { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 43 | content: tile.or(cities), [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] --> lib/src/geography/hex.rs:31:36 [INFO] [stdout] | [INFO] [stdout] 31 | .map(|_| Content::Tile(Tile::from_toml(&toml))); [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] --> lib/src/geography/rail.rs:31:19 [INFO] [stdout] | [INFO] [stdout] 25 | let city = toml.get("city").map(|c| Stop::City(City::from_toml(c))); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | let location = toml [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 31 | stop: city.or(location), [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] --> lib/src/geography/rail.rs:25:56 [INFO] [stdout] | [INFO] [stdout] 25 | let city = toml.get("city").map(|c| Stop::City(City::from_toml(c))); [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: panic message is not a string literal [INFO] [stdout] --> lib/src/geography/rail.rs:46:20 [INFO] [stdout] | [INFO] [stdout] 46 | panic!(ACTION_FORBIDDEN); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 46 | panic!("{}", ACTION_FORBIDDEN); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> lib/src/geography/stops.rs:61:20 [INFO] [stdout] | [INFO] [stdout] 61 | panic!(ACTION_FORBIDDEN); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 61 | panic!("{}", ACTION_FORBIDDEN); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> lib/src/geography/stops.rs:82:20 [INFO] [stdout] | [INFO] [stdout] 82 | panic!(VALUES_LENERROR); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 82 | panic!("{}", VALUES_LENERROR); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> lib/src/geography/stops.rs:106:20 [INFO] [stdout] | [INFO] [stdout] 106 | panic!(ACTION_FORBIDDEN); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 106 | panic!("{}", ACTION_FORBIDDEN); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> lib/src/rounds/priv_auction.rs:186:20 [INFO] [stdout] | [INFO] [stdout] 186 | panic!(ACTION_FORBIDDEN); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 186 | panic!("{}", ACTION_FORBIDDEN); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> lib/src/rounds/priv_auction.rs:212:20 [INFO] [stdout] | [INFO] [stdout] 212 | panic!(ACTION_FORBIDDEN); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 212 | panic!("{}", ACTION_FORBIDDEN); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> lib/src/rounds/stock_round.rs:68:20 [INFO] [stdout] | [INFO] [stdout] 68 | panic!(ACTION_FORBIDDEN); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 68 | panic!("{}", ACTION_FORBIDDEN); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> lib/src/rounds/stock_round.rs:111:20 [INFO] [stdout] | [INFO] [stdout] 111 | panic!(ACTION_FORBIDDEN); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 111 | panic!("{}", ACTION_FORBIDDEN); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> lib/src/rounds/stock_round.rs:145:20 [INFO] [stdout] | [INFO] [stdout] 145 | panic!(ACTION_FORBIDDEN); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 145 | panic!("{}", ACTION_FORBIDDEN); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> lib/src/rounds/stock_round.rs:176:20 [INFO] [stdout] | [INFO] [stdout] 176 | panic!(ACTION_FORBIDDEN); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 176 | panic!("{}", ACTION_FORBIDDEN); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> lib/src/rounds/stock_round.rs:211:20 [INFO] [stdout] | [INFO] [stdout] 211 | panic!(ACTION_FORBIDDEN); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 211 | panic!("{}", ACTION_FORBIDDEN); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lib` (lib test) due to 12 previous errors; 29 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 11 previous errors; 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lib` (lib) due to 12 previous errors; 29 warnings emitted [INFO] running `Command { std: "docker" "inspect" "35869e5e53a4292da05ee63c05cd32041e83f42e998706e06a43393db87af6ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35869e5e53a4292da05ee63c05cd32041e83f42e998706e06a43393db87af6ee", kill_on_drop: false }` [INFO] [stdout] 35869e5e53a4292da05ee63c05cd32041e83f42e998706e06a43393db87af6ee