[INFO] cloning repository https://github.com/genonullfree/labyrinth [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/genonullfree/labyrinth" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgenonullfree%2Flabyrinth", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgenonullfree%2Flabyrinth'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b71186dceefe1d1b21287cfc7f930da6ce6e561e [INFO] checking genonullfree/labyrinth against try#099af82bc034c1e4895c90e5407fafdd61976cdb for pr-145457 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgenonullfree%2Flabyrinth" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-6-tc2/source/.cargo/config [INFO] started tweaking git repo https://github.com/genonullfree/labyrinth [INFO] finished tweaking git repo https://github.com/genonullfree/labyrinth [INFO] tweaked toml for git repo https://github.com/genonullfree/labyrinth written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/genonullfree/labyrinth on toolchain 099af82bc034c1e4895c90e5407fafdd61976cdb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+099af82bc034c1e4895c90e5407fafdd61976cdb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/genonullfree/labyrinth 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" "+099af82bc034c1e4895c90e5407fafdd61976cdb" "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 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded microbit-v2 v0.12.0 [INFO] [stderr] Downloaded panic-rtt-target v0.1.2 [INFO] [stderr] Downloaded nrf52833-hal v0.14.1 [INFO] [stderr] Downloaded riscv-target v0.1.2 [INFO] [stderr] Downloaded microbit v0.12.0 [INFO] [stderr] Downloaded critical-section v0.2.7 [INFO] [stderr] Downloaded microbit-common v0.12.0 [INFO] [stderr] Downloaded rtt-target v0.3.1 [INFO] [stderr] Downloaded nrf51-hal v0.14.1 [INFO] [stderr] Downloaded atomic-polyfill v0.1.8 [INFO] [stderr] Downloaded usb-device v0.2.8 [INFO] [stderr] Downloaded lsm303agr v0.2.2 [INFO] [stderr] Downloaded embedded-dma v0.1.2 [INFO] [stderr] Downloaded nrf-usbd v0.1.1 [INFO] [stderr] Downloaded nrf-hal-common v0.14.1 [INFO] [stderr] Downloaded cortex-m v0.7.5 [INFO] [stderr] Downloaded nrf51-pac v0.10.1 [INFO] [stderr] Downloaded az v1.2.0 [INFO] [stderr] Downloaded heapless v0.7.15 [INFO] [stderr] Downloaded cortex-m-rt v0.7.1 [INFO] [stderr] Downloaded nrf52833-pac v0.10.1 [INFO] [stderr] Downloaded fixed v1.16.0 [INFO] [stderr] Downloaded riscv v0.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+099af82bc034c1e4895c90e5407fafdd61976cdb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 168d7509b7f096d7cb484c9306c5f86f6fcf54b780530bf8beb6faa7f80316d7 [INFO] running `Command { std: "docker" "start" "-a" "168d7509b7f096d7cb484c9306c5f86f6fcf54b780530bf8beb6faa7f80316d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "168d7509b7f096d7cb484c9306c5f86f6fcf54b780530bf8beb6faa7f80316d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "168d7509b7f096d7cb484c9306c5f86f6fcf54b780530bf8beb6faa7f80316d7", kill_on_drop: false }` [INFO] [stdout] 168d7509b7f096d7cb484c9306c5f86f6fcf54b780530bf8beb6faa7f80316d7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+099af82bc034c1e4895c90e5407fafdd61976cdb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bf231961db8d9c278d9e5695de25064c789c056f722716d5da6b9142cacecf31 [INFO] running `Command { std: "docker" "start" "-a" "bf231961db8d9c278d9e5695de25064c789c056f722716d5da6b9142cacecf31", kill_on_drop: false }` [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking nb v1.0.0 [INFO] [stderr] Compiling semver v1.0.12 [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling cortex-m v0.7.5 [INFO] [stderr] Checking vcell v0.1.3 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling cortex-m-rt v0.7.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking ufmt-write v0.1.0 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling labyrinth v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking volatile-register v0.2.1 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking embedded-hal v0.2.7 [INFO] [stderr] Checking lsm303agr v0.2.2 [INFO] [stderr] Checking hash32 v0.2.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking spin v0.9.3 [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 heapless v0.7.15 [INFO] [stderr] Checking rtt-target v0.3.1 [INFO] [stderr] Checking 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:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use microbit::hal::prelude::*; [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[E0433]: failed to resolve: use of unresolved module or unlinked crate `microbit` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use microbit::hal::prelude::*; [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[E0433]: failed to resolve: use of unresolved module or unlinked crate `microbit` [INFO] [stdout] --> src/main.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | 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[E0433]: failed to resolve: use of undeclared type `Display` [INFO] [stdout] --> src/main.rs:69:23 [INFO] [stdout] | [INFO] [stdout] 69 | let mut display = Display::new(board.display_pins); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Display` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/main.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 12 | #[cfg(feature = "v1")] [INFO] [stdout] | -------------- the item is gated behind the `v1` feature [INFO] [stdout] 13 | use microbit::{ [INFO] [stdout] 14 | display::blocking::Display, hal::twi, hal::Timer, pac::twi0::frequency::FREQUENCY_A, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/main.rs:19:24 [INFO] [stdout] | [INFO] [stdout] 17 | #[cfg(feature = "v2")] [INFO] [stdout] | -------------- the item is gated behind the `v2` feature [INFO] [stdout] 18 | use microbit::{ [INFO] [stdout] 19 | display::blocking::Display, hal::twim, hal::Timer, pac::twim0::frequency::FREQUENCY_A, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 5 + use core::fmt::Display; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `i2c` in this scope [INFO] [stdout] --> src/main.rs:80:46 [INFO] [stdout] | [INFO] [stdout] 80 | let mut sensor = Lsm303agr::new_with_i2c(i2c); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: duplicate lang item in crate `std` (which `test` depends on): `panic_impl` [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `panic_rtt_target` (which `labyrinth` depends on) [INFO] [stdout] = note: first definition in `panic_rtt_target` loaded from /opt/rustwide/target/debug/deps/libpanic_rtt_target-d84405fce23fb775.rmeta [INFO] [stdout] = note: second definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/099af82bc034c1e4895c90e5407fafdd61976cdb/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-8b5bf3899fe2af46.rlib [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Timer` [INFO] [stdout] --> src/main.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 70 | let mut timer = Timer::new(board.TIMER0); [INFO] [stdout] | ^^^^^ use of undeclared type `Timer` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/main.rs:14:48 [INFO] [stdout] | [INFO] [stdout] 12 | #[cfg(feature = "v1")] [INFO] [stdout] | -------------- the item is gated behind the `v1` feature [INFO] [stdout] 13 | use microbit::{ [INFO] [stdout] 14 | display::blocking::Display, hal::twi, hal::Timer, pac::twi0::frequency::FREQUENCY_A, [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/main.rs:19:49 [INFO] [stdout] | [INFO] [stdout] 17 | #[cfg(feature = "v2")] [INFO] [stdout] | -------------- the item is gated behind the `v2` feature [INFO] [stdout] 18 | use microbit::{ [INFO] [stdout] 19 | display::blocking::Display, hal::twim, hal::Timer, pac::twim0::frequency::FREQUENCY_A, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0152, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `microbit` [INFO] [stdout] --> src/main.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | 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] [stderr] error: could not compile `labyrinth` (bin "labyrinth" test) due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Display` [INFO] [stdout] --> src/main.rs:69:23 [INFO] [stdout] | [INFO] [stdout] 69 | let mut display = Display::new(board.display_pins); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Display` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/main.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 12 | #[cfg(feature = "v1")] [INFO] [stdout] | -------------- the item is gated behind the `v1` feature [INFO] [stdout] 13 | use microbit::{ [INFO] [stdout] 14 | display::blocking::Display, hal::twi, hal::Timer, pac::twi0::frequency::FREQUENCY_A, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/main.rs:19:24 [INFO] [stdout] | [INFO] [stdout] 17 | #[cfg(feature = "v2")] [INFO] [stdout] | -------------- the item is gated behind the `v2` feature [INFO] [stdout] 18 | use microbit::{ [INFO] [stdout] 19 | display::blocking::Display, hal::twim, hal::Timer, pac::twim0::frequency::FREQUENCY_A, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 5 + use core::fmt::Display; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `i2c` in this scope [INFO] [stdout] --> src/main.rs:80:46 [INFO] [stdout] | [INFO] [stdout] 80 | let mut sensor = Lsm303agr::new_with_i2c(i2c); [INFO] [stdout] | ^^^ not found in this scope [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] error[E0433]: failed to resolve: use of undeclared type `Timer` [INFO] [stdout] --> src/main.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 70 | let mut timer = Timer::new(board.TIMER0); [INFO] [stdout] | ^^^^^ use of undeclared type `Timer` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/main.rs:14:48 [INFO] [stdout] | [INFO] [stdout] 12 | #[cfg(feature = "v1")] [INFO] [stdout] | -------------- the item is gated behind the `v1` feature [INFO] [stdout] 13 | use microbit::{ [INFO] [stdout] 14 | display::blocking::Display, hal::twi, hal::Timer, pac::twi0::frequency::FREQUENCY_A, [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/main.rs:19:49 [INFO] [stdout] | [INFO] [stdout] 17 | #[cfg(feature = "v2")] [INFO] [stdout] | -------------- the item is gated behind the `v2` feature [INFO] [stdout] 18 | use microbit::{ [INFO] [stdout] 19 | display::blocking::Display, hal::twim, hal::Timer, pac::twim0::frequency::FREQUENCY_A, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `labyrinth` (bin "labyrinth") due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "bf231961db8d9c278d9e5695de25064c789c056f722716d5da6b9142cacecf31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf231961db8d9c278d9e5695de25064c789c056f722716d5da6b9142cacecf31", kill_on_drop: false }` [INFO] [stdout] bf231961db8d9c278d9e5695de25064c789c056f722716d5da6b9142cacecf31