[INFO] cloning repository https://github.com/Qyanger/PvZ-Rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Qyanger/PvZ-Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FQyanger%2FPvZ-Rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FQyanger%2FPvZ-Rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 62440c15b3ab950f231eb474133e62367e23a61b [INFO] testing Qyanger/PvZ-Rust against 1.91.0 for beta-1.92-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FQyanger%2FPvZ-Rust" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Qyanger/PvZ-Rust [INFO] finished tweaking git repo https://github.com/Qyanger/PvZ-Rust [INFO] tweaked toml for git repo https://github.com/Qyanger/PvZ-Rust written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Qyanger/PvZ-Rust on toolchain 1.91.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.91.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Qyanger/PvZ-Rust 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" "+1.91.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lyon_path v1.0.7 [INFO] [stderr] Downloaded glyph_brush v0.7.12 [INFO] [stderr] Downloaded zstd-sys v2.0.14+zstd.1.5.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 632934df75f1061b3894725ff074a38da72848372f7cbe306b6097db19aca91b [INFO] running `Command { std: "docker" "start" "-a" "632934df75f1061b3894725ff074a38da72848372f7cbe306b6097db19aca91b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "632934df75f1061b3894725ff074a38da72848372f7cbe306b6097db19aca91b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "632934df75f1061b3894725ff074a38da72848372f7cbe306b6097db19aca91b", kill_on_drop: false }` [INFO] [stdout] 632934df75f1061b3894725ff074a38da72848372f7cbe306b6097db19aca91b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3141716b8294bc66fffa1a66ccd7ac7c9aa70cbbb8f9cd4c20070cd64c8aa1f5 [INFO] running `Command { std: "docker" "start" "-a" "3141716b8294bc66fffa1a66ccd7ac7c9aa70cbbb8f9cd4c20070cd64c8aa1f5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling miniz_oxide v0.8.5 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling rustix v1.0.2 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling linux-raw-sys v0.9.2 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling gpu-descriptor-types v0.1.2 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.1 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling once_cell v1.21.1 [INFO] [stderr] Compiling pulldown-cmark v0.9.6 [INFO] [stderr] Compiling lyon_path v1.0.7 [INFO] [stderr] Compiling wgpu-types v0.16.1 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling flate2 v1.1.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling lewton v0.10.2 [INFO] [stderr] Compiling ordered-float v5.0.0 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Compiling lyon_tessellation v1.0.15 [INFO] [stderr] Compiling lyon_algorithms v1.0.5 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling winit v0.28.7 [INFO] [stderr] Compiling gpu-descriptor v0.2.4 [INFO] [stderr] Compiling lyon v1.0.1 [INFO] [stderr] Compiling bytemuck_derive v1.8.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling smart-default v0.7.1 [INFO] [stderr] Compiling crevice-derive v0.10.0 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling nix v0.25.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling tempfile v3.19.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling inotify v0.10.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling alsa v0.9.1 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling zstd-sys v2.0.14+zstd.1.5.7 [INFO] [stderr] Compiling bzip2-sys v0.1.13+1.0.8 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling directories v5.0.1 [INFO] [stderr] Compiling bytemuck v1.22.0 [INFO] [stderr] Compiling naga v0.12.3 [INFO] [stderr] Compiling glyph_brush_draw_cache v0.1.6 [INFO] [stderr] Compiling gilrs-core v0.5.15 [INFO] [stderr] Compiling symphonia-core v0.5.4 [INFO] [stderr] Compiling tiny-skia-path v0.8.4 [INFO] [stderr] Compiling twox-hash v2.1.0 [INFO] [stderr] Compiling crevice v0.13.0 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling glyph_brush v0.7.12 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling calloop v0.10.6 [INFO] [stderr] Compiling tiny-skia v0.8.4 [INFO] [stderr] Compiling cpal v0.15.3 [INFO] [stderr] Compiling bzip2 v0.4.4 [INFO] [stderr] Compiling gilrs v0.10.10 [INFO] [stderr] Compiling symphonia-metadata v0.5.4 [INFO] [stderr] Compiling symphonia-bundle-mp3 v0.5.4 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling symphonia v0.5.4 [INFO] [stderr] Compiling rodio v0.17.3 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Compiling zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Compiling wgpu-hal v0.16.2 [INFO] [stderr] Compiling zip v0.6.6 [INFO] [stderr] Compiling camino v1.1.9 [INFO] [stderr] Compiling cargo-platform v0.1.9 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling cargo_metadata v0.14.2 [INFO] [stderr] Compiling skeptic v0.13.7 [INFO] [stderr] Compiling wgpu-core v0.16.1 [INFO] [stderr] Compiling ggez v0.9.3 [INFO] [stderr] Compiling wgpu v0.16.3 [INFO] [stderr] Compiling sctk-adwaita v0.5.4 [INFO] [stderr] Compiling plantVs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `mint::Point2` and `timer` [INFO] [stdout] --> src/main.rs:2:42 [INFO] [stdout] | [INFO] [stdout] 2 | Context, ContextBuilder, GameResult, timer, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | mint::Point2, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ggez::input::mouse::position`: Use `ctx.mouse.position` instead [INFO] [stdout] --> src/main.rs:385:30 [INFO] [stdout] | [INFO] [stdout] 385 | let pos = mouse::position(ctx); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/main.rs:76:16 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn new(ctx: &mut Context) -> MyGame { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/main.rs:126:26 [INFO] [stdout] | [INFO] [stdout] 126 | fn update(&mut self, ctx: &mut Context) -> GameResult { [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/main.rs:415:9 [INFO] [stdout] | [INFO] [stdout] 415 | ctx: &mut Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:288:9 [INFO] [stdout] | [INFO] [stdout] 288 | self.draw_plant_selector(&mut canvas, ctx, PlantType::Sunflower, 100.0, 20.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 288 | let _ = self.draw_plant_selector(&mut canvas, ctx, PlantType::Sunflower, 100.0, 20.0); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:289:9 [INFO] [stdout] | [INFO] [stdout] 289 | self.draw_plant_selector(&mut canvas, ctx, PlantType::Peashooter, 200.0, 20.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 289 | let _ = self.draw_plant_selector(&mut canvas, ctx, PlantType::Peashooter, 200.0, 20.0); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:292:9 [INFO] [stdout] | [INFO] [stdout] 292 | self.draw_cancel_button(&mut canvas, ctx, 300.0, 20.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 292 | let _ = self.draw_cancel_button(&mut canvas, ctx, 300.0, 20.0); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 11s [INFO] running `Command { std: "docker" "inspect" "3141716b8294bc66fffa1a66ccd7ac7c9aa70cbbb8f9cd4c20070cd64c8aa1f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3141716b8294bc66fffa1a66ccd7ac7c9aa70cbbb8f9cd4c20070cd64c8aa1f5", kill_on_drop: false }` [INFO] [stdout] 3141716b8294bc66fffa1a66ccd7ac7c9aa70cbbb8f9cd4c20070cd64c8aa1f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 892ac9fb050cd2b851740d7a6e1124942002f76f8f8128093e102388cca47ca0 [INFO] running `Command { std: "docker" "start" "-a" "892ac9fb050cd2b851740d7a6e1124942002f76f8f8128093e102388cca47ca0", kill_on_drop: false }` [INFO] [stderr] Compiling plantVs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `mint::Point2` and `timer` [INFO] [stdout] --> src/main.rs:2:42 [INFO] [stdout] | [INFO] [stdout] 2 | Context, ContextBuilder, GameResult, timer, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | mint::Point2, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ggez::input::mouse::position`: Use `ctx.mouse.position` instead [INFO] [stdout] --> src/main.rs:385:30 [INFO] [stdout] | [INFO] [stdout] 385 | let pos = mouse::position(ctx); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/main.rs:76:16 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn new(ctx: &mut Context) -> MyGame { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/main.rs:126:26 [INFO] [stdout] | [INFO] [stdout] 126 | fn update(&mut self, ctx: &mut Context) -> GameResult { [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/main.rs:415:9 [INFO] [stdout] | [INFO] [stdout] 415 | ctx: &mut Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:288:9 [INFO] [stdout] | [INFO] [stdout] 288 | self.draw_plant_selector(&mut canvas, ctx, PlantType::Sunflower, 100.0, 20.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 288 | let _ = self.draw_plant_selector(&mut canvas, ctx, PlantType::Sunflower, 100.0, 20.0); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:289:9 [INFO] [stdout] | [INFO] [stdout] 289 | self.draw_plant_selector(&mut canvas, ctx, PlantType::Peashooter, 200.0, 20.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 289 | let _ = self.draw_plant_selector(&mut canvas, ctx, PlantType::Peashooter, 200.0, 20.0); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:292:9 [INFO] [stdout] | [INFO] [stdout] 292 | self.draw_cancel_button(&mut canvas, ctx, 300.0, 20.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 292 | let _ = self.draw_cancel_button(&mut canvas, ctx, 300.0, 20.0); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.43s [INFO] running `Command { std: "docker" "inspect" "892ac9fb050cd2b851740d7a6e1124942002f76f8f8128093e102388cca47ca0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "892ac9fb050cd2b851740d7a6e1124942002f76f8f8128093e102388cca47ca0", kill_on_drop: false }` [INFO] [stdout] 892ac9fb050cd2b851740d7a6e1124942002f76f8f8128093e102388cca47ca0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 97c20132a0e3a2d7e28170ec3c6751c001f62c53da63e6d0d5b38829c525028e [INFO] running `Command { std: "docker" "start" "-a" "97c20132a0e3a2d7e28170ec3c6751c001f62c53da63e6d0d5b38829c525028e", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `mint::Point2` and `timer` [INFO] [stderr] --> src/main.rs:2:42 [INFO] [stderr] | [INFO] [stderr] 2 | Context, ContextBuilder, GameResult, timer, [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 6 | mint::Point2, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ggez::input::mouse::position`: Use `ctx.mouse.position` instead [INFO] [stderr] --> src/main.rs:385:30 [INFO] [stderr] | [INFO] [stderr] 385 | let pos = mouse::position(ctx); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/main.rs:76:16 [INFO] [stderr] | [INFO] [stderr] 76 | pub fn new(ctx: &mut Context) -> MyGame { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/main.rs:126:26 [INFO] [stderr] | [INFO] [stderr] 126 | fn update(&mut self, ctx: &mut Context) -> GameResult { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/main.rs:415:9 [INFO] [stderr] | [INFO] [stderr] 415 | ctx: &mut Context, [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:288:9 [INFO] [stderr] | [INFO] [stderr] 288 | self.draw_plant_selector(&mut canvas, ctx, PlantType::Sunflower, 100.0, 20.0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 288 | let _ = self.draw_plant_selector(&mut canvas, ctx, PlantType::Sunflower, 100.0, 20.0); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:289:9 [INFO] [stderr] | [INFO] [stderr] 289 | self.draw_plant_selector(&mut canvas, ctx, PlantType::Peashooter, 200.0, 20.0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 289 | let _ = self.draw_plant_selector(&mut canvas, ctx, PlantType::Peashooter, 200.0, 20.0); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:292:9 [INFO] [stderr] | [INFO] [stderr] 292 | self.draw_cancel_button(&mut canvas, ctx, 300.0, 20.0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 292 | let _ = self.draw_cancel_button(&mut canvas, ctx, 300.0, 20.0); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `plantVs` (bin "plantVs" test) generated 8 warnings (run `cargo fix --bin "plantVs" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.29s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/plantVs-b42abd08e68e7ebf) [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" "97c20132a0e3a2d7e28170ec3c6751c001f62c53da63e6d0d5b38829c525028e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97c20132a0e3a2d7e28170ec3c6751c001f62c53da63e6d0d5b38829c525028e", kill_on_drop: false }` [INFO] [stdout] 97c20132a0e3a2d7e28170ec3c6751c001f62c53da63e6d0d5b38829c525028e