[INFO] fetching crate z-buffer-game 0.1.0... [INFO] testing z-buffer-game-0.1.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate z-buffer-game 0.1.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate z-buffer-game 0.1.0 [INFO] finished tweaking crates.io crate z-buffer-game 0.1.0 [INFO] tweaked toml for crates.io crate z-buffer-game 0.1.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate z-buffer-game 0.1.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 134 packages to latest compatible versions [INFO] [stderr] Adding atty v0.2.11 (available: v0.2.14) [INFO] [stderr] Adding dirs v1.0.5 (available: v6.0.0) [INFO] [stderr] Adding shred v0.7.2 (available: v0.16.1) [INFO] [stderr] Adding shred-derive v0.5.1 (available: v0.7.0) [INFO] [stderr] Adding specs v0.14.3 (available: v0.20.0) [INFO] [stderr] Adding stderrlog v0.4.3 (available: v0.6.0) [INFO] [stderr] Adding tcod v0.13.0 (available: v0.15.0) [INFO] [stderr] Adding thread_local v0.3.4 (available: v0.3.6) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bitflags v0.1.1 [INFO] [stderr] Downloaded redox_users v0.3.5 [INFO] [stderr] Downloaded rust-argon2 v0.8.3 [INFO] [stderr] Downloaded tcod v0.13.0 [INFO] [stderr] Downloaded lazy_static v0.1.16 [INFO] [stderr] Downloaded bluenoisers v1.1.1 [INFO] [stderr] Downloaded tcod-sys v5.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2a06c977fe701893ce59cb19a8706f855989e7008914e411b63b33857499decd [INFO] running `Command { std: "docker" "start" "-a" "2a06c977fe701893ce59cb19a8706f855989e7008914e411b63b33857499decd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2a06c977fe701893ce59cb19a8706f855989e7008914e411b63b33857499decd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a06c977fe701893ce59cb19a8706f855989e7008914e411b63b33857499decd", kill_on_drop: false }` [INFO] [stdout] 2a06c977fe701893ce59cb19a8706f855989e7008914e411b63b33857499decd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 771fddab2a3a6658fc0ec356c9cfaf566438bc1a067b8bcf952d2f233d7d94c8 [INFO] running `Command { std: "docker" "start" "-a" "771fddab2a3a6658fc0ec356c9cfaf566438bc1a067b8bcf952d2f233d7d94c8", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling owning_ref v0.4.1 [INFO] [stderr] Compiling crossbeam-utils v0.5.0 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling tcod-sys v5.0.1 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling atom v0.3.6 [INFO] [stderr] Compiling mopa v0.2.2 [INFO] [stderr] Compiling thread_local v0.3.4 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling nonzero_signed v1.0.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling bitflags v0.1.1 [INFO] [stderr] Compiling lazy_static v0.1.16 [INFO] [stderr] Compiling hibitset v0.5.4 [INFO] [stderr] Compiling tuple_utils v0.2.0 [INFO] [stderr] Compiling shrev v1.1.3 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling crossbeam-epoch v0.6.1 [INFO] [stderr] Compiling crossbeam-epoch v0.5.2 [INFO] [stderr] Compiling shred v0.7.2 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling bluenoisers v1.1.1 [INFO] [stderr] Compiling crossbeam-deque v0.5.2 [INFO] [stderr] Compiling parking_lot v0.6.4 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling crossbeam-channel v0.2.6 [INFO] [stderr] Compiling crossbeam v0.4.1 [INFO] [stderr] Compiling specs-derive v0.4.1 [INFO] [stderr] Compiling stderrlog v0.4.3 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling derivative v1.0.4 [INFO] [stderr] Compiling shred-derive v0.5.1 [INFO] [stderr] Compiling specs v0.14.3 [INFO] [stderr] Compiling tcod v0.13.0 [INFO] [stderr] Compiling z-buffer-game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/data/object.rs:12:33 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct UnrecognizedTileName(String); [INFO] [stdout] | -------------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `UnrecognizedTileName` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `intersect` and `center` are never used [INFO] [stdout] --> src/data/rectangle.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Rectangle { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn intersect(self, other: Rectangle) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | fn center(self) -> Location { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `dt_millis` is never used [INFO] [stdout] --> src/data/time.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Time { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn dt_millis(self) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `size` is never read [INFO] [stdout] --> src/game/components.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Tree { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 9 | pub size: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tree` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `z_index` is never read [INFO] [stdout] --> src/game/components.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Renderable { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 33 | pub object: VisibleObject, [INFO] [stdout] 34 | pub z_index: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Renderable` 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 `shift`, `alt`, and `ctrl` are never read [INFO] [stdout] --> src/input.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Modifiers { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 10 | pub shift: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | pub alt: bool, [INFO] [stdout] | ^^^ [INFO] [stdout] 12 | pub ctrl: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Modifiers` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `1` and `2` are never read [INFO] [stdout] --> src/input.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 17 | KeyPress(KeyCode, Option, Modifiers), [INFO] [stdout] | -------- ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Event` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 17 - KeyPress(KeyCode, Option, Modifiers), [INFO] [stdout] 17 + KeyPress(KeyCode, (), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `selected` is never used [INFO] [stdout] --> src/menu.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Menu<'a> { [INFO] [stdout] | ---- method in this trait [INFO] [stdout] ... [INFO] [stdout] 11 | fn selected(&self) -> Self::Item; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/game/map.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | transmute::(rng.get_int(i32::MIN + 1, i32::MAX)) [INFO] [stdout] | ---------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::cast_unsigned` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.31s [INFO] running `Command { std: "docker" "inspect" "771fddab2a3a6658fc0ec356c9cfaf566438bc1a067b8bcf952d2f233d7d94c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "771fddab2a3a6658fc0ec356c9cfaf566438bc1a067b8bcf952d2f233d7d94c8", kill_on_drop: false }` [INFO] [stdout] 771fddab2a3a6658fc0ec356c9cfaf566438bc1a067b8bcf952d2f233d7d94c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8cb97301c44ecda05e6bfb0522e96cb7cefcabad7e76c03822ad8be602805350 [INFO] running `Command { std: "docker" "start" "-a" "8cb97301c44ecda05e6bfb0522e96cb7cefcabad7e76c03822ad8be602805350", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Compiling z-buffer-game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/data/object.rs:12:33 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct UnrecognizedTileName(String); [INFO] [stdout] | -------------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `UnrecognizedTileName` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `size` is never read [INFO] [stdout] --> src/game/components.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Tree { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 9 | pub size: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tree` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `z_index` is never read [INFO] [stdout] --> src/game/components.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Renderable { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 33 | pub object: VisibleObject, [INFO] [stdout] 34 | pub z_index: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Renderable` 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 `shift`, `alt`, and `ctrl` are never read [INFO] [stdout] --> src/input.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Modifiers { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 10 | pub shift: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | pub alt: bool, [INFO] [stdout] | ^^^ [INFO] [stdout] 12 | pub ctrl: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Modifiers` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `1` and `2` are never read [INFO] [stdout] --> src/input.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 17 | KeyPress(KeyCode, Option, Modifiers), [INFO] [stdout] | -------- ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Event` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 17 - KeyPress(KeyCode, Option, Modifiers), [INFO] [stdout] 17 + KeyPress(KeyCode, (), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `selected` is never used [INFO] [stdout] --> src/menu.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Menu<'a> { [INFO] [stdout] | ---- method in this trait [INFO] [stdout] ... [INFO] [stdout] 11 | fn selected(&self) -> Self::Item; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/game/map.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | transmute::(rng.get_int(i32::MIN + 1, i32::MAX)) [INFO] [stdout] | ---------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::cast_unsigned` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.95s [INFO] running `Command { std: "docker" "inspect" "8cb97301c44ecda05e6bfb0522e96cb7cefcabad7e76c03822ad8be602805350", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8cb97301c44ecda05e6bfb0522e96cb7cefcabad7e76c03822ad8be602805350", kill_on_drop: false }` [INFO] [stdout] 8cb97301c44ecda05e6bfb0522e96cb7cefcabad7e76c03822ad8be602805350 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d3adc45a78ec85b785557e8016e47f19e24f3ad85c40a777cbe1e626060f7a8a [INFO] running `Command { std: "docker" "start" "-a" "d3adc45a78ec85b785557e8016e47f19e24f3ad85c40a777cbe1e626060f7a8a", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/data/object.rs:12:33 [INFO] [stderr] | [INFO] [stderr] 12 | pub struct UnrecognizedTileName(String); [INFO] [stderr] | -------------------- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] = note: `UnrecognizedTileName` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `size` is never read [INFO] [stderr] --> src/game/components.rs:9:9 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct Tree { [INFO] [stderr] | ---- field in this struct [INFO] [stderr] 9 | pub size: u16, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Tree` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `z_index` is never read [INFO] [stderr] --> src/game/components.rs:34:9 [INFO] [stderr] | [INFO] [stderr] 32 | pub struct Renderable { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] 33 | pub object: VisibleObject, [INFO] [stderr] 34 | pub z_index: u16, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Renderable` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `shift`, `alt`, and `ctrl` are never read [INFO] [stderr] --> src/input.rs:10:9 [INFO] [stderr] | [INFO] [stderr] 9 | pub struct Modifiers { [INFO] [stderr] | --------- fields in this struct [INFO] [stderr] 10 | pub shift: bool, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 11 | pub alt: bool, [INFO] [stderr] | ^^^ [INFO] [stderr] 12 | pub ctrl: bool, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Modifiers` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `1` and `2` are never read [INFO] [stderr] --> src/input.rs:17:23 [INFO] [stderr] | [INFO] [stderr] 17 | KeyPress(KeyCode, Option, Modifiers), [INFO] [stderr] | -------- ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Event` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stderr] | [INFO] [stderr] 17 - KeyPress(KeyCode, Option, Modifiers), [INFO] [stderr] 17 + KeyPress(KeyCode, (), ()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: method `selected` is never used [INFO] [stderr] --> src/menu.rs:11:8 [INFO] [stderr] | [INFO] [stderr] 1 | pub trait Menu<'a> { [INFO] [stderr] | ---- method in this trait [INFO] [stderr] ... [INFO] [stderr] 11 | fn selected(&self) -> Self::Item; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/game/map.rs:134:9 [INFO] [stderr] | [INFO] [stderr] 134 | transmute::(rng.get_int(i32::MIN + 1, i32::MAX)) [INFO] [stderr] | ---------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `i32::cast_unsigned` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `z-buffer-game` (bin "z-buffer-game" test) generated 7 warnings (run `cargo fix --bin "z-buffer-game" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/z_buffer_game-4f6678cc035b0891) [INFO] [stdout] [INFO] [stdout] running 19 tests [INFO] [stdout] test data::location::tests::move_towards_adds_direction_vector_to_current_location ... ok [INFO] [stdout] test data::rectangle::tests::area_is_width_times_height ... ok [INFO] [stdout] test data::rectangle::tests::centering_around_produces_rectangle_with_given_dimensions ... ok [INFO] [stdout] test data::rectangle::tests::centering_around_with_even_dimensions_place_the_center_on_top_left_coordinate ... ok [INFO] [stdout] test data::rectangle::tests::contains_returns_true_if_the_location_is_inside_the_rectangle ... ok [INFO] [stdout] test data::rectangle::tests::interrection_of_non_overlapping_rectangles_is_none ... ok [INFO] [stdout] test data::rectangle::tests::intersection_of_a_rectangle_that_contains_another_is_the_smaller_one ... ok [INFO] [stdout] test data::rectangle::tests::iteration_generates_each_location_within_the_rectangle ... ok [INFO] [stdout] test data::rectangle::tests::intersection_of_overlapping_rectangles_is_the_overlapping_part ... ok [INFO] [stdout] test data::rectangle::tests::centering_around_with_odd_dimensions_place_the_center_in_the_middle ... ok [INFO] [stdout] test data::time::tests::advance_dt_increments_both_dt_and_t ... ok [INFO] [stdout] test data::location::tests::move_by_adds_differences_to_the_coordinates ... ok [INFO] [stdout] test game::cursor::tests::cursor_is_unbounded_by_default ... ok [INFO] [stdout] test game::cursor::tests::move_towards_limits_movements_if_boundaries_is_set ... ok [INFO] [stdout] test game::cursor::tests::set_boundaries_sets_the_boundaries_of_cursor ... ok [INFO] [stdout] test game::cursor::tests::set_boundaries_requires_current_location_to_be_within_the_boundaries ... ok [INFO] [stdout] test data::rectangle::tests::new_creates_a_canonical_rectangle_with_min_and_max_coordinates ... ok [INFO] [stdout] test data::rectangle::tests::centered_around_requires_non_zero_dimensions - should panic ... ok [INFO] [stdout] test ui::game_renderer::tests::map_dimensions_are_never_less_than_minimum_requirements ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 19 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d3adc45a78ec85b785557e8016e47f19e24f3ad85c40a777cbe1e626060f7a8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3adc45a78ec85b785557e8016e47f19e24f3ad85c40a777cbe1e626060f7a8a", kill_on_drop: false }` [INFO] [stdout] d3adc45a78ec85b785557e8016e47f19e24f3ad85c40a777cbe1e626060f7a8a