[INFO] cloning repository https://github.com/Zarazen/digger [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Zarazen/digger" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZarazen%2Fdigger", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZarazen%2Fdigger'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ad2b7a478adc34f4f819cf34314c20638ff9df63 [INFO] checking Zarazen/digger against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZarazen%2Fdigger" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Zarazen/digger on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Zarazen/digger [INFO] finished tweaking git repo https://github.com/Zarazen/digger [INFO] tweaked toml for git repo https://github.com/Zarazen/digger written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/Zarazen/digger already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded piston-gfx_texture v0.41.0 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.2 [INFO] [stderr] Downloaded loom v0.4.0 [INFO] [stderr] Downloaded gl v0.13.0 [INFO] [stderr] Downloaded pistoncore-event_loop v0.52.0 [INFO] [stderr] Downloaded piston2d-gfx_graphics v0.72.0 [INFO] [stderr] Downloaded piston-shaders_graphics2d v0.4.0 [INFO] [stderr] Downloaded piston2d-graphics v0.39.0 [INFO] [stderr] Downloaded pistoncore-glutin_window v0.68.0 [INFO] [stderr] Downloaded pistoncore-window v0.47.0 [INFO] [stderr] Downloaded piston-graphics_api_version v1.0.0 [INFO] [stderr] Downloaded piston_window v0.117.0 [INFO] [stderr] Downloaded piston v0.52.1 [INFO] [stderr] Downloaded pistoncore-input v1.0.0 [INFO] [stderr] Downloaded shader_version v0.7.0 [INFO] [stderr] Downloaded crossbeam-utils v0.8.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 192b3eb248e7766656b39999f4b59a5ba6c54041f8e3c49fbe4366190da1bf2c [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" "192b3eb248e7766656b39999f4b59a5ba6c54041f8e3c49fbe4366190da1bf2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "192b3eb248e7766656b39999f4b59a5ba6c54041f8e3c49fbe4366190da1bf2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "192b3eb248e7766656b39999f4b59a5ba6c54041f8e3c49fbe4366190da1bf2c", kill_on_drop: false }` [INFO] [stdout] 192b3eb248e7766656b39999f4b59a5ba6c54041f8e3c49fbe4366190da1bf2c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", 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] 6229d1b8eff1d0689126eec18905904eaa7c0a72d6627892c24997fbf680e756 [INFO] running `Command { std: "docker" "start" "-a" "6229d1b8eff1d0689126eec18905904eaa7c0a72d6627892c24997fbf680e756", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] syn v1.0.60 (as host dependency): extra-traits, full, visit [INFO] [stderr] [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Checking ttf-parser v0.6.2 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking piston-graphics_api_version v1.0.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking byteorder v1.4.2 [INFO] [stderr] Checking weezl v0.1.4 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking bytemuck v1.5.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking piston-shaders_graphics2d v0.4.0 [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking shader_version v0.7.0 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Compiling crossbeam-utils v0.8.2 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking gif v0.11.1 [INFO] [stderr] Checking draw_state v0.8.0 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Compiling wayland-sys v0.28.3 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Checking owned_ttf_parser v0.6.0 [INFO] [stderr] Checking gfx_core v0.9.2 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking rusttype v0.9.2 [INFO] [stderr] Checking andrew v0.3.1 [INFO] [stderr] Checking piston2d-graphics v0.39.0 [INFO] [stderr] Compiling wayland-scanner v0.28.3 [INFO] [stderr] Checking crossbeam-epoch v0.9.2 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking 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 gfx_gl v0.6.1 [INFO] [stderr] Checking xcursor v0.3.3 [INFO] [stderr] Compiling gl v0.13.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking memmap2 v0.1.0 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking gfx v0.18.2 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Compiling wayland-client v0.28.3 [INFO] [stderr] Compiling wayland-protocols v0.28.3 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking wayland-commons v0.28.3 [INFO] [stderr] Checking calloop v0.6.5 [INFO] [stderr] Checking image v0.23.13 [INFO] [stderr] Checking gfx_device_gl v0.16.2 [INFO] [stderr] Checking wayland-cursor v0.28.3 [INFO] [stderr] Checking wayland-egl v0.28.3 [INFO] [stderr] Checking piston-gfx_texture v0.41.0 [INFO] [stderr] Checking piston2d-gfx_graphics v0.72.0 [INFO] [stderr] Checking smithay-client-toolkit v0.12.2 [INFO] [stderr] Checking pistoncore-input v1.0.0 [INFO] [stderr] Checking winit v0.24.0 [INFO] [stderr] Checking pistoncore-window v0.47.0 [INFO] [stderr] Checking pistoncore-event_loop v0.52.0 [INFO] [stderr] Checking piston v0.52.1 [INFO] [stderr] Checking glutin v0.26.0 [INFO] [stderr] Checking pistoncore-glutin_window v0.68.0 [INFO] [stderr] Checking piston_window v0.117.0 [INFO] [stderr] Checking digger v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/main.rs (2 fixes) [INFO] [stdout] error[E0433]: failed to resolve: could not find `MovableType` in the crate root [INFO] [stdout] --> src/main.rs:28:37 [INFO] [stdout] | [INFO] [stdout] 28 | type_object: super::MovableType::Player, [INFO] [stdout] | ^^^^^^^^^^^ could not find `MovableType` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Direction` in the crate root [INFO] [stdout] --> src/main.rs:31:29 [INFO] [stdout] | [INFO] [stdout] 31 | dir: super::Direction::None, [INFO] [stdout] | ^^^^^^^^^ could not find `Direction` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Direction` in the crate root [INFO] [stdout] --> src/main.rs:33:38 [INFO] [stdout] | [INFO] [stdout] 33 | previous_dir: super::Direction::None, [INFO] [stdout] | ^^^^^^^^^ could not find `Direction` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `MovableType` in the crate root [INFO] [stdout] --> src/main.rs:36:37 [INFO] [stdout] | [INFO] [stdout] 36 | type_object: super::MovableType::Player, [INFO] [stdout] | ^^^^^^^^^^^ could not find `MovableType` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Direction` in the crate root [INFO] [stdout] --> src/main.rs:39:29 [INFO] [stdout] | [INFO] [stdout] 39 | dir: super::Direction::None, [INFO] [stdout] | ^^^^^^^^^ could not find `Direction` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Direction` in the crate root [INFO] [stdout] --> src/main.rs:41:38 [INFO] [stdout] | [INFO] [stdout] 41 | previous_dir: super::Direction::None, [INFO] [stdout] | ^^^^^^^^^ could not find `Direction` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `MovableType` in the crate root [INFO] [stdout] --> src/main.rs:47:37 [INFO] [stdout] | [INFO] [stdout] 47 | type_object: super::MovableType::Player, [INFO] [stdout] | ^^^^^^^^^^^ could not find `MovableType` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Direction` in the crate root [INFO] [stdout] --> src/main.rs:50:29 [INFO] [stdout] | [INFO] [stdout] 50 | dir: super::Direction::None, [INFO] [stdout] | ^^^^^^^^^ could not find `Direction` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Direction` in the crate root [INFO] [stdout] --> src/main.rs:52:38 [INFO] [stdout] | [INFO] [stdout] 52 | previous_dir: super::Direction::None, [INFO] [stdout] | ^^^^^^^^^ could not find `Direction` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `MovableType` in the crate root [INFO] [stdout] --> src/main.rs:55:37 [INFO] [stdout] | [INFO] [stdout] 55 | type_object: super::MovableType::Player, [INFO] [stdout] | ^^^^^^^^^^^ could not find `MovableType` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Direction` in the crate root [INFO] [stdout] --> src/main.rs:58:29 [INFO] [stdout] | [INFO] [stdout] 58 | dir: super::Direction::None, [INFO] [stdout] | ^^^^^^^^^ could not find `Direction` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Direction` in the crate root [INFO] [stdout] --> src/main.rs:60:38 [INFO] [stdout] | [INFO] [stdout] 60 | previous_dir: super::Direction::None, [INFO] [stdout] | ^^^^^^^^^ could not find `Direction` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `MovableType` in the crate root [INFO] [stdout] --> src/main.rs:66:37 [INFO] [stdout] | [INFO] [stdout] 66 | type_object: super::MovableType::Player, [INFO] [stdout] | ^^^^^^^^^^^ could not find `MovableType` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Direction` in the crate root [INFO] [stdout] --> src/main.rs:69:29 [INFO] [stdout] | [INFO] [stdout] 69 | dir: super::Direction::None, [INFO] [stdout] | ^^^^^^^^^ could not find `Direction` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Direction` in the crate root [INFO] [stdout] --> src/main.rs:71:38 [INFO] [stdout] | [INFO] [stdout] 71 | previous_dir: super::Direction::None, [INFO] [stdout] | ^^^^^^^^^ could not find `Direction` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `MovableType` in the crate root [INFO] [stdout] --> src/main.rs:74:37 [INFO] [stdout] | [INFO] [stdout] 74 | type_object: super::MovableType::Player, [INFO] [stdout] | ^^^^^^^^^^^ could not find `MovableType` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Direction` in the crate root [INFO] [stdout] --> src/main.rs:77:29 [INFO] [stdout] | [INFO] [stdout] 77 | dir: super::Direction::None, [INFO] [stdout] | ^^^^^^^^^ could not find `Direction` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Direction` in the crate root [INFO] [stdout] --> src/main.rs:79:38 [INFO] [stdout] | [INFO] [stdout] 79 | previous_dir: super::Direction::None, [INFO] [stdout] | ^^^^^^^^^ could not find `Direction` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `MovableType` in the crate root [INFO] [stdout] --> src/main.rs:85:37 [INFO] [stdout] | [INFO] [stdout] 85 | type_object: super::MovableType::Player, [INFO] [stdout] | ^^^^^^^^^^^ could not find `MovableType` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Direction` in the crate root [INFO] [stdout] --> src/main.rs:88:29 [INFO] [stdout] | [INFO] [stdout] 88 | dir: super::Direction::None, [INFO] [stdout] | ^^^^^^^^^ could not find `Direction` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Direction` in the crate root [INFO] [stdout] --> src/main.rs:90:38 [INFO] [stdout] | [INFO] [stdout] 90 | previous_dir: super::Direction::None, [INFO] [stdout] | ^^^^^^^^^ could not find `Direction` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `MovableType` in the crate root [INFO] [stdout] --> src/main.rs:93:37 [INFO] [stdout] | [INFO] [stdout] 93 | type_object: super::MovableType::Player, [INFO] [stdout] | ^^^^^^^^^^^ could not find `MovableType` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Direction` in the crate root [INFO] [stdout] --> src/main.rs:96:29 [INFO] [stdout] | [INFO] [stdout] 96 | dir: super::Direction::None, [INFO] [stdout] | ^^^^^^^^^ could not find `Direction` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Direction` in the crate root [INFO] [stdout] --> src/main.rs:98:38 [INFO] [stdout] | [INFO] [stdout] 98 | previous_dir: super::Direction::None, [INFO] [stdout] | ^^^^^^^^^ could not find `Direction` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `MovableType` in the crate root [INFO] [stdout] --> src/main.rs:106:37 [INFO] [stdout] | [INFO] [stdout] 106 | type_object: super::MovableType::Player, [INFO] [stdout] | ^^^^^^^^^^^ could not find `MovableType` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Direction` in the crate root [INFO] [stdout] --> src/main.rs:109:29 [INFO] [stdout] | [INFO] [stdout] 109 | dir: super::Direction::None, [INFO] [stdout] | ^^^^^^^^^ could not find `Direction` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Direction` in the crate root [INFO] [stdout] --> src/main.rs:111:38 [INFO] [stdout] | [INFO] [stdout] 111 | previous_dir: super::Direction::None, [INFO] [stdout] | ^^^^^^^^^ could not find `Direction` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `MovableType` in the crate root [INFO] [stdout] --> src/main.rs:114:37 [INFO] [stdout] | [INFO] [stdout] 114 | type_object: super::MovableType::Monster, [INFO] [stdout] | ^^^^^^^^^^^ could not find `MovableType` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Direction` in the crate root [INFO] [stdout] --> src/main.rs:117:29 [INFO] [stdout] | [INFO] [stdout] 117 | dir: super::Direction::None, [INFO] [stdout] | ^^^^^^^^^ could not find `Direction` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Direction` in the crate root [INFO] [stdout] --> src/main.rs:119:38 [INFO] [stdout] | [INFO] [stdout] 119 | previous_dir: super::Direction::None, [INFO] [stdout] | ^^^^^^^^^ could not find `Direction` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `MovableType` in the crate root [INFO] [stdout] --> src/main.rs:127:37 [INFO] [stdout] | [INFO] [stdout] 127 | type_object: super::MovableType::Player, [INFO] [stdout] | ^^^^^^^^^^^ could not find `MovableType` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Direction` in the crate root [INFO] [stdout] --> src/main.rs:130:29 [INFO] [stdout] | [INFO] [stdout] 130 | dir: super::Direction::Right, [INFO] [stdout] | ^^^^^^^^^ could not find `Direction` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Direction` in the crate root [INFO] [stdout] --> src/main.rs:132:38 [INFO] [stdout] | [INFO] [stdout] 132 | previous_dir: super::Direction::None, [INFO] [stdout] | ^^^^^^^^^ could not find `Direction` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `MovableType` in the crate root [INFO] [stdout] --> src/main.rs:135:37 [INFO] [stdout] | [INFO] [stdout] 135 | type_object: super::MovableType::Monster, [INFO] [stdout] | ^^^^^^^^^^^ could not find `MovableType` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Direction` in the crate root [INFO] [stdout] --> src/main.rs:138:29 [INFO] [stdout] | [INFO] [stdout] 138 | dir: super::Direction::Up, [INFO] [stdout] | ^^^^^^^^^ could not find `Direction` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Direction` in the crate root [INFO] [stdout] --> src/main.rs:140:38 [INFO] [stdout] | [INFO] [stdout] 140 | previous_dir: super::Direction::None, [INFO] [stdout] | ^^^^^^^^^ could not find `Direction` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `MovableType` in the crate root [INFO] [stdout] --> src/main.rs:145:37 [INFO] [stdout] | [INFO] [stdout] 145 | type_object: super::MovableType::Player, [INFO] [stdout] | ^^^^^^^^^^^ could not find `MovableType` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Direction` in the crate root [INFO] [stdout] --> src/main.rs:148:29 [INFO] [stdout] | [INFO] [stdout] 148 | dir: super::Direction::Right, [INFO] [stdout] | ^^^^^^^^^ could not find `Direction` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Direction` in the crate root [INFO] [stdout] --> src/main.rs:150:38 [INFO] [stdout] | [INFO] [stdout] 150 | previous_dir: super::Direction::None, [INFO] [stdout] | ^^^^^^^^^ could not find `Direction` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `MovableType` in the crate root [INFO] [stdout] --> src/main.rs:153:37 [INFO] [stdout] | [INFO] [stdout] 153 | type_object: super::MovableType::Monster, [INFO] [stdout] | ^^^^^^^^^^^ could not find `MovableType` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Direction` in the crate root [INFO] [stdout] --> src/main.rs:156:29 [INFO] [stdout] | [INFO] [stdout] 156 | dir: super::Direction::Up, [INFO] [stdout] | ^^^^^^^^^ could not find `Direction` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Direction` in the crate root [INFO] [stdout] --> src/main.rs:158:38 [INFO] [stdout] | [INFO] [stdout] 158 | previous_dir: super::Direction::None, [INFO] [stdout] | ^^^^^^^^^ could not find `Direction` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `MovableType` in the crate root [INFO] [stdout] --> src/main.rs:165:37 [INFO] [stdout] | [INFO] [stdout] 165 | type_object: super::MovableType::FallingBag, [INFO] [stdout] | ^^^^^^^^^^^ could not find `MovableType` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Direction` in the crate root [INFO] [stdout] --> src/main.rs:168:29 [INFO] [stdout] | [INFO] [stdout] 168 | dir: super::Direction::Down, [INFO] [stdout] | ^^^^^^^^^ could not find `Direction` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Direction` in the crate root [INFO] [stdout] --> src/main.rs:170:38 [INFO] [stdout] | [INFO] [stdout] 170 | previous_dir: super::Direction::None, [INFO] [stdout] | ^^^^^^^^^ could not find `Direction` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `MovableType` in the crate root [INFO] [stdout] --> src/main.rs:173:37 [INFO] [stdout] | [INFO] [stdout] 173 | type_object: super::MovableType::Shot, [INFO] [stdout] | ^^^^^^^^^^^ could not find `MovableType` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Direction` in the crate root [INFO] [stdout] --> src/main.rs:176:29 [INFO] [stdout] | [INFO] [stdout] 176 | dir: super::Direction::Left, [INFO] [stdout] | ^^^^^^^^^ could not find `Direction` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Direction` in the crate root [INFO] [stdout] --> src/main.rs:178:38 [INFO] [stdout] | [INFO] [stdout] 178 | previous_dir: super::Direction::None, [INFO] [stdout] | ^^^^^^^^^ could not find `Direction` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `MovableType` in the crate root [INFO] [stdout] --> src/main.rs:183:37 [INFO] [stdout] | [INFO] [stdout] 183 | type_object: super::MovableType::FallingBag, [INFO] [stdout] | ^^^^^^^^^^^ could not find `MovableType` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Direction` in the crate root [INFO] [stdout] --> src/main.rs:186:29 [INFO] [stdout] | [INFO] [stdout] 186 | dir: super::Direction::Down, [INFO] [stdout] | ^^^^^^^^^ could not find `Direction` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Direction` in the crate root [INFO] [stdout] --> src/main.rs:188:38 [INFO] [stdout] | [INFO] [stdout] 188 | previous_dir: super::Direction::None, [INFO] [stdout] | ^^^^^^^^^ could not find `Direction` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `MovableType` in the crate root [INFO] [stdout] --> src/main.rs:191:37 [INFO] [stdout] | [INFO] [stdout] 191 | type_object: super::MovableType::Shot, [INFO] [stdout] | ^^^^^^^^^^^ could not find `MovableType` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Direction` in the crate root [INFO] [stdout] --> src/main.rs:194:29 [INFO] [stdout] | [INFO] [stdout] 194 | dir: super::Direction::Left, [INFO] [stdout] | ^^^^^^^^^ could not find `Direction` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Direction` in the crate root [INFO] [stdout] --> src/main.rs:196:38 [INFO] [stdout] | [INFO] [stdout] 196 | previous_dir: super::Direction::None, [INFO] [stdout] | ^^^^^^^^^ could not find `Direction` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `overlaps` in module `super` [INFO] [stdout] --> src/main.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 27 | super::overlaps(super::Movable{ [INFO] [stdout] | ^^^^^^^^ not found in `super` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 24 | use crate::movable_objects::overlaps; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Movable` in module `super` [INFO] [stdout] --> src/main.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | super::overlaps(super::Movable{ [INFO] [stdout] | ^^^^^^^ not found in `super` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 24 | use crate::movable_objects::Movable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Movable` in module `super` [INFO] [stdout] --> src/main.rs:35:20 [INFO] [stdout] | [INFO] [stdout] 35 | super::Movable{ [INFO] [stdout] | ^^^^^^^ not found in `super` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 24 | use crate::movable_objects::Movable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `overlaps` in module `super` [INFO] [stdout] --> src/main.rs:46:20 [INFO] [stdout] | [INFO] [stdout] 46 | super::overlaps(super::Movable{ [INFO] [stdout] | ^^^^^^^^ not found in `super` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 24 | use crate::movable_objects::overlaps; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Movable` in module `super` [INFO] [stdout] --> src/main.rs:46:36 [INFO] [stdout] | [INFO] [stdout] 46 | super::overlaps(super::Movable{ [INFO] [stdout] | ^^^^^^^ not found in `super` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 24 | use crate::movable_objects::Movable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Movable` in module `super` [INFO] [stdout] --> src/main.rs:54:20 [INFO] [stdout] | [INFO] [stdout] 54 | super::Movable{ [INFO] [stdout] | ^^^^^^^ not found in `super` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 24 | use crate::movable_objects::Movable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `overlaps` in module `super` [INFO] [stdout] --> src/main.rs:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | super::overlaps(super::Movable{ [INFO] [stdout] | ^^^^^^^^ not found in `super` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 24 | use crate::movable_objects::overlaps; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Movable` in module `super` [INFO] [stdout] --> src/main.rs:65:40 [INFO] [stdout] | [INFO] [stdout] 65 | super::overlaps(super::Movable{ [INFO] [stdout] | ^^^^^^^ not found in `super` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 24 | use crate::movable_objects::Movable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Movable` in module `super` [INFO] [stdout] --> src/main.rs:73:24 [INFO] [stdout] | [INFO] [stdout] 73 | super::Movable{ [INFO] [stdout] | ^^^^^^^ not found in `super` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 24 | use crate::movable_objects::Movable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `overlaps` in module `super` [INFO] [stdout] --> src/main.rs:84:24 [INFO] [stdout] | [INFO] [stdout] 84 | super::overlaps(super::Movable{ [INFO] [stdout] | ^^^^^^^^ not found in `super` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 24 | use crate::movable_objects::overlaps; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Movable` in module `super` [INFO] [stdout] --> src/main.rs:84:40 [INFO] [stdout] | [INFO] [stdout] 84 | super::overlaps(super::Movable{ [INFO] [stdout] | ^^^^^^^ not found in `super` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 24 | use crate::movable_objects::Movable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Movable` in module `super` [INFO] [stdout] --> src/main.rs:92:24 [INFO] [stdout] | [INFO] [stdout] 92 | super::Movable{ [INFO] [stdout] | ^^^^^^^ not found in `super` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 24 | use crate::movable_objects::Movable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Movable` in module `super` [INFO] [stdout] --> src/main.rs:105:20 [INFO] [stdout] | [INFO] [stdout] 105 | super::Movable { [INFO] [stdout] | ^^^^^^^ not found in `super` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 24 | use crate::movable_objects::Movable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Movable` in module `super` [INFO] [stdout] --> src/main.rs:113:20 [INFO] [stdout] | [INFO] [stdout] 113 | super::Movable{ [INFO] [stdout] | ^^^^^^^ not found in `super` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 24 | use crate::movable_objects::Movable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `move_object` in module `super` [INFO] [stdout] --> src/main.rs:122:27 [INFO] [stdout] | [INFO] [stdout] 122 | assert_eq!(super::move_object(input.clone()),input); [INFO] [stdout] | ^^^^^^^^^^^ not found in `super` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 24 | use crate::movable_objects::move_object; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Movable` in module `super` [INFO] [stdout] --> src/main.rs:126:20 [INFO] [stdout] | [INFO] [stdout] 126 | super::Movable { [INFO] [stdout] | ^^^^^^^ not found in `super` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 24 | use crate::movable_objects::Movable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Movable` in module `super` [INFO] [stdout] --> src/main.rs:134:20 [INFO] [stdout] | [INFO] [stdout] 134 | super::Movable{ [INFO] [stdout] | ^^^^^^^ not found in `super` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 24 | use crate::movable_objects::Movable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Movable` in module `super` [INFO] [stdout] --> src/main.rs:144:20 [INFO] [stdout] | [INFO] [stdout] 144 | super::Movable { [INFO] [stdout] | ^^^^^^^ not found in `super` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 24 | use crate::movable_objects::Movable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Movable` in module `super` [INFO] [stdout] --> src/main.rs:152:20 [INFO] [stdout] | [INFO] [stdout] 152 | super::Movable{ [INFO] [stdout] | ^^^^^^^ not found in `super` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 24 | use crate::movable_objects::Movable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `move_object` in module `super` [INFO] [stdout] --> src/main.rs:161:27 [INFO] [stdout] | [INFO] [stdout] 161 | assert_eq!(super::move_object(input1),output1); [INFO] [stdout] | ^^^^^^^^^^^ not found in `super` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 24 | use crate::movable_objects::move_object; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Movable` in module `super` [INFO] [stdout] --> src/main.rs:164:20 [INFO] [stdout] | [INFO] [stdout] 164 | super::Movable { [INFO] [stdout] | ^^^^^^^ not found in `super` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 24 | use crate::movable_objects::Movable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Movable` in module `super` [INFO] [stdout] --> src/main.rs:172:20 [INFO] [stdout] | [INFO] [stdout] 172 | super::Movable{ [INFO] [stdout] | ^^^^^^^ not found in `super` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 24 | use crate::movable_objects::Movable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Movable` in module `super` [INFO] [stdout] --> src/main.rs:182:20 [INFO] [stdout] | [INFO] [stdout] 182 | super::Movable { [INFO] [stdout] | ^^^^^^^ not found in `super` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 24 | use crate::movable_objects::Movable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Movable` in module `super` [INFO] [stdout] --> src/main.rs:190:20 [INFO] [stdout] | [INFO] [stdout] 190 | super::Movable{ [INFO] [stdout] | ^^^^^^^ not found in `super` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 24 | use crate::movable_objects::Movable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `move_object` in module `super` [INFO] [stdout] --> src/main.rs:199:27 [INFO] [stdout] | [INFO] [stdout] 199 | assert_eq!(super::move_object(input2),output2); [INFO] [stdout] | ^^^^^^^^^^^ not found in `super` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 24 | use crate::movable_objects::move_object; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/main.rs (1 fix) [INFO] [stdout] error: aborting due to 79 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] [INFO] [stderr] error: could not compile `digger` due to 80 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: constant is never used: `DEATH_PATH` [INFO] [stdout] --> src/game.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | const DEATH_PATH: &str = "rip.png"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | g.print(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/game.rs:351:13 [INFO] [stdout] | [INFO] [stdout] 351 | let X = (self.movable[player_position].x / (BLOCK_SIZE as f64)) as usize; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Y` should have a snake case name [INFO] [stdout] --> src/game.rs:352:13 [INFO] [stdout] | [INFO] [stdout] 352 | let Y = (self.movable[player_position].y / (BLOCK_SIZE as f64)) as usize; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/game.rs:478:17 [INFO] [stdout] | [INFO] [stdout] 478 | let X = (self.movable[player_position].x / (BLOCK_SIZE as f64)) as usize; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Y` should have a snake case name [INFO] [stdout] --> src/game.rs:479:17 [INFO] [stdout] | [INFO] [stdout] 479 | let Y = (self.movable[player_position].y / (BLOCK_SIZE as f64)) as usize; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `player_X` should have a snake case name [INFO] [stdout] --> src/game.rs:511:13 [INFO] [stdout] | [INFO] [stdout] 511 | let player_X = (self.movable[player_pososition].x / (BLOCK_SIZE as f64)) as usize; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `player_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `player_Y` should have a snake case name [INFO] [stdout] --> src/game.rs:512:13 [INFO] [stdout] | [INFO] [stdout] 512 | let player_Y = (self.movable[player_pososition].y / (BLOCK_SIZE as f64)) as usize; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `player_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `current_X` should have a snake case name [INFO] [stdout] --> src/game.rs:524:17 [INFO] [stdout] | [INFO] [stdout] 524 | let current_X = current / self.line_len; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `current_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `current_Y` should have a snake case name [INFO] [stdout] --> src/game.rs:525:17 [INFO] [stdout] | [INFO] [stdout] 525 | let current_Y = current % self.line_len; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `current_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `monster_X` should have a snake case name [INFO] [stdout] --> src/game.rs:561:21 [INFO] [stdout] | [INFO] [stdout] 561 | let monster_X = (self.movable[i].x / (BLOCK_SIZE as f64)) as i32; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `monster_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `monster_Y` should have a snake case name [INFO] [stdout] --> src/game.rs:562:21 [INFO] [stdout] | [INFO] [stdout] 562 | let monster_Y = (self.movable[i].y / (BLOCK_SIZE as f64)) as i32; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `monster_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `previous_X` should have a snake case name [INFO] [stdout] --> src/game.rs:566:21 [INFO] [stdout] | [INFO] [stdout] 566 | let previous_X = previous_position / (self.line_len as i32); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `previous_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `previous_Y` should have a snake case name [INFO] [stdout] --> src/game.rs:567:21 [INFO] [stdout] | [INFO] [stdout] 567 | let previous_Y = previous_position % (self.line_len as i32); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `previous_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `player_X` should have a snake case name [INFO] [stdout] --> src/game.rs:598:13 [INFO] [stdout] | [INFO] [stdout] 598 | let player_X = (self.movable[player_position].x / (BLOCK_SIZE as f64)) as usize; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `player_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `player_Y` should have a snake case name [INFO] [stdout] --> src/game.rs:599:13 [INFO] [stdout] | [INFO] [stdout] 599 | let player_Y = (self.movable[player_position].y / (BLOCK_SIZE as f64)) as usize; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `player_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `obj_X` should have a snake case name [INFO] [stdout] --> src/movable_objects.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | let obj_X = (obj.x / (BLOCK_SIZE as f64)) as usize; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `obj_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `obj_Y` should have a snake case name [INFO] [stdout] --> src/movable_objects.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | let obj_Y = (obj.y / (BLOCK_SIZE as f64)) as usize; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `obj_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "6229d1b8eff1d0689126eec18905904eaa7c0a72d6627892c24997fbf680e756", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6229d1b8eff1d0689126eec18905904eaa7c0a72d6627892c24997fbf680e756", kill_on_drop: false }` [INFO] [stdout] 6229d1b8eff1d0689126eec18905904eaa7c0a72d6627892c24997fbf680e756