[INFO] cloning repository https://github.com/cassaundra/gridloc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cassaundra/gridloc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcassaundra%2Fgridloc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcassaundra%2Fgridloc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] deee871c67261c8dbdb0495b51d9834b1dbaba6f [INFO] checking cassaundra/gridloc against master#b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18 for pr-79470 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcassaundra%2Fgridloc" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cassaundra/gridloc on toolchain b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/cassaundra/gridloc [INFO] finished tweaking git repo https://github.com/cassaundra/gridloc [INFO] tweaked toml for git repo https://github.com/cassaundra/gridloc written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/cassaundra/gridloc already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "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] 1e117163b139dabf4416202177509ae750986ae1c9ceaed8f8f9b417cdfa6c5c [INFO] running `Command { std: "docker" "start" "-a" "1e117163b139dabf4416202177509ae750986ae1c9ceaed8f8f9b417cdfa6c5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1e117163b139dabf4416202177509ae750986ae1c9ceaed8f8f9b417cdfa6c5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e117163b139dabf4416202177509ae750986ae1c9ceaed8f8f9b417cdfa6c5c", kill_on_drop: false }` [INFO] [stdout] 1e117163b139dabf4416202177509ae750986ae1c9ceaed8f8f9b417cdfa6c5c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f428ebb22c88e12506c8165c2daded859986f842a0ea907b322c1c2cce16becb [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" "f428ebb22c88e12506c8165c2daded859986f842a0ea907b322c1c2cce16becb", kill_on_drop: false }` [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking matrixmultiply v0.2.3 [INFO] [stderr] Checking ndarray v0.13.1 [INFO] [stderr] Checking gridloc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0658]: or-patterns syntax is experimental [INFO] [stdout] --> src/program/mod.rs:284:34 [INFO] [stdout] | [INFO] [stdout] 284 | if let Some(instr @ (StartLoop | EndLoop)) = parse_instruction(value as char) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #54883 for more information [INFO] [stdout] = help: add `#![feature(or_patterns)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/program/grid.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hash_map::Entry` [INFO] [stdout] --> src/program/grid.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::{HashMap, hash_map::Entry}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: or-patterns syntax is experimental [INFO] [stdout] --> src/program/mod.rs:284:34 [INFO] [stdout] | [INFO] [stdout] 284 | if let Some(instr @ (StartLoop | EndLoop)) = parse_instruction(value as char) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #54883 for more information [INFO] [stdout] = help: add `#![feature(or_patterns)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/program/grid.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hash_map::Entry` [INFO] [stdout] --> src/program/grid.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::{HashMap, hash_map::Entry}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | .reader(&mut stdin) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `Box`, found `&mut Stdin` [INFO] [stdout] | help: store this in the heap by calling `Box::new`: `Box::new(&mut stdin)` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Box<(dyn BufRead + 'static)>` [INFO] [stdout] found mutable reference `&mut Stdin` [INFO] [stdout] = note: for more on the distinction between the stack and the heap, read https://doc.rust-lang.org/book/ch15-01-box.html, https://doc.rust-lang.org/rust-by-example/std/box.html, and https://doc.rust-lang.org/std/boxed/index.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | .writer(&mut stdout) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `Box`, found `&mut Stdout` [INFO] [stdout] | help: store this in the heap by calling `Box::new`: `Box::new(&mut stdout)` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Box<(dyn std::io::Write + 'static)>` [INFO] [stdout] found mutable reference `&mut Stdout` [INFO] [stdout] = note: for more on the distinction between the stack and the heap, read https://doc.rust-lang.org/book/ch15-01-box.html, https://doc.rust-lang.org/rust-by-example/std/box.html, and https://doc.rust-lang.org/std/boxed/index.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | .reader(&mut stdin) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `Box`, found `&mut Stdin` [INFO] [stdout] | help: store this in the heap by calling `Box::new`: `Box::new(&mut stdin)` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Box<(dyn BufRead + 'static)>` [INFO] [stdout] found mutable reference `&mut Stdin` [INFO] [stdout] = note: for more on the distinction between the stack and the heap, read https://doc.rust-lang.org/book/ch15-01-box.html, https://doc.rust-lang.org/rust-by-example/std/box.html, and https://doc.rust-lang.org/std/boxed/index.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `gridloc` [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]: mismatched types [INFO] [stdout] --> src/main.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | .writer(&mut stdout) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `Box`, found `&mut Stdout` [INFO] [stdout] | help: store this in the heap by calling `Box::new`: `Box::new(&mut stdout)` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Box<(dyn std::io::Write + 'static)>` [INFO] [stdout] found mutable reference `&mut Stdout` [INFO] [stdout] = note: for more on the distinction between the stack and the heap, read https://doc.rust-lang.org/book/ch15-01-box.html, https://doc.rust-lang.org/rust-by-example/std/box.html, and https://doc.rust-lang.org/std/boxed/index.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "f428ebb22c88e12506c8165c2daded859986f842a0ea907b322c1c2cce16becb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f428ebb22c88e12506c8165c2daded859986f842a0ea907b322c1c2cce16becb", kill_on_drop: false }` [INFO] [stdout] f428ebb22c88e12506c8165c2daded859986f842a0ea907b322c1c2cce16becb