[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] building asifZaman0362/monopoly against try#8b8eff55bd72abbb57167bc42222a7f91d41cb0d for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FasifZaman0362%2Fmonopoly" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/asifZaman0362/monopoly on toolchain 8b8eff55bd72abbb57167bc42222a7f91d41cb0d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "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-6-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" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 83cc8d2840e9ee77dc01c6b4e81f7966d6d9574021c58adb5a9111e6fd567f3b [INFO] running `Command { std: "docker" "start" "-a" "83cc8d2840e9ee77dc01c6b4e81f7966d6d9574021c58adb5a9111e6fd567f3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "83cc8d2840e9ee77dc01c6b4e81f7966d6d9574021c58adb5a9111e6fd567f3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83cc8d2840e9ee77dc01c6b4e81f7966d6d9574021c58adb5a9111e6fd567f3b", kill_on_drop: false }` [INFO] [stdout] 83cc8d2840e9ee77dc01c6b4e81f7966d6d9574021c58adb5a9111e6fd567f3b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 834355d9afa97388ed034cacd6cb7622da7fd13c3647634522611770b055bf58 [INFO] running `Command { std: "docker" "start" "-a" "834355d9afa97388ed034cacd6cb7622da7fd13c3647634522611770b055bf58", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling zstd-safe v7.1.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling local-waker v0.1.4 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling tinyvec v1.6.1 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling cc v1.0.104 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling tokio v1.38.0 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling bytestring v1.3.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling brotli-decompressor v4.0.1 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling zerocopy v0.7.34 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling zstd-sys v2.0.11+zstd.1.5.6 [INFO] [stderr] Compiling brotli v6.0.0 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.13 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling actix-server v2.4.0 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling actix_derive v0.6.1 [INFO] [stderr] Compiling actix v0.13.5 [INFO] [stderr] Compiling zstd v0.13.1 [INFO] [stderr] Compiling actix-http v3.8.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling actix-web v4.8.0 [INFO] [stderr] Compiling actix-web-actors v4.3.0 [INFO] [stderr] Compiling actix-cors v0.7.0 [INFO] [stderr] Compiling 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: 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: enum `GoPassAction` is never used [INFO] [stdout] --> src/rng.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum GoPassAction { [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: enum `Target` is never used [INFO] [stdout] --> src/rng.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum Target { [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: enum `Payee` is never used [INFO] [stdout] --> src/rng.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | pub enum Payee { [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: enum `Amount` is never used [INFO] [stdout] --> src/rng.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | pub enum Amount { [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: enum `RandomCard` is never used [INFO] [stdout] --> src/rng.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | pub enum RandomCard { [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 49.38s [INFO] running `Command { std: "docker" "inspect" "834355d9afa97388ed034cacd6cb7622da7fd13c3647634522611770b055bf58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "834355d9afa97388ed034cacd6cb7622da7fd13c3647634522611770b055bf58", kill_on_drop: false }` [INFO] [stdout] 834355d9afa97388ed034cacd6cb7622da7fd13c3647634522611770b055bf58 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 41042b4a41aa31ec685bacb5a5ab5e19a7b220d7fe1266f3e8f39edd6b56e3a3 [INFO] running `Command { std: "docker" "start" "-a" "41042b4a41aa31ec685bacb5a5ab5e19a7b220d7fe1266f3e8f39edd6b56e3a3", kill_on_drop: false }` [INFO] [stderr] Compiling 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: 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: enum `GoPassAction` is never used [INFO] [stdout] --> src/rng.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum GoPassAction { [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: enum `Target` is never used [INFO] [stdout] --> src/rng.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum Target { [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: enum `Payee` is never used [INFO] [stdout] --> src/rng.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | pub enum Payee { [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: enum `Amount` is never used [INFO] [stdout] --> src/rng.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | pub enum Amount { [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: enum `RandomCard` is never used [INFO] [stdout] --> src/rng.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | pub enum RandomCard { [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.00s [INFO] running `Command { std: "docker" "inspect" "41042b4a41aa31ec685bacb5a5ab5e19a7b220d7fe1266f3e8f39edd6b56e3a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41042b4a41aa31ec685bacb5a5ab5e19a7b220d7fe1266f3e8f39edd6b56e3a3", kill_on_drop: false }` [INFO] [stdout] 41042b4a41aa31ec685bacb5a5ab5e19a7b220d7fe1266f3e8f39edd6b56e3a3