[INFO] cloning repository https://github.com/dpc/rhex [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dpc/rhex" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdpc%2Frhex", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdpc%2Frhex'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9648a19943574b9bcb4ed73f92b9088058a6cc13 [INFO] checking dpc/rhex against f99a7560a6b5f0a5e6894aea7e8afe0e01d3edd1 for pr-160235-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdpc%2Frhex" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/dpc/rhex [INFO] finished tweaking git repo https://github.com/dpc/rhex [INFO] tweaked toml for git repo https://github.com/dpc/rhex written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dpc/rhex on toolchain f99a7560a6b5f0a5e6894aea7e8afe0e01d3edd1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f99a7560a6b5f0a5e6894aea7e8afe0e01d3edd1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/dpc/rhex 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" "+f99a7560a6b5f0a5e6894aea7e8afe0e01d3edd1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: explicit `package.readme` can be inferred [INFO] [stderr] --> Cargo.toml:36:1 [INFO] [stderr] | [INFO] [stderr] 36 | readme = "README.md" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::manual_readme` is set to `warn` by default [INFO] [stderr] help: consider removing `package.readme` [INFO] [stderr] warning: `package.homepage` is redundant with `package.repository` [INFO] [stderr] --> Cargo.toml:32:12 [INFO] [stderr] | [INFO] [stderr] 32 | homepage = "https://github.com/dpc/rhex" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 37 | repository = "https://github.com/dpc/rhex" [INFO] [stderr] | ----------------------------- [INFO] [stderr] | [INFO] [stderr] = note: `cargo::redundant_homepage` is set to `warn` by default [INFO] [stderr] help: consider removing `package.homepage` [INFO] [stderr] warning: `rhex` (manifest) generated 3 warnings [INFO] [stderr] Updating git repository `https://github.com/dpc/hex2d-dpcext-rs` [INFO] [stderr] Locking 1 package to highest compatible version [INFO] [stderr] Adding hex2d-dpcext v0.1.1 (https://github.com/dpc/hex2d-dpcext-rs#5003e437) [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 701636bb1103f50069ec0b12b78a2b808cdaa69fd27c22bc0041ba1f1f43a849 [INFO] running `Command { std: "docker" "start" "701636bb1103f50069ec0b12b78a2b808cdaa69fd27c22bc0041ba1f1f43a849", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "701636bb1103f50069ec0b12b78a2b808cdaa69fd27c22bc0041ba1f1f43a849", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "701636bb1103f50069ec0b12b78a2b808cdaa69fd27c22bc0041ba1f1f43a849" "/opt/rustwide/cargo-home/bin/cargo" "+f99a7560a6b5f0a5e6894aea7e8afe0e01d3edd1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "701636bb1103f50069ec0b12b78a2b808cdaa69fd27c22bc0041ba1f1f43a849", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "701636bb1103f50069ec0b12b78a2b808cdaa69fd27c22bc0041ba1f1f43a849" "/opt/rustwide/cargo-home/bin/cargo" "+f99a7560a6b5f0a5e6894aea7e8afe0e01d3edd1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: explicit `package.readme` can be inferred [INFO] [stderr] --> Cargo.toml:36:1 [INFO] [stderr] | [INFO] [stderr] 36 | readme = "README.md" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::manual_readme` is set to `warn` by default [INFO] [stderr] help: consider removing `package.readme` [INFO] [stderr] warning: `package.homepage` is redundant with `package.repository` [INFO] [stderr] --> Cargo.toml:32:12 [INFO] [stderr] | [INFO] [stderr] 32 | homepage = "https://github.com/dpc/rhex" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 37 | repository = "https://github.com/dpc/rhex" [INFO] [stderr] | ----------------------------- [INFO] [stderr] | [INFO] [stderr] = note: `cargo::redundant_homepage` is set to `warn` by default [INFO] [stderr] help: consider removing `package.homepage` [INFO] [stderr] warning: `rhex` (manifest) generated 3 warnings [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.111 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.33 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling serde v1.0.131 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde_derive v1.0.131 [INFO] [stderr] Checking ppv-lite86 v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking dpc-simplemap v0.1.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking fern v0.3.5 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Compiling ncurses v5.101.0 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking chrono v0.2.25 [INFO] [stderr] Checking num v0.4.0 [INFO] [stderr] Checking hex2d v1.1.0 [INFO] [stderr] Checking hex2d-dpcext v0.1.1 (https://github.com/dpc/hex2d-dpcext-rs#5003e437) [INFO] [stderr] Checking rhex v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `ORANGE` is never used [INFO] [stdout] --> src/curses/color.rs:95:11 [INFO] [stdout] | [INFO] [stdout] 95 | pub const ORANGE: RGB = RGB(5, 3, 0); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NOISE_BG` is never used [INFO] [stdout] --> src/curses/color.rs:124:11 [INFO] [stdout] | [INFO] [stdout] 124 | pub const NOISE_BG: RGB = ORANGE; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/curses/error.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | Io(io::Error), [INFO] [stdout] | -- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 7 - Io(io::Error), [INFO] [stdout] 7 + Io(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `items_letters` is never read [INFO] [stdout] --> src/game/actor.rs:258:9 [INFO] [stdout] | [INFO] [stdout] 211 | pub struct Actor { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 258 | pub items_letters: HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Actor` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `hears` and `can_attack_at_angle` are never used [INFO] [stdout] --> src/game/actor.rs:318:12 [INFO] [stdout] | [INFO] [stdout] 266 | impl Actor { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 318 | pub fn hears(&self, coord: Coordinate) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 457 | pub fn can_attack_at_angle(&self, angle : Angle) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Water` is never constructed [INFO] [stdout] --> src/game/tile.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Type { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 13 | Water, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/game/location.rs:265:15 [INFO] [stdout] | [INFO] [stdout] 265 | pub fn at(&self, coord: Coordinate) -> At { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 265 | pub fn at(&self, coord: Coordinate) -> At<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/game/location.rs:272:19 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn at_mut(&mut self, coord: Coordinate) -> AtMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 272 | pub fn at_mut(&mut self, coord: Coordinate) -> AtMut<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ORANGE` is never used [INFO] [stdout] --> src/curses/color.rs:95:11 [INFO] [stdout] | [INFO] [stdout] 95 | pub const ORANGE: RGB = RGB(5, 3, 0); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NOISE_BG` is never used [INFO] [stdout] --> src/curses/color.rs:124:11 [INFO] [stdout] | [INFO] [stdout] 124 | pub const NOISE_BG: RGB = ORANGE; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/curses/error.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | Io(io::Error), [INFO] [stdout] | -- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 7 - Io(io::Error), [INFO] [stdout] 7 + Io(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `items_letters` is never read [INFO] [stdout] --> src/game/actor.rs:258:9 [INFO] [stdout] | [INFO] [stdout] 211 | pub struct Actor { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 258 | pub items_letters: HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Actor` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `hears` and `can_attack_at_angle` are never used [INFO] [stdout] --> src/game/actor.rs:318:12 [INFO] [stdout] | [INFO] [stdout] 266 | impl Actor { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 318 | pub fn hears(&self, coord: Coordinate) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 457 | pub fn can_attack_at_angle(&self, angle : Angle) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Water` is never constructed [INFO] [stdout] --> src/game/tile.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Type { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 13 | Water, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/game/location.rs:265:15 [INFO] [stdout] | [INFO] [stdout] 265 | pub fn at(&self, coord: Coordinate) -> At { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 265 | pub fn at(&self, coord: Coordinate) -> At<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/game/location.rs:272:19 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn at_mut(&mut self, coord: Coordinate) -> AtMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 272 | pub fn at_mut(&mut self, coord: Coordinate) -> AtMut<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [optimized + debuginfo] target(s) in 19.57s [INFO] running `Command { std: "docker" "inspect" "701636bb1103f50069ec0b12b78a2b808cdaa69fd27c22bc0041ba1f1f43a849", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "701636bb1103f50069ec0b12b78a2b808cdaa69fd27c22bc0041ba1f1f43a849", kill_on_drop: false }` [INFO] [stdout] 701636bb1103f50069ec0b12b78a2b808cdaa69fd27c22bc0041ba1f1f43a849