[INFO] fetching crate amaze 0.1.1... [INFO] testing amaze-0.1.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate amaze 0.1.1 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate amaze 0.1.1 [INFO] finished tweaking crates.io crate amaze 0.1.1 [INFO] tweaked toml for crates.io crate amaze 0.1.1 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate amaze 0.1.1 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 15 packages to latest compatible versions [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e96e9cb7fe449133f96d1a7c8f94ee76990fc728017f16d7b5180a51b6409c5b [INFO] running `Command { std: "docker" "start" "-a" "e96e9cb7fe449133f96d1a7c8f94ee76990fc728017f16d7b5180a51b6409c5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e96e9cb7fe449133f96d1a7c8f94ee76990fc728017f16d7b5180a51b6409c5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e96e9cb7fe449133f96d1a7c8f94ee76990fc728017f16d7b5180a51b6409c5b", kill_on_drop: false }` [INFO] [stdout] e96e9cb7fe449133f96d1a7c8f94ee76990fc728017f16d7b5180a51b6409c5b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] a7169fae2814c0c8521159a3856b4c1695b1c7d59b50289413b5ca285eafc8fc [INFO] running `Command { std: "docker" "start" "-a" "a7169fae2814c0c8521159a3856b4c1695b1c7d59b50289413b5ca285eafc8fc", kill_on_drop: false }` [INFO] [stderr] Compiling amaze v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `index`, `north`, `south`, `east`, `west`, and `tag` are never read [INFO] [stdout] --> src/room4.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Room4 { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 13 | index: RoomIndex, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 14 | north: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | south: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 16 | east: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 17 | west: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | pub tag: Tag, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Room4` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/room4.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 21 | impl Room4 { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 22 | pub(crate) fn new_empty(index: RoomIndex, tag: Tag) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn set_room(&mut self, direction: Direction4, room: Option) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn set_north>>(&mut self, room: R) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn set_south>>(&mut self, room: R) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn set_east>>(&mut self, room: R) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn set_west>>(&mut self, room: R) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn north(&self) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn east(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn south(&self) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn west(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn has_neighbor(&mut self, direction: Direction4) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn has_neighbors(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn get_neighbor(&mut self, direction: Direction4) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn doors(&self) -> Door4 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn walls(&self) -> Wall4 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn index(&self) -> RoomIndex { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ensure_index_matches_and_apply` is never used [INFO] [stdout] --> src/room4.rs:121:4 [INFO] [stdout] | [INFO] [stdout] 121 | fn ensure_index_matches_and_apply( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `EnsureIndexConsistency` is never used [INFO] [stdout] --> src/room4_list.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) trait EnsureIndexConsistency { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `push_default`, `push_new`, `len`, `is_empty`, `get`, and `get_mut` are never used [INFO] [stdout] --> src/room4_list.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Room4List { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn push_default(&mut self, tag: Tag) -> RoomIndex { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn push_new(&mut self, tag: Tag, f: F) -> RoomIndex [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn get(&self, index: RoomIndex) -> Option<&Room4> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn get_mut(&mut self, index: RoomIndex) -> Option<&mut Room4> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from` is never used [INFO] [stdout] --> src/room4_list.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 115 | impl RoomIndex { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 116 | pub fn from(value: usize) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_mut` is never used [INFO] [stdout] --> src/visit_map_2d.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl VisitMap2D { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn get_mut(&mut self, coords: GridCoord2D) -> Option<&mut bool> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.50s [INFO] running `Command { std: "docker" "inspect" "a7169fae2814c0c8521159a3856b4c1695b1c7d59b50289413b5ca285eafc8fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7169fae2814c0c8521159a3856b4c1695b1c7d59b50289413b5ca285eafc8fc", kill_on_drop: false }` [INFO] [stdout] a7169fae2814c0c8521159a3856b4c1695b1c7d59b50289413b5ca285eafc8fc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 32db5f452e9b961da18f661016b4581303041e911428530cc1e69c21827d727e [INFO] running `Command { std: "docker" "start" "-a" "32db5f452e9b961da18f661016b4581303041e911428530cc1e69c21827d727e", kill_on_drop: false }` [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stdout] warning: fields `index`, `north`, `south`, `east`, `west`, and `tag` are never read [INFO] [stdout] --> src/room4.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Room4 { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 13 | index: RoomIndex, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 14 | north: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | south: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 16 | east: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 17 | west: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | pub tag: Tag, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Room4` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/room4.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 21 | impl Room4 { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 22 | pub(crate) fn new_empty(index: RoomIndex, tag: Tag) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn set_room(&mut self, direction: Direction4, room: Option) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn set_north>>(&mut self, room: R) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn set_south>>(&mut self, room: R) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn set_east>>(&mut self, room: R) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn set_west>>(&mut self, room: R) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn north(&self) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn east(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn south(&self) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn west(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn has_neighbor(&mut self, direction: Direction4) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn has_neighbors(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn get_neighbor(&mut self, direction: Direction4) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn doors(&self) -> Door4 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn walls(&self) -> Wall4 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn index(&self) -> RoomIndex { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ensure_index_matches_and_apply` is never used [INFO] [stdout] --> src/room4.rs:121:4 [INFO] [stdout] | [INFO] [stdout] 121 | fn ensure_index_matches_and_apply( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `EnsureIndexConsistency` is never used [INFO] [stdout] --> src/room4_list.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) trait EnsureIndexConsistency { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `push_default`, `push_new`, `len`, `is_empty`, `get`, and `get_mut` are never used [INFO] [stdout] --> src/room4_list.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Room4List { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn push_default(&mut self, tag: Tag) -> RoomIndex { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn push_new(&mut self, tag: Tag, f: F) -> RoomIndex [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn get(&self, index: RoomIndex) -> Option<&Room4> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn get_mut(&mut self, index: RoomIndex) -> Option<&mut Room4> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from` is never used [INFO] [stdout] --> src/room4_list.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 115 | impl RoomIndex { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 116 | pub fn from(value: usize) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_mut` is never used [INFO] [stdout] --> src/visit_map_2d.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl VisitMap2D { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn get_mut(&mut self, coords: GridCoord2D) -> Option<&mut bool> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling amaze v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: methods `set_room`, `has_neighbor`, and `get_neighbor` are never used [INFO] [stdout] --> src/room4.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Room4 { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn set_room(&mut self, direction: Direction4, room: Option) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn has_neighbor(&mut self, direction: Direction4) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn get_neighbor(&mut self, direction: Direction4) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `len` and `is_empty` are never used [INFO] [stdout] --> src/room4_list.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Room4List { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_mut` is never used [INFO] [stdout] --> src/visit_map_2d.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl VisitMap2D { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn get_mut(&mut self, coords: GridCoord2D) -> Option<&mut bool> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.65s [INFO] running `Command { std: "docker" "inspect" "32db5f452e9b961da18f661016b4581303041e911428530cc1e69c21827d727e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32db5f452e9b961da18f661016b4581303041e911428530cc1e69c21827d727e", kill_on_drop: false }` [INFO] [stdout] 32db5f452e9b961da18f661016b4581303041e911428530cc1e69c21827d727e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 3d474f362e9577100becc40531dc95c6e33f0a8a0a56bec89333d94aede99f37 [INFO] running `Command { std: "docker" "start" "-a" "3d474f362e9577100becc40531dc95c6e33f0a8a0a56bec89333d94aede99f37", kill_on_drop: false }` [INFO] [stderr] warning: fields `index`, `north`, `south`, `east`, `west`, and `tag` are never read [INFO] [stderr] --> src/room4.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 12 | pub struct Room4 { [INFO] [stderr] | ----- fields in this struct [INFO] [stderr] 13 | index: RoomIndex, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 14 | north: Option, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 15 | south: Option, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 16 | east: Option, [INFO] [stderr] | ^^^^ [INFO] [stderr] 17 | west: Option, [INFO] [stderr] | ^^^^ [INFO] [stderr] 18 | pub tag: Tag, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Room4` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: multiple associated items are never used [INFO] [stderr] --> src/room4.rs:22:19 [INFO] [stderr] | [INFO] [stderr] 21 | impl Room4 { [INFO] [stderr] | -------------------- associated items in this implementation [INFO] [stderr] 22 | pub(crate) fn new_empty(index: RoomIndex, tag: Tag) -> Self { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 33 | pub fn set_room(&mut self, direction: Direction4, room: Option) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 43 | pub fn set_north>>(&mut self, room: R) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 47 | pub fn set_south>>(&mut self, room: R) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 51 | pub fn set_east>>(&mut self, room: R) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 55 | pub fn set_west>>(&mut self, room: R) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 59 | pub fn north(&self) -> Option { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 63 | pub fn east(&self) -> Option { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 67 | pub fn south(&self) -> Option { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 71 | pub fn west(&self) -> Option { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 75 | pub fn has_neighbor(&mut self, direction: Direction4) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 79 | pub fn has_neighbors(&mut self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 83 | pub fn get_neighbor(&mut self, direction: Direction4) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 93 | pub fn doors(&self) -> Door4 { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 111 | pub fn walls(&self) -> Wall4 { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 116 | pub fn index(&self) -> RoomIndex { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `ensure_index_matches_and_apply` is never used [INFO] [stderr] --> src/room4.rs:121:4 [INFO] [stderr] | [INFO] [stderr] 121 | fn ensure_index_matches_and_apply( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `EnsureIndexConsistency` is never used [INFO] [stderr] --> src/room4_list.rs:15:18 [INFO] [stderr] | [INFO] [stderr] 15 | pub(crate) trait EnsureIndexConsistency { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `push_default`, `push_new`, `len`, `is_empty`, `get`, and `get_mut` are never used [INFO] [stderr] --> src/room4_list.rs:28:12 [INFO] [stderr] | [INFO] [stderr] 20 | impl Room4List { [INFO] [stderr] | ------------------------ methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 28 | pub fn push_default(&mut self, tag: Tag) -> RoomIndex { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 43 | pub fn push_new(&mut self, tag: Tag, f: F) -> RoomIndex [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 65 | pub fn len(&self) -> usize { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 70 | pub fn is_empty(&self) -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 74 | pub fn get(&self, index: RoomIndex) -> Option<&Room4> { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 79 | pub fn get_mut(&mut self, index: RoomIndex) -> Option<&mut Room4> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `from` is never used [INFO] [stderr] --> src/room4_list.rs:116:12 [INFO] [stderr] | [INFO] [stderr] 115 | impl RoomIndex { [INFO] [stderr] | -------------- associated function in this implementation [INFO] [stderr] 116 | pub fn from(value: usize) -> Option { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `get_mut` is never used [INFO] [stderr] --> src/visit_map_2d.rs:34:12 [INFO] [stderr] | [INFO] [stderr] 11 | impl VisitMap2D { [INFO] [stderr] | --------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 34 | pub fn get_mut(&mut self, coords: GridCoord2D) -> Option<&mut bool> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `set_room`, `has_neighbor`, and `get_neighbor` are never used [INFO] [stderr] --> src/room4.rs:33:12 [INFO] [stderr] | [INFO] [stderr] 21 | impl Room4 { [INFO] [stderr] | -------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 33 | pub fn set_room(&mut self, direction: Direction4, room: Option) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 75 | pub fn has_neighbor(&mut self, direction: Direction4) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 83 | pub fn get_neighbor(&mut self, direction: Direction4) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: methods `len` and `is_empty` are never used [INFO] [stderr] --> src/room4_list.rs:65:12 [INFO] [stderr] | [INFO] [stderr] 20 | impl Room4List { [INFO] [stderr] | ------------------------ methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 65 | pub fn len(&self) -> usize { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 70 | pub fn is_empty(&self) -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `amaze` (lib) generated 7 warnings [INFO] [stderr] warning: `amaze` (lib test) generated 3 warnings (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/amaze-594b488c48929f14) [INFO] [stdout] [INFO] [stdout] running 31 tests [INFO] [stdout] test direction4::tests::add_assign_combines_directions ... ok [INFO] [stdout] test direction4::tests::add_combines_directions ... ok [INFO] [stdout] test direction4::tests::all_contains_all_directions ... ok [INFO] [stdout] test direction4::tests::any_direction_is_not_all ... ok [INFO] [stdout] test direction4::tests::any_direction_is_not_none ... ok [INFO] [stdout] test direction4::tests::debug_lists_directions ... ok [INFO] [stdout] test direction4::tests::default_is_none ... ok [INFO] [stdout] test direction4::tests::into_iter_for_all_enumerates_all ... ok [INFO] [stdout] test direction4::tests::include_combines_directions ... ok [INFO] [stdout] test direction4::tests::into_iter_for_combination_enumerates_contained ... ok [INFO] [stdout] test direction4::tests::is_trivial_work ... ok [INFO] [stdout] test direction4::tests::not_all_is_none ... ok [INFO] [stdout] test direction4::tests::not_inverts_selection ... ok [INFO] [stdout] test direction4::tests::remove_removes_directions ... ok [INFO] [stdout] test direction4::tests::sub_assign_removes_directions ... ok [INFO] [stdout] test direction4::tests::sub_removes_directions ... ok [INFO] [stdout] test grid_coord_2d::tests::linearize_coords_correctly ... ok [INFO] [stdout] test generators::recursive_backtracker4::tests::it_works ... ok [INFO] [stdout] test renderers::unicode_renderer::tests::heavy_works ... ok [INFO] [stdout] test room4::tests::empty_room_has_no_neighbors ... ok [INFO] [stdout] test renderers::unicode_renderer::tests::hex_works ... ok [INFO] [stdout] test renderers::unicode_renderer::tests::double_works ... ok [INFO] [stdout] test room4::tests::it_works ... ok [INFO] [stdout] test renderers::unicode_renderer::tests::thin_works ... ok [INFO] [stdout] test room4_list::tests::get_mut_returns_some ... ok [INFO] [stdout] test room4_list::tests::get_returns_some ... ok [INFO] [stdout] test direction4::tests::all_directions_is_all ... ok [INFO] [stdout] test room4_list::tests::get_with_invalid_index_returns_none ... ok [INFO] [stdout] test room4_list::tests::index_mut_returns_some ... ok [INFO] [stdout] test room4_list::tests::index_returns_some ... ok [INFO] [stdout] test grid_coord_2d::tests::linearize_coords_out_of_bounds_panics - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 31 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3d474f362e9577100becc40531dc95c6e33f0a8a0a56bec89333d94aede99f37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d474f362e9577100becc40531dc95c6e33f0a8a0a56bec89333d94aede99f37", kill_on_drop: false }` [INFO] [stdout] 3d474f362e9577100becc40531dc95c6e33f0a8a0a56bec89333d94aede99f37