[INFO] cloning repository https://github.com/JackToaster/uart2can_rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JackToaster/uart2can_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJackToaster%2Fuart2can_rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJackToaster%2Fuart2can_rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b451e47a3e54d4a8bc61a2595f8280fd3e068e7d
[INFO] checking JackToaster/uart2can_rust against master#5a45ab9738330fb317d49e3594c2db5248b1e971 for pr-136303
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJackToaster%2Fuart2can_rust" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/JackToaster/uart2can_rust on toolchain 5a45ab9738330fb317d49e3594c2db5248b1e971
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-5-tc1/source/.cargo/config
[INFO] started tweaking git repo https://github.com/JackToaster/uart2can_rust
[INFO] finished tweaking git repo https://github.com/JackToaster/uart2can_rust
[INFO] tweaked toml for git repo https://github.com/JackToaster/uart2can_rust written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/JackToaster/uart2can_rust 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" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded gcd v2.1.0
[INFO] [stderr]   Downloaded fugit v0.3.6
[INFO] [stderr]   Downloaded fugit-timer v0.1.3
[INFO] [stderr]   Downloaded panic-halt v0.2.0
[INFO] [stderr]   Downloaded stm32-usbd v0.6.0
[INFO] [stderr]   Downloaded embedded-dma v0.2.0
[INFO] [stderr]   Downloaded bxcan v0.6.2
[INFO] [stderr]   Downloaded cortex-m v0.7.6
[INFO] [stderr]   Downloaded usb-device v0.2.9
[INFO] [stderr]   Downloaded stm32f1xx-hal v0.9.0
[INFO] [stderr]   Downloaded stm32f1 v0.14.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a56ac819b4d1b825e290376510e67d5f0df72f6cc0a37b5becda97082d3c1c68
[INFO] running `Command { std: "docker" "start" "-a" "a56ac819b4d1b825e290376510e67d5f0df72f6cc0a37b5becda97082d3c1c68", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a56ac819b4d1b825e290376510e67d5f0df72f6cc0a37b5becda97082d3c1c68", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a56ac819b4d1b825e290376510e67d5f0df72f6cc0a37b5becda97082d3c1c68", kill_on_drop: false }`
[INFO] [stdout] a56ac819b4d1b825e290376510e67d5f0df72f6cc0a37b5becda97082d3c1c68
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 73431a2963c449c3de5e41a1cc31f7caac0405b62d0f3d65ac919eac53dce8b9
[INFO] running `Command { std: "docker" "start" "-a" "73431a2963c449c3de5e41a1cc31f7caac0405b62d0f3d65ac919eac53dce8b9", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.43
[INFO] [stderr]     Checking nb v1.0.0
[INFO] [stderr]    Compiling unicode-ident v1.0.3
[INFO] [stderr]    Compiling cortex-m v0.7.6
[INFO] [stderr]    Compiling quote v1.0.21
[INFO] [stderr]    Compiling syn v1.0.99
[INFO] [stderr]    Compiling cortex-m-rt v0.7.1
[INFO] [stderr]     Checking volatile-register v0.2.1
[INFO] [stderr]     Checking nb v0.1.3
[INFO] [stderr]    Compiling paste v1.0.8
[INFO] [stderr]    Compiling stm32f1 v0.14.0
[INFO] [stderr]     Checking embedded-hal v0.2.7
[INFO] [stderr]    Compiling stm32-usbd v0.6.0
[INFO] [stderr]     Checking bare-metal v1.0.0
[INFO] [stderr]     Checking usb-device v0.2.9
[INFO] [stderr]     Checking embedded-dma v0.2.0
[INFO] [stderr]     Checking bxcan v0.6.2
[INFO] [stderr]     Checking panic-halt v0.2.0
[INFO] [stderr]     Checking gcd v2.1.0
[INFO] [stderr]     Checking fugit v0.3.6
[INFO] [stderr]     Checking fugit-timer v0.1.3
[INFO] [stderr]    Compiling cortex-m-rt-macros v0.7.0
[INFO] [stderr]     Checking stm32f1xx-hal v0.9.0
[INFO] [stderr]     Checking f103_uart2can_rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `std`
[INFO] [stdout]   --> src/slcan.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |     use std::io::Read;
[INFO] [stdout]    |         ^^^ use of unresolved module or unlinked crate `std`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `std`, use `cargo add std` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `borrow::BorrowMut` and `fmt::Write`
[INFO] [stdout]  --> src/main.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | use core::{fmt::Write, borrow::BorrowMut};
[INFO] [stdout]   |            ^^^^^^^^^^  ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `dma`
[INFO] [stdout]   --> src/main.rs:11:124
[INFO] [stdout]    |
[INFO] [stdout] 11 | use stm32f1xx_hal::{pac, pac::USART1, pac::CAN1, pac::interrupt, prelude::*, serial::{Config, Serial, Rx, self}, can::Can, dma};
[INFO] [stdout]    |                                                                                                                            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/slcan.rs:75:28
[INFO] [stdout]    |
[INFO] [stdout] 75 |             status_byte |= (0b1 << 0);
[INFO] [stdout]    |                            ^        ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 75 -             status_byte |= (0b1 << 0);
[INFO] [stdout] 75 +             status_byte |= 0b1 << 0;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/slcan.rs:78:28
[INFO] [stdout]    |
[INFO] [stdout] 78 |             status_byte |= (0b1 << 1);
[INFO] [stdout]    |                            ^        ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 78 -             status_byte |= (0b1 << 1);
[INFO] [stdout] 78 +             status_byte |= 0b1 << 1;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/slcan.rs:81:28
[INFO] [stdout]    |
[INFO] [stdout] 81 |             status_byte |= (0b1 << 3);
[INFO] [stdout]    |                            ^        ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 81 -             status_byte |= (0b1 << 3);
[INFO] [stdout] 81 +             status_byte |= 0b1 << 3;
[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 `f103_uart2can_rs` 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/5a45ab9738330fb317d49e3594c2db5248b1e971/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-54c13a3455b13793.rlib
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0152, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0152`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `f103_uart2can_rs` (bin "f103_uart2can_rs" test) due to 2 previous errors; 5 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `std`
[INFO] [stdout]   --> src/slcan.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |     use std::io::Read;
[INFO] [stdout]    |         ^^^ use of unresolved module or unlinked crate `std`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `std`, use `cargo add std` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `borrow::BorrowMut` and `fmt::Write`
[INFO] [stdout]  --> src/main.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | use core::{fmt::Write, borrow::BorrowMut};
[INFO] [stdout]   |            ^^^^^^^^^^  ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `dma`
[INFO] [stdout]   --> src/main.rs:11:124
[INFO] [stdout]    |
[INFO] [stdout] 11 | use stm32f1xx_hal::{pac, pac::USART1, pac::CAN1, pac::interrupt, prelude::*, serial::{Config, Serial, Rx, self}, can::Can, dma};
[INFO] [stdout]    |                                                                                                                            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/slcan.rs:75:28
[INFO] [stdout]    |
[INFO] [stdout] 75 |             status_byte |= (0b1 << 0);
[INFO] [stdout]    |                            ^        ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 75 -             status_byte |= (0b1 << 0);
[INFO] [stdout] 75 +             status_byte |= 0b1 << 0;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/slcan.rs:78:28
[INFO] [stdout]    |
[INFO] [stdout] 78 |             status_byte |= (0b1 << 1);
[INFO] [stdout]    |                            ^        ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 78 -             status_byte |= (0b1 << 1);
[INFO] [stdout] 78 +             status_byte |= 0b1 << 1;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/slcan.rs:81:28
[INFO] [stdout]    |
[INFO] [stdout] 81 |             status_byte |= (0b1 << 3);
[INFO] [stdout]    |                            ^        ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 81 -             status_byte |= (0b1 << 3);
[INFO] [stdout] 81 +             status_byte |= 0b1 << 3;
[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[E0308]: mismatched types
[INFO] [stdout]    --> src/slcan.rs:104:40
[INFO] [stdout]     |
[INFO] [stdout] 104 |               bxcan::Id::Extended(id) => {
[INFO] [stdout]     |  ________________________________________^
[INFO] [stdout] 105 | |                 
[INFO] [stdout] 106 | |             },
[INFO] [stdout]     | |_____________^ expected `([u8; 20], usize)`, found `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note:  expected tuple `([u8; 20], usize)`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]    --> src/main.rs:204:32
[INFO] [stdout]     |
[INFO] [stdout] 204 | ...                   if let Ok(_) = res {
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]     = help: consider replacing the `if let` with a `let`
[INFO] [stdout]     = note: `#[warn(irrefutable_let_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dma_channels`
[INFO] [stdout]   --> src/main.rs:60:9
[INFO] [stdout]    |
[INFO] [stdout] 60 |     let dma_channels = dp.DMA1.split();
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dma_channels`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `timestamp_enabled` is assigned to, but never used
[INFO] [stdout]    --> src/main.rs:156:13
[INFO] [stdout]     |
[INFO] [stdout] 156 |     let mut timestamp_enabled = false;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_timestamp_enabled` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]    --> src/main.rs:214:37
[INFO] [stdout]     |
[INFO] [stdout] 214 |                         if let Some(c) = unsafe { CAN1.as_mut() } {
[INFO] [stdout]     |                                     ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `timestamp_enabled` is never read
[INFO] [stdout]    --> src/main.rs:225:25
[INFO] [stdout]     |
[INFO] [stdout] 225 |                         timestamp_enabled = enabled;
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:158:13
[INFO] [stdout]     |
[INFO] [stdout] 158 |         let mut buf: &mut UartRxBuffer = unsafe { &mut UART_BUFFERS.as_mut().unwrap().buffers[uart_buffer_idx] };
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:248:21
[INFO] [stdout]     |
[INFO] [stdout] 248 |                 let mut buf: &mut UartRxBuffer = &mut UART_BUFFERS.as_mut().unwrap().buffers[idx];
[INFO] [stdout]     |                     ----^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `res`
[INFO] [stdout]    --> src/main.rs:268:17
[INFO] [stdout]     |
[INFO] [stdout] 268 |             let res = can.receive();
[INFO] [stdout]     |                 ^^^ help: if this is intentional, prefix it with an underscore: `_res`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `f103_uart2can_rs` (bin "f103_uart2can_rs") due to 3 previous errors; 13 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "73431a2963c449c3de5e41a1cc31f7caac0405b62d0f3d65ac919eac53dce8b9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "73431a2963c449c3de5e41a1cc31f7caac0405b62d0f3d65ac919eac53dce8b9", kill_on_drop: false }`
[INFO] [stdout] 73431a2963c449c3de5e41a1cc31f7caac0405b62d0f3d65ac919eac53dce8b9
