[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] building JackToaster/uart2can_rust against try#334963c956d25708feab489a3816ae63f639355d for pr-135216
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJackToaster%2Fuart2can_rust" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/JackToaster/uart2can_rust on toolchain 334963c956d25708feab489a3816ae63f639355d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-6-tc2/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-6-tc2/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" "+334963c956d25708feab489a3816ae63f639355d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 926bb42d9fd8d7c90353fe559c6b147c6f432e16d412449d727bd0baa689a73c
[INFO] running `Command { std: "docker" "start" "-a" "926bb42d9fd8d7c90353fe559c6b147c6f432e16d412449d727bd0baa689a73c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "926bb42d9fd8d7c90353fe559c6b147c6f432e16d412449d727bd0baa689a73c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "926bb42d9fd8d7c90353fe559c6b147c6f432e16d412449d727bd0baa689a73c", kill_on_drop: false }`
[INFO] [stdout] 926bb42d9fd8d7c90353fe559c6b147c6f432e16d412449d727bd0baa689a73c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d52abbff33ef2f37ba3719660b848a072445feeeb8a8346475b754edbdf806c1
[INFO] running `Command { std: "docker" "start" "-a" "d52abbff33ef2f37ba3719660b848a072445feeeb8a8346475b754edbdf806c1", kill_on_drop: false }`
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling nb v1.0.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.43
[INFO] [stderr]    Compiling cortex-m v0.7.6
[INFO] [stderr]    Compiling unicode-ident v1.0.3
[INFO] [stderr]    Compiling vcell v0.1.3
[INFO] [stderr]    Compiling syn v1.0.99
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling cortex-m-rt v0.7.1
[INFO] [stderr]    Compiling volatile-register v0.2.1
[INFO] [stderr]    Compiling nb v0.1.3
[INFO] [stderr]    Compiling bitfield v0.13.2
[INFO] [stderr]    Compiling embedded-hal v0.2.7
[INFO] [stderr]    Compiling paste v1.0.8
[INFO] [stderr]    Compiling stm32f1 v0.14.0
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling stm32-usbd v0.6.0
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling usb-device v0.2.9
[INFO] [stderr]    Compiling bare-metal v1.0.0
[INFO] [stderr]    Compiling bxcan v0.6.2
[INFO] [stderr]    Compiling embedded-dma v0.2.0
[INFO] [stderr]    Compiling panic-halt v0.2.0
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling gcd v2.1.0
[INFO] [stderr]    Compiling fugit v0.3.6
[INFO] [stderr]    Compiling bare-metal v0.2.5
[INFO] [stderr]    Compiling quote v1.0.21
[INFO] [stderr]    Compiling fugit-timer v0.1.3
[INFO] [stderr]    Compiling cortex-m-rt-macros v0.7.0
[INFO] [stderr]    Compiling stm32f1xx-hal v0.9.0
[INFO] [stderr]    Compiling f103_uart2can_rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `std`
[INFO] [stdout]   --> src/slcan.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |     use std::io::Read;
[INFO] [stdout]    |         ^^^ use of undeclared crate or module `std`
[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" "d52abbff33ef2f37ba3719660b848a072445feeeb8a8346475b754edbdf806c1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d52abbff33ef2f37ba3719660b848a072445feeeb8a8346475b754edbdf806c1", kill_on_drop: false }`
[INFO] [stdout] d52abbff33ef2f37ba3719660b848a072445feeeb8a8346475b754edbdf806c1
