[INFO] cloning repository https://github.com/jzhang113/7drl-2021 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jzhang113/7drl-2021" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjzhang113%2F7drl-2021", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjzhang113%2F7drl-2021'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c83123ec5c810abf6c5e5cac60f7fbdd1f4a39f8 [INFO] testing jzhang113/7drl-2021 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjzhang113%2F7drl-2021" "/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/jzhang113/7drl-2021 [INFO] finished tweaking git repo https://github.com/jzhang113/7drl-2021 [INFO] tweaked toml for git repo https://github.com/jzhang113/7drl-2021 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jzhang113/7drl-2021 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jzhang113/7drl-2021 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/amethyst/bracket-lib` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded specs-derive v0.4.1 [INFO] [stderr] Downloaded tuple_utils v0.3.0 [INFO] [stderr] Downloaded shred v0.10.2 [INFO] [stderr] Downloaded mopa v0.2.2 [INFO] [stderr] Downloaded shrev v1.1.1 [INFO] [stderr] Downloaded tynm v0.1.6 [INFO] [stderr] Downloaded wayland-egl v0.28.5 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.3 [INFO] [stderr] Downloaded wasm-timer v0.1.3 [INFO] [stderr] Downloaded wayland-cursor v0.28.5 [INFO] [stderr] Downloaded crossbeam-utils v0.8.3 [INFO] [stderr] Downloaded bytemuck v1.5.1 [INFO] [stderr] Downloaded slotmap v0.3.0 [INFO] [stderr] Downloaded hibitset v0.6.3 [INFO] [stderr] Downloaded specs v0.16.1 [INFO] [stderr] Downloaded glow v0.4.0 [INFO] [stderr] Downloaded safe_arch v0.5.2 [INFO] [stderr] Downloaded wayland-client v0.28.5 [INFO] [stderr] Downloaded atom v0.3.6 [INFO] [stderr] Downloaded wayland-protocols v0.28.5 [INFO] [stderr] Downloaded futures v0.1.31 [INFO] [stderr] Downloaded ezing v0.2.1 [INFO] [stderr] Downloaded hashbrown v0.7.2 [INFO] [stderr] Downloaded wide v0.5.5 [INFO] [stderr] Downloaded serde v1.0.124 [INFO] [stderr] Downloaded ultraviolet v0.7.5 [INFO] [stderr] Downloaded thiserror-impl v1.0.24 [INFO] [stderr] Downloaded thiserror v1.0.24 [INFO] [stderr] Downloaded walkdir v2.3.1 [INFO] [stderr] Downloaded wayland-commons v0.28.5 [INFO] [stderr] Downloaded wayland-sys v0.28.5 [INFO] [stderr] Downloaded wayland-scanner v0.28.5 [INFO] [stderr] Downloaded console_error_panic_hook v0.1.6 [INFO] [stderr] Downloaded object-pool v0.5.3 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f04178fd80565c240489c1bd15c7ab51ef2a2a44b39afe3720e4ca7b5b5077f2 [INFO] running `Command { std: "docker" "start" "-a" "f04178fd80565c240489c1bd15c7ab51ef2a2a44b39afe3720e4ca7b5b5077f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f04178fd80565c240489c1bd15c7ab51ef2a2a44b39afe3720e4ca7b5b5077f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f04178fd80565c240489c1bd15c7ab51ef2a2a44b39afe3720e4ca7b5b5077f2", kill_on_drop: false }` [INFO] [stdout] f04178fd80565c240489c1bd15c7ab51ef2a2a44b39afe3720e4ca7b5b5077f2 [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=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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] d968b0b5e63b83988695b368084c330483c11baf501e09daff0c6889f1762808 [INFO] running `Command { std: "docker" "start" "-a" "d968b0b5e63b83988695b368084c330483c11baf501e09daff0c6889f1762808", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling libloading v0.7.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling bytemuck v1.5.1 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling ttf-parser v0.6.2 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling safe_arch v0.5.2 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling wayland-sys v0.28.5 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling wide v0.5.5 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling rusttype v0.9.2 [INFO] [stderr] Compiling wayland-scanner v0.28.5 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling andrew v0.3.1 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling crossbeam-epoch v0.9.3 [INFO] [stderr] Compiling glow v0.4.0 [INFO] [stderr] Compiling ultraviolet v0.7.5 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling xcursor v0.3.3 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling wayland-client v0.28.5 [INFO] [stderr] Compiling wayland-protocols v0.28.5 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling bracket-geometry v0.8.2 (https://github.com/amethyst/bracket-lib#927d2292) [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stderr] Compiling anyhow v1.0.38 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling wayland-commons v0.28.5 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling calloop v0.6.5 [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling hashbrown v0.7.2 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling syn v1.0.63 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling flate2 v1.0.20 [INFO] [stderr] Compiling object-pool v0.5.3 [INFO] [stderr] Compiling bracket-algorithm-traits v0.8.2 (https://github.com/amethyst/bracket-lib#927d2292) [INFO] [stderr] Compiling bracket-color v0.8.2 (https://github.com/amethyst/bracket-lib#927d2292) [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling ahash v0.3.8 [INFO] [stderr] Compiling bracket-pathfinding v0.8.4 (https://github.com/amethyst/bracket-lib#927d2292) [INFO] [stderr] Compiling wayland-cursor v0.28.5 [INFO] [stderr] Compiling wayland-egl v0.28.5 [INFO] [stderr] Compiling mopa v0.2.2 [INFO] [stderr] Compiling atom v0.3.6 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling shrev v1.1.1 [INFO] [stderr] Compiling tuple_utils v0.3.0 [INFO] [stderr] Compiling ezing v0.2.1 [INFO] [stderr] Compiling bracket-random v0.8.3 (https://github.com/amethyst/bracket-lib#927d2292) [INFO] [stderr] Compiling bracket-noise v0.8.2 (https://github.com/amethyst/bracket-lib#927d2292) [INFO] [stderr] Compiling hibitset v0.6.3 [INFO] [stderr] Compiling tynm v0.1.6 [INFO] [stderr] Compiling shred v0.10.2 [INFO] [stderr] Compiling specs-derive v0.4.1 [INFO] [stderr] Compiling specs v0.16.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 bracket-terminal v0.8.3 (https://github.com/amethyst/bracket-lib#927d2292) [INFO] [stderr] Compiling bracket-lib v0.8.2 (https://github.com/amethyst/bracket-lib#927d2292) [INFO] [stderr] Compiling rltk v0.8.1 (https://github.com/amethyst/bracket-lib#927d2292) [INFO] [stderr] Compiling counterpuncher v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/events/event_type.rs:67:25 [INFO] [stdout] | [INFO] [stdout] 67 | if let Some(mut affected) = affected { [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: variable does not need to be mutable [INFO] [stdout] --> src/events/event_type.rs:102:25 [INFO] [stdout] | [INFO] [stdout] 102 | if let Some(mut affected) = affected { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/events/mod.rs:150:37 [INFO] [stdout] | [INFO] [stdout] 150 | ... let mut sched = scheds.get_mut(entity).unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gui.rs:504:16 [INFO] [stdout] | [INFO] [stdout] 504 | for (rend, mut view, pos, health, attack) in ( [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `viewables` [INFO] [stdout] --> src/player.rs:404:15 [INFO] [stdout] | [INFO] [stdout] 404 | for (ent, viewables, v_index) in (&entities, &viewables, &v_indexes).join() { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_viewables` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sys_attack.rs:59:37 [INFO] [stdout] | [INFO] [stdout] 59 | if let Some(mut health) = healths.get_mut(ent) { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sys_particle.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | for (ent, mut lifetime) in (&entities, &mut particles).join() { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sys_particle.rs:26:15 [INFO] [stdout] | [INFO] [stdout] 26 | for (ent, mut lifetime) in (&entities, &mut cards).join() { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sys_pickup.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 33 | for (ent, pos, mut health, _) in (&entities, &positions, &mut healths, &scheds).join() { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `viewables` [INFO] [stdout] --> src/sys_visibility.rs:19:70 [INFO] [stdout] | [INFO] [stdout] 19 | let (mut map, entities, mut viewsheds, mut view_indexes, mut viewables, pos, player) = data; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_viewables` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sys_visibility.rs:19:66 [INFO] [stdout] | [INFO] [stdout] 19 | let (mut map, entities, mut viewsheds, mut view_indexes, mut viewables, pos, player) = data; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sys_visibility.rs:57:23 [INFO] [stdout] | [INFO] [stdout] 57 | for (ent, mut v_index) in (&entities, &mut view_indexes).join() { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:232:13 [INFO] [stdout] | [INFO] [stdout] 232 | let mut player_pos = positions [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/spawner.rs:240:24 [INFO] [stdout] | [INFO] [stdout] 240 | fn barrel_builder(ecs: &mut World, point: Point) -> EntityBuilder { [INFO] [stdout] | ^^^^^^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 240 | fn barrel_builder(ecs: &mut World, point: Point) -> EntityBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 53.32s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2, nom v6.1.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "d968b0b5e63b83988695b368084c330483c11baf501e09daff0c6889f1762808", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d968b0b5e63b83988695b368084c330483c11baf501e09daff0c6889f1762808", kill_on_drop: false }` [INFO] [stdout] d968b0b5e63b83988695b368084c330483c11baf501e09daff0c6889f1762808 [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=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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] a829714e6f404407c93c18bd1826b98dc35641d02c23f11e2214dc40d1a1d175 [INFO] running `Command { std: "docker" "start" "-a" "a829714e6f404407c93c18bd1826b98dc35641d02c23f11e2214dc40d1a1d175", kill_on_drop: false }` [INFO] [stderr] Compiling counterpuncher v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/events/event_type.rs:67:25 [INFO] [stdout] | [INFO] [stdout] 67 | if let Some(mut affected) = affected { [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: variable does not need to be mutable [INFO] [stdout] --> src/events/event_type.rs:102:25 [INFO] [stdout] | [INFO] [stdout] 102 | if let Some(mut affected) = affected { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/events/mod.rs:150:37 [INFO] [stdout] | [INFO] [stdout] 150 | ... let mut sched = scheds.get_mut(entity).unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gui.rs:504:16 [INFO] [stdout] | [INFO] [stdout] 504 | for (rend, mut view, pos, health, attack) in ( [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `viewables` [INFO] [stdout] --> src/player.rs:404:15 [INFO] [stdout] | [INFO] [stdout] 404 | for (ent, viewables, v_index) in (&entities, &viewables, &v_indexes).join() { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_viewables` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sys_attack.rs:59:37 [INFO] [stdout] | [INFO] [stdout] 59 | if let Some(mut health) = healths.get_mut(ent) { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sys_particle.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | for (ent, mut lifetime) in (&entities, &mut particles).join() { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sys_particle.rs:26:15 [INFO] [stdout] | [INFO] [stdout] 26 | for (ent, mut lifetime) in (&entities, &mut cards).join() { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sys_pickup.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 33 | for (ent, pos, mut health, _) in (&entities, &positions, &mut healths, &scheds).join() { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `viewables` [INFO] [stdout] --> src/sys_visibility.rs:19:70 [INFO] [stdout] | [INFO] [stdout] 19 | let (mut map, entities, mut viewsheds, mut view_indexes, mut viewables, pos, player) = data; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_viewables` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sys_visibility.rs:19:66 [INFO] [stdout] | [INFO] [stdout] 19 | let (mut map, entities, mut viewsheds, mut view_indexes, mut viewables, pos, player) = data; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sys_visibility.rs:57:23 [INFO] [stdout] | [INFO] [stdout] 57 | for (ent, mut v_index) in (&entities, &mut view_indexes).join() { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:232:13 [INFO] [stdout] | [INFO] [stdout] 232 | let mut player_pos = positions [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/spawner.rs:240:24 [INFO] [stdout] | [INFO] [stdout] 240 | fn barrel_builder(ecs: &mut World, point: Point) -> EntityBuilder { [INFO] [stdout] | ^^^^^^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 240 | fn barrel_builder(ecs: &mut World, point: Point) -> EntityBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.85s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2, nom v6.1.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "a829714e6f404407c93c18bd1826b98dc35641d02c23f11e2214dc40d1a1d175", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a829714e6f404407c93c18bd1826b98dc35641d02c23f11e2214dc40d1a1d175", kill_on_drop: false }` [INFO] [stdout] a829714e6f404407c93c18bd1826b98dc35641d02c23f11e2214dc40d1a1d175 [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=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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 6896537f76903b59d41378a17d21fc16aa0d3731bc47b45c8ac8fe16e4ec04ab [INFO] running `Command { std: "docker" "start" "-a" "6896537f76903b59d41378a17d21fc16aa0d3731bc47b45c8ac8fe16e4ec04ab", kill_on_drop: false }` [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/events/event_type.rs:67:25 [INFO] [stderr] | [INFO] [stderr] 67 | if let Some(mut affected) = affected { [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: variable does not need to be mutable [INFO] [stderr] --> src/events/event_type.rs:102:25 [INFO] [stderr] | [INFO] [stderr] 102 | if let Some(mut affected) = affected { [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/events/mod.rs:150:37 [INFO] [stderr] | [INFO] [stderr] 150 | ... let mut sched = scheds.get_mut(entity).unwrap(); [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/gui.rs:504:16 [INFO] [stderr] | [INFO] [stderr] 504 | for (rend, mut view, pos, health, attack) in ( [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `viewables` [INFO] [stderr] --> src/player.rs:404:15 [INFO] [stderr] | [INFO] [stderr] 404 | for (ent, viewables, v_index) in (&entities, &viewables, &v_indexes).join() { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_viewables` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/sys_attack.rs:59:37 [INFO] [stderr] | [INFO] [stderr] 59 | if let Some(mut health) = healths.get_mut(ent) { [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/sys_particle.rs:19:15 [INFO] [stderr] | [INFO] [stderr] 19 | for (ent, mut lifetime) in (&entities, &mut particles).join() { [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/sys_particle.rs:26:15 [INFO] [stderr] | [INFO] [stderr] 26 | for (ent, mut lifetime) in (&entities, &mut cards).join() { [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/sys_pickup.rs:33:24 [INFO] [stderr] | [INFO] [stderr] 33 | for (ent, pos, mut health, _) in (&entities, &positions, &mut healths, &scheds).join() { [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `viewables` [INFO] [stderr] --> src/sys_visibility.rs:19:70 [INFO] [stderr] | [INFO] [stderr] 19 | let (mut map, entities, mut viewsheds, mut view_indexes, mut viewables, pos, player) = data; [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_viewables` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/sys_visibility.rs:19:66 [INFO] [stderr] | [INFO] [stderr] 19 | let (mut map, entities, mut viewsheds, mut view_indexes, mut viewables, pos, player) = data; [INFO] [stderr] | ----^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/sys_visibility.rs:57:23 [INFO] [stderr] | [INFO] [stderr] 57 | for (ent, mut v_index) in (&entities, &mut view_indexes).join() { [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:232:13 [INFO] [stderr] | [INFO] [stderr] 232 | let mut player_pos = positions [INFO] [stderr] | ----^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/spawner.rs:240:24 [INFO] [stderr] | [INFO] [stderr] 240 | fn barrel_builder(ecs: &mut World, point: Point) -> EntityBuilder { [INFO] [stderr] | ^^^^^^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 240 | fn barrel_builder(ecs: &mut World, point: Point) -> EntityBuilder<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `counterpuncher` (bin "counterpuncher" test) generated 14 warnings (run `cargo fix --bin "counterpuncher" --tests` to apply 12 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2, nom v6.1.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/counterpuncher-b2594158a53f0eb4) [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" "6896537f76903b59d41378a17d21fc16aa0d3731bc47b45c8ac8fe16e4ec04ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6896537f76903b59d41378a17d21fc16aa0d3731bc47b45c8ac8fe16e4ec04ab", kill_on_drop: false }` [INFO] [stdout] 6896537f76903b59d41378a17d21fc16aa0d3731bc47b45c8ac8fe16e4ec04ab