[INFO] cloning repository https://github.com/seakayone/hands-on-rust-game [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/seakayone/hands-on-rust-game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseakayone%2Fhands-on-rust-game", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseakayone%2Fhands-on-rust-game'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b2e4d4288b1ff725ac8f39b796ddf6960d2b72d4 [INFO] testing seakayone/hands-on-rust-game against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseakayone%2Fhands-on-rust-game" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/seakayone/hands-on-rust-game [INFO] finished tweaking git repo https://github.com/seakayone/hands-on-rust-game [INFO] tweaked toml for git repo https://github.com/seakayone/hands-on-rust-game written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/seakayone/hands-on-rust-game on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/seakayone/hands-on-rust-game 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ron v0.6.1 [INFO] [stderr] Downloaded bracket-algorithm-traits v0.8.7 [INFO] [stderr] Downloaded bracket-rex v0.8.7 [INFO] [stderr] Downloaded erased-serde v0.3.26 [INFO] [stderr] Downloaded bracket-noise v0.8.7 [INFO] [stderr] Downloaded send_wrapper v0.2.0 [INFO] [stderr] Downloaded bracket-pathfinding v0.8.7 [INFO] [stderr] Downloaded bracket-random v0.8.7 [INFO] [stderr] Downloaded bracket-geometry v0.8.7 [INFO] [stderr] Downloaded bracket-color v0.8.7 [INFO] [stderr] Downloaded wide v0.7.21 [INFO] [stderr] Downloaded smithay-client-toolkit v0.15.4 [INFO] [stderr] Downloaded legion v0.3.1 [INFO] [stderr] Downloaded bracket-embedding v0.8.7 [INFO] [stderr] Downloaded ultraviolet v0.9.2 [INFO] [stderr] Downloaded calloop v0.9.3 [INFO] [stderr] Downloaded serde v1.0.115 [INFO] [stderr] Downloaded legion_codegen v0.3.0 [INFO] [stderr] Downloaded serde_derive v1.0.115 [INFO] [stderr] Downloaded wasm-timer v0.1.3 [INFO] [stderr] Downloaded proc-macro2 v1.0.84 [INFO] [stderr] Downloaded bracket-terminal v0.8.7 [INFO] [stderr] Downloaded object-pool v0.5.4 [INFO] [stderr] Downloaded bracket-lib v0.8.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2def1035a019e590b4f49a7213ed91a0e0b6cc63de4b1536f43fb1a8d30fd68f [INFO] running `Command { std: "docker" "start" "-a" "2def1035a019e590b4f49a7213ed91a0e0b6cc63de4b1536f43fb1a8d30fd68f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2def1035a019e590b4f49a7213ed91a0e0b6cc63de4b1536f43fb1a8d30fd68f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2def1035a019e590b4f49a7213ed91a0e0b6cc63de4b1536f43fb1a8d30fd68f", kill_on_drop: false }` [INFO] [stdout] 2def1035a019e590b4f49a7213ed91a0e0b6cc63de4b1536f43fb1a8d30fd68f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 18637969191cbcc7683405b1be923bb09995ef82876fe1b419f01d7cce4ab2a5 [INFO] running `Command { std: "docker" "start" "-a" "18637969191cbcc7683405b1be923bb09995ef82876fe1b419f01d7cce4ab2a5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling proc-macro2 v1.0.84 [INFO] [stderr] Compiling xml-rs v0.8.20 [INFO] [stderr] Compiling bytemuck v1.16.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling miniz_oxide v0.7.3 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling fdeflate v0.3.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling arrayref v0.3.7 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Compiling foreign-types-shared v0.3.1 [INFO] [stderr] Compiling xcursor v0.3.5 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling raw-window-handle v0.4.3 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling raw-window-handle v0.5.2 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling erased-serde v0.3.26 [INFO] [stderr] Compiling glow v0.11.2 [INFO] [stderr] Compiling safe_arch v0.7.1 [INFO] [stderr] Compiling tiny-skia-path v0.7.0 [INFO] [stderr] Compiling safe_arch v0.5.2 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling freetype-sys v0.13.1 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Compiling servo-fontconfig-sys v5.1.0 [INFO] [stderr] Compiling png v0.17.13 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.1 [INFO] [stderr] Compiling crossfont v0.5.2 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling wide v0.7.21 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling glutin_egl_sys v0.1.6 [INFO] [stderr] Compiling glutin_glx_sys v0.1.8 [INFO] [stderr] Compiling crossbeam-channel v0.4.4 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [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 parking_lot v0.12.3 [INFO] [stderr] Compiling freetype-rs v0.26.0 [INFO] [stderr] Compiling servo-fontconfig v0.5.1 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling tiny-skia v0.7.0 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling bracket-embedding v0.8.7 [INFO] [stderr] Compiling ultraviolet v0.9.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling bracket-color v0.8.7 [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling object-pool v0.5.4 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling bracket-rex v0.8.7 [INFO] [stderr] Compiling bracket-random v0.8.7 [INFO] [stderr] Compiling bracket-noise v0.8.7 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling foreign-types-macros v0.2.3 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling bracket-geometry v0.8.7 [INFO] [stderr] Compiling bracket-algorithm-traits v0.8.7 [INFO] [stderr] Compiling bracket-pathfinding v0.8.7 [INFO] [stderr] Compiling foreign-types v0.5.0 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling calloop v0.10.6 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling legion_codegen v0.3.0 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling wayland-egl v0.29.5 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling ron v0.6.1 [INFO] [stderr] Compiling legion v0.3.1 [INFO] [stderr] Compiling sctk-adwaita v0.4.3 [INFO] [stderr] Compiling winit v0.27.5 [INFO] [stderr] Compiling glutin v0.29.1 [INFO] [stderr] Compiling bracket-terminal v0.8.7 [INFO] [stderr] Compiling bracket-lib v0.8.7 [INFO] [stderr] Compiling dungeoncrawler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/spawner/templates.rs:103:16 [INFO] [stdout] | [INFO] [stdout] 103 | if let (Some(damage)) = template.base_damage { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 103 - if let (Some(damage)) = template.base_damage { [INFO] [stdout] 103 + if let Some(damage) = template.base_damage { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/combat.rs:41:19 [INFO] [stdout] | [INFO] [stdout] 41 | if let Ok(mut health) = ecs [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 04s [INFO] running `Command { std: "docker" "inspect" "18637969191cbcc7683405b1be923bb09995ef82876fe1b419f01d7cce4ab2a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18637969191cbcc7683405b1be923bb09995ef82876fe1b419f01d7cce4ab2a5", kill_on_drop: false }` [INFO] [stdout] 18637969191cbcc7683405b1be923bb09995ef82876fe1b419f01d7cce4ab2a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bc04f9d7c2b5a9c3a8ea8f2e96c370fa5d58c62c16a9c189b06af10074968929 [INFO] running `Command { std: "docker" "start" "-a" "bc04f9d7c2b5a9c3a8ea8f2e96c370fa5d58c62c16a9c189b06af10074968929", kill_on_drop: false }` [INFO] [stderr] Compiling dungeoncrawler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/spawner/templates.rs:103:16 [INFO] [stdout] | [INFO] [stdout] 103 | if let (Some(damage)) = template.base_damage { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 103 - if let (Some(damage)) = template.base_damage { [INFO] [stdout] 103 + if let Some(damage) = template.base_damage { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/combat.rs:41:19 [INFO] [stdout] | [INFO] [stdout] 41 | if let Ok(mut health) = ecs [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.25s [INFO] running `Command { std: "docker" "inspect" "bc04f9d7c2b5a9c3a8ea8f2e96c370fa5d58c62c16a9c189b06af10074968929", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc04f9d7c2b5a9c3a8ea8f2e96c370fa5d58c62c16a9c189b06af10074968929", kill_on_drop: false }` [INFO] [stdout] bc04f9d7c2b5a9c3a8ea8f2e96c370fa5d58c62c16a9c189b06af10074968929 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8633f69487bd57160b94a341dea0a21d4f6e21bddb3b4b43ffd4bc500c8d853b [INFO] running `Command { std: "docker" "start" "-a" "8633f69487bd57160b94a341dea0a21d4f6e21bddb3b4b43ffd4bc500c8d853b", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around pattern [INFO] [stderr] --> src/spawner/templates.rs:103:16 [INFO] [stderr] | [INFO] [stderr] 103 | if let (Some(damage)) = template.base_damage { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 103 - if let (Some(damage)) = template.base_damage { [INFO] [stderr] 103 + if let Some(damage) = template.base_damage { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/systems/combat.rs:41:19 [INFO] [stderr] | [INFO] [stderr] 41 | if let Ok(mut health) = ecs [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `dungeoncrawler` (bin "dungeoncrawler" test) generated 2 warnings (run `cargo fix --bin "dungeoncrawler" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/dungeoncrawler-a4fa9a5f4e83a8c7) [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" "8633f69487bd57160b94a341dea0a21d4f6e21bddb3b4b43ffd4bc500c8d853b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8633f69487bd57160b94a341dea0a21d4f6e21bddb3b4b43ffd4bc500c8d853b", kill_on_drop: false }` [INFO] [stdout] 8633f69487bd57160b94a341dea0a21d4f6e21bddb3b4b43ffd4bc500c8d853b