[INFO] fetching crate stm32l0x1-hal 0.11.0...
[INFO] checking stm32l0x1-hal-0.11.0 against master#fce0e74720d199eb7839fdb51af35ac5226da178 for pr-145262
[INFO] extracting crate stm32l0x1-hal 0.11.0 into /workspace/builds/worker-1-tc1/source
[INFO] removed /workspace/builds/worker-1-tc1/source/.cargo/config
[INFO] started tweaking crates.io crate stm32l0x1-hal 0.11.0
[INFO] finished tweaking crates.io crate stm32l0x1-hal 0.11.0
[INFO] tweaked toml for crates.io crate stm32l0x1-hal 0.11.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate stm32l0x1-hal 0.11.0 on toolchain fce0e74720d199eb7839fdb51af35ac5226da178
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fce0e74720d199eb7839fdb51af35ac5226da178" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fce0e74720d199eb7839fdb51af35ac5226da178" "generate-lockfile" "--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]      Locking 22 packages to latest compatible versions
[INFO] [stderr]       Adding embedded-hal v0.2.7 (available: v1.0.0)
[INFO] [stderr]       Adding stm32l0 v0.15.1 (available: v0.16.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fce0e74720d199eb7839fdb51af35ac5226da178" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded flash-embedded-hal v0.1.2
[INFO] [stderr]   Downloaded stm32l0 v0.15.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+fce0e74720d199eb7839fdb51af35ac5226da178" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c19738bc5d47829df377391e40a34b753cdac5de2ee375e5a39bd64e4d9f805e
[INFO] running `Command { std: "docker" "start" "-a" "c19738bc5d47829df377391e40a34b753cdac5de2ee375e5a39bd64e4d9f805e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c19738bc5d47829df377391e40a34b753cdac5de2ee375e5a39bd64e4d9f805e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c19738bc5d47829df377391e40a34b753cdac5de2ee375e5a39bd64e4d9f805e", kill_on_drop: false }`
[INFO] [stdout] c19738bc5d47829df377391e40a34b753cdac5de2ee375e5a39bd64e4d9f805e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+fce0e74720d199eb7839fdb51af35ac5226da178" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c2512ede875aeccfaeaead40abe4f39511573f23804b934ab2bac51f211202ac
[INFO] running `Command { std: "docker" "start" "-a" "c2512ede875aeccfaeaead40abe4f39511573f23804b934ab2bac51f211202ac", kill_on_drop: false }`
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.97
[INFO] [stderr]    Compiling unicode-ident v1.0.18
[INFO] [stderr]     Checking nb v1.1.0
[INFO] [stderr]    Compiling cortex-m v0.7.7
[INFO] [stderr]    Compiling cortex-m-rt v0.7.5
[INFO] [stderr]     Checking vcell v0.1.3
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]    Compiling stm32l0 v0.15.1
[INFO] [stderr]     Checking bitfield v0.13.2
[INFO] [stderr]     Checking bare-metal v1.0.0
[INFO] [stderr]     Checking flash-embedded-hal v0.1.2
[INFO] [stderr]     Checking cast v0.3.0
[INFO] [stderr]     Checking volatile-register v0.2.2
[INFO] [stderr]     Checking nb v0.1.3
[INFO] [stderr]     Checking embedded-hal v0.2.7
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling bare-metal v0.2.5
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling syn v2.0.105
[INFO] [stderr]    Compiling cortex-m-rt-macros v0.7.5
[INFO] [stderr]     Checking stm32l0x1-hal v0.11.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/rcc/mod.rs:87:13
[INFO] [stdout]    |
[INFO] [stdout] 87 |             /// HCLK/FCLK
[INFO] [stdout]    |             ^^^^^^^^^^^^^
[INFO] [stdout] 88 |             hclk: Hertz(2_097_000),
[INFO] [stdout]    |             ---------------------- rustdoc does not generate documentation for expression fields
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout]    = note: `#[warn(unused_doc_comments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/rcc/mod.rs:89:13
[INFO] [stdout]    |
[INFO] [stdout] 89 |             /// PCLK1 to APB1 peripherals
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 90 |             pclk1: Hertz(2_097_000),
[INFO] [stdout]    |             ----------------------- rustdoc does not generate documentation for expression fields
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/rcc/mod.rs:91:13
[INFO] [stdout]    |
[INFO] [stdout] 91 |             /// PCLK2 to APB2 peripherals
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 92 |             pclk2: Hertz(2_097_000),
[INFO] [stdout]    |             ----------------------- rustdoc does not generate documentation for expression fields
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/rcc/mod.rs:93:13
[INFO] [stdout]    |
[INFO] [stdout] 93 |             /// Low-speed internal RC clock speed
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 94 |             lsiclk: None,
[INFO] [stdout]    |             ------------ rustdoc does not generate documentation for expression fields
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/rcc/mod.rs:95:13
[INFO] [stdout]    |
[INFO] [stdout] 95 |             /// Medium-speed internal RC clock speed
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 96 |             msiclk: Some(Hertz(2_097_000)),
[INFO] [stdout]    |             ------------------------------ rustdoc does not generate documentation for expression fields
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/rcc/mod.rs:97:13
[INFO] [stdout]    |
[INFO] [stdout] 97 |             /// High-speed internal 16 MHz clock speed (optionally /4)
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 98 |             hsi16clk: None,
[INFO] [stdout]    |             -------------- rustdoc does not generate documentation for expression fields
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]    --> src/rcc/mod.rs:99:13
[INFO] [stdout]     |
[INFO] [stdout]  99 |             /// Low-speed external 32kHz clock speed
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 100 |             lseclk: None,
[INFO] [stdout]     |             ------------ rustdoc does not generate documentation for expression fields
[INFO] [stdout]     |
[INFO] [stdout]     = help: use `//` for a plain comment
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/rcc/mod.rs:87:13
[INFO] [stdout]    |
[INFO] [stdout] 87 |             /// HCLK/FCLK
[INFO] [stdout]    |             ^^^^^^^^^^^^^
[INFO] [stdout] 88 |             hclk: Hertz(2_097_000),
[INFO] [stdout]    |             ---------------------- rustdoc does not generate documentation for expression fields
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout]    = note: `#[warn(unused_doc_comments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/rcc/mod.rs:89:13
[INFO] [stdout]    |
[INFO] [stdout] 89 |             /// PCLK1 to APB1 peripherals
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 90 |             pclk1: Hertz(2_097_000),
[INFO] [stdout]    |             ----------------------- rustdoc does not generate documentation for expression fields
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/rcc/mod.rs:91:13
[INFO] [stdout]    |
[INFO] [stdout] 91 |             /// PCLK2 to APB2 peripherals
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 92 |             pclk2: Hertz(2_097_000),
[INFO] [stdout]    |             ----------------------- rustdoc does not generate documentation for expression fields
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/rcc/mod.rs:93:13
[INFO] [stdout]    |
[INFO] [stdout] 93 |             /// Low-speed internal RC clock speed
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 94 |             lsiclk: None,
[INFO] [stdout]    |             ------------ rustdoc does not generate documentation for expression fields
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/rcc/mod.rs:95:13
[INFO] [stdout]    |
[INFO] [stdout] 95 |             /// Medium-speed internal RC clock speed
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 96 |             msiclk: Some(Hertz(2_097_000)),
[INFO] [stdout]    |             ------------------------------ rustdoc does not generate documentation for expression fields
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/rcc/mod.rs:97:13
[INFO] [stdout]    |
[INFO] [stdout] 97 |             /// High-speed internal 16 MHz clock speed (optionally /4)
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 98 |             hsi16clk: None,
[INFO] [stdout]    |             -------------- rustdoc does not generate documentation for expression fields
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]    --> src/rcc/mod.rs:99:13
[INFO] [stdout]     |
[INFO] [stdout]  99 |             /// Low-speed external 32kHz clock speed
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 100 |             lseclk: None,
[INFO] [stdout]     |             ------------ rustdoc does not generate documentation for expression fields
[INFO] [stdout]     |
[INFO] [stdout]     = help: use `//` for a plain comment
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Sealed` is never used
[INFO] [stdout]   --> src/i2c/mod.rs:47:15
[INFO] [stdout]    |
[INFO] [stdout] 47 |     pub trait Sealed {}
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: assigning to `&T` is undefined behavior, consider using an `UnsafeCell`
[INFO] [stdout]    --> src/serial/mod.rs:411:33
[INFO] [stdout]     |
[INFO] [stdout] 411 |                                   ptr::write_volatile(&(*$USARTX::ptr()).tdr as *const _ as *mut _, byte)
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 435 | / hal! {
[INFO] [stdout] 436 | |     USART2: (usart2, APB1, apb1, usart2en, usart2sel),
[INFO] [stdout] 437 | | }
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, visit <https://doc.rust-lang.org/book/ch15-05-interior-mutability.html>
[INFO] [stdout]     = note: even for types with interior mutability, the only legal way to obtain a mutable pointer from a shared reference is through `UnsafeCell::get`
[INFO] [stdout]     = note: `#[deny(invalid_reference_casting)]` on by default
[INFO] [stdout]     = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: assigning to `&T` is undefined behavior, consider using an `UnsafeCell`
[INFO] [stdout]    --> src/serial/mod.rs:684:26
[INFO] [stdout]     |
[INFO] [stdout] 684 |                 unsafe { ptr::write_volatile(&(*LPUART1::ptr()).tdr as *const _ as *mut _, byte) }
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, visit <https://doc.rust-lang.org/book/ch15-05-interior-mutability.html>
[INFO] [stdout]     = note: even for types with interior mutability, the only legal way to obtain a mutable pointer from a shared reference is through `UnsafeCell::get`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `stm32l0x1-hal` (lib test) due to 2 previous errors; 8 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: trait `Sealed` is never used
[INFO] [stdout]   --> src/i2c/mod.rs:47:15
[INFO] [stdout]    |
[INFO] [stdout] 47 |     pub trait Sealed {}
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: assigning to `&T` is undefined behavior, consider using an `UnsafeCell`
[INFO] [stdout]    --> src/serial/mod.rs:411:33
[INFO] [stdout]     |
[INFO] [stdout] 411 |                                   ptr::write_volatile(&(*$USARTX::ptr()).tdr as *const _ as *mut _, byte)
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 435 | / hal! {
[INFO] [stdout] 436 | |     USART2: (usart2, APB1, apb1, usart2en, usart2sel),
[INFO] [stdout] 437 | | }
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, visit <https://doc.rust-lang.org/book/ch15-05-interior-mutability.html>
[INFO] [stdout]     = note: even for types with interior mutability, the only legal way to obtain a mutable pointer from a shared reference is through `UnsafeCell::get`
[INFO] [stdout]     = note: `#[deny(invalid_reference_casting)]` on by default
[INFO] [stdout]     = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: assigning to `&T` is undefined behavior, consider using an `UnsafeCell`
[INFO] [stdout]    --> src/serial/mod.rs:684:26
[INFO] [stdout]     |
[INFO] [stdout] 684 |                 unsafe { ptr::write_volatile(&(*LPUART1::ptr()).tdr as *const _ as *mut _, byte) }
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, visit <https://doc.rust-lang.org/book/ch15-05-interior-mutability.html>
[INFO] [stdout]     = note: even for types with interior mutability, the only legal way to obtain a mutable pointer from a shared reference is through `UnsafeCell::get`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `stm32l0x1-hal` (lib) due to 2 previous errors; 8 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "c2512ede875aeccfaeaead40abe4f39511573f23804b934ab2bac51f211202ac", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c2512ede875aeccfaeaead40abe4f39511573f23804b934ab2bac51f211202ac", kill_on_drop: false }`
[INFO] [stdout] c2512ede875aeccfaeaead40abe4f39511573f23804b934ab2bac51f211202ac
