[INFO] cloning repository https://github.com/pepsipu/f3os
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pepsipu/f3os" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpepsipu%2Ff3os", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpepsipu%2Ff3os'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] bf19489b0271c13aa93086559bae98d607a13baf
[INFO] checking pepsipu/f3os/bf19489b0271c13aa93086559bae98d607a13baf against master#40557f6225e337d68c8d4f086557ce54135f5dd9 for pr-158447
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpepsipu%2Ff3os" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-6-tc1/source/.cargo/config
[INFO] started tweaking git repo https://github.com/pepsipu/f3os
[INFO] finished tweaking git repo https://github.com/pepsipu/f3os
[INFO] tweaked toml for git repo https://github.com/pepsipu/f3os written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/pepsipu/f3os on toolchain 40557f6225e337d68c8d4f086557ce54135f5dd9
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+40557f6225e337d68c8d4f086557ce54135f5dd9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/pepsipu/f3os 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" "+40557f6225e337d68c8d4f086557ce54135f5dd9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded vcell v0.1.2
[INFO] [stderr]   Downloaded cortex-m v0.6.1
[INFO] [stderr]   Downloaded aligned v0.3.1
[INFO] [stderr]   Downloaded cortex-m v0.5.10
[INFO] [stderr]   Downloaded hash32 v0.1.0
[INFO] [stderr]   Downloaded r0 v0.2.2
[INFO] [stderr]   Downloaded cortex-m-rt-macros v0.1.5
[INFO] [stderr]   Downloaded as-slice v0.1.0
[INFO] [stderr]   Downloaded aligned v0.2.0
[INFO] [stderr]   Downloaded panic-halt v0.2.0
[INFO] [stderr]   Downloaded generic-array v0.11.1
[INFO] [stderr]   Downloaded cortex-m-rt v0.6.10
[INFO] [stderr]   Downloaded heapless v0.3.7
[INFO] [stderr]   Downloaded stm32f30x v0.8.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] eb9a74f82c0d7f1784053a4ed14a0c19fc1e8c46518e14f2a3690845ae9f7600
[INFO] running `Command { std: "docker" "start" "eb9a74f82c0d7f1784053a4ed14a0c19fc1e8c46518e14f2a3690845ae9f7600", 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" "eb9a74f82c0d7f1784053a4ed14a0c19fc1e8c46518e14f2a3690845ae9f7600" "/opt/rustwide/cargo-home/bin/cargo" "+40557f6225e337d68c8d4f086557ce54135f5dd9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "eb9a74f82c0d7f1784053a4ed14a0c19fc1e8c46518e14f2a3690845ae9f7600", 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" "eb9a74f82c0d7f1784053a4ed14a0c19fc1e8c46518e14f2a3690845ae9f7600" "/opt/rustwide/cargo-home/bin/cargo" "+40557f6225e337d68c8d4f086557ce54135f5dd9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling typenum v1.11.2
[INFO] [stderr]    Compiling cortex-m v0.6.1
[INFO] [stderr]     Checking stable_deref_trait v1.1.1
[INFO] [stderr]    Compiling byteorder v1.3.2
[INFO] [stderr]     Checking vcell v0.1.2
[INFO] [stderr]    Compiling rand_core v0.4.2
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling cortex-m v0.5.10
[INFO] [stderr]    Compiling stm32f30x v0.8.0
[INFO] [stderr]     Checking aligned v0.2.0
[INFO] [stderr]    Compiling cortex-m-rt v0.6.10
[INFO] [stderr]     Checking r0 v0.2.2
[INFO] [stderr]     Checking panic-halt v0.2.0
[INFO] [stderr]    Compiling bare-metal v0.2.5
[INFO] [stderr]     Checking volatile-register v0.2.0
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling rand v0.5.6
[INFO] [stderr]     Checking hash32 v0.1.0
[INFO] [stderr]     Checking generic-array v0.12.3
[INFO] [stderr]     Checking generic-array v0.11.1
[INFO] [stderr]     Checking heapless v0.3.7
[INFO] [stderr]     Checking as-slice v0.1.0
[INFO] [stderr]     Checking aligned v0.3.1
[INFO] [stderr]    Compiling cortex-m-rt-macros v0.1.5
[INFO] [stderr]     Checking f3os v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0425]: cannot find type `RegisterBlock` in this scope
[INFO] [stdout]  --> src/serial.rs:9:24
[INFO] [stdout]   |
[INFO] [stdout] 9 |     uart: &'static mut RegisterBlock,
[INFO] [stdout]   |                        ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]   |
[INFO] [stdout] 1 + use crate::serial::usart1::RegisterBlock;
[INFO] [stdout]   |
[INFO] [stdout] 1 + use crate::stm32f30x::adc1::RegisterBlock;
[INFO] [stdout]   |
[INFO] [stdout] 1 + use crate::stm32f30x::adc1_2::RegisterBlock;
[INFO] [stdout]   |
[INFO] [stdout] 1 + use crate::stm32f30x::can::RegisterBlock;
[INFO] [stdout]   |
[INFO] [stdout]   = and 72 other candidates
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `RegisterBlock` in this scope
[INFO] [stdout]   --> src/serial.rs:13:35
[INFO] [stdout]    |
[INFO] [stdout] 13 |     pub fn new(uart: &'static mut RegisterBlock) -> Serial {
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::serial::usart1::RegisterBlock;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::stm32f30x::adc1::RegisterBlock;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::stm32f30x::adc1_2::RegisterBlock;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::stm32f30x::can::RegisterBlock;
[INFO] [stdout]    |
[INFO] [stdout]    = and 72 other candidates
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found struct `stm32f30x::usart1::RegisterBlock`
[INFO] [stdout]   --> src/main.rs:25:40
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let mut uart = serial::Serial::new(stm32f30x::usart1::RegisterBlock);
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use struct literal syntax instead: `stm32f30x::usart1::RegisterBlock { cr1: val, cr2: val, cr3: val, brr: val, gtpr: val, rtor: val, rqr: val, isr: val, icr: val, rdr: val, tdr: val }`
[INFO] [stdout]    |
[INFO] [stdout]   ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stm32f30x-0.8.0/src/usart1/mod.rs:3:1
[INFO] [stdout]    |
[INFO] [stdout]  3 | pub struct RegisterBlock {
[INFO] [stdout]    | ------------------------ `stm32f30x::usart1::RegisterBlock` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `cortex_m::iprintln`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use cortex_m::iprintln;
[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: `usart1`
[INFO] [stdout]  --> src/serial.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     usart1
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::str::from_utf8`
[INFO] [stdout]  --> src/serial.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use core::str::from_utf8;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0152]: duplicate lang item in crate `std` (which `test` depends on): `panic_impl`
[INFO] [stdout]   |
[INFO] [stdout]   = note: the lang item is first defined in crate `panic_halt` (which `f3os` depends on)
[INFO] [stdout]   = note: first definition in `panic_halt` loaded from /opt/rustwide/target/debug/deps/libpanic_halt-b09f8ab056e64272.rmeta
[INFO] [stdout]   = note: second definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/40557f6225e337d68c8d4f086557ce54135f5dd9/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-ebc3593764c44f83.rmeta
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0152, E0423, E0425.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0152`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `f3os` (bin "f3os" test) due to 4 previous errors; 3 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0425]: cannot find type `RegisterBlock` in this scope
[INFO] [stdout]  --> src/serial.rs:9:24
[INFO] [stdout]   |
[INFO] [stdout] 9 |     uart: &'static mut RegisterBlock,
[INFO] [stdout]   |                        ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]   |
[INFO] [stdout] 1 + use crate::serial::usart1::RegisterBlock;
[INFO] [stdout]   |
[INFO] [stdout] 1 + use crate::stm32f30x::adc1::RegisterBlock;
[INFO] [stdout]   |
[INFO] [stdout] 1 + use crate::stm32f30x::adc1_2::RegisterBlock;
[INFO] [stdout]   |
[INFO] [stdout] 1 + use crate::stm32f30x::can::RegisterBlock;
[INFO] [stdout]   |
[INFO] [stdout]   = and 72 other candidates
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `RegisterBlock` in this scope
[INFO] [stdout]   --> src/serial.rs:13:35
[INFO] [stdout]    |
[INFO] [stdout] 13 |     pub fn new(uart: &'static mut RegisterBlock) -> Serial {
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::serial::usart1::RegisterBlock;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::stm32f30x::adc1::RegisterBlock;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::stm32f30x::adc1_2::RegisterBlock;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::stm32f30x::can::RegisterBlock;
[INFO] [stdout]    |
[INFO] [stdout]    = and 72 other candidates
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found struct `stm32f30x::usart1::RegisterBlock`
[INFO] [stdout]   --> src/main.rs:25:40
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let mut uart = serial::Serial::new(stm32f30x::usart1::RegisterBlock);
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use struct literal syntax instead: `stm32f30x::usart1::RegisterBlock { cr1: val, cr2: val, cr3: val, brr: val, gtpr: val, rtor: val, rqr: val, isr: val, icr: val, rdr: val, tdr: val }`
[INFO] [stdout]    |
[INFO] [stdout]   ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stm32f30x-0.8.0/src/usart1/mod.rs:3:1
[INFO] [stdout]    |
[INFO] [stdout]  3 | pub struct RegisterBlock {
[INFO] [stdout]    | ------------------------ `stm32f30x::usart1::RegisterBlock` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `cortex_m::iprintln`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use cortex_m::iprintln;
[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: `usart1`
[INFO] [stdout]  --> src/serial.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     usart1
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::str::from_utf8`
[INFO] [stdout]  --> src/serial.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use core::str::from_utf8;
[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] warning: unused variable: `address`
[INFO] [stdout]   --> src/flash.rs:13:28
[INFO] [stdout]    |
[INFO] [stdout] 13 |     pub fn read(&mut self, address: u16) {
[INFO] [stdout]    |                            ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0425.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `f3os` (bin "f3os") due to 4 previous errors; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "eb9a74f82c0d7f1784053a4ed14a0c19fc1e8c46518e14f2a3690845ae9f7600", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eb9a74f82c0d7f1784053a4ed14a0c19fc1e8c46518e14f2a3690845ae9f7600", kill_on_drop: false }`
[INFO] [stdout] eb9a74f82c0d7f1784053a4ed14a0c19fc1e8c46518e14f2a3690845ae9f7600
