[INFO] cloning repository https://github.com/truchi/rpg-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/truchi/rpg-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftruchi%2Frpg-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftruchi%2Frpg-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cc6c03f16ce678467ad04a27fe16a77d5673705b [INFO] testing truchi/rpg-rs against try#613d1972a772987ed4ee06faccbab0e2fc839871+rustflags=-Copt-level=3 for pr-107051 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftruchi%2Frpg-rs" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/truchi/rpg-rs on toolchain 613d1972a772987ed4ee06faccbab0e2fc839871 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/truchi/rpg-rs [INFO] finished tweaking git repo https://github.com/truchi/rpg-rs [INFO] tweaked toml for git repo https://github.com/truchi/rpg-rs written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/truchi/rpg-rs 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" "+613d1972a772987ed4ee06faccbab0e2fc839871" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cf1beb84d16cfd2522e202913a8fdfd125b0bb9a796853e7ceb744c8b7bce3a5 [INFO] running `Command { std: "docker" "start" "-a" "cf1beb84d16cfd2522e202913a8fdfd125b0bb9a796853e7ceb744c8b7bce3a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cf1beb84d16cfd2522e202913a8fdfd125b0bb9a796853e7ceb744c8b7bce3a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf1beb84d16cfd2522e202913a8fdfd125b0bb9a796853e7ceb744c8b7bce3a5", kill_on_drop: false }` [INFO] [stdout] cf1beb84d16cfd2522e202913a8fdfd125b0bb9a796853e7ceb744c8b7bce3a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9330390b1e769b95e70452e41c60f482be50121ff62288f872fe92a7441584c1 [INFO] running `Command { std: "docker" "start" "-a" "9330390b1e769b95e70452e41c60f482be50121ff62288f872fe92a7441584c1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling wayland-scanner v0.28.5 [INFO] [stderr] Compiling wayland-sys v0.28.5 [INFO] [stderr] Compiling jobserver v0.1.22 [INFO] [stderr] Compiling libloading v0.7.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling wayland-commons v0.28.5 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling ttf-parser v0.6.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling wayland-client v0.28.5 [INFO] [stderr] Compiling wayland-protocols v0.28.5 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling xcursor v0.3.3 [INFO] [stderr] Compiling rusttype v0.9.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling euclid v0.22.6 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling ttf-parser v0.12.2 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling pulldown-cmark v0.8.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling lyon_geom v0.17.2 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling andrew v0.3.1 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling wayland-cursor v0.28.5 [INFO] [stderr] Compiling calloop v0.6.5 [INFO] [stderr] Compiling owned_ttf_parser v0.12.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling minimp3-sys v0.3.2 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling gfx_gl v0.6.1 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling draw_state v0.8.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling gfx_core v0.9.2 [INFO] [stderr] Compiling smithay-client-toolkit v0.12.3 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling ab_glyph v0.2.11 [INFO] [stderr] Compiling lyon_path v0.17.3 [INFO] [stderr] Compiling sid v0.6.1 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling cpal v0.13.3 [INFO] [stderr] Compiling bytecount v0.6.2 [INFO] [stderr] Compiling weezl v0.1.5 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling winit v0.24.0 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling alsa v0.5.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling wayland-egl v0.28.5 [INFO] [stderr] Compiling ogg v0.8.0 [INFO] [stderr] Compiling approx v0.5.0 [INFO] [stderr] Compiling slice-deque v0.3.0 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling xi-unicode v0.3.0 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling twox-hash v1.6.0 [INFO] [stderr] Compiling glyph_brush_draw_cache v0.1.4 [INFO] [stderr] Compiling gif v0.11.2 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling thiserror-impl v1.0.25 [INFO] [stderr] Compiling gilrs-core v0.3.1 [INFO] [stderr] Compiling glyph_brush_layout v0.2.2 [INFO] [stderr] Compiling lewton v0.10.2 [INFO] [stderr] Compiling glutin v0.26.0 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling gfx_device_gl v0.16.2 [INFO] [stderr] Compiling lyon_tessellation v0.17.7 [INFO] [stderr] Compiling lyon_algorithms v0.17.4 [INFO] [stderr] Compiling ordered-float v2.5.1 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling mint v0.5.6 [INFO] [stderr] Compiling claxon v0.4.3 [INFO] [stderr] Compiling hound v3.4.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling bytemuck v1.7.0 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling gilrs v0.8.1 [INFO] [stderr] Compiling glam v0.15.2 [INFO] [stderr] Compiling thiserror v1.0.25 [INFO] [stderr] Compiling minimp3 v0.5.1 [INFO] [stderr] Compiling directories v3.0.2 [INFO] [stderr] Compiling rodio v0.14.0 [INFO] [stderr] Compiling glyph_brush v0.7.2 [INFO] [stderr] Compiling lyon v0.17.5 [INFO] [stderr] Compiling old_school_gfx_glutin_ext v0.26.0 [INFO] [stderr] Compiling smart-default v0.6.0 [INFO] [stderr] Compiling gfx v0.18.2 [INFO] [stderr] Compiling bzip2 v0.4.3 [INFO] [stderr] Compiling zip v0.5.13 [INFO] [stderr] Compiling cargo-platform v0.1.1 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling cargo_metadata v0.12.3 [INFO] [stderr] Compiling skeptic v0.13.6 [INFO] [stderr] Compiling ggez v0.6.0-rc1 (https://github.com/ggez/ggez?branch=devel#7f117f8e) [INFO] [stderr] Compiling rpg v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition: `g` [INFO] [stdout] --> src/editor/mod.rs:205:22 [INFO] [stdout] | [INFO] [stdout] 205 | macro_rules! g { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/editor/editor.rs:82:37 [INFO] [stdout] | [INFO] [stdout] 82 | fn mouse_wheel_event(&mut self, ctx: &mut Context, x: f32, y: f32) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/editor/scene_view.rs:78:30 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn events(&mut self, ctx: &mut Context, keyboard: &Keyboard, mouse: &Mouse) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/editor/tiles_view.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(ctx: &mut Context) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/editor/tiles_view.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn events(&mut self, ctx: &mut Context, keyboard: &Keyboard, mouse: &Mouse) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `keyboard` [INFO] [stdout] --> src/editor/tiles_view.rs:15:49 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn events(&mut self, ctx: &mut Context, keyboard: &Keyboard, mouse: &Mouse) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_keyboard` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/editor/tiles_view.rs:35:30 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn update(&mut self, ctx: &mut Context, pencil: &mut Option) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tl` [INFO] [stdout] --> src/editor/mod.rs:203:15 [INFO] [stdout] | [INFO] [stdout] 203 | let [[tl, t, tr], [ml, m, mr], [bl, b, br]] = grid; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/editor/mod.rs:203:19 [INFO] [stdout] | [INFO] [stdout] 203 | let [[tl, t, tr], [ml, m, mr], [bl, b, br]] = grid; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tr` [INFO] [stdout] --> src/editor/mod.rs:203:22 [INFO] [stdout] | [INFO] [stdout] 203 | let [[tl, t, tr], [ml, m, mr], [bl, b, br]] = grid; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ml` [INFO] [stdout] --> src/editor/mod.rs:203:28 [INFO] [stdout] | [INFO] [stdout] 203 | let [[tl, t, tr], [ml, m, mr], [bl, b, br]] = grid; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mr` [INFO] [stdout] --> src/editor/mod.rs:203:35 [INFO] [stdout] | [INFO] [stdout] 203 | let [[tl, t, tr], [ml, m, mr], [bl, b, br]] = grid; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_mr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bl` [INFO] [stdout] --> src/editor/mod.rs:203:41 [INFO] [stdout] | [INFO] [stdout] 203 | let [[tl, t, tr], [ml, m, mr], [bl, b, br]] = grid; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_bl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/editor/mod.rs:203:45 [INFO] [stdout] | [INFO] [stdout] 203 | let [[tl, t, tr], [ml, m, mr], [bl, b, br]] = grid; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `br` [INFO] [stdout] --> src/editor/mod.rs:203:48 [INFO] [stdout] | [INFO] [stdout] 203 | let [[tl, t, tr], [ml, m, mr], [bl, b, br]] = grid; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_br` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/editor/scene_view.rs:189:28 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn draw(&mut self, mut ctx: &mut Context, tile_renderer: &mut TileRenderer, mouse: &Mouse) { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 12m 12s [INFO] running `Command { std: "docker" "inspect" "9330390b1e769b95e70452e41c60f482be50121ff62288f872fe92a7441584c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9330390b1e769b95e70452e41c60f482be50121ff62288f872fe92a7441584c1", kill_on_drop: false }` [INFO] [stdout] 9330390b1e769b95e70452e41c60f482be50121ff62288f872fe92a7441584c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e7039d6b7926a44a4efd50f5a662fcb34b0726dad415de3f7afebcdfb1cf7459 [INFO] running `Command { std: "docker" "start" "-a" "e7039d6b7926a44a4efd50f5a662fcb34b0726dad415de3f7afebcdfb1cf7459", kill_on_drop: false }` [INFO] [stderr] Compiling rpg v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition: `g` [INFO] [stdout] --> src/editor/mod.rs:205:22 [INFO] [stdout] | [INFO] [stdout] 205 | macro_rules! g { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/editor/editor.rs:82:37 [INFO] [stdout] | [INFO] [stdout] 82 | fn mouse_wheel_event(&mut self, ctx: &mut Context, x: f32, y: f32) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/editor/scene_view.rs:78:30 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn events(&mut self, ctx: &mut Context, keyboard: &Keyboard, mouse: &Mouse) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/editor/tiles_view.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(ctx: &mut Context) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/editor/tiles_view.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn events(&mut self, ctx: &mut Context, keyboard: &Keyboard, mouse: &Mouse) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `keyboard` [INFO] [stdout] --> src/editor/tiles_view.rs:15:49 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn events(&mut self, ctx: &mut Context, keyboard: &Keyboard, mouse: &Mouse) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_keyboard` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/editor/tiles_view.rs:35:30 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn update(&mut self, ctx: &mut Context, pencil: &mut Option) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tl` [INFO] [stdout] --> src/editor/mod.rs:203:15 [INFO] [stdout] | [INFO] [stdout] 203 | let [[tl, t, tr], [ml, m, mr], [bl, b, br]] = grid; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/editor/mod.rs:203:19 [INFO] [stdout] | [INFO] [stdout] 203 | let [[tl, t, tr], [ml, m, mr], [bl, b, br]] = grid; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tr` [INFO] [stdout] --> src/editor/mod.rs:203:22 [INFO] [stdout] | [INFO] [stdout] 203 | let [[tl, t, tr], [ml, m, mr], [bl, b, br]] = grid; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ml` [INFO] [stdout] --> src/editor/mod.rs:203:28 [INFO] [stdout] | [INFO] [stdout] 203 | let [[tl, t, tr], [ml, m, mr], [bl, b, br]] = grid; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mr` [INFO] [stdout] --> src/editor/mod.rs:203:35 [INFO] [stdout] | [INFO] [stdout] 203 | let [[tl, t, tr], [ml, m, mr], [bl, b, br]] = grid; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_mr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bl` [INFO] [stdout] --> src/editor/mod.rs:203:41 [INFO] [stdout] | [INFO] [stdout] 203 | let [[tl, t, tr], [ml, m, mr], [bl, b, br]] = grid; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_bl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/editor/mod.rs:203:45 [INFO] [stdout] | [INFO] [stdout] 203 | let [[tl, t, tr], [ml, m, mr], [bl, b, br]] = grid; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `br` [INFO] [stdout] --> src/editor/mod.rs:203:48 [INFO] [stdout] | [INFO] [stdout] 203 | let [[tl, t, tr], [ml, m, mr], [bl, b, br]] = grid; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_br` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/editor/scene_view.rs:189:28 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn draw(&mut self, mut ctx: &mut Context, tile_renderer: &mut TileRenderer, mouse: &Mouse) { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.66s [INFO] running `Command { std: "docker" "inspect" "e7039d6b7926a44a4efd50f5a662fcb34b0726dad415de3f7afebcdfb1cf7459", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7039d6b7926a44a4efd50f5a662fcb34b0726dad415de3f7afebcdfb1cf7459", kill_on_drop: false }` [INFO] [stdout] e7039d6b7926a44a4efd50f5a662fcb34b0726dad415de3f7afebcdfb1cf7459 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a13ff4adc2ddcbbe0086103f651bbe133cecba5841423adea556920379a62d2c [INFO] running `Command { std: "docker" "start" "-a" "a13ff4adc2ddcbbe0086103f651bbe133cecba5841423adea556920379a62d2c", kill_on_drop: false }` [INFO] [stderr] warning: unused macro definition: `g` [INFO] [stderr] --> src/editor/mod.rs:205:22 [INFO] [stderr] | [INFO] [stderr] 205 | macro_rules! g { [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_macros)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/editor/editor.rs:82:37 [INFO] [stderr] | [INFO] [stderr] 82 | fn mouse_wheel_event(&mut self, ctx: &mut Context, x: f32, y: f32) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/editor/scene_view.rs:78:30 [INFO] [stderr] | [INFO] [stderr] 78 | pub fn events(&mut self, ctx: &mut Context, keyboard: &Keyboard, mouse: &Mouse) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/editor/tiles_view.rs:11:16 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn new(ctx: &mut Context) -> Self { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/editor/tiles_view.rs:15:30 [INFO] [stderr] | [INFO] [stderr] 15 | pub fn events(&mut self, ctx: &mut Context, keyboard: &Keyboard, mouse: &Mouse) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `keyboard` [INFO] [stderr] --> src/editor/tiles_view.rs:15:49 [INFO] [stderr] | [INFO] [stderr] 15 | pub fn events(&mut self, ctx: &mut Context, keyboard: &Keyboard, mouse: &Mouse) { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_keyboard` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/editor/tiles_view.rs:35:30 [INFO] [stderr] | [INFO] [stderr] 35 | pub fn update(&mut self, ctx: &mut Context, pencil: &mut Option) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `tl` [INFO] [stderr] --> src/editor/mod.rs:203:15 [INFO] [stderr] | [INFO] [stderr] 203 | let [[tl, t, tr], [ml, m, mr], [bl, b, br]] = grid; [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_tl` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `t` [INFO] [stderr] --> src/editor/mod.rs:203:19 [INFO] [stderr] | [INFO] [stderr] 203 | let [[tl, t, tr], [ml, m, mr], [bl, b, br]] = grid; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `tr` [INFO] [stderr] --> src/editor/mod.rs:203:22 [INFO] [stderr] | [INFO] [stderr] 203 | let [[tl, t, tr], [ml, m, mr], [bl, b, br]] = grid; [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_tr` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ml` [INFO] [stderr] --> src/editor/mod.rs:203:28 [INFO] [stderr] | [INFO] [stderr] 203 | let [[tl, t, tr], [ml, m, mr], [bl, b, br]] = grid; [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_ml` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `mr` [INFO] [stderr] --> src/editor/mod.rs:203:35 [INFO] [stderr] | [INFO] [stderr] 203 | let [[tl, t, tr], [ml, m, mr], [bl, b, br]] = grid; [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_mr` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `bl` [INFO] [stderr] --> src/editor/mod.rs:203:41 [INFO] [stderr] | [INFO] [stderr] 203 | let [[tl, t, tr], [ml, m, mr], [bl, b, br]] = grid; [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_bl` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `b` [INFO] [stderr] --> src/editor/mod.rs:203:45 [INFO] [stderr] | [INFO] [stderr] 203 | let [[tl, t, tr], [ml, m, mr], [bl, b, br]] = grid; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `br` [INFO] [stderr] --> src/editor/mod.rs:203:48 [INFO] [stderr] | [INFO] [stderr] 203 | let [[tl, t, tr], [ml, m, mr], [bl, b, br]] = grid; [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_br` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/editor/scene_view.rs:189:28 [INFO] [stderr] | [INFO] [stderr] 189 | pub fn draw(&mut self, mut ctx: &mut Context, tile_renderer: &mut TileRenderer, mouse: &Mouse) { [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `rpg` (bin "rpg" test) generated 16 warnings (run `cargo fix --bin "rpg" --tests` to apply 15 suggestions) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.26s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rpg-c357f4ecd86513a2) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a13ff4adc2ddcbbe0086103f651bbe133cecba5841423adea556920379a62d2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a13ff4adc2ddcbbe0086103f651bbe133cecba5841423adea556920379a62d2c", kill_on_drop: false }` [INFO] [stdout] a13ff4adc2ddcbbe0086103f651bbe133cecba5841423adea556920379a62d2c