[INFO] cloning repository https://github.com/joshuapohan/rustpg [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/joshuapohan/rustpg" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoshuapohan%2Frustpg", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoshuapohan%2Frustpg'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a23f7fd0f0b1f9abf4f64f79eded6b4febf7757e [INFO] checking joshuapohan/rustpg against master#35d55b34bffd51384ac430cc20852b7d16dd5a90 for pr-145108 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoshuapohan%2Frustpg" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/joshuapohan/rustpg [INFO] finished tweaking git repo https://github.com/joshuapohan/rustpg [INFO] tweaked toml for git repo https://github.com/joshuapohan/rustpg written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/joshuapohan/rustpg on toolchain 35d55b34bffd51384ac430cc20852b7d16dd5a90 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35d55b34bffd51384ac430cc20852b7d16dd5a90" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/joshuapohan/rustpg 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" "+35d55b34bffd51384ac430cc20852b7d16dd5a90" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+35d55b34bffd51384ac430cc20852b7d16dd5a90" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5d5648fcdb6a047c1484ae720b4fb0a4ac952657fab3058a4241cdaa775b2748 [INFO] running `Command { std: "docker" "start" "-a" "5d5648fcdb6a047c1484ae720b4fb0a4ac952657fab3058a4241cdaa775b2748", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5d5648fcdb6a047c1484ae720b4fb0a4ac952657fab3058a4241cdaa775b2748", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d5648fcdb6a047c1484ae720b4fb0a4ac952657fab3058a4241cdaa775b2748", kill_on_drop: false }` [INFO] [stdout] 5d5648fcdb6a047c1484ae720b4fb0a4ac952657fab3058a4241cdaa775b2748 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+35d55b34bffd51384ac430cc20852b7d16dd5a90" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 608c647c5d48216b72f9cdeac4971da03647cc2b6373712bcd6430f636d9a877 [INFO] running `Command { std: "docker" "start" "-a" "608c647c5d48216b72f9cdeac4971da03647cc2b6373712bcd6430f636d9a877", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.100 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Checking js-sys v0.3.77 [INFO] [stderr] Checking web-sys v0.3.77 [INFO] [stderr] Checking rustpg v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `VisibleBounds` [INFO] [stdout] --> src/game.rs:8:39 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::coords::{Camera, WorldPos, VisibleBounds}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VisibleBounds` [INFO] [stdout] --> src/game.rs:8:39 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::coords::{Camera, WorldPos, VisibleBounds}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TileType` is never used [INFO] [stdout] --> src/game.rs:32:6 [INFO] [stdout] | [INFO] [stdout] 32 | enum TileType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `draw_game_world_example` and `get_tile_type` are never used [INFO] [stdout] --> src/game.rs:133:8 [INFO] [stdout] | [INFO] [stdout] 48 | impl Game { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 133 | fn draw_game_world_example(&self, renderer: &WebGLRenderer) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | fn get_tile_type(&self, _x: u32, _y: u32) -> TileType { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `screen_to_world` and `is_visible` are never used [INFO] [stdout] --> src/coords.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl Camera { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn screen_to_world(&self, screen_pos: ScreenPos) -> WorldPos { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn is_visible(&self, world_pos: WorldPos) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_tile` and `distance_to` are never used [INFO] [stdout] --> src/coords.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 102 | impl WorldPos { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn to_tile(&self) -> (u32, u32) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn distance_to(&self, other: WorldPos) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/coords.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 128 | impl ScreenPos { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 129 | pub fn new(x: f32, y: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `contains` is never used [INFO] [stdout] --> src/coords.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 142 | impl VisibleBounds { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 143 | // Check if a tile coordinate is within these bounds [INFO] [stdout] 144 | pub fn contains(&self, tile_x: u32, tile_y: u32) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tile_to_world` is never used [INFO] [stdout] --> src/coords.rs:156:8 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn tile_to_world(tile_x: u32, tile_y: u32) -> WorldPos { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `world_to_tile_center` is never used [INFO] [stdout] --> src/coords.rs:160:8 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn world_to_tile_center(world_pos: WorldPos) -> WorldPos { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TileType` is never used [INFO] [stdout] --> src/game.rs:32:6 [INFO] [stdout] | [INFO] [stdout] 32 | enum TileType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `draw_game_world_example` and `get_tile_type` are never used [INFO] [stdout] --> src/game.rs:133:8 [INFO] [stdout] | [INFO] [stdout] 48 | impl Game { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 133 | fn draw_game_world_example(&self, renderer: &WebGLRenderer) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | fn get_tile_type(&self, _x: u32, _y: u32) -> TileType { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `screen_to_world` and `is_visible` are never used [INFO] [stdout] --> src/coords.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl Camera { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn screen_to_world(&self, screen_pos: ScreenPos) -> WorldPos { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn is_visible(&self, world_pos: WorldPos) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_tile` and `distance_to` are never used [INFO] [stdout] --> src/coords.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 102 | impl WorldPos { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn to_tile(&self) -> (u32, u32) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn distance_to(&self, other: WorldPos) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/coords.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 128 | impl ScreenPos { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 129 | pub fn new(x: f32, y: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `contains` is never used [INFO] [stdout] --> src/coords.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 142 | impl VisibleBounds { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 143 | // Check if a tile coordinate is within these bounds [INFO] [stdout] 144 | pub fn contains(&self, tile_x: u32, tile_y: u32) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tile_to_world` is never used [INFO] [stdout] --> src/coords.rs:156:8 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn tile_to_world(tile_x: u32, tile_y: u32) -> WorldPos { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `world_to_tile_center` is never used [INFO] [stdout] --> src/coords.rs:160:8 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn world_to_tile_center(world_pos: WorldPos) -> WorldPos { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.84s [INFO] running `Command { std: "docker" "inspect" "608c647c5d48216b72f9cdeac4971da03647cc2b6373712bcd6430f636d9a877", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "608c647c5d48216b72f9cdeac4971da03647cc2b6373712bcd6430f636d9a877", kill_on_drop: false }` [INFO] [stdout] 608c647c5d48216b72f9cdeac4971da03647cc2b6373712bcd6430f636d9a877