[INFO] cloning repository https://github.com/JPMoresmau/anthea-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JPMoresmau/anthea-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJPMoresmau%2Fanthea-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJPMoresmau%2Fanthea-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] af9d3d522349019466f7b8e2bc568432558792b4 [INFO] checking JPMoresmau/anthea-rs against try#3bb2879ea9e58d65b875f9a98df44f4a43ce2597 for pr-85387 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJPMoresmau%2Fanthea-rs" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JPMoresmau/anthea-rs on toolchain 3bb2879ea9e58d65b875f9a98df44f4a43ce2597 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/JPMoresmau/anthea-rs [INFO] finished tweaking git repo https://github.com/JPMoresmau/anthea-rs [INFO] tweaked toml for git repo https://github.com/JPMoresmau/anthea-rs written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/JPMoresmau/anthea-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded glow v0.3.0-alpha4 [INFO] [stderr] Downloaded rltk v0.5.13 [INFO] [stderr] Downloaded winit v0.20.0-alpha5 [INFO] [stderr] Downloaded glutin v0.22.0-alpha5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b859cfb15a393248d427d62ff9a0d14e948f51aeefbdc7b91e8aadeec14511a2 [INFO] running `Command { std: "docker" "start" "-a" "b859cfb15a393248d427d62ff9a0d14e948f51aeefbdc7b91e8aadeec14511a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b859cfb15a393248d427d62ff9a0d14e948f51aeefbdc7b91e8aadeec14511a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b859cfb15a393248d427d62ff9a0d14e948f51aeefbdc7b91e8aadeec14511a2", kill_on_drop: false }` [INFO] [stdout] b859cfb15a393248d427d62ff9a0d14e948f51aeefbdc7b91e8aadeec14511a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4a9dcecbeb91c8e4d3636b9f72c0dd99a184251196b5e10e642a237f6c5656f2 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "4a9dcecbeb91c8e4d3636b9f72c0dd99a184251196b5e10e642a237f6c5656f2", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Checking lazycell v1.2.1 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Checking downcast-rs v1.1.1 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Checking smallvec v1.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking instant v0.1.2 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Compiling cgmath v0.17.0 [INFO] [stderr] Checking bresenham v0.1.1 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Checking lock_api v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling hashbrown v0.6.3 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking miniz_oxide v0.3.5 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Checking arrayvec v0.4.12 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking num_cpus v1.11.1 [INFO] [stderr] Checking parking_lot_core v0.7.0 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking jpeg-decoder v0.1.18 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking parking_lot v0.10.0 [INFO] [stderr] Compiling x11-dl v2.18.4 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking flate2 v1.0.13 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling gl_generator v0.11.0 [INFO] [stderr] Checking nix v0.14.1 [INFO] [stderr] Checking png v0.15.2 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand_xorshift v0.2.0 [INFO] [stderr] Checking dlib v0.4.1 [INFO] [stderr] Checking crossbeam-queue v0.2.0 [INFO] [stderr] Checking wayland-sys v0.23.6 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Checking rusttype v0.8.2 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Compiling glutin_glx_sys v0.1.5 [INFO] [stderr] Compiling glutin_egl_sys v0.1.4 [INFO] [stderr] Compiling glow v0.3.0-alpha4 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking image v0.22.3 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Checking wayland-commons v0.23.6 [INFO] [stderr] Checking calloop v0.4.4 [INFO] [stderr] Compiling derivative v1.0.3 [INFO] [stderr] Compiling specs-derive v0.4.0 [INFO] [stderr] Checking hibitset v0.6.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling const-random-macro v0.1.6 [INFO] [stderr] Checking const-random v0.1.6 [INFO] [stderr] Checking ahash v0.2.18 [INFO] [stderr] Checking shred v0.9.4 [INFO] [stderr] Checking smithay-client-toolkit v0.6.4 [INFO] [stderr] Checking specs v0.15.1 [INFO] [stderr] Checking winit v0.20.0-alpha5 [INFO] [stderr] Checking glutin v0.22.0-alpha5 [INFO] [stderr] Checking rltk v0.5.13 [INFO] [stderr] Checking ron v0.5.1 [INFO] [stderr] Checking anthea-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `wizards` [INFO] [stdout] --> src/combat_system.rs:29:82 [INFO] [stdout] | [INFO] [stdout] 29 | ...eapons, mut characters, mut wizards,infight,monsters,mut wantstofight, mut wantstoflee, mut fled, mut damages, mut dead, entities) = d... [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wizards` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wizards` [INFO] [stdout] --> src/combat_system.rs:29:82 [INFO] [stdout] | [INFO] [stdout] 29 | ...eapons, mut characters, mut wizards,infight,monsters,mut wantstofight, mut wantstoflee, mut fled, mut damages, mut dead, entities) = d... [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wizards` [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/combat_system.rs:29:78 [INFO] [stdout] | [INFO] [stdout] 29 | ... let (map, mut positions, players, equipped, weapons, mut characters, mut wizards,infight,monsters,mut wantstofight, mut wantstoflee... [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: panic message is not a string literal [INFO] [stdout] --> src/interact_system.rs:81:49 [INFO] [stdout] | [INFO] [stdout] 81 | ... _ => panic!(format!("unknow characteristic {}",chr.to_owned())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 81 | _ => panic!("unknow characteristic {}",chr.to_owned()), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/combat_system.rs:29:78 [INFO] [stdout] | [INFO] [stdout] 29 | ... let (map, mut positions, players, equipped, weapons, mut characters, mut wizards,infight,monsters,mut wantstofight, mut wantstoflee... [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: panic message is not a string literal [INFO] [stdout] --> src/interact_system.rs:81:49 [INFO] [stdout] | [INFO] [stdout] 81 | ... _ => panic!(format!("unknow characteristic {}",chr.to_owned())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 81 | _ => panic!("unknow characteristic {}",chr.to_owned()), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 02s [INFO] running `Command { std: "docker" "inspect" "4a9dcecbeb91c8e4d3636b9f72c0dd99a184251196b5e10e642a237f6c5656f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a9dcecbeb91c8e4d3636b9f72c0dd99a184251196b5e10e642a237f6c5656f2", kill_on_drop: false }` [INFO] [stdout] 4a9dcecbeb91c8e4d3636b9f72c0dd99a184251196b5e10e642a237f6c5656f2