[INFO] fetching crate rust-on-rv32i 0.0.14...
[INFO] checking rust-on-rv32i-0.0.14 against master#39cb3386ddc6c71657418be28dbb3987eea4aa4b for pr-133536
[INFO] extracting crate rust-on-rv32i 0.0.14 into /workspace/builds/worker-2-tc1/source
[INFO] validating manifest of crates.io crate rust-on-rv32i 0.0.14 on toolchain 39cb3386ddc6c71657418be28dbb3987eea4aa4b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-2-tc1/source/.cargo/config
[INFO] started tweaking crates.io crate rust-on-rv32i 0.0.14
[INFO] finished tweaking crates.io crate rust-on-rv32i 0.0.14
[INFO] tweaked toml for crates.io crate rust-on-rv32i 0.0.14 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] crate crates.io crate rust-on-rv32i 0.0.14 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" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 883b115af1281c106b22371390dc3363c8bc159aff63ccbaed99f5658df5df20
[INFO] running `Command { std: "docker" "start" "-a" "883b115af1281c106b22371390dc3363c8bc159aff63ccbaed99f5658df5df20", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "883b115af1281c106b22371390dc3363c8bc159aff63ccbaed99f5658df5df20", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "883b115af1281c106b22371390dc3363c8bc159aff63ccbaed99f5658df5df20", kill_on_drop: false }`
[INFO] [stdout] 883b115af1281c106b22371390dc3363c8bc159aff63ccbaed99f5658df5df20
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4d8b15c690866eb2d53ddec8043eaa63307e1b0eaf4c2c86b1000ec64953dbde
[INFO] running `Command { std: "docker" "start" "-a" "4d8b15c690866eb2d53ddec8043eaa63307e1b0eaf4c2c86b1000ec64953dbde", kill_on_drop: false }`
[INFO] [stderr]     Checking rust-on-rv32i v0.0.14 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around `while` condition
[INFO] [stdout]    --> src/lib/fe310/uart.rs:183:23
[INFO] [stdout]     |
[INFO] [stdout] 183 |                 while ((ptr::read_volatile(&(*UART0).txdata as *const u32) >> 31) == 1) { }
[INFO] [stdout]     |                       ^                                                               ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 183 -                 while ((ptr::read_volatile(&(*UART0).txdata as *const u32) >> 31) == 1) { }
[INFO] [stdout] 183 +                 while (ptr::read_volatile(&(*UART0).txdata as *const u32) >> 31) == 1 { }
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `while` condition
[INFO] [stdout]    --> src/lib/fe310/uart.rs:189:23
[INFO] [stdout]     |
[INFO] [stdout] 189 |                 while ((ptr::read_volatile(&(*UART1).txdata as *const u32) >> 31) == 1) {}
[INFO] [stdout]     |                       ^                                                               ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 189 -                 while ((ptr::read_volatile(&(*UART1).txdata as *const u32) >> 31) == 1) {}
[INFO] [stdout] 189 +                 while (ptr::read_volatile(&(*UART1).txdata as *const u32) >> 31) == 1 {}
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `while` condition
[INFO] [stdout]    --> src/lib/fe310/uart.rs:183:23
[INFO] [stdout]     |
[INFO] [stdout] 183 |                 while ((ptr::read_volatile(&(*UART0).txdata as *const u32) >> 31) == 1) { }
[INFO] [stdout]     |                       ^                                                               ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 183 -                 while ((ptr::read_volatile(&(*UART0).txdata as *const u32) >> 31) == 1) { }
[INFO] [stdout] 183 +                 while (ptr::read_volatile(&(*UART0).txdata as *const u32) >> 31) == 1 { }
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `while` condition
[INFO] [stdout]    --> src/lib/fe310/uart.rs:189:23
[INFO] [stdout]     |
[INFO] [stdout] 189 |                 while ((ptr::read_volatile(&(*UART1).txdata as *const u32) >> 31) == 1) {}
[INFO] [stdout]     |                       ^                                                               ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 189 -                 while ((ptr::read_volatile(&(*UART1).txdata as *const u32) >> 31) == 1) {}
[INFO] [stdout] 189 +                 while (ptr::read_volatile(&(*UART1).txdata as *const u32) >> 31) == 1 {}
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cfg`
[INFO] [stdout]   --> src/lib/dio.rs:53:33
[INFO] [stdout]    |
[INFO] [stdout] 53 |     pub fn configure_pin(&self, cfg: DioConfig){}
[INFO] [stdout]    |                                 ^^^ help: if this is intentional, prefix it with an underscore: `_cfg`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]   --> src/lib/dio.rs:72:42
[INFO] [stdout]    |
[INFO] [stdout] 72 |     pub fn write_pin_outlet_state(&self, v: DioLogic) {
[INFO] [stdout]    |                                          ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cfg`
[INFO] [stdout]   --> src/lib/dio.rs:53:33
[INFO] [stdout]    |
[INFO] [stdout] 53 |     pub fn configure_pin(&self, cfg: DioConfig){}
[INFO] [stdout]    |                                 ^^^ help: if this is intentional, prefix it with an underscore: `_cfg`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]   --> src/lib/dio.rs:72:42
[INFO] [stdout]    |
[INFO] [stdout] 72 |     pub fn write_pin_outlet_state(&self, v: DioLogic) {
[INFO] [stdout]    |                                          ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]   --> src/lib/serial.rs:49:28
[INFO] [stdout]    |
[INFO] [stdout] 49 |     fn do_send_byte(&self, b: u8) {}
[INFO] [stdout]    |                            ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `I10ma` and `I20ma` are never constructed
[INFO] [stdout]   --> src/lib/dio.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | enum DioDriveStrength{
[INFO] [stdout]    |      ---------------- variants in this enum
[INFO] [stdout] 22 |     I10ma,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 23 |     I20ma,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `pin`, `mode`, `func`, `pup`, and `ds` are never read
[INFO] [stdout]   --> src/lib/dio.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub struct DioConfig{
[INFO] [stdout]    |            --------- fields in this struct
[INFO] [stdout] 44 |     pin: DioPin,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 45 |     mode: DioFuncMode,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 46 |     func: DioMuxFunctions,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 47 |     pup: DioPullUp,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 48 |     ds: DioDriveStrength,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GpioMmapRegs` is never constructed
[INFO] [stdout]  --> src/lib/fe310/gpio.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 |  struct GpioMmapRegs{
[INFO] [stdout]   |         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GPIO` is never used
[INFO] [stdout]   --> src/lib/fe310/gpio.rs:27:7
[INFO] [stdout]    |
[INFO] [stdout] 27 | const GPIO: *mut GpioMmapRegs = 0x1001_2000 as *mut GpioMmapRegs; // private to this file 
[INFO] [stdout]    |       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_mask` is never used
[INFO] [stdout]   --> src/lib/fe310/gpio.rs:29:4
[INFO] [stdout]    |
[INFO] [stdout] 29 | fn generate_mask (num: u8) -> u32{
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `enable_inlet` is never used
[INFO] [stdout]   --> src/lib/fe310/gpio.rs:37:16
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub (crate) fn enable_inlet( p: u8) {
[INFO] [stdout]    |                ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `enable_outlet` is never used
[INFO] [stdout]   --> src/lib/fe310/gpio.rs:43:16
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub (crate) fn enable_outlet(p: u8) {
[INFO] [stdout]    |                ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_as_iof` is never used
[INFO] [stdout]   --> src/lib/fe310/gpio.rs:49:16
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub (crate) fn set_as_iof(p: u8) {
[INFO] [stdout]    |                ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `select_iof_func` is never used
[INFO] [stdout]   --> src/lib/fe310/gpio.rs:55:16
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub (crate) fn select_iof_func(p: u8, s: bool) {
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_as_dio` is never used
[INFO] [stdout]   --> src/lib/fe310/gpio.rs:66:16
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub (crate) fn set_as_dio(p: u8) {
[INFO] [stdout]    |                ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_high` is never used
[INFO] [stdout]   --> src/lib/fe310/gpio.rs:72:16
[INFO] [stdout]    |
[INFO] [stdout] 72 | pub (crate) fn set_high( p: u8) {
[INFO] [stdout]    |                ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_low` is never used
[INFO] [stdout]   --> src/lib/fe310/gpio.rs:78:16
[INFO] [stdout]    |
[INFO] [stdout] 78 | pub (crate) fn set_low(p: u8) { 
[INFO] [stdout]    |                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]   --> src/lib/serial.rs:49:28
[INFO] [stdout]    |
[INFO] [stdout] 49 |     fn do_send_byte(&self, b: u8) {}
[INFO] [stdout]    |                            ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `I10ma` and `I20ma` are never constructed
[INFO] [stdout]   --> src/lib/dio.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | enum DioDriveStrength{
[INFO] [stdout]    |      ---------------- variants in this enum
[INFO] [stdout] 22 |     I10ma,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 23 |     I20ma,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `pin`, `mode`, `func`, `pup`, and `ds` are never read
[INFO] [stdout]   --> src/lib/dio.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub struct DioConfig{
[INFO] [stdout]    |            --------- fields in this struct
[INFO] [stdout] 44 |     pin: DioPin,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 45 |     mode: DioFuncMode,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 46 |     func: DioMuxFunctions,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 47 |     pup: DioPullUp,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 48 |     ds: DioDriveStrength,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GpioMmapRegs` is never constructed
[INFO] [stdout]  --> src/lib/fe310/gpio.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 |  struct GpioMmapRegs{
[INFO] [stdout]   |         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GPIO` is never used
[INFO] [stdout]   --> src/lib/fe310/gpio.rs:27:7
[INFO] [stdout]    |
[INFO] [stdout] 27 | const GPIO: *mut GpioMmapRegs = 0x1001_2000 as *mut GpioMmapRegs; // private to this file 
[INFO] [stdout]    |       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_mask` is never used
[INFO] [stdout]   --> src/lib/fe310/gpio.rs:29:4
[INFO] [stdout]    |
[INFO] [stdout] 29 | fn generate_mask (num: u8) -> u32{
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `enable_inlet` is never used
[INFO] [stdout]   --> src/lib/fe310/gpio.rs:37:16
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub (crate) fn enable_inlet( p: u8) {
[INFO] [stdout]    |                ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `enable_outlet` is never used
[INFO] [stdout]   --> src/lib/fe310/gpio.rs:43:16
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub (crate) fn enable_outlet(p: u8) {
[INFO] [stdout]    |                ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_as_iof` is never used
[INFO] [stdout]   --> src/lib/fe310/gpio.rs:49:16
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub (crate) fn set_as_iof(p: u8) {
[INFO] [stdout]    |                ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `select_iof_func` is never used
[INFO] [stdout]   --> src/lib/fe310/gpio.rs:55:16
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub (crate) fn select_iof_func(p: u8, s: bool) {
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_as_dio` is never used
[INFO] [stdout]   --> src/lib/fe310/gpio.rs:66:16
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub (crate) fn set_as_dio(p: u8) {
[INFO] [stdout]    |                ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_high` is never used
[INFO] [stdout]   --> src/lib/fe310/gpio.rs:72:16
[INFO] [stdout]    |
[INFO] [stdout] 72 | pub (crate) fn set_high( p: u8) {
[INFO] [stdout]    |                ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_low` is never used
[INFO] [stdout]   --> src/lib/fe310/gpio.rs:78:16
[INFO] [stdout]    |
[INFO] [stdout] 78 | pub (crate) fn set_low(p: u8) { 
[INFO] [stdout]    |                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `while` condition
[INFO] [stdout]    --> src/bin/../lib/fe310/uart.rs:183:23
[INFO] [stdout]     |
[INFO] [stdout] 183 |                 while ((ptr::read_volatile(&(*UART0).txdata as *const u32) >> 31) == 1) { }
[INFO] [stdout]     |                       ^                                                               ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 183 -                 while ((ptr::read_volatile(&(*UART0).txdata as *const u32) >> 31) == 1) { }
[INFO] [stdout] 183 +                 while (ptr::read_volatile(&(*UART0).txdata as *const u32) >> 31) == 1 { }
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `while` condition
[INFO] [stdout]    --> src/bin/../lib/fe310/uart.rs:189:23
[INFO] [stdout]     |
[INFO] [stdout] 189 |                 while ((ptr::read_volatile(&(*UART1).txdata as *const u32) >> 31) == 1) {}
[INFO] [stdout]     |                       ^                                                               ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 189 -                 while ((ptr::read_volatile(&(*UART1).txdata as *const u32) >> 31) == 1) {}
[INFO] [stdout] 189 +                 while (ptr::read_volatile(&(*UART1).txdata as *const u32) >> 31) == 1 {}
[INFO] [stdout]     |
[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: 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[E0152]: found duplicate lang item `panic_impl`
[INFO] [stdout]   --> src/bin/led-blink.rs:15:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | / fn panic(_info: &PanicInfo) -> ! {
[INFO] [stdout] 16 | |     loop{}
[INFO] [stdout] 17 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: the lang item is first defined in crate `std` (which `test` depends on)
[INFO] [stdout]    = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/39cb3386ddc6c71657418be28dbb3987eea4aa4b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-cb5ec2ef594bb30c.rlib
[INFO] [stdout]    = note: second definition in the local crate (`led_blink`)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `while` condition
[INFO] [stdout]    --> src/bin/../lib/fe310/uart.rs:183:23
[INFO] [stdout]     |
[INFO] [stdout] 183 |                 while ((ptr::read_volatile(&(*UART0).txdata as *const u32) >> 31) == 1) { }
[INFO] [stdout]     |                       ^                                                               ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 183 -                 while ((ptr::read_volatile(&(*UART0).txdata as *const u32) >> 31) == 1) { }
[INFO] [stdout] 183 +                 while (ptr::read_volatile(&(*UART0).txdata as *const u32) >> 31) == 1 { }
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `while` condition
[INFO] [stdout]    --> src/bin/../lib/fe310/uart.rs:189:23
[INFO] [stdout]     |
[INFO] [stdout] 189 |                 while ((ptr::read_volatile(&(*UART1).txdata as *const u32) >> 31) == 1) {}
[INFO] [stdout]     |                       ^                                                               ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 189 -                 while ((ptr::read_volatile(&(*UART1).txdata as *const u32) >> 31) == 1) {}
[INFO] [stdout] 189 +                 while (ptr::read_volatile(&(*UART1).txdata as *const u32) >> 31) == 1 {}
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl`
[INFO] [stdout]   --> src/bin/print.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | / fn panic(_info: &PanicInfo) -> ! {
[INFO] [stdout] 18 | |     loop{}
[INFO] [stdout] 19 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: the lang item is first defined in crate `std` (which `test` depends on)
[INFO] [stdout]    = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/39cb3386ddc6c71657418be28dbb3987eea4aa4b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-cb5ec2ef594bb30c.rlib
[INFO] [stdout]    = note: second definition in the local crate (`print`)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: formatting may not be suitable for sub-register argument
[INFO] [stdout]   --> src/bin/led-blink.rs:22:22
[INFO] [stdout]    |
[INFO] [stdout] 22 |         asm!("mv t0, {}", in(reg) PLIC_BASE);
[INFO] [stdout]    |                      ^^           --------- for this argument
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `{0:e}` to have the register formatted as `eax` (for 32-bit values)
[INFO] [stdout]    = help: or use `{0:r}` to keep the default formatting of `rax` (for 64-bit values)
[INFO] [stdout]    = note: `#[warn(asm_sub_register)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: formatting may not be suitable for sub-register argument
[INFO] [stdout]   --> src/bin/led-blink.rs:23:22
[INFO] [stdout]    |
[INFO] [stdout] 23 |         asm!("mv t1, {}", in(reg) PLIC_CLAIMCOMP_CTX1_OFFSET);
[INFO] [stdout]    |                      ^^           -------------------------- for this argument
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `{0:e}` to have the register formatted as `eax` (for 32-bit values)
[INFO] [stdout]    = help: or use `{0:r}` to keep the default formatting of `rax` (for 64-bit values)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: formatting may not be suitable for sub-register argument
[INFO] [stdout]   --> src/bin/led-blink.rs:55:22
[INFO] [stdout]    |
[INFO] [stdout] 55 |         asm!("mv t1, {}", in(reg) MIE_SET);
[INFO] [stdout]    |                      ^^           ------- for this argument
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `{0:e}` to have the register formatted as `eax` (for 32-bit values)
[INFO] [stdout]    = help: or use `{0:r}` to keep the default formatting of `rax` (for 64-bit values)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cfg`
[INFO] [stdout]   --> src/bin/../lib/dio.rs:53:33
[INFO] [stdout]    |
[INFO] [stdout] 53 |     pub fn configure_pin(&self, cfg: DioConfig){}
[INFO] [stdout]    |                                 ^^^ help: if this is intentional, prefix it with an underscore: `_cfg`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]   --> src/bin/../lib/dio.rs:72:42
[INFO] [stdout]    |
[INFO] [stdout] 72 |     pub fn write_pin_outlet_state(&self, v: DioLogic) {
[INFO] [stdout]    |                                          ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: formatting may not be suitable for sub-register argument
[INFO] [stdout]   --> src/bin/print.rs:24:22
[INFO] [stdout]    |
[INFO] [stdout] 24 |         asm!("mv t0, {}", in(reg) PLIC_BASE);
[INFO] [stdout]    |                      ^^           --------- for this argument
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `{0:e}` to have the register formatted as `eax` (for 32-bit values)
[INFO] [stdout]    = help: or use `{0:r}` to keep the default formatting of `rax` (for 64-bit values)
[INFO] [stdout]    = note: `#[warn(asm_sub_register)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: formatting may not be suitable for sub-register argument
[INFO] [stdout]   --> src/bin/print.rs:25:22
[INFO] [stdout]    |
[INFO] [stdout] 25 |         asm!("mv t1, {}", in(reg) PLIC_CLAIMCOMP_CTX1_OFFSET);
[INFO] [stdout]    |                      ^^           -------------------------- for this argument
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `{0:e}` to have the register formatted as `eax` (for 32-bit values)
[INFO] [stdout]    = help: or use `{0:r}` to keep the default formatting of `rax` (for 64-bit values)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: formatting may not be suitable for sub-register argument
[INFO] [stdout]   --> src/bin/print.rs:57:22
[INFO] [stdout]    |
[INFO] [stdout] 57 |         asm!("mv t1, {}", in(reg) MIE_SET);
[INFO] [stdout]    |                      ^^           ------- for this argument
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `{0:e}` to have the register formatted as `eax` (for 32-bit values)
[INFO] [stdout]    = help: or use `{0:r}` to keep the default formatting of `rax` (for 64-bit values)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cfg`
[INFO] [stdout]   --> src/bin/../lib/dio.rs:53:33
[INFO] [stdout]    |
[INFO] [stdout] 53 |     pub fn configure_pin(&self, cfg: DioConfig){}
[INFO] [stdout]    |                                 ^^^ help: if this is intentional, prefix it with an underscore: `_cfg`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]   --> src/bin/../lib/dio.rs:72:42
[INFO] [stdout]    |
[INFO] [stdout] 72 |     pub fn write_pin_outlet_state(&self, v: DioLogic) {
[INFO] [stdout]    |                                          ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0152`.
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0152`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-on-rv32i` (bin "led-blink") due to 1 previous error; 5 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]   --> src/bin/../lib/serial.rs:49:28
[INFO] [stdout]    |
[INFO] [stdout] 49 |     fn do_send_byte(&self, b: u8) {}
[INFO] [stdout]    |                            ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/bin/print.rs:110:5
[INFO] [stdout]     |
[INFO] [stdout] 110 | for i in 1..10 {
[INFO] [stdout]     |     ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-on-rv32i` (bin "print" test) due to 1 previous error; 2 warnings emitted
[INFO] [stderr] error: could not compile `rust-on-rv32i` (bin "led-blink" test) due to 1 previous error
[INFO] [stderr] error: could not compile `rust-on-rv32i` (bin "print") due to 1 previous error; 9 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "4d8b15c690866eb2d53ddec8043eaa63307e1b0eaf4c2c86b1000ec64953dbde", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4d8b15c690866eb2d53ddec8043eaa63307e1b0eaf4c2c86b1000ec64953dbde", kill_on_drop: false }`
[INFO] [stdout] 4d8b15c690866eb2d53ddec8043eaa63307e1b0eaf4c2c86b1000ec64953dbde
