[INFO] cloning repository https://github.com/Caleb-Barger/rust-rougelike [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Caleb-Barger/rust-rougelike" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCaleb-Barger%2Frust-rougelike", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCaleb-Barger%2Frust-rougelike'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3076af413926f627f5c4b157b8768067b623c327 [INFO] testing Caleb-Barger/rust-rougelike against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCaleb-Barger%2Frust-rougelike" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Caleb-Barger/rust-rougelike on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Caleb-Barger/rust-rougelike [INFO] finished tweaking git repo https://github.com/Caleb-Barger/rust-rougelike [INFO] tweaked toml for git repo https://github.com/Caleb-Barger/rust-rougelike written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/Caleb-Barger/rust-rougelike already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 15695e3e4351d0b4b0b367b42ca340916c0d87e690288cb8cc44a828c7d1024f [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" "15695e3e4351d0b4b0b367b42ca340916c0d87e690288cb8cc44a828c7d1024f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "15695e3e4351d0b4b0b367b42ca340916c0d87e690288cb8cc44a828c7d1024f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15695e3e4351d0b4b0b367b42ca340916c0d87e690288cb8cc44a828c7d1024f", kill_on_drop: false }` [INFO] [stdout] 15695e3e4351d0b4b0b367b42ca340916c0d87e690288cb8cc44a828c7d1024f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1df7795042b053603dbe2eb92d91c04a9072b6d7e4bbf123a3dd61502c3f7ad6 [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" "1df7795042b053603dbe2eb92d91c04a9072b6d7e4bbf123a3dd61502c3f7ad6", kill_on_drop: false }` [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling wide v0.4.6 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling cc v1.0.61 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling regex-syntax v0.6.20 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling mopa v0.2.2 [INFO] [stderr] Compiling atom v0.3.6 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling tuple_utils v0.3.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling crossbeam-utils v0.8.0 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling hashbrown v0.7.2 [INFO] [stderr] Compiling libloading v0.6.5 [INFO] [stderr] Compiling instant v0.1.8 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.35 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling jpeg-decoder v0.1.20 [INFO] [stderr] Compiling aho-corasick v0.7.14 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling crossbeam-channel v0.4.4 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling wayland-sys v0.23.6 [INFO] [stderr] Compiling png v0.16.7 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_xorshift v0.2.0 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling bracket-color v0.8.1 [INFO] [stderr] Compiling ultraviolet v0.4.6 [INFO] [stderr] Compiling flate2 v1.0.18 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling regex v1.4.1 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling ordered-float v1.1.0 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling glow v0.4.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling crossbeam v0.7.3 [INFO] [stderr] Compiling rusttype v0.8.3 [INFO] [stderr] Compiling object-pool v0.4.4 [INFO] [stderr] Compiling bracket-geometry v0.8.1 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling tynm v0.1.6 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Compiling bracket-random v0.8.0 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling image v0.23.10 [INFO] [stderr] Compiling bracket-algorithm-traits v0.8.1 [INFO] [stderr] Compiling bracket-noise v0.8.1 [INFO] [stderr] Compiling bracket-pathfinding v0.8.1 [INFO] [stderr] Compiling wayland-commons v0.23.6 [INFO] [stderr] Compiling calloop v0.4.4 [INFO] [stderr] Compiling hibitset v0.6.3 [INFO] [stderr] Compiling shred v0.10.2 [INFO] [stderr] Compiling specs v0.16.1 [INFO] [stderr] Compiling specs-derive v0.4.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.6.6 [INFO] [stderr] Compiling winit v0.22.2 [INFO] [stderr] Compiling glutin v0.24.1 [INFO] [stderr] Compiling bracket-terminal v0.8.1 [INFO] [stderr] Compiling bracket-lib v0.8.1 [INFO] [stderr] Compiling rltk v0.8.1 [INFO] [stderr] Compiling chapter-04-newmap v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::RunState::Running` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::RunState::Running; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map.rs:129:63 [INFO] [stdout] | [INFO] [stdout] 129 | fn get_pathing_distance(&self, idx1:usize, idx2:usize) -> f32 { [INFO] [stdout] | -------------------- ^^^ expected `f32`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] ... [INFO] [stdout] 133 | rltk::DistanceAlg::Pythagoras.distance2d(p1, p2); [INFO] [stdout] | - help: consider removing this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `chapter-04-newmap` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "1df7795042b053603dbe2eb92d91c04a9072b6d7e4bbf123a3dd61502c3f7ad6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1df7795042b053603dbe2eb92d91c04a9072b6d7e4bbf123a3dd61502c3f7ad6", kill_on_drop: false }` [INFO] [stdout] 1df7795042b053603dbe2eb92d91c04a9072b6d7e4bbf123a3dd61502c3f7ad6