[INFO] fetching crate gridmapper 0.1.0... [INFO] testing gridmapper-0.1.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate gridmapper 0.1.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate gridmapper 0.1.0 [INFO] finished tweaking crates.io crate gridmapper 0.1.0 [INFO] tweaked toml for crates.io crate gridmapper 0.1.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate gridmapper 0.1.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate gridmapper 0.1.0 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" "+b83b707f97d809763b7861afa7638871f3339a33" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1a633e12fce2388fe73a0c76895bf6ab15bb087d56d335b51b7dda5c777c739b [INFO] running `Command { std: "docker" "start" "-a" "1a633e12fce2388fe73a0c76895bf6ab15bb087d56d335b51b7dda5c777c739b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a633e12fce2388fe73a0c76895bf6ab15bb087d56d335b51b7dda5c777c739b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a633e12fce2388fe73a0c76895bf6ab15bb087d56d335b51b7dda5c777c739b", kill_on_drop: false }` [INFO] [stdout] 1a633e12fce2388fe73a0c76895bf6ab15bb087d56d335b51b7dda5c777c739b [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=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" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 53b542fddeb8be5caac76818ce20b7f59c305caaeac2c10e01635c1c11230f3c [INFO] running `Command { std: "docker" "start" "-a" "53b542fddeb8be5caac76818ce20b7f59c305caaeac2c10e01635c1c11230f3c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.120 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling syn v1.0.88 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling ttf-parser v0.6.2 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling piston-float v1.0.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.5 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling piston-viewport v1.0.2 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling piston-graphics_api_version v1.0.1 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling raw-window-handle v0.4.2 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.3 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling deflate v1.0.0 [INFO] [stderr] Compiling spin v0.9.2 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling miniz_oxide v0.5.1 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling lebe v0.5.1 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling gl v0.13.0 [INFO] [stderr] Compiling owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling rusttype v0.9.2 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling bit_field v0.10.1 [INFO] [stderr] Compiling shader_version v0.7.0 [INFO] [stderr] Compiling vecmath v1.0.0 [INFO] [stderr] Compiling bytemuck v1.8.0 [INFO] [stderr] Compiling spin_sleep v1.1.0 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling nanorand v0.7.0 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling xdg v2.4.1 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling andrew v0.3.1 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling raw-window-handle v0.3.4 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling png v0.17.5 [INFO] [stderr] Compiling read_color v1.0.0 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling piston-texture v0.8.0 [INFO] [stderr] Compiling interpolation v0.2.0 [INFO] [stderr] Compiling num-complex v0.4.0 [INFO] [stderr] Compiling const_format_proc_macros v0.2.22 [INFO] [stderr] Compiling piston2d-graphics v0.42.0 [INFO] [stderr] Compiling piston-shaders_graphics2d v0.4.0 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling tiff v0.7.1 [INFO] [stderr] Compiling glam v0.20.2 [INFO] [stderr] Compiling const_format v0.2.22 [INFO] [stderr] Compiling num v0.4.0 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling flume v0.10.12 [INFO] [stderr] Compiling exr v1.4.1 [INFO] [stderr] Compiling calloop v0.6.5 [INFO] [stderr] Compiling jpeg-decoder v0.2.2 [INFO] [stderr] Compiling wayland-commons v0.28.6 [INFO] [stderr] Compiling wayland-cursor v0.28.6 [INFO] [stderr] Compiling wayland-egl v0.28.6 [INFO] [stderr] Compiling image v0.24.1 [INFO] [stderr] Compiling piston2d-opengl_graphics v0.81.0 [INFO] [stderr] Compiling pistoncore-input v1.0.1 [INFO] [stderr] Compiling pistoncore-window v0.47.1 [INFO] [stderr] Compiling pistoncore-event_loop v0.53.1 [INFO] [stderr] Compiling piston v0.53.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.12.3 [INFO] [stderr] Compiling winit v0.24.0 [INFO] [stderr] Compiling glutin v0.26.0 [INFO] [stderr] Compiling pistoncore-glutin_window v0.69.0 [INFO] [stderr] Compiling gridmapper v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] [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: `saving::*` [INFO] [stdout] --> src/prelude.rs:11:63 [INFO] [stdout] | [INFO] [stdout] 11 | pub use crate::{app::*, camera::*, json::*, map::*, mouse::*, saving::*, ui::*, utilities::*, *}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `Map` is ambiguous [INFO] [stdout] --> src/app.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | map: Map, [INFO] [stdout] | ^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #114095 [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Map` could refer to the struct imported here [INFO] [stdout] --> src/prelude.rs:11:45 [INFO] [stdout] | [INFO] [stdout] 11 | pub use crate::{app::*, camera::*, json::*, map::*, mouse::*, saving::*, ui::*, utilities::*, *}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Map` to disambiguate [INFO] [stdout] note: `Map` could also refer to the struct imported here [INFO] [stdout] --> src/prelude.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub use serde_json::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Map` to disambiguate [INFO] [stdout] = note: `#[deny(ambiguous_glob_imports)]` (part of `#[deny(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `Map` is ambiguous [INFO] [stdout] --> src/app.rs:26:18 [INFO] [stdout] | [INFO] [stdout] 26 | map: Map::new(), [INFO] [stdout] | ^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #114095 [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Map` could refer to the struct imported here [INFO] [stdout] --> src/prelude.rs:11:45 [INFO] [stdout] | [INFO] [stdout] 11 | pub use crate::{app::*, camera::*, json::*, map::*, mouse::*, saving::*, ui::*, utilities::*, *}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Map` to disambiguate [INFO] [stdout] note: `Map` could also refer to the struct imported here [INFO] [stdout] --> src/prelude.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub use serde_json::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Map` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::*` [INFO] [stdout] --> src/prelude.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub use serde::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `graphics::clear` [INFO] [stdout] --> src/saving.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use graphics::clear; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RenderEvent` and `UpdateEvent` [INFO] [stdout] --> src/saving.rs:7:44 [INFO] [stdout] | [INFO] [stdout] 7 | AdvancedWindow, EventSettings, Events, RenderEvent, UpdateEvent, Window, WindowSettings, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/saving.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 33 | while let Some(e) = events.next(&mut self.window) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SaveWindow` is never constructed [INFO] [stdout] --> src/saving.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct SaveWindow { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `run` are never used [INFO] [stdout] --> src/saving.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl SaveWindow { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 17 | pub fn new(opengl: OpenGL) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn run(mut self) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/app.rs:93:52 [INFO] [stdout] | [INFO] [stdout] 93 | let action = format!("action: {}", ACTION); [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gridmapper` (bin "gridmapper") due to 4 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "53b542fddeb8be5caac76818ce20b7f59c305caaeac2c10e01635c1c11230f3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53b542fddeb8be5caac76818ce20b7f59c305caaeac2c10e01635c1c11230f3c", kill_on_drop: false }` [INFO] [stdout] 53b542fddeb8be5caac76818ce20b7f59c305caaeac2c10e01635c1c11230f3c