[INFO] cloning repository https://github.com/evolix1/tuto-rust-2d-game [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/evolix1/tuto-rust-2d-game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fevolix1%2Ftuto-rust-2d-game", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fevolix1%2Ftuto-rust-2d-game'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7dbaab5641f1ca8db5ae675dc2a2b070c2a67f3f [INFO] testing evolix1/tuto-rust-2d-game against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fevolix1%2Ftuto-rust-2d-game" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/evolix1/tuto-rust-2d-game on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/evolix1/tuto-rust-2d-game [INFO] finished tweaking git repo https://github.com/evolix1/tuto-rust-2d-game [INFO] tweaked toml for git repo https://github.com/evolix1/tuto-rust-2d-game written to /workspace/builds/worker-11/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "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-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] af220624ade1771220433dcf6c8dc6283f91732fa7ba7bb9aafdab723ac98002 [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" "af220624ade1771220433dcf6c8dc6283f91732fa7ba7bb9aafdab723ac98002", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "af220624ade1771220433dcf6c8dc6283f91732fa7ba7bb9aafdab723ac98002", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af220624ade1771220433dcf6c8dc6283f91732fa7ba7bb9aafdab723ac98002", kill_on_drop: false }` [INFO] [stdout] af220624ade1771220433dcf6c8dc6283f91732fa7ba7bb9aafdab723ac98002 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c906ce0f4d5cca725f4345d92734f4cfc0a88030ee5bc12d42ffec7dff7f3c5f [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" "c906ce0f4d5cca725f4345d92734f4cfc0a88030ee5bc12d42ffec7dff7f3c5f", kill_on_drop: false }` [INFO] [stderr] Compiling cgmath v0.17.0 [INFO] [stderr] Compiling sdl2 v0.32.2 [INFO] [stderr] Compiling sdl2-sys v0.32.6 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling backtrace v0.3.64 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling json5 v0.2.8 [INFO] [stderr] Compiling rrr v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graphics/renderer.rs:27:38 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn render(&mut self, board: &EditableBoard, world: &World) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 27 - pub fn render(&mut self, board: &EditableBoard, world: &World) -> Result<()> { [INFO] [stdout] 27 + pub fn render(&mut self, board: &dyn EditableBoard, world: &World) -> Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graphics/renderer.rs:35:35 [INFO] [stdout] | [INFO] [stdout] 35 | fn prepare(&mut self, board: &EditableBoard) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 - fn prepare(&mut self, board: &EditableBoard) -> Result<()> { [INFO] [stdout] 35 + fn prepare(&mut self, board: &dyn EditableBoard) -> Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graphics/renderer.rs:55:42 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn render_all(&mut self, board: &EditableBoard, world: &World) -> Result<()> [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 55 - pub fn render_all(&mut self, board: &EditableBoard, world: &World) -> Result<()> [INFO] [stdout] 55 + pub fn render_all(&mut self, board: &dyn EditableBoard, world: &World) -> Result<()> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graphics/renderer.rs:128:38 [INFO] [stdout] | [INFO] [stdout] 128 | fn init_board(&mut self, board: &EditableBoard) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 128 - fn init_board(&mut self, board: &EditableBoard) -> Result<()> { [INFO] [stdout] 128 + fn init_board(&mut self, board: &dyn EditableBoard) -> Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graphics/renderer.rs:155:17 [INFO] [stdout] | [INFO] [stdout] 155 | board: &EditableBoard, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 155 - board: &EditableBoard, [INFO] [stdout] 155 + board: &dyn EditableBoard, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/rrr-bdd0dbff85c3b435.rrr.49e8d16a-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/rrr-bdd0dbff85c3b435.rrr.49e8d16a-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/rrr-bdd0dbff85c3b435.rrr.49e8d16a-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/rrr-bdd0dbff85c3b435.rrr.49e8d16a-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/rrr-bdd0dbff85c3b435.rrr.49e8d16a-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/rrr-bdd0dbff85c3b435.rrr.49e8d16a-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/rrr-bdd0dbff85c3b435.rrr.49e8d16a-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/rrr-bdd0dbff85c3b435.rrr.49e8d16a-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/rrr-bdd0dbff85c3b435.rrr.49e8d16a-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/rrr-bdd0dbff85c3b435.rrr.49e8d16a-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/rrr-bdd0dbff85c3b435.rrr.49e8d16a-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/rrr-bdd0dbff85c3b435.rrr.49e8d16a-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/rrr-bdd0dbff85c3b435.rrr.49e8d16a-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/rrr-bdd0dbff85c3b435.rrr.49e8d16a-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/rrr-bdd0dbff85c3b435.rrr.49e8d16a-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/rrr-bdd0dbff85c3b435.rrr.49e8d16a-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/rrr-bdd0dbff85c3b435.1i1w86eijk8sac7j.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libjson5-4f3e5c1078af10ba.rlib" "/opt/rustwide/target/debug/deps/libpest-1bc31143e6a81939.rlib" "/opt/rustwide/target/debug/deps/libucd_trie-8cd18b3f481ea6a9.rlib" "/opt/rustwide/target/debug/deps/libserde-4881f3e2f4aa1de9.rlib" "/opt/rustwide/target/debug/deps/libcgmath-af3eafc2ab0a02fb.rlib" "/opt/rustwide/target/debug/deps/libapprox-989b5a37f9eba23b.rlib" "/opt/rustwide/target/debug/deps/liberror_chain-9542c363f8eb262a.rlib" "/opt/rustwide/target/debug/deps/libbacktrace-ada96b23d5e6681e.rlib" "/opt/rustwide/target/debug/deps/libminiz_oxide-b52ad452262f40d2.rlib" "/opt/rustwide/target/debug/deps/libadler-15db843e4b39fe4c.rlib" "/opt/rustwide/target/debug/deps/libobject-4f0dd763df0f4e38.rlib" "/opt/rustwide/target/debug/deps/libmemchr-41eeaee14c595488.rlib" "/opt/rustwide/target/debug/deps/libaddr2line-af5bc4daa31694b0.rlib" "/opt/rustwide/target/debug/deps/libgimli-7b029d31d8427294.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-0a04e74fc4f21d18.rlib" "/opt/rustwide/target/debug/deps/librustc_demangle-4b82f55c70ab5c9b.rlib" "/opt/rustwide/target/debug/deps/libsdl2-1257795412d45022.rlib" "/opt/rustwide/target/debug/deps/librand-0234473dfdc57e57.rlib" "/opt/rustwide/target/debug/deps/librand_xorshift-32a2eb9a2aa64821.rlib" "/opt/rustwide/target/debug/deps/librand_pcg-fca7fb50cb300584.rlib" "/opt/rustwide/target/debug/deps/librand_hc-7b0c5d15ae13bb94.rlib" "/opt/rustwide/target/debug/deps/librand_chacha-17a42adbbaccef11.rlib" "/opt/rustwide/target/debug/deps/librand_isaac-c824f0f0d4463dc8.rlib" "/opt/rustwide/target/debug/deps/librand_core-dc8d66ba86a3d27e.rlib" "/opt/rustwide/target/debug/deps/librand_os-5e3a258fb1ae5f06.rlib" "/opt/rustwide/target/debug/deps/librand_jitter-1a11cbf0bb1b7906.rlib" "/opt/rustwide/target/debug/deps/librand_core-9c28905e9ca21444.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-6efe8e654da6af27.rlib" "/opt/rustwide/target/debug/deps/libbitflags-1693f043aa7c36ab.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-02ff0d0fbc57b9b4.rlib" "/opt/rustwide/target/debug/deps/liblibc-0df115c6f3232b87.rlib" "/opt/rustwide/target/debug/deps/libnum-73f0a1fd07d18f02.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-667700f713c3de22.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-1a971ad76d60d78d.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-6392f8d501d3fcb7.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-a46a068050a12a4b.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-1df56095db9453cb.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-9062de483386e50b.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-b988ab269ff13602.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-1bc822d886d4f7bd.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-963eca8df4c224a6.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-d805b480c9102e58.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-06dfdbc22b935051.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-d7523a4d118e6572.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-5d7898c7fac3a07d.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-8c2bdbab4845bf3d.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-d578639df0547b30.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-58bbb7b1efa3a5e2.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-4c9b082d197c16f8.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-70f9ed6d8e7a5ce6.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-8c0a241d0360fa53.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-bad7ed93fdd31371.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-98b4d121af2b7335.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-1d9f7e5920635d15.rlib" "-Wl,-Bdynamic" "-lSDL2" "-lSDL2_image" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/rrr-bdd0dbff85c3b435" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lSDL2_image [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rrr` due to 2 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c906ce0f4d5cca725f4345d92734f4cfc0a88030ee5bc12d42ffec7dff7f3c5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c906ce0f4d5cca725f4345d92734f4cfc0a88030ee5bc12d42ffec7dff7f3c5f", kill_on_drop: false }` [INFO] [stdout] c906ce0f4d5cca725f4345d92734f4cfc0a88030ee5bc12d42ffec7dff7f3c5f