[INFO] cloning repository https://github.com/GladkiyIvan/SnakeRust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/GladkiyIvan/SnakeRust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGladkiyIvan%2FSnakeRust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGladkiyIvan%2FSnakeRust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 338f3f0e6481bdad10e4d212dbb38097e7f06bb6 [INFO] testing GladkiyIvan/SnakeRust against master#62efba8a050c64249dab942951bb28f710208bc8 for pr-90799 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGladkiyIvan%2FSnakeRust" "/workspace/builds/worker-118/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-118/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/GladkiyIvan/SnakeRust on toolchain 62efba8a050c64249dab942951bb28f710208bc8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/GladkiyIvan/SnakeRust [INFO] finished tweaking git repo https://github.com/GladkiyIvan/SnakeRust [INFO] tweaked toml for git repo https://github.com/GladkiyIvan/SnakeRust written to /workspace/builds/worker-118/source/Cargo.toml [INFO] crate git repo https://github.com/GladkiyIvan/SnakeRust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "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-118/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-118/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5654774889ec51fdafaa230e6fe6c29974d252b5b1c9e549aad46b3d1013a7bc [INFO] running `Command { std: "docker" "start" "-a" "5654774889ec51fdafaa230e6fe6c29974d252b5b1c9e549aad46b3d1013a7bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5654774889ec51fdafaa230e6fe6c29974d252b5b1c9e549aad46b3d1013a7bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5654774889ec51fdafaa230e6fe6c29974d252b5b1c9e549aad46b3d1013a7bc", kill_on_drop: false }` [INFO] [stdout] 5654774889ec51fdafaa230e6fe6c29974d252b5b1c9e549aad46b3d1013a7bc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-118/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-118/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5c4adb50c0fa22130aa090602623f8778af297b494fc6af75492f701501fba39 [INFO] running `Command { std: "docker" "start" "-a" "5c4adb50c0fa22130aa090602623f8778af297b494fc6af75492f701501fba39", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.44 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling cc v1.0.25 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Compiling rand_core v0.3.0 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Compiling piston-float v0.3.0 [INFO] [stderr] Compiling byteorder v1.2.7 [INFO] [stderr] Compiling token_store v0.1.2 [INFO] [stderr] Compiling serde v1.0.80 [INFO] [stderr] Compiling remove_dir_all v0.5.1 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Compiling shader_version v0.3.0 [INFO] [stderr] Compiling interpolation v0.1.0 [INFO] [stderr] Compiling piston-texture v0.6.0 [INFO] [stderr] Compiling read_color v1.0.0 [INFO] [stderr] Compiling piston-shaders_graphics2d v0.3.1 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling wayland-scanner v0.12.5 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling x11-dl v2.18.3 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling inflate v0.3.4 [INFO] [stderr] Compiling gif v0.9.2 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.1.0 [INFO] [stderr] Compiling rand v0.6.1 [INFO] [stderr] Compiling arrayvec v0.4.8 [INFO] [stderr] Compiling piston-viewport v0.3.0 [INFO] [stderr] Compiling vecmath v0.3.1 [INFO] [stderr] Compiling stb_truetype v0.2.4 [INFO] [stderr] Compiling deflate v0.7.19 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling wayland-client v0.12.5 [INFO] [stderr] Compiling wayland-protocols v0.12.5 [INFO] [stderr] Compiling rand_xorshift v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Compiling gl_generator v0.8.0 [INFO] [stderr] Compiling memmap v0.6.2 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling rand v0.4.3 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling ordered-float v0.5.2 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling syn v0.15.22 [INFO] [stderr] Compiling rusttype v0.4.3 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling dlib v0.4.1 [INFO] [stderr] Compiling wayland-sys v0.12.5 [INFO] [stderr] Compiling png v0.11.0 [INFO] [stderr] Compiling tempfile v3.0.5 [INFO] [stderr] Compiling piston2d-graphics v0.26.0 [INFO] [stderr] Compiling gl v0.10.0 [INFO] [stderr] Compiling glutin v0.12.2 [INFO] [stderr] Compiling wayland-kbd v0.13.1 [INFO] [stderr] Compiling jpeg-decoder v0.1.15 [INFO] [stderr] Compiling serde_derive v1.0.80 [INFO] [stderr] Compiling image v0.18.0 [INFO] [stderr] Compiling wayland-window v0.13.3 [INFO] [stderr] Compiling winit v0.10.0 [INFO] [stderr] Compiling piston2d-opengl_graphics v0.52.1 [INFO] [stderr] Compiling pistoncore-input v0.20.0 [INFO] [stderr] Compiling pistoncore-window v0.31.0 [INFO] [stderr] Compiling pistoncore-event_loop v0.36.0 [INFO] [stderr] Compiling pistoncore-glutin_window v0.45.3 [INFO] [stderr] Compiling piston v0.36.0 [INFO] [stderr] Compiling SnakeCourseWork v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:33:32 [INFO] [stdout] | [INFO] [stdout] 33 | food_and_barriers: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn RenderAndUpdate` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `graphics` is imported redundantly [INFO] [stdout] --> src/main.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate graphics; [INFO] [stdout] | ---------------------- the item `graphics` is already imported here [INFO] [stdout] ... [INFO] [stdout] 39 | use graphics; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `graphics` is imported redundantly [INFO] [stdout] --> src/main.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate graphics; [INFO] [stdout] | ---------------------- the item `graphics` is already imported here [INFO] [stdout] ... [INFO] [stdout] 111 | use graphics; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:130:54 [INFO] [stdout] | [INFO] [stdout] 130 | fn update(&mut self, food_and_barriers: &Vec>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn RenderAndUpdate` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `graphics` is imported redundantly [INFO] [stdout] --> src/main.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate graphics; [INFO] [stdout] | ---------------------- the item `graphics` is already imported here [INFO] [stdout] ... [INFO] [stdout] 178 | use graphics; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `graphics` is imported redundantly [INFO] [stdout] --> src/main.rs:225:13 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate graphics; [INFO] [stdout] | ---------------------- the item `graphics` is already imported here [INFO] [stdout] ... [INFO] [stdout] 225 | use graphics; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:54:26 [INFO] [stdout] | [INFO] [stdout] 54 | fn update(&mut self, args: &UpdateArgs) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `SnakeCourseWork` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `snake_course_work` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 01s [INFO] running `Command { std: "docker" "inspect" "5c4adb50c0fa22130aa090602623f8778af297b494fc6af75492f701501fba39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c4adb50c0fa22130aa090602623f8778af297b494fc6af75492f701501fba39", kill_on_drop: false }` [INFO] [stdout] 5c4adb50c0fa22130aa090602623f8778af297b494fc6af75492f701501fba39 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-118/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-118/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4f2ecddb66b4af95bc9632ef6b593f2be2de90155cc355eabffd04ac6e0f26c5 [INFO] running `Command { std: "docker" "start" "-a" "4f2ecddb66b4af95bc9632ef6b593f2be2de90155cc355eabffd04ac6e0f26c5", kill_on_drop: false }` [INFO] [stderr] Compiling SnakeCourseWork v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:33:32 [INFO] [stdout] | [INFO] [stdout] 33 | food_and_barriers: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn RenderAndUpdate` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `graphics` is imported redundantly [INFO] [stdout] --> src/main.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate graphics; [INFO] [stdout] | ---------------------- the item `graphics` is already imported here [INFO] [stdout] ... [INFO] [stdout] 39 | use graphics; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `graphics` is imported redundantly [INFO] [stdout] --> src/main.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate graphics; [INFO] [stdout] | ---------------------- the item `graphics` is already imported here [INFO] [stdout] ... [INFO] [stdout] 111 | use graphics; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:130:54 [INFO] [stdout] | [INFO] [stdout] 130 | fn update(&mut self, food_and_barriers: &Vec>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn RenderAndUpdate` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `graphics` is imported redundantly [INFO] [stdout] --> src/main.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate graphics; [INFO] [stdout] | ---------------------- the item `graphics` is already imported here [INFO] [stdout] ... [INFO] [stdout] 178 | use graphics; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `graphics` is imported redundantly [INFO] [stdout] --> src/main.rs:225:13 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate graphics; [INFO] [stdout] | ---------------------- the item `graphics` is already imported here [INFO] [stdout] ... [INFO] [stdout] 225 | use graphics; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:54:26 [INFO] [stdout] | [INFO] [stdout] 54 | fn update(&mut self, args: &UpdateArgs) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `SnakeCourseWork` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `snake_course_work` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.55s [INFO] running `Command { std: "docker" "inspect" "4f2ecddb66b4af95bc9632ef6b593f2be2de90155cc355eabffd04ac6e0f26c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f2ecddb66b4af95bc9632ef6b593f2be2de90155cc355eabffd04ac6e0f26c5", kill_on_drop: false }` [INFO] [stdout] 4f2ecddb66b4af95bc9632ef6b593f2be2de90155cc355eabffd04ac6e0f26c5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-118/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-118/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a6f352f6a3b1e334c7e3eb893ec24fddfffe9b45559cd720ec39bb06218bcc58 [INFO] running `Command { std: "docker" "start" "-a" "a6f352f6a3b1e334c7e3eb893ec24fddfffe9b45559cd720ec39bb06218bcc58", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:33:32 [INFO] [stderr] | [INFO] [stderr] 33 | food_and_barriers: Vec>, [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn RenderAndUpdate` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: the item `graphics` is imported redundantly [INFO] [stderr] --> src/main.rs:39:13 [INFO] [stderr] | [INFO] [stderr] 2 | extern crate graphics; [INFO] [stderr] | ---------------------- the item `graphics` is already imported here [INFO] [stderr] ... [INFO] [stderr] 39 | use graphics; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the item `graphics` is imported redundantly [INFO] [stderr] --> src/main.rs:111:13 [INFO] [stderr] | [INFO] [stderr] 2 | extern crate graphics; [INFO] [stderr] | ---------------------- the item `graphics` is already imported here [INFO] [stderr] ... [INFO] [stderr] 111 | use graphics; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:130:54 [INFO] [stderr] | [INFO] [stderr] 130 | fn update(&mut self, food_and_barriers: &Vec>) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn RenderAndUpdate` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: the item `graphics` is imported redundantly [INFO] [stderr] --> src/main.rs:178:13 [INFO] [stderr] | [INFO] [stderr] 2 | extern crate graphics; [INFO] [stderr] | ---------------------- the item `graphics` is already imported here [INFO] [stderr] ... [INFO] [stderr] 178 | use graphics; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `graphics` is imported redundantly [INFO] [stderr] --> src/main.rs:225:13 [INFO] [stderr] | [INFO] [stderr] 2 | extern crate graphics; [INFO] [stderr] | ---------------------- the item `graphics` is already imported here [INFO] [stderr] ... [INFO] [stderr] 225 | use graphics; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `args` [INFO] [stderr] --> src/main.rs:54:26 [INFO] [stderr] | [INFO] [stderr] 54 | fn update(&mut self, args: &UpdateArgs) -> bool { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: crate `SnakeCourseWork` should have a snake case name [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] = help: convert the identifier to snake case: `snake_course_work` [INFO] [stderr] [INFO] [stderr] warning: `SnakeCourseWork` (bin "SnakeCourseWork" test) generated 8 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/SnakeCourseWork-20cb618320acebf4) [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" "a6f352f6a3b1e334c7e3eb893ec24fddfffe9b45559cd720ec39bb06218bcc58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6f352f6a3b1e334c7e3eb893ec24fddfffe9b45559cd720ec39bb06218bcc58", kill_on_drop: false }` [INFO] [stdout] a6f352f6a3b1e334c7e3eb893ec24fddfffe9b45559cd720ec39bb06218bcc58