[INFO] cloning repository https://github.com/awall/rudiger [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/awall/rudiger" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fawall%2Frudiger", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fawall%2Frudiger'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0fb00104532872aeecfb61158fa6aa412a1a53ab [INFO] checking awall/rudiger against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fawall%2Frudiger" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/awall/rudiger on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/awall/rudiger [INFO] finished tweaking git repo https://github.com/awall/rudiger [INFO] tweaked toml for git repo https://github.com/awall/rudiger written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/awall/rudiger already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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] 7db59e86eb39f59d9201d60c81c0ca792e029956d8d040ae3b33558559d747ba [INFO] running `Command { std: "docker" "start" "-a" "7db59e86eb39f59d9201d60c81c0ca792e029956d8d040ae3b33558559d747ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7db59e86eb39f59d9201d60c81c0ca792e029956d8d040ae3b33558559d747ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7db59e86eb39f59d9201d60c81c0ca792e029956d8d040ae3b33558559d747ba", kill_on_drop: false }` [INFO] [stdout] 7db59e86eb39f59d9201d60c81c0ca792e029956d8d040ae3b33558559d747ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", 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] fcb217529a370962c9ee4cd37a0d8fc36ec18c1df3e80b2acd3bb5806db7421d [INFO] running `Command { std: "docker" "start" "-a" "fcb217529a370962c9ee4cd37a0d8fc36ec18c1df3e80b2acd3bb5806db7421d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking piston-float v0.3.0 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Compiling serde v1.0.87 [INFO] [stderr] Checking downcast-rs v1.0.3 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking shader_version v0.3.0 [INFO] [stderr] Checking adler32 v1.0.3 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking read_color v1.0.0 [INFO] [stderr] Checking piston-texture v0.6.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking interpolation v0.2.0 [INFO] [stderr] Checking piston-shaders_graphics2d v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.3 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking piston-viewport v0.5.0 [INFO] [stderr] Checking vecmath v0.3.1 [INFO] [stderr] Checking gif v0.10.1 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking rand_os v0.1.2 [INFO] [stderr] Checking nix v0.12.0 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking ordered-float v1.0.1 [INFO] [stderr] Checking approx v0.3.1 [INFO] [stderr] Checking deflate v0.7.19 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Checking x11-dl v2.18.3 [INFO] [stderr] Checking smallvec v0.6.8 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking rusttype v0.7.5 [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Checking dlib v0.4.1 [INFO] [stderr] Checking wayland-sys v0.21.11 [INFO] [stderr] Checking rayon-core v1.4.1 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Checking png v0.14.0 [INFO] [stderr] Checking andrew v0.1.6 [INFO] [stderr] Checking piston2d-graphics v0.30.0 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Checking rayon v1.0.3 [INFO] [stderr] Compiling wayland-scanner v0.21.11 [INFO] [stderr] Compiling syn v0.15.26 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Compiling gl v0.11.0 [INFO] [stderr] Compiling glutin v0.19.0 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Checking jpeg-decoder v0.1.15 [INFO] [stderr] Compiling wayland-client v0.21.11 [INFO] [stderr] Compiling wayland-protocols v0.21.11 [INFO] [stderr] Checking wayland-commons v0.21.11 [INFO] [stderr] Compiling serde_derive v1.0.87 [INFO] [stderr] Compiling num-derive v0.2.4 [INFO] [stderr] Checking tiff v0.2.2 [INFO] [stderr] Checking image v0.21.0 [INFO] [stderr] Checking piston2d-opengl_graphics v0.59.0 [INFO] [stderr] Checking pistoncore-input v0.24.0 [INFO] [stderr] Checking smithay-client-toolkit v0.4.4 [INFO] [stderr] Checking pistoncore-window v0.37.0 [INFO] [stderr] Checking pistoncore-event_loop v0.42.0 [INFO] [stderr] Checking piston v0.42.0 [INFO] [stderr] Checking winit v0.18.1 [INFO] [stderr] Checking pistoncore-glutin_window v0.54.0 [INFO] [stderr] Checking rudiger v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected one of `,`, `.`, `?`, `]`, or an operator, found `0` [INFO] [stdout] --> src/main.rs:54:41 [INFO] [stdout] | [INFO] [stdout] 54 | else if o == 2 { [z(dir), 1 0]} [INFO] [stdout] | -^ expected one of `,`, `.`, `?`, `]`, or an operator [INFO] [stdout] | | [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `,`, `.`, `?`, `]`, or an operator, found `0` [INFO] [stdout] --> src/main.rs:54:41 [INFO] [stdout] | [INFO] [stdout] 54 | else if o == 2 { [z(dir), 1 0]} [INFO] [stdout] | -^ expected one of `,`, `.`, `?`, `]`, or an operator [INFO] [stdout] | | [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `if` and `else` have incompatible types [INFO] [stdout] --> src/main.rs:55:18 [INFO] [stdout] | [INFO] [stdout] 54 | else if o == 2 { [z(dir), 1 0]} [INFO] [stdout] | - ------------- expected because of this [INFO] [stdout] | __________________| [INFO] [stdout] | | [INFO] [stdout] 55 | | else if o == 3 { [dir, 0] } [INFO] [stdout] | |__________________^ [INFO] [stdout] 56 | || else if o == 4 { [-1, 0] } [INFO] [stdout] 57 | || else if o == 5 { [0, -1] } [INFO] [stdout] 58 | || else { [0, 0] }, [INFO] [stdout] | || ^ [INFO] [stdout] | ||___________________________| [INFO] [stdout] | |____________________________`if` and `else` have incompatible types [INFO] [stdout] | expected an array with a fixed size of 3 elements, found one with 2 elements [INFO] [stdout] | [INFO] [stdout] = note: expected type `[i32; 3]` [INFO] [stdout] found array `[i32; 2]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rudiger` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: `if` and `else` have incompatible types [INFO] [stdout] --> src/main.rs:55:18 [INFO] [stdout] | [INFO] [stdout] 54 | else if o == 2 { [z(dir), 1 0]} [INFO] [stdout] | - ------------- expected because of this [INFO] [stdout] | __________________| [INFO] [stdout] | | [INFO] [stdout] 55 | | else if o == 3 { [dir, 0] } [INFO] [stdout] | |__________________^ [INFO] [stdout] 56 | || else if o == 4 { [-1, 0] } [INFO] [stdout] 57 | || else if o == 5 { [0, -1] } [INFO] [stdout] 58 | || else { [0, 0] }, [INFO] [stdout] | || ^ [INFO] [stdout] | ||___________________________| [INFO] [stdout] | |____________________________`if` and `else` have incompatible types [INFO] [stdout] | expected an array with a fixed size of 3 elements, found one with 2 elements [INFO] [stdout] | [INFO] [stdout] = note: expected type `[i32; 3]` [INFO] [stdout] found array `[i32; 2]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "fcb217529a370962c9ee4cd37a0d8fc36ec18c1df3e80b2acd3bb5806db7421d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcb217529a370962c9ee4cd37a0d8fc36ec18c1df3e80b2acd3bb5806db7421d", kill_on_drop: false }` [INFO] [stdout] fcb217529a370962c9ee4cd37a0d8fc36ec18c1df3e80b2acd3bb5806db7421d