[INFO] cloning repository https://github.com/antpln/HALfred [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/antpln/HALfred" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fantpln%2FHALfred", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fantpln%2FHALfred'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e9d6cef89f6261352e11ff0dd8128cfc67149c50 [INFO] checking antpln/HALfred against f1c52bf13c990fc425c542cc90a0396a87db24ba for pr-164812 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fantpln%2FHALfred" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-3-tc2/source/.cargo/config [INFO] started tweaking git repo https://github.com/antpln/HALfred [INFO] finished tweaking git repo https://github.com/antpln/HALfred [INFO] tweaked toml for git repo https://github.com/antpln/HALfred written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/antpln/HALfred on toolchain f1c52bf13c990fc425c542cc90a0396a87db24ba [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f1c52bf13c990fc425c542cc90a0396a87db24ba" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/antpln/HALfred 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" "+f1c52bf13c990fc425c542cc90a0396a87db24ba" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: `panic` setting is ignored for `test` profile [INFO] [stderr] warning: `halfred` (manifest) generated 1 warning [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:c0af3998e971868164375a7dfb646c9933ddd1a3bdb00fa2041266763dc1eeab" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 56b89ff721e7605cb8d4f41d87c7aaac192fc8175556657d1a47468eb05e0221 [INFO] running `Command { std: "docker" "start" "56b89ff721e7605cb8d4f41d87c7aaac192fc8175556657d1a47468eb05e0221", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "56b89ff721e7605cb8d4f41d87c7aaac192fc8175556657d1a47468eb05e0221", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "56b89ff721e7605cb8d4f41d87c7aaac192fc8175556657d1a47468eb05e0221" "/opt/rustwide/cargo-home/bin/cargo" "+f1c52bf13c990fc425c542cc90a0396a87db24ba" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "56b89ff721e7605cb8d4f41d87c7aaac192fc8175556657d1a47468eb05e0221", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "56b89ff721e7605cb8d4f41d87c7aaac192fc8175556657d1a47468eb05e0221" "/opt/rustwide/cargo-home/bin/cargo" "+f1c52bf13c990fc425c542cc90a0396a87db24ba" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: `panic` setting is ignored for `test` profile [INFO] [stderr] warning: `halfred` (manifest) generated 1 warning [INFO] [stderr] Checking halfred v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `core::panic::PanicInfo` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use core::panic::PanicInfo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ptr` [INFO] [stdout] --> src/usart.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use core::ptr; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `#[panic_handler]` function required, but not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `#![no_std]` attribute can only be used at the crate root [INFO] [stdout] --> src/usart.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![no_std] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: the crate root is at `src/main.rs` [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `#![no_main]` attribute can only be used at the crate root [INFO] [stdout] --> src/usart.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #![no_main] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: the crate root is at `src/main.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `baud_rate` [INFO] [stdout] --> src/usart.rs:53:24 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn init(&self, baud_rate: u32) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_baud_rate` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/usart.rs:77:28 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn transmit(&self, data: u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/usart.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | let mut a : u8 = 0; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::panic::PanicInfo` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use core::panic::PanicInfo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ptr` [INFO] [stdout] --> src/usart.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use core::ptr; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `#![no_std]` attribute can only be used at the crate root [INFO] [stdout] --> src/usart.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![no_std] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: the crate root is at `src/main.rs` [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `#![no_main]` attribute can only be used at the crate root [INFO] [stdout] --> src/usart.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #![no_main] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: the crate root is at `src/main.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `baud_rate` [INFO] [stdout] --> src/usart.rs:53:24 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn init(&self, baud_rate: u32) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_baud_rate` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/usart.rs:77:28 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn transmit(&self, data: u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/usart.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | let mut a : u8 = 0; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `receive` is never used [INFO] [stdout] --> src/usart.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl Usart { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn receive(&self) -> u8 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `halfred` (bin "halfred") due to 1 previous error; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "56b89ff721e7605cb8d4f41d87c7aaac192fc8175556657d1a47468eb05e0221", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56b89ff721e7605cb8d4f41d87c7aaac192fc8175556657d1a47468eb05e0221", kill_on_drop: false }` [INFO] [stdout] 56b89ff721e7605cb8d4f41d87c7aaac192fc8175556657d1a47468eb05e0221