[INFO] cloning repository https://github.com/lulf/eclipsecon-2021-firmware [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lulf/eclipsecon-2021-firmware" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flulf%2Feclipsecon-2021-firmware", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flulf%2Feclipsecon-2021-firmware'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 04e01cb10fc93d80f01fba2ec9084d3f0251ce1c [INFO] checking lulf/eclipsecon-2021-firmware against try#07fecb9cf34c4979a772ba38c99d6d9144768413 for pr-87710 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flulf%2Feclipsecon-2021-firmware" "/workspace/builds/worker-15/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-15/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lulf/eclipsecon-2021-firmware on toolchain 07fecb9cf34c4979a772ba38c99d6d9144768413 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+07fecb9cf34c4979a772ba38c99d6d9144768413" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-15/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/lulf/eclipsecon-2021-firmware [INFO] finished tweaking git repo https://github.com/lulf/eclipsecon-2021-firmware [INFO] tweaked toml for git repo https://github.com/lulf/eclipsecon-2021-firmware written to /workspace/builds/worker-15/source/Cargo.toml [INFO] crate git repo https://github.com/lulf/eclipsecon-2021-firmware already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+07fecb9cf34c4979a772ba38c99d6d9144768413" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: file found to be present in multiple build targets: /workspace/builds/worker-15/source/src/main.rs [INFO] [stderr] Updating git repository `https://github.com/drogue-iot/drogue-device` [INFO] [stderr] Updating git repository `https://github.com/drogue-iot/drogue-wasm` [INFO] [stderr] Updating git repository `https://github.com/embassy-rs/embassy.git` [INFO] [stderr] Updating git submodule `https://github.com/embassy-rs/stm32-data.git` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cortex-m-rt-macros v0.7.0 [INFO] [stderr] Downloaded volatile-register v0.2.1 [INFO] [stderr] Downloaded atomic-polyfill v0.1.3 [INFO] [stderr] Downloaded cortex-m-rt v0.7.0 [INFO] [stderr] Downloaded embedded-hal v0.2.6 [INFO] [stderr] Downloaded panic-probe v0.2.0 [INFO] [stderr] Downloaded critical-section v0.2.1 [INFO] [stderr] Downloaded bare-metal v1.0.0 [INFO] [stderr] Downloaded wasm-logger v0.2.0 [INFO] [stderr] Downloaded nrf52833-pac v0.10.1 [INFO] [stderr] Downloaded rtt-logger v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+07fecb9cf34c4979a772ba38c99d6d9144768413" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 00764540c4982cc0c380d649f0bf3fde58a82e181912e51b28552da329483c93 [INFO] running `Command { std: "docker" "start" "-a" "00764540c4982cc0c380d649f0bf3fde58a82e181912e51b28552da329483c93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "00764540c4982cc0c380d649f0bf3fde58a82e181912e51b28552da329483c93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00764540c4982cc0c380d649f0bf3fde58a82e181912e51b28552da329483c93", kill_on_drop: false }` [INFO] [stdout] 00764540c4982cc0c380d649f0bf3fde58a82e181912e51b28552da329483c93 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+07fecb9cf34c4979a772ba38c99d6d9144768413" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 23e52d3457aff4b0b9df9b48cb8be7596db81cbdee147048e5e84cd43e49bb15 [INFO] running `Command { std: "docker" "start" "-a" "23e52d3457aff4b0b9df9b48cb8be7596db81cbdee147048e5e84cd43e49bb15", kill_on_drop: false }` [INFO] [stderr] warning: file found to be present in multiple build targets: /opt/rustwide/workdir/src/main.rs [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling futures-core v0.3.16 [INFO] [stderr] Checking nb v1.0.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Checking futures-sink v0.3.16 [INFO] [stderr] Compiling futures-channel v0.3.16 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling cortex-m v0.7.3 [INFO] [stderr] Compiling critical-section v0.2.1 [INFO] [stderr] Checking vcell v0.1.3 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling atomic-polyfill v0.1.3 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling embassy v0.1.0 (https://github.com/embassy-rs/embassy.git?rev=548593ea415c79472bd2cf2d0c59aadfcf5f715c#548593ea) [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking futures-io v0.3.16 [INFO] [stderr] Checking bare-metal v1.0.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking hash32 v0.1.1 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking volatile-register v0.2.1 [INFO] [stderr] Checking embedded-hal v0.2.6 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking embassy-traits v0.1.0 (https://github.com/embassy-rs/embassy.git?rev=548593ea415c79472bd2cf2d0c59aadfcf5f715c#548593ea) [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking generic-array v0.13.3 [INFO] [stderr] Checking as-slice v0.1.5 [INFO] [stderr] Checking heapless v0.6.1 [INFO] [stderr] Checking futures v0.3.16 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Checking pin-project v1.0.8 [INFO] [stderr] Compiling embassy-macros v0.1.0 (https://github.com/embassy-rs/embassy.git?rev=548593ea415c79472bd2cf2d0c59aadfcf5f715c#548593ea) [INFO] [stderr] Checking drogue-device v0.1.0 (https://github.com/drogue-iot/drogue-device?rev=cbf3f40e94edb6be252b9846dca02e95da45b7f8#cbf3f40e) [INFO] [stderr] Checking eclipsecon-demo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `app::*` [INFO] [stdout] --> src/main.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | use app::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `app::*` [INFO] [stdout] --> src/main.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | use app::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Package` [INFO] [stdout] --> src/main.rs:60:36 [INFO] [stdout] | [INFO] [stdout] 60 | use drogue_device::{DeviceContext, Package}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Package` [INFO] [stdout] --> src/main.rs:60:36 [INFO] [stdout] | [INFO] [stdout] 60 | use drogue_device::{DeviceContext, Package}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/app.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new(button: BUTTON, led: LED) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `MyDevice` [INFO] [stdout] --> src/main.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | struct MyDevice { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `DEVICE` [INFO] [stdout] --> src/main.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | static DEVICE: DeviceContext = DeviceContext::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/app.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new(button: BUTTON, led: LED) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `MyDevice` [INFO] [stdout] --> src/main.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | struct MyDevice { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `DEVICE` [INFO] [stdout] --> src/main.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | static DEVICE: DeviceContext = DeviceContext::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `app::*` [INFO] [stdout] --> src/main.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | use app::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Package` [INFO] [stdout] --> src/main.rs:60:36 [INFO] [stdout] | [INFO] [stdout] 60 | use drogue_device::{DeviceContext, Package}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `eclipsecon_demo` [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / #![cfg_attr(feature = "microbit", no_std)] [INFO] [stdout] 2 | | #![cfg_attr(feature = "microbit", no_main)] [INFO] [stdout] 3 | | #![macro_use] [INFO] [stdout] 4 | | #![allow(incomplete_features)] [INFO] [stdout] ... | [INFO] [stdout] 131 | | Ok(()) [INFO] [stdout] 132 | | } [INFO] [stdout] | |_^ consider adding a `main` function to `src/main.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `app::*` [INFO] [stdout] --> src/main.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | use app::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Package` [INFO] [stdout] --> src/main.rs:60:36 [INFO] [stdout] | [INFO] [stdout] 60 | use drogue_device::{DeviceContext, Package}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stderr] error: could not compile `eclipsecon-demo` due to 2 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/app.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new(button: BUTTON, led: LED) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `MyDevice` [INFO] [stdout] --> src/main.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | struct MyDevice { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `DEVICE` [INFO] [stdout] --> src/main.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | static DEVICE: DeviceContext = DeviceContext::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "23e52d3457aff4b0b9df9b48cb8be7596db81cbdee147048e5e84cd43e49bb15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23e52d3457aff4b0b9df9b48cb8be7596db81cbdee147048e5e84cd43e49bb15", kill_on_drop: false }` [INFO] [stdout] 23e52d3457aff4b0b9df9b48cb8be7596db81cbdee147048e5e84cd43e49bb15