[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 6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa for pr-159356
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fantpln%2FHALfred" "/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/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-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/antpln/HALfred on toolchain 6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa" "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" "+6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa" "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] [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 e310x-hal v0.12.0
[INFO] [stderr]   Downloaded riscv-rt-macros v0.2.2
[INFO] [stderr]   Downloaded hifive1 v0.13.0
[INFO] [stderr]   Downloaded e310x v0.12.0
[INFO] [stderr]   Downloaded riscv-rt v0.13.0
[INFO] [stderr]   Downloaded cortex-m-rt-macros v0.7.5
[INFO] [stderr]   Downloaded riscv-peripheral v0.2.0
[INFO] [stderr]   Downloaded cortex-m-rt v0.7.5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:c36f533e8924a726b63f9d01e781fa8c8c28c96d1d595403829afb31452ee0f5" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 3b74be1b2e7b01077513be576373643de4720fdea61f9bcf20b27cd836944c36
[INFO] running `Command { std: "docker" "start" "3b74be1b2e7b01077513be576373643de4720fdea61f9bcf20b27cd836944c36", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3b74be1b2e7b01077513be576373643de4720fdea61f9bcf20b27cd836944c36", 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" "3b74be1b2e7b01077513be576373643de4720fdea61f9bcf20b27cd836944c36" "/opt/rustwide/cargo-home/bin/cargo" "+6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3b74be1b2e7b01077513be576373643de4720fdea61f9bcf20b27cd836944c36", 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" "3b74be1b2e7b01077513be576373643de4720fdea61f9bcf20b27cd836944c36" "/opt/rustwide/cargo-home/bin/cargo" "+6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa" "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 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: 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" "3b74be1b2e7b01077513be576373643de4720fdea61f9bcf20b27cd836944c36", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3b74be1b2e7b01077513be576373643de4720fdea61f9bcf20b27cd836944c36", kill_on_drop: false }`
[INFO] [stdout] 3b74be1b2e7b01077513be576373643de4720fdea61f9bcf20b27cd836944c36
