[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 master#0599f3403366d9c57f0625e6de3af214b5042a90 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-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lulf/eclipsecon-2021-firmware on toolchain 0599f3403366d9c57f0625e6de3af214b5042a90 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0599f3403366d9c57f0625e6de3af214b5042a90" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-10/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-10/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" "+0599f3403366d9c57f0625e6de3af214b5042a90" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: file found to be present in multiple build targets: /workspace/builds/worker-10/source/src/main.rs [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+0599f3403366d9c57f0625e6de3af214b5042a90" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 519e09226920f65f557f4bbaa35534e8ec13071f2ad57299502ab38497ec5618 [INFO] running `Command { std: "docker" "start" "-a" "519e09226920f65f557f4bbaa35534e8ec13071f2ad57299502ab38497ec5618", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "519e09226920f65f557f4bbaa35534e8ec13071f2ad57299502ab38497ec5618", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "519e09226920f65f557f4bbaa35534e8ec13071f2ad57299502ab38497ec5618", kill_on_drop: false }` [INFO] [stdout] 519e09226920f65f557f4bbaa35534e8ec13071f2ad57299502ab38497ec5618 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+0599f3403366d9c57f0625e6de3af214b5042a90" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7d04e0222f9dd5cdd89d618b7663434cd8ce0ec39e9093e5c2abef3097bb2f23 [INFO] running `Command { std: "docker" "start" "-a" "7d04e0222f9dd5cdd89d618b7663434cd8ce0ec39e9093e5c2abef3097bb2f23", kill_on_drop: false }` [INFO] [stderr] warning: file found to be present in multiple build targets: /opt/rustwide/workdir/src/main.rs [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 typenum v1.13.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling futures-core v0.3.16 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling futures-channel v0.3.16 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking futures-sink v0.3.16 [INFO] [stderr] Compiling cortex-m v0.7.3 [INFO] [stderr] Compiling critical-section v0.2.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling atomic-polyfill v0.1.3 [INFO] [stderr] Checking futures-io v0.3.16 [INFO] [stderr] Compiling heapless v0.6.1 [INFO] [stderr] Checking bare-metal v1.0.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling embassy v0.1.0 (https://github.com/embassy-rs/embassy.git?rev=548593ea415c79472bd2cf2d0c59aadfcf5f715c#548593ea) [INFO] [stderr] Checking base64 v0.13.0 [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 log v0.4.14 [INFO] [stderr] Checking hash32 v0.1.1 [INFO] [stderr] Checking embassy-traits v0.1.0 (https://github.com/embassy-rs/embassy.git?rev=548593ea415c79472bd2cf2d0c59aadfcf5f715c#548593ea) [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking generic-array v0.13.3 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking as-slice v0.1.5 [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] Compiling embassy-macros v0.1.0 (https://github.com/embassy-rs/embassy.git?rev=548593ea415c79472bd2cf2d0c59aadfcf5f715c#548593ea) [INFO] [stderr] Checking pin-project v1.0.8 [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: `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: `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: 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: `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] 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] 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] [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] [stderr] warning: build failed, waiting for other jobs to finish... [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" "7d04e0222f9dd5cdd89d618b7663434cd8ce0ec39e9093e5c2abef3097bb2f23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d04e0222f9dd5cdd89d618b7663434cd8ce0ec39e9093e5c2abef3097bb2f23", kill_on_drop: false }` [INFO] [stdout] 7d04e0222f9dd5cdd89d618b7663434cd8ce0ec39e9093e5c2abef3097bb2f23