[INFO] cloning repository https://github.com/Bluther/life [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Bluther/life" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBluther%2Flife"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBluther%2Flife'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] af57be551256824f4f19de2f34ac97417d8ae1ba [INFO] checking Bluther/life against try#ea663bba38739867a4b75ac820991b4f5d093c3b for pr-62262-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBluther%2Flife" "/workspace/builds/worker-14/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Bluther/life on toolchain ea663bba38739867a4b75ac820991b4f5d093c3b [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/Bluther/life [INFO] finished tweaking git repo https://github.com/Bluther/life [INFO] tweaked toml for git repo https://github.com/Bluther/life written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/Bluther/life already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /workspace/builds/worker-14/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c2bfb1accd22de81e21586562ebd3fd598ddb7dd3ddd2c255e600dc6506f29fc [INFO] running `"docker" "start" "-a" "c2bfb1accd22de81e21586562ebd3fd598ddb7dd3ddd2c255e600dc6506f29fc"` [INFO] [stderr] Checking pistoncore-window v0.14.0 [INFO] [stderr] Compiling gl_generator v0.4.2 [INFO] [stderr] Compiling wayland-client v0.5.12 [INFO] [stderr] Checking pistoncore-event_loop v0.17.0 [INFO] [stderr] Checking piston v0.17.0 [INFO] [stderr] Compiling gl v0.5.2 [INFO] [stderr] Compiling glutin v0.4.9 [INFO] [stderr] Checking wayland-window v0.2.3 [INFO] [stderr] Checking wayland-kbd v0.3.6 [INFO] [stderr] Checking pistoncore-glutin_window v0.20.0 [INFO] [stderr] Checking piston2d-opengl_graphics v0.23.0 [INFO] [stderr] Checking game_of_life v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:10:42 [INFO] [stderr] | [INFO] [stderr] 10 | let mut window = render::Window::new(name, height, width); [INFO] [stderr] | ^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected struct `std::string::String`, found &str [INFO] [stderr] | help: try using a conversion method: `name.to_string()` [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::string::String` [INFO] [stderr] found type `&str` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:10:42 [INFO] [stderr] | [INFO] [stderr] 10 | let mut window = render::Window::new(name, height, width); [INFO] [stderr] | ^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected struct `std::string::String`, found &str [INFO] [stderr] | help: try using a conversion method: `name.to_string()` [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::string::String` [INFO] [stderr] found type `&str` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/render.rs:35:21 [INFO] [stderr] | [INFO] [stderr] 35 | gl: opengl, [INFO] [stderr] | ^^^^^^ expected struct `render::opengl_graphics::GlGraphics`, found enum `render::glutin_window::OpenGL` [INFO] [stderr] | [INFO] [stderr] = note: expected type `render::opengl_graphics::GlGraphics` [INFO] [stderr] found type `render::glutin_window::OpenGL` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/render.rs:48:32 [INFO] [stderr] | [INFO] [stderr] 48 | graphics::clear(WHITE, self.gl); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected &mut _, found struct `render::opengl_graphics::GlGraphics` [INFO] [stderr] | help: consider mutably borrowing here: `&mut self.gl` [INFO] [stderr] | [INFO] [stderr] = note: expected type `&mut _` [INFO] [stderr] found type `render::opengl_graphics::GlGraphics` [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0308`. [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/render.rs:35:21 [INFO] [stderr] | [INFO] [stderr] 35 | gl: opengl, [INFO] [stderr] | ^^^^^^ expected struct `render::opengl_graphics::GlGraphics`, found enum `render::glutin_window::OpenGL` [INFO] [stderr] | [INFO] [stderr] = note: expected type `render::opengl_graphics::GlGraphics` [INFO] [stderr] found type `render::glutin_window::OpenGL` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/render.rs:48:32 [INFO] [stderr] | [INFO] [stderr] 48 | graphics::clear(WHITE, self.gl); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected &mut _, found struct `render::opengl_graphics::GlGraphics` [INFO] [stderr] | help: consider mutably borrowing here: `&mut self.gl` [INFO] [stderr] | [INFO] [stderr] = note: expected type `&mut _` [INFO] [stderr] found type `render::opengl_graphics::GlGraphics` [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] error: could not compile `game_of_life`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `game_of_life`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "c2bfb1accd22de81e21586562ebd3fd598ddb7dd3ddd2c255e600dc6506f29fc"` [INFO] running `"docker" "rm" "-f" "c2bfb1accd22de81e21586562ebd3fd598ddb7dd3ddd2c255e600dc6506f29fc"` [INFO] [stdout] c2bfb1accd22de81e21586562ebd3fd598ddb7dd3ddd2c255e600dc6506f29fc