[INFO] cloning repository https://github.com/mikewim/hands-on-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mikewim/hands-on-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmikewim%2Fhands-on-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmikewim%2Fhands-on-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2b72dfdd842df78e0ae4e6071b514569d861d782 [INFO] testing mikewim/hands-on-rust against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmikewim%2Fhands-on-rust" "/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/mikewim/hands-on-rust [INFO] finished tweaking git repo https://github.com/mikewim/hands-on-rust [INFO] tweaked toml for git repo https://github.com/mikewim/hands-on-rust written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mikewim/hands-on-rust 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/mikewim/hands-on-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded crossbeam-epoch v0.9.8 [INFO] [stderr] Downloaded erased-serde v0.3.20 [INFO] [stderr] Downloaded atomic_refcell v0.1.8 [INFO] [stderr] Downloaded legion_codegen v0.4.0 [INFO] [stderr] Downloaded legion v0.4.0 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 637f547a4b3c20615b3961bf9ffd30d7076f4832e6940eb884cc38418f2abfcd [INFO] running `Command { std: "docker" "start" "-a" "637f547a4b3c20615b3961bf9ffd30d7076f4832e6940eb884cc38418f2abfcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "637f547a4b3c20615b3961bf9ffd30d7076f4832e6940eb884cc38418f2abfcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "637f547a4b3c20615b3961bf9ffd30d7076f4832e6940eb884cc38418f2abfcd", kill_on_drop: false }` [INFO] [stdout] 637f547a4b3c20615b3961bf9ffd30d7076f4832e6940eb884cc38418f2abfcd [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8e2e43c02cc768d268bac5661a4ca3ff171bd298a672fdf0814099b8836ca9f5 [INFO] running `Command { std: "docker" "start" "-a" "8e2e43c02cc768d268bac5661a4ca3ff171bd298a672fdf0814099b8836ca9f5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling once_cell v1.12.0 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling bytemuck v1.9.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling ttf-parser v0.6.2 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling safe_arch v0.5.2 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling raw-window-handle v0.4.3 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling wide v0.6.5 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling anyhow v1.0.57 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling miniz_oxide v0.5.1 [INFO] [stderr] Compiling owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling rusttype v0.9.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling crossbeam-channel v0.5.4 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Compiling erased-serde v0.3.20 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling flate2 v1.0.24 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling xdg v2.4.1 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling ultraviolet v0.8.1 [INFO] [stderr] Compiling andrew v0.3.1 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling raw-window-handle v0.3.4 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling bracket-color v0.8.2 [INFO] [stderr] Compiling object-pool v0.5.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling glow v0.10.0 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling atomic_refcell v0.1.8 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Compiling bracket-random v0.8.2 [INFO] [stderr] Compiling scoped-tls-hkt v0.1.2 [INFO] [stderr] Compiling bracket-geometry v0.8.3 [INFO] [stderr] Compiling bracket-noise v0.8.2 [INFO] [stderr] Compiling bracket-algorithm-traits v0.8.2 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling wayland-commons v0.28.6 [INFO] [stderr] Compiling bracket-pathfinding v0.8.4 [INFO] [stderr] Compiling calloop v0.6.5 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling legion_codegen v0.4.0 [INFO] [stderr] Compiling wayland-cursor v0.28.6 [INFO] [stderr] Compiling wayland-egl v0.28.6 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling legion v0.4.0 [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 bracket-terminal v0.8.5 [INFO] [stderr] Compiling bracket-lib v0.8.1 [INFO] [stderr] Compiling rogue_not_java v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/combat.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | 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] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/player_input.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | let mut player_health = <&mut Health>::query() [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 51.72s [INFO] running `Command { std: "docker" "inspect" "8e2e43c02cc768d268bac5661a4ca3ff171bd298a672fdf0814099b8836ca9f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e2e43c02cc768d268bac5661a4ca3ff171bd298a672fdf0814099b8836ca9f5", kill_on_drop: false }` [INFO] [stdout] 8e2e43c02cc768d268bac5661a4ca3ff171bd298a672fdf0814099b8836ca9f5 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7b66f4ef94a025f638b999611d08c07bc6e85a7478ebf99c6e0f6dd305380a0b [INFO] running `Command { std: "docker" "start" "-a" "7b66f4ef94a025f638b999611d08c07bc6e85a7478ebf99c6e0f6dd305380a0b", kill_on_drop: false }` [INFO] [stderr] Compiling rogue_not_java v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/combat.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | 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] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/player_input.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | let mut player_health = <&mut Health>::query() [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.95s [INFO] running `Command { std: "docker" "inspect" "7b66f4ef94a025f638b999611d08c07bc6e85a7478ebf99c6e0f6dd305380a0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b66f4ef94a025f638b999611d08c07bc6e85a7478ebf99c6e0f6dd305380a0b", kill_on_drop: false }` [INFO] [stdout] 7b66f4ef94a025f638b999611d08c07bc6e85a7478ebf99c6e0f6dd305380a0b [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7f7721e079be8682ad60b4ef30548acb18d786c0ad7003d6dec80b4e86f52e08 [INFO] running `Command { std: "docker" "start" "-a" "7f7721e079be8682ad60b4ef30548acb18d786c0ad7003d6dec80b4e86f52e08", kill_on_drop: false }` [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/systems/combat.rs:26:19 [INFO] [stderr] | [INFO] [stderr] 26 | 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: variable does not need to be mutable [INFO] [stderr] --> src/systems/player_input.rs:65:17 [INFO] [stderr] | [INFO] [stderr] 65 | let mut player_health = <&mut Health>::query() [INFO] [stderr] | ----^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: `rogue_not_java` (bin "rogue_not_java" test) generated 2 warnings (run `cargo fix --bin "rogue_not_java" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rogue_not_java-5dab086496123b14) [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" "7f7721e079be8682ad60b4ef30548acb18d786c0ad7003d6dec80b4e86f52e08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f7721e079be8682ad60b4ef30548acb18d786c0ad7003d6dec80b4e86f52e08", kill_on_drop: false }` [INFO] [stdout] 7f7721e079be8682ad60b4ef30548acb18d786c0ad7003d6dec80b4e86f52e08