[INFO] updating cached repository oeb25/rustgame [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/oeb25/rustgame [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/oeb25/rustgame" "work/ex/beta-1.37-6/sources/1.36.0/gh/oeb25/rustgame"` [INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/1.36.0/gh/oeb25/rustgame'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/oeb25/rustgame" "work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/oeb25/rustgame"` [INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/oeb25/rustgame'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 6e182bf0235dc082248a44dc1565f7053f45109e [INFO] sha for GitHub repo oeb25/rustgame: 6e182bf0235dc082248a44dc1565f7053f45109e [INFO] validating manifest of oeb25/rustgame on toolchain 1.36.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of oeb25/rustgame on toolchain beta-2019-07-23 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing oeb25/rustgame [INFO] finished frobbing oeb25/rustgame [INFO] frobbed toml for oeb25/rustgame written to work/ex/beta-1.37-6/sources/1.36.0/gh/oeb25/rustgame/Cargo.toml [INFO] started frobbing oeb25/rustgame [INFO] finished frobbing oeb25/rustgame [INFO] frobbed toml for oeb25/rustgame written to work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/oeb25/rustgame/Cargo.toml [INFO] crate oeb25/rustgame already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /mnt/big/crater/work/ex/beta-1.37-6/sources/1.36.0/gh/oeb25/rustgame/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing oeb25/rustgame against 1.36.0 for beta-1.37-6 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-1/1.36.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/1.36.0/gh/oeb25/rustgame:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.36.0" "build" "--frozen"` [INFO] [stdout] f95ba750f1040235627bd2c2c054e9c9c93834da376ef7ed7d22b06cd9f1d7f9 [INFO] running `"docker" "start" "-a" "f95ba750f1040235627bd2c2c054e9c9c93834da376ef7ed7d22b06cd9f1d7f9"` [INFO] [stderr] Blocking waiting for file lock on package cache lock [INFO] [stderr] Compiling piston-float v0.2.0 [INFO] [stderr] Compiling crossbeam v0.2.12 [INFO] [stderr] Compiling bitflags v0.6.0 [INFO] [stderr] Compiling shader_version v0.2.2 [INFO] [stderr] Compiling piston-texture v0.4.0 [INFO] [stderr] Compiling read_color v0.1.0 [INFO] [stderr] Compiling piston-shaders_graphics2d v0.1.0 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling freetype-sys v0.3.1 [INFO] [stderr] Compiling gif v0.8.0 [INFO] [stderr] Compiling wayland-scanner v0.5.11 [INFO] [stderr] Compiling piston-viewport v0.2.0 [INFO] [stderr] Compiling vecmath v0.2.0 [INFO] [stderr] Compiling gl_generator v0.5.5 [INFO] [stderr] Compiling gl_generator v0.6.1 [INFO] [stderr] Compiling fs2 v0.2.5 [INFO] [stderr] Compiling serde_json v0.9.10 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling tempfile v2.2.0 [INFO] [stderr] Compiling pistoncore-input v0.12.0 [INFO] [stderr] Compiling memmap v0.2.3 [INFO] [stderr] Compiling piston2d-graphics v0.16.0 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling wayland-client v0.5.12 [INFO] [stderr] Compiling target_build_utils v0.3.1 [INFO] [stderr] Compiling flate2 v0.2.20 [INFO] [stderr] Compiling pistoncore-window v0.19.0 [INFO] [stderr] Compiling freetype-rs v0.7.0 [INFO] [stderr] Compiling gl v0.6.5 [INFO] [stderr] Compiling pistoncore-event_loop v0.22.1 [INFO] [stderr] Compiling jpeg-decoder v0.1.15 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling piston v0.22.1 [INFO] [stderr] Compiling glutin v0.5.2 [INFO] [stderr] Compiling png v0.5.2 [INFO] [stderr] Compiling image v0.9.1 [INFO] [stderr] Compiling libloading v0.3.4 [INFO] [stderr] Compiling dlib v0.3.1 [INFO] [stderr] Compiling wayland-sys v0.5.11 [INFO] [stderr] Compiling piston2d-opengl_graphics v0.28.2 [INFO] [stderr] Compiling wayland-kbd v0.3.6 [INFO] [stderr] Compiling wayland-window v0.2.3 [INFO] [stderr] Compiling pistoncore-glutin_window v0.26.1 [INFO] [stderr] Compiling rustgame v0.1.0 (/opt/crater/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] warning: unused import: `self::piston::event_loop::*` [INFO] [stderr] --> src/game.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use self::piston::event_loop::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ops::Add` [INFO] [stderr] --> src/game.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use std::ops::Add; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `HashMap` [INFO] [stderr] --> src/game.rs:13:24 [INFO] [stderr] | [INFO] [stderr] 13 | use std::collections::{HashMap, HashSet}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/game.rs:178:20 [INFO] [stderr] | [INFO] [stderr] 178 | 'move_x: for i in 0..4 { [INFO] [stderr] | ^ help: consider prefixing with an underscore: `_i` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_variables)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/game.rs:196:20 [INFO] [stderr] | [INFO] [stderr] 196 | 'move_y: for i in 0..4 { [INFO] [stderr] | ^ help: consider prefixing with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `down` [INFO] [stderr] --> src/game.rs:215:37 [INFO] [stderr] | [INFO] [stderr] 215 | &Flag::Input {left, right, up, down, jump} => { [INFO] [stderr] | ^^^^ help: try ignoring the field: `down: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `up` [INFO] [stderr] --> src/game.rs:215:33 [INFO] [stderr] | [INFO] [stderr] 215 | &Flag::Input {left, right, up, down, jump} => { [INFO] [stderr] | ^^ help: try ignoring the field: `up: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pos` [INFO] [stderr] --> src/game.rs:304:14 [INFO] [stderr] | [INFO] [stderr] 304 | let ref pos = entity.position; [INFO] [stderr] | ^^^ help: consider prefixing with an underscore: `_pos` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `square` [INFO] [stderr] --> src/game.rs:295:11 [INFO] [stderr] | [INFO] [stderr] 295 | let mut square = rectangle::square(0.0, 1.0, 50.0); [INFO] [stderr] | ^^^^^^ help: consider prefixing with an underscore: `_square` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/game.rs:295:7 [INFO] [stderr] | [INFO] [stderr] 295 | let mut square = rectangle::square(0.0, 1.0, 50.0); [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_mut)] on by default [INFO] [stderr] [INFO] [stderr] warning: method is never used: `add` [INFO] [stderr] --> src/game.rs:26:2 [INFO] [stderr] | [INFO] [stderr] 26 | fn add(&self, other: Vector2D) -> Vector2D { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] warning: method is never used: `to_unit` [INFO] [stderr] --> src/game.rs:34:2 [INFO] [stderr] | [INFO] [stderr] 34 | fn to_unit(&self) -> Vector2D { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `len_sq` [INFO] [stderr] --> src/game.rs:40:2 [INFO] [stderr] | [INFO] [stderr] 40 | fn len_sq(&self) -> f64 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `len` [INFO] [stderr] --> src/game.rs:44:2 [INFO] [stderr] | [INFO] [stderr] 44 | fn len(&self) -> f64 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `min` [INFO] [stderr] --> src/game.rs:86:2 [INFO] [stderr] | [INFO] [stderr] 86 | fn min(&self) -> Vector2D { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `max` [INFO] [stderr] --> src/game.rs:90:2 [INFO] [stderr] | [INFO] [stderr] 90 | fn max(&self) -> Vector2D { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `to_array` [INFO] [stderr] --> src/game.rs:102:2 [INFO] [stderr] | [INFO] [stderr] 102 | fn to_array(&self) -> [f64; 4] { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "f95ba750f1040235627bd2c2c054e9c9c93834da376ef7ed7d22b06cd9f1d7f9"` [INFO] running `"docker" "rm" "-f" "f95ba750f1040235627bd2c2c054e9c9c93834da376ef7ed7d22b06cd9f1d7f9"` [INFO] [stdout] f95ba750f1040235627bd2c2c054e9c9c93834da376ef7ed7d22b06cd9f1d7f9