[INFO] cloning repository https://github.com/echapman2022/DS-GameOfLife [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/echapman2022/DS-GameOfLife" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fechapman2022%2FDS-GameOfLife", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fechapman2022%2FDS-GameOfLife'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c3e65237ac5ed166d02cf3d7b11dc3da33e02eb7 [INFO] testing echapman2022/DS-GameOfLife against try#eafdee2dfae8c2233b74f98b123308be7ccefcc6 for pr-79296 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fechapman2022%2FDS-GameOfLife" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/echapman2022/DS-GameOfLife on toolchain eafdee2dfae8c2233b74f98b123308be7ccefcc6 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/echapman2022/DS-GameOfLife [INFO] finished tweaking git repo https://github.com/echapman2022/DS-GameOfLife [INFO] tweaked toml for git repo https://github.com/echapman2022/DS-GameOfLife written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/echapman2022/DS-GameOfLife already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded array2d v0.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 823e3b66bf8b27aa6de311ccf2c21e92773395f6da608e7ff3f272c7b8946bf4 [INFO] running `Command { std: "docker" "start" "-a" "823e3b66bf8b27aa6de311ccf2c21e92773395f6da608e7ff3f272c7b8946bf4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "823e3b66bf8b27aa6de311ccf2c21e92773395f6da608e7ff3f272c7b8946bf4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "823e3b66bf8b27aa6de311ccf2c21e92773395f6da608e7ff3f272c7b8946bf4", kill_on_drop: false }` [INFO] [stdout] 823e3b66bf8b27aa6de311ccf2c21e92773395f6da608e7ff3f272c7b8946bf4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a5a48bad5e50f123ad5791cfe94bb5645b24170200c17aabc931e4205a9158ef [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" "a5a48bad5e50f123ad5791cfe94bb5645b24170200c17aabc931e4205a9158ef", kill_on_drop: false }` [INFO] [stderr] Compiling sdl2 v0.34.3 [INFO] [stderr] Compiling c_vec v1.3.3 [INFO] [stderr] Compiling array2d v0.2.1 [INFO] [stderr] Compiling sdl2-sys v0.34.2 [INFO] [stderr] Compiling ConwaySimulator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `sdl2::gfx::primitives::DrawRenderer` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use sdl2::gfx::primitives::DrawRenderer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::video::Window` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use sdl2::video::Window; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Cell` [INFO] [stdout] --> src/main.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::grid::{Grid, Cell}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | let mut grid = Grid::new(grid_w, grid_h); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | let mut window = self.canvas.window_mut(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `ConwaySimulator` 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: `conway_simulator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | ... window.set_title(&*format!("Game of Life ({}running ) [{} fps ]", if self.running_alg { "" } else { "not " }, self.fps)); [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] error: linking with `cc` failed: exit code: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-Wl,--eh-frame-hdr" "-L" "/opt/rustwide/rustup-home/toolchains/eafdee2dfae8c2233b74f98b123308be7ccefcc6/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/ConwaySimulator-0efcc8597a3bea1e.ConwaySimulator.7bgpr8ev-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/ConwaySimulator-0efcc8597a3bea1e.ConwaySimulator.7bgpr8ev-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/ConwaySimulator-0efcc8597a3bea1e.ConwaySimulator.7bgpr8ev-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/ConwaySimulator-0efcc8597a3bea1e.ConwaySimulator.7bgpr8ev-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/ConwaySimulator-0efcc8597a3bea1e.ConwaySimulator.7bgpr8ev-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/ConwaySimulator-0efcc8597a3bea1e.ConwaySimulator.7bgpr8ev-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/ConwaySimulator-0efcc8597a3bea1e.ConwaySimulator.7bgpr8ev-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/ConwaySimulator-0efcc8597a3bea1e.ConwaySimulator.7bgpr8ev-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/ConwaySimulator-0efcc8597a3bea1e.ConwaySimulator.7bgpr8ev-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/ConwaySimulator-0efcc8597a3bea1e.ConwaySimulator.7bgpr8ev-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/ConwaySimulator-0efcc8597a3bea1e.ConwaySimulator.7bgpr8ev-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/ConwaySimulator-0efcc8597a3bea1e.ConwaySimulator.7bgpr8ev-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/ConwaySimulator-0efcc8597a3bea1e.ConwaySimulator.7bgpr8ev-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/ConwaySimulator-0efcc8597a3bea1e.ConwaySimulator.7bgpr8ev-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/ConwaySimulator-0efcc8597a3bea1e.ConwaySimulator.7bgpr8ev-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/ConwaySimulator-0efcc8597a3bea1e.ConwaySimulator.7bgpr8ev-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/ConwaySimulator-0efcc8597a3bea1e" "/opt/rustwide/target/debug/deps/ConwaySimulator-0efcc8597a3bea1e.4z9mdabjo83rvhgd.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/eafdee2dfae8c2233b74f98b123308be7ccefcc6/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libarray2d-0261bab642be888b.rlib" "/opt/rustwide/target/debug/deps/libsdl2-b7b328c30981812e.rlib" "/opt/rustwide/target/debug/deps/libc_vec-523d9565c9ff33a0.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-54d7928e6bb74d9a.rlib" "/opt/rustwide/target/debug/deps/libbitflags-df474a8ca45884a8.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-cd2401a06b1676f6.rlib" "/opt/rustwide/target/debug/deps/liblibc-88afced337b00130.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/eafdee2dfae8c2233b74f98b123308be7ccefcc6/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-c659455244c9d2ca.rlib" "/opt/rustwide/rustup-home/toolchains/eafdee2dfae8c2233b74f98b123308be7ccefcc6/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-448643d99e633b5d.rlib" "/opt/rustwide/rustup-home/toolchains/eafdee2dfae8c2233b74f98b123308be7ccefcc6/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-c7c3d631a525883a.rlib" "/opt/rustwide/rustup-home/toolchains/eafdee2dfae8c2233b74f98b123308be7ccefcc6/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-d7659a11bb201e01.rlib" "/opt/rustwide/rustup-home/toolchains/eafdee2dfae8c2233b74f98b123308be7ccefcc6/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-9aceb6f83a33a9b6.rlib" "/opt/rustwide/rustup-home/toolchains/eafdee2dfae8c2233b74f98b123308be7ccefcc6/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-876c3057c8a2a7c2.rlib" "/opt/rustwide/rustup-home/toolchains/eafdee2dfae8c2233b74f98b123308be7ccefcc6/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-2f02aa3e24d2aa49.rlib" "/opt/rustwide/rustup-home/toolchains/eafdee2dfae8c2233b74f98b123308be7ccefcc6/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-1d4694108f8cb543.rlib" "/opt/rustwide/rustup-home/toolchains/eafdee2dfae8c2233b74f98b123308be7ccefcc6/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-79eaa6e630880f50.rlib" "/opt/rustwide/rustup-home/toolchains/eafdee2dfae8c2233b74f98b123308be7ccefcc6/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-0df1a4ec96f80cf7.rlib" "/opt/rustwide/rustup-home/toolchains/eafdee2dfae8c2233b74f98b123308be7ccefcc6/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-bba9b0f0f4d77257.rlib" "/opt/rustwide/rustup-home/toolchains/eafdee2dfae8c2233b74f98b123308be7ccefcc6/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-f848f9c987265235.rlib" "/opt/rustwide/rustup-home/toolchains/eafdee2dfae8c2233b74f98b123308be7ccefcc6/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-0d5ea4f2d39b8e27.rlib" "/opt/rustwide/rustup-home/toolchains/eafdee2dfae8c2233b74f98b123308be7ccefcc6/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-c22053fa5fc00a3b.rlib" "/opt/rustwide/rustup-home/toolchains/eafdee2dfae8c2233b74f98b123308be7ccefcc6/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-c52e5d6301e1bd59.rlib" "/opt/rustwide/rustup-home/toolchains/eafdee2dfae8c2233b74f98b123308be7ccefcc6/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-2675a9a46b5cec89.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/eafdee2dfae8c2233b74f98b123308be7ccefcc6/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-6e3d052afeb9f711.rlib" "-Wl,-Bdynamic" "-lSDL2" "-lSDL2_gfx" "-lutil" "-ldl" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lSDL2_gfx [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ConwaySimulator` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "a5a48bad5e50f123ad5791cfe94bb5645b24170200c17aabc931e4205a9158ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5a48bad5e50f123ad5791cfe94bb5645b24170200c17aabc931e4205a9158ef", kill_on_drop: false }` [INFO] [stdout] a5a48bad5e50f123ad5791cfe94bb5645b24170200c17aabc931e4205a9158ef