[INFO] cloning repository https://github.com/melastmohican/stm32f1-examples [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/melastmohican/stm32f1-examples" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmelastmohican%2Fstm32f1-examples", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmelastmohican%2Fstm32f1-examples'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c7679e9118676b7e87d1501967e8de9bd7d115d3 [INFO] checking melastmohican/stm32f1-examples against try#8a0378607d6b34c242e3bfa75554871be641864b for pr-143028 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmelastmohican%2Fstm32f1-examples" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-0-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/melastmohican/stm32f1-examples [INFO] finished tweaking git repo https://github.com/melastmohican/stm32f1-examples [INFO] tweaked toml for git repo https://github.com/melastmohican/stm32f1-examples written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/melastmohican/stm32f1-examples on toolchain 8a0378607d6b34c242e3bfa75554871be641864b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8a0378607d6b34c242e3bfa75554871be641864b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/melastmohican/stm32f1-examples 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" "+8a0378607d6b34c242e3bfa75554871be641864b" "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 display-interface-spi v0.4.1 [INFO] [stderr] Downloaded panic-semihosting v0.6.0 [INFO] [stderr] Downloaded bxcan v0.8.0 [INFO] [stderr] Downloaded display-interface-i2c v0.4.0 [INFO] [stderr] Downloaded bme280 v0.5.1 [INFO] [stderr] Downloaded display-interface v0.4.1 [INFO] [stderr] Downloaded maybe-async-cfg v0.2.5 [INFO] [stderr] Downloaded stm32-usbd v0.7.0 [INFO] [stderr] Downloaded ssd1306 v0.7.1 [INFO] [stderr] Downloaded stm32f1-staging v0.17.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8a0378607d6b34c242e3bfa75554871be641864b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c58e6fb6db368bcd269fa8cbbdb78c65d82bcb2b1acc1f583653954e4dac8e65 [INFO] running `Command { std: "docker" "start" "-a" "c58e6fb6db368bcd269fa8cbbdb78c65d82bcb2b1acc1f583653954e4dac8e65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c58e6fb6db368bcd269fa8cbbdb78c65d82bcb2b1acc1f583653954e4dac8e65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c58e6fb6db368bcd269fa8cbbdb78c65d82bcb2b1acc1f583653954e4dac8e65", kill_on_drop: false }` [INFO] [stdout] c58e6fb6db368bcd269fa8cbbdb78c65d82bcb2b1acc1f583653954e4dac8e65 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8a0378607d6b34c242e3bfa75554871be641864b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a55dbc920efa98af5fa403001a3072f0c17ec92c56ec269093c8dce104924393 [INFO] running `Command { std: "docker" "start" "-a" "a55dbc920efa98af5fa403001a3072f0c17ec92c56ec269093c8dce104924393", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Checking nb v1.1.0 [INFO] [stderr] Compiling cortex-m v0.7.7 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking vcell v0.1.3 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking critical-section v1.2.0 [INFO] [stderr] Checking embedded-hal v0.2.7 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Checking volatile-register v0.2.2 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling portable-atomic v1.11.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling cortex-m-rt v0.7.5 [INFO] [stderr] Compiling heapless v0.8.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling semver v1.0.25 [INFO] [stderr] Checking hash32 v0.3.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling defmt v0.3.10 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling defmt-macros v0.4.0 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling az v1.2.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling proc-macro-utils v0.10.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling stm32f1-staging v0.17.1 [INFO] [stderr] Compiling pulldown-cmark v0.11.3 [INFO] [stderr] Checking gcd v2.3.0 [INFO] [stderr] Compiling stm32-usbd v0.7.0 [INFO] [stderr] Checking embedded-hal v1.0.0 [INFO] [stderr] Checking fugit v0.3.7 [INFO] [stderr] Checking usb-device v0.3.2 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking embedded-can v0.4.1 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling panic-probe v0.3.2 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling defmt-rtt v0.4.1 [INFO] [stderr] Checking display-interface v0.4.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling manyhow-macros v0.11.4 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling stm32f1xx-hal v0.10.0 (https://github.com/stm32-rs/stm32f1xx-hal.git#97ff2ef4) [INFO] [stderr] Compiling cortex-m-semihosting v0.5.0 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Checking embedded-graphics-core v0.3.3 [INFO] [stderr] Checking bxcan v0.8.0 [INFO] [stderr] Checking fugit-timer v0.1.3 [INFO] [stderr] Checking embedded-hal-nb v1.0.0 [INFO] [stderr] Checking embedded-dma v0.2.0 [INFO] [stderr] Checking byte-slice-cast v0.3.5 [INFO] [stderr] Checking embedded-io v0.6.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking display-interface-spi v0.4.1 [INFO] [stderr] Checking float-cmp v0.8.0 [INFO] [stderr] Checking display-interface-i2c v0.4.0 [INFO] [stderr] Checking hash32 v0.2.1 [INFO] [stderr] Checking micromath v1.1.1 [INFO] [stderr] Checking panic-semihosting v0.6.0 [INFO] [stderr] Checking ssd1306 v0.7.1 [INFO] [stderr] Checking panic-halt v0.2.0 [INFO] [stderr] Checking embedded-graphics v0.7.1 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling manyhow v0.11.4 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling cortex-m-rt-macros v0.7.5 [INFO] [stderr] Compiling maybe-async-cfg v0.2.5 [INFO] [stderr] Compiling defmt-parser v0.4.1 [INFO] [stderr] Checking bme280 v0.5.1 [INFO] [stderr] Checking stm32f1-examples v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `hprint` [INFO] [stdout] --> examples/i2c_scanner.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | use cortex_m_semihosting::{hprint, hprintln}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `#[panic_handler]` function required, but not found [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 import: `BlockingI2c` [INFO] [stdout] --> examples/i2c_scan.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | i2c::{BlockingI2c, DutyCycle, Mode}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `#[panic_handler]` function required, but not found [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 import: `BlockingI2c` [INFO] [stdout] --> examples/ssd1306.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | i2c::{BlockingI2c, DutyCycle, Mode}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BlockingI2c` [INFO] [stdout] --> examples/bme280_i2c.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | i2c::{BlockingI2c, DutyCycle, Mode}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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 import: `convert::TryInto` [INFO] [stdout] --> examples/i2c_scanner2.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | use core::{convert::TryInto, ops::Range}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BlockingI2c` and `Error` [INFO] [stdout] --> examples/i2c_scanner2.rs:16:26 [INFO] [stdout] | [INFO] [stdout] 16 | use stm32f1xx_hal::i2c::{BlockingI2c, DutyCycle, Error, Mode}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self as hal` [INFO] [stdout] --> examples/i2c_scanner2.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | use stm32f1xx_hal::{self as hal, pac, prelude::*}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `afio` [INFO] [stdout] --> examples/i2c_scanner.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let afio = dp.AFIO.constrain(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_afio` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `afio` [INFO] [stdout] --> examples/i2c_scan.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | let mut afio = dp.AFIO.constrain(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_afio` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/i2c_scan.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let mut afio = dp.AFIO.constrain(); [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: unused variable: `afio` [INFO] [stdout] --> examples/bme280_i2c.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let mut afio = dp.AFIO.constrain(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_afio` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `stm32f1-examples` (bin "stm32f1-examples") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `afio` [INFO] [stdout] --> examples/ssd1306.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | let mut afio = dp.AFIO.constrain(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_afio` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/bme280_i2c.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let mut afio = dp.AFIO.constrain(); [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] --> examples/bme280_i2c.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | let mut gpiob = dp.GPIOB.split(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `stm32f1-examples` (example "i2c_scan") due to 2 previous errors; 3 warnings emitted [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/ssd1306.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let mut afio = dp.AFIO.constrain(); [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] --> examples/ssd1306.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let mut i2c = dp [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `stm32f1-examples` (example "ssd1306") due to 1 previous error; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a55dbc920efa98af5fa403001a3072f0c17ec92c56ec269093c8dce104924393", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a55dbc920efa98af5fa403001a3072f0c17ec92c56ec269093c8dce104924393", kill_on_drop: false }` [INFO] [stdout] a55dbc920efa98af5fa403001a3072f0c17ec92c56ec269093c8dce104924393