[INFO] cloning repository https://github.com/vaibhavbafna5/snake [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vaibhavbafna5/snake" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvaibhavbafna5%2Fsnake", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvaibhavbafna5%2Fsnake'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0a36a383e7a890cba4bcaf930b6fd130d68baf8a [INFO] testing vaibhavbafna5/snake against try#7af779037716ae4125ceabb429791b4cf5dd0a43 for pr-136932 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvaibhavbafna5%2Fsnake" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vaibhavbafna5/snake on toolchain 7af779037716ae4125ceabb429791b4cf5dd0a43 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-3-tc2/source/.cargo/config [INFO] started tweaking git repo https://github.com/vaibhavbafna5/snake [INFO] finished tweaking git repo https://github.com/vaibhavbafna5/snake [INFO] tweaked toml for git repo https://github.com/vaibhavbafna5/snake written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/vaibhavbafna5/snake already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] testing vaibhavbafna5/snake against try#7af779037716ae4125ceabb429791b4cf5dd0a43 for pr-136932 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvaibhavbafna5%2Fsnake" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vaibhavbafna5/snake on toolchain 7af779037716ae4125ceabb429791b4cf5dd0a43 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-3-tc2/source/.cargo/config [INFO] started tweaking git repo https://github.com/vaibhavbafna5/snake [INFO] finished tweaking git repo https://github.com/vaibhavbafna5/snake [INFO] tweaked toml for git repo https://github.com/vaibhavbafna5/snake written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/vaibhavbafna5/snake already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rtt-target v0.3.1 [INFO] [stderr] Downloaded nrf51-hal v0.14.1 [INFO] [stderr] Downloaded microbit-common v0.12.0 [INFO] [stderr] Downloaded microbit v0.12.0 [INFO] [stderr] Downloaded panic-rtt-target v0.1.2 [INFO] [stderr] Downloaded microbit-v2 v0.12.0 [INFO] [stderr] Downloaded fixed v1.26.0 [INFO] [stderr] Downloaded lsm303agr v0.2.2 [INFO] [stderr] Downloaded nrf51-pac v0.10.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9d36f57c79440a9a486c72a196e522ab8031493d337a527f82bbcbd5c37ea376 [INFO] running `Command { std: "docker" "start" "-a" "9d36f57c79440a9a486c72a196e522ab8031493d337a527f82bbcbd5c37ea376", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9d36f57c79440a9a486c72a196e522ab8031493d337a527f82bbcbd5c37ea376", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d36f57c79440a9a486c72a196e522ab8031493d337a527f82bbcbd5c37ea376", kill_on_drop: false }` [INFO] [stdout] 9d36f57c79440a9a486c72a196e522ab8031493d337a527f82bbcbd5c37ea376 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 44652f3b4b78470f21eb736cb247d187c9ba3555e88864593097bba61614512a [INFO] running `Command { std: "docker" "start" "-a" "44652f3b4b78470f21eb736cb247d187c9ba3555e88864593097bba61614512a", kill_on_drop: false }` [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling nb v1.1.0 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling cortex-m v0.7.7 [INFO] [stderr] Compiling vcell v0.1.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling bitfield v0.13.2 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling cortex-m-rt v0.7.3 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling ufmt-write v0.1.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling volatile-register v0.2.2 [INFO] [stderr] Compiling i2c v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling embedded-hal v0.2.7 [INFO] [stderr] Compiling hash32 v0.2.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling lsm303agr v0.2.2 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling rtt-target v0.3.1 [INFO] [stderr] Compiling panic-rtt-target v0.1.2 [INFO] [stderr] Compiling cortex-m-rt-macros v0.7.0 [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `microbit` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use microbit::{ [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `microbit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `microbit`, use `cargo add microbit` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `microbit::board::Board`, `microbit::display::blocking::Display`, `microbit::hal::Timer` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | board::Board, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 10 | display::blocking::Display, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | hal::{prelude::*, Timer}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `microbit` [INFO] [stdout] --> src/main.rs:308:17 [INFO] [stdout] | [INFO] [stdout] 308 | let board = microbit::Board::take().unwrap(); [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `microbit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `microbit`, use `cargo add microbit` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `i2c` in this scope [INFO] [stdout] --> src/main.rs:328:46 [INFO] [stdout] | [INFO] [stdout] 328 | let mut sensor = Lsm303agr::new_with_i2c(i2c); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `serial` in this scope [INFO] [stdout] --> src/main.rs:366:27 [INFO] [stdout] | [INFO] [stdout] 366 | let serial_byte = serial.read(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:220:20 [INFO] [stdout] | [INFO] [stdout] 220 | if (self.point.0 == value.0 && self.point.1 == value.1) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 220 - if (self.point.0 == value.0 && self.point.1 == value.1) { [INFO] [stdout] 220 + if self.point.0 == value.0 && self.point.1 == value.1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:279:8 [INFO] [stdout] | [INFO] [stdout] 279 | if (direction == 'L') { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 279 - if (direction == 'L') { [INFO] [stdout] 279 + if direction == 'L' { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:106:21 [INFO] [stdout] | [INFO] [stdout] 106 | let mut last_segment_clone = self.snake.segments.last().unwrap().clone(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:133:29 [INFO] [stdout] | [INFO] [stdout] 133 | let mut segment = push_segment_to_back(&last_segment_clone, last_segment_clone.default_direction); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `i2c` (bin "i2c") due to 6 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "44652f3b4b78470f21eb736cb247d187c9ba3555e88864593097bba61614512a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44652f3b4b78470f21eb736cb247d187c9ba3555e88864593097bba61614512a", kill_on_drop: false }` [INFO] [stdout] 44652f3b4b78470f21eb736cb247d187c9ba3555e88864593097bba61614512a