[INFO] updating cached repository https://github.com/oeb25/rustgame [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 6e182bf0235dc082248a44dc1565f7053f45109e [INFO] checking oeb25/rustgame against try#8810c24b0958114d8dbb32d878444e8956fce80f for pr-66063 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foeb25%2Frustgame" "/workspace/builds/worker-13/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/oeb25/rustgame on toolchain 8810c24b0958114d8dbb32d878444e8956fce80f [INFO] running `"/workspace/cargo-home/bin/cargo" "+8810c24b0958114d8dbb32d878444e8956fce80f" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/oeb25/rustgame [INFO] finished tweaking git repo https://github.com/oeb25/rustgame [INFO] tweaked toml for git repo https://github.com/oeb25/rustgame written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/oeb25/rustgame already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+8810c24b0958114d8dbb32d878444e8956fce80f" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /workspace/builds/worker-13/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" "+8810c24b0958114d8dbb32d878444e8956fce80f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+8810c24b0958114d8dbb32d878444e8956fce80f" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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=allow" "-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" "+8810c24b0958114d8dbb32d878444e8956fce80f" "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] faafc315dad930ce8ef505e491d29d2dd96f2dc3e0e22768ee76054e698002d3 [INFO] running `"docker" "start" "-a" "faafc315dad930ce8ef505e491d29d2dd96f2dc3e0e22768ee76054e698002d3"` [INFO] [stderr] Compiling freetype-sys v0.3.1 [INFO] [stderr] Checking pistoncore-event_loop v0.22.1 [INFO] [stderr] Checking image v0.9.1 [INFO] [stderr] Checking pistoncore-glutin_window v0.26.1 [INFO] [stderr] Checking piston v0.22.1 [INFO] [stderr] Checking freetype-rs v0.7.0 [INFO] [stderr] Checking piston2d-opengl_graphics v0.28.2 [INFO] [stderr] Checking rustgame v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0308]: match arms have incompatible types [INFO] [stderr] --> src/question.rs:26:14 [INFO] [stderr] | [INFO] [stderr] 19 | match (a_option, b_option) { [INFO] [stderr] | _________- [INFO] [stderr] 20 | | (Some(ref mut a), Some(ref mut b)) => { [INFO] [stderr] 21 | | a.x += b.x; [INFO] [stderr] 22 | | a.y += b.y; [INFO] [stderr] 23 | | [INFO] [stderr] 24 | | (Some(a), Some(b)) [INFO] [stderr] | | ------------------ this is found to be of type `(std::option::Option<&mut Point>, std::option::Option<&mut Point>)` [INFO] [stderr] 25 | | }, [INFO] [stderr] 26 | | (a, b) => (a, b) [INFO] [stderr] | | ^^^^^^ expected &mut Point, found struct `Point` [INFO] [stderr] 27 | | }; [INFO] [stderr] | |_________- `match` arms have incompatible types [INFO] [stderr] | [INFO] [stderr] = note: expected type `(std::option::Option<&mut Point>, std::option::Option<&mut Point>)` [INFO] [stderr] found type `(std::option::Option, std::option::Option)` [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `rustgame`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0308]: match arms have incompatible types [INFO] [stderr] --> src/question.rs:26:14 [INFO] [stderr] | [INFO] [stderr] 19 | match (a_option, b_option) { [INFO] [stderr] | _________- [INFO] [stderr] 20 | | (Some(ref mut a), Some(ref mut b)) => { [INFO] [stderr] 21 | | a.x += b.x; [INFO] [stderr] 22 | | a.y += b.y; [INFO] [stderr] 23 | | [INFO] [stderr] 24 | | (Some(a), Some(b)) [INFO] [stderr] | | ------------------ this is found to be of type `(std::option::Option<&mut Point>, std::option::Option<&mut Point>)` [INFO] [stderr] 25 | | }, [INFO] [stderr] 26 | | (a, b) => (a, b) [INFO] [stderr] | | ^^^^^^ expected &mut Point, found struct `Point` [INFO] [stderr] 27 | | }; [INFO] [stderr] | |_________- `match` arms have incompatible types [INFO] [stderr] | [INFO] [stderr] = note: expected type `(std::option::Option<&mut Point>, std::option::Option<&mut Point>)` [INFO] [stderr] found type `(std::option::Option, std::option::Option)` [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `rustgame`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "faafc315dad930ce8ef505e491d29d2dd96f2dc3e0e22768ee76054e698002d3"` [INFO] running `"docker" "rm" "-f" "faafc315dad930ce8ef505e491d29d2dd96f2dc3e0e22768ee76054e698002d3"` [INFO] [stdout] faafc315dad930ce8ef505e491d29d2dd96f2dc3e0e22768ee76054e698002d3