[INFO] cloning repository https://github.com/alepez/rust-stm32-experiment
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alepez/rust-stm32-experiment" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falepez%2Frust-stm32-experiment", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falepez%2Frust-stm32-experiment'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8583b628702a73c05c36d36ec4f40ab8a08805ed
[INFO] documenting alepez/rust-stm32-experiment/8583b628702a73c05c36d36ec4f40ab8a08805ed against 1.98.0-beta.1 for beta-rustdoc-1.98-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falepez%2Frust-stm32-experiment" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-4-tc2/source/.cargo/config
[INFO] started tweaking git repo https://github.com/alepez/rust-stm32-experiment
[INFO] finished tweaking git repo https://github.com/alepez/rust-stm32-experiment
[INFO] tweaked toml for git repo https://github.com/alepez/rust-stm32-experiment written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/alepez/rust-stm32-experiment on toolchain 1.98.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/alepez/rust-stm32-experiment 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" "+1.98.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded void v1.0.2
[INFO] [stderr]   Downloaded vcell v0.1.3
[INFO] [stderr]   Downloaded nb v1.0.0
[INFO] [stderr]   Downloaded semver-parser v0.7.0
[INFO] [stderr]   Downloaded cortex-m-rt-macros v0.6.15
[INFO] [stderr]   Downloaded stm32h7xx-hal v0.10.0
[INFO] [stderr]   Downloaded nb v0.1.3
[INFO] [stderr]   Downloaded rustc_version v0.2.3
[INFO] [stderr]   Downloaded volatile-register v0.2.1
[INFO] [stderr]   Downloaded embedded-dma v0.1.2
[INFO] [stderr]   Downloaded stable_deref_trait v1.2.0
[INFO] [stderr]   Downloaded unicode-xid v0.2.2
[INFO] [stderr]   Downloaded cast v0.2.7
[INFO] [stderr]   Downloaded bare-metal v0.2.5
[INFO] [stderr]   Downloaded r0 v0.2.2
[INFO] [stderr]   Downloaded rustc_version v0.4.0
[INFO] [stderr]   Downloaded bare-metal v1.0.0
[INFO] [stderr]   Downloaded panic-halt v0.2.0
[INFO] [stderr]   Downloaded semver v0.9.0
[INFO] [stderr]   Downloaded semver v1.0.4
[INFO] [stderr]   Downloaded embedded-hal v0.2.6
[INFO] [stderr]   Downloaded paste v1.0.5
[INFO] [stderr]   Downloaded cortex-m-rt v0.6.15
[INFO] [stderr]   Downloaded bitfield v0.13.2
[INFO] [stderr]   Downloaded quote v1.0.10
[INFO] [stderr]   Downloaded cortex-m v0.7.3
[INFO] [stderr]   Downloaded proc-macro2 v1.0.32
[INFO] [stderr]   Downloaded syn v1.0.81
[INFO] [stderr]   Downloaded stm32h7 v0.13.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 58e4ad8c8a51bbd40c1f4ec23d973ad832a9cd41ecfcad5101116b0766aca4b1
[INFO] running `Command { std: "docker" "start" "58e4ad8c8a51bbd40c1f4ec23d973ad832a9cd41ecfcad5101116b0766aca4b1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "58e4ad8c8a51bbd40c1f4ec23d973ad832a9cd41ecfcad5101116b0766aca4b1", 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" "58e4ad8c8a51bbd40c1f4ec23d973ad832a9cd41ecfcad5101116b0766aca4b1" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "58e4ad8c8a51bbd40c1f4ec23d973ad832a9cd41ecfcad5101116b0766aca4b1", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "58e4ad8c8a51bbd40c1f4ec23d973ad832a9cd41ecfcad5101116b0766aca4b1" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling semver v1.0.4
[INFO] [stderr]    Compiling proc-macro2 v1.0.32
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]     Checking nb v1.0.0
[INFO] [stderr]    Compiling syn v1.0.81
[INFO] [stderr]    Compiling cortex-m v0.7.3
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]     Checking nb v0.1.3
[INFO] [stderr]     Checking vcell v0.1.3
[INFO] [stderr]     Checking bitfield v0.13.2
[INFO] [stderr]     Checking embedded-hal v0.2.6
[INFO] [stderr]     Checking volatile-register v0.2.1
[INFO] [stderr]    Compiling cortex-m-rt v0.6.15
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling stm32h7 v0.13.0
[INFO] [stderr]     Checking r0 v0.2.2
[INFO] [stderr]     Checking stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling paste v1.0.5
[INFO] [stderr]     Checking bare-metal v1.0.0
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]     Checking panic-halt v0.2.0
[INFO] [stderr]     Checking embedded-dma v0.1.2
[INFO] [stderr]    Compiling rustc_version v0.4.0
[INFO] [stderr]    Compiling bare-metal v0.2.5
[INFO] [stderr]    Compiling quote v1.0.10
[INFO] [stderr]    Compiling cast v0.2.7
[INFO] [stderr]    Compiling cortex-m-rt-macros v0.6.15
[INFO] [stderr]     Checking stm32h7xx-hal v0.10.0
[INFO] [stderr]     Checking nucleo-h743zi v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]  Documenting nucleo-h743zi v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Ccdr` and `CoreClocks`
[INFO] [stdout]  --> src/rusty_logger.rs:1:26
[INFO] [stdout]   |
[INFO] [stdout] 1 | use stm32h7xx_hal::rcc::{Ccdr, CoreClocks};
[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: `config::Config`
[INFO] [stdout]  --> src/rusty_logger.rs:2:45
[INFO] [stdout]   |
[INFO] [stdout] 2 | use stm32h7xx_hal::serial::{Rx, Serial, Tx, config::Config};
[INFO] [stdout]   |                                             ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Peripherals`
[INFO] [stdout]  --> src/rusty_logger.rs:3:28
[INFO] [stdout]   |
[INFO] [stdout] 3 | use stm32h7xx_hal::stm32::{Peripherals, USART3};
[INFO] [stdout]   |                            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `stm32h7xx_hal::time::U32Ext`
[INFO] [stdout]  --> src/rusty_logger.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use stm32h7xx_hal::time::U32Ext;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Debug`
[INFO] [stdout]  --> src/rusty_logger.rs:5:17
[INFO] [stdout]   |
[INFO] [stdout] 5 | use core::fmt::{Debug, Display, Write};
[INFO] [stdout]   |                 ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::smart_timer::SmartTimer`
[INFO] [stdout]  --> src/rusty_logger.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::smart_timer::SmartTimer;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `start`
[INFO] [stdout]    --> src/hc_sr04.rs:139:13
[INFO] [stdout]     |
[INFO] [stdout] 139 |         let start = self.timer.now_us();
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_start`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `stop`
[INFO] [stdout]    --> src/hc_sr04.rs:141:13
[INFO] [stdout]     |
[INFO] [stdout] 141 |         let stop = self.timer.now_us();
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_stop`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/rusty_logger.rs:16:14
[INFO] [stdout]    |
[INFO] [stdout] 16 |         let (mut tx, mut rx) = serial.split();
[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: variable does not need to be mutable
[INFO] [stdout]   --> src/rusty_logger.rs:16:22
[INFO] [stdout]    |
[INFO] [stdout] 16 |         let (mut tx, mut rx) = serial.split();
[INFO] [stdout]    |                      ----^^
[INFO] [stdout]    |                      |
[INFO] [stdout]    |                      help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/hc_sr04.rs:56:9
[INFO] [stdout]    |
[INFO] [stdout] 56 |         trigger.set_low();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 56 |         let _ = trigger.set_low();
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/hc_sr04.rs:138:9
[INFO] [stdout]     |
[INFO] [stdout] 138 |         self.trigger.set_high();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 138 |         let _ = self.trigger.set_high();
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/hc_sr04.rs:145:9
[INFO] [stdout]     |
[INFO] [stdout] 145 |         self.trigger.set_low();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 145 |         let _ = self.trigger.set_low();
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 36.75s
[INFO] [stderr]    Generated /opt/rustwide/target/doc/nucleo_h743zi/index.html and 5 other files
[INFO] running `Command { std: "docker" "inspect" "58e4ad8c8a51bbd40c1f4ec23d973ad832a9cd41ecfcad5101116b0766aca4b1", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "RUSTC_BOOTSTRAP=1" "-e" "DOCS_RS=1" "-w" "/opt/rustwide/workdir" "--user" "0:0" "58e4ad8c8a51bbd40c1f4ec23d973ad832a9cd41ecfcad5101116b0766aca4b1" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--document-private-items\"]" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]  Documenting nucleo-h743zi v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.72s
[INFO] [stderr]    Generated /opt/rustwide/target/doc/nucleo_h743zi/index.html
[INFO] running `Command { std: "docker" "inspect" "58e4ad8c8a51bbd40c1f4ec23d973ad832a9cd41ecfcad5101116b0766aca4b1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "58e4ad8c8a51bbd40c1f4ec23d973ad832a9cd41ecfcad5101116b0766aca4b1", kill_on_drop: false }`
[INFO] [stdout] 58e4ad8c8a51bbd40c1f4ec23d973ad832a9cd41ecfcad5101116b0766aca4b1
