[INFO] fetching crate gihex-hc-sr04 0.1.5...
[INFO] checking gihex-hc-sr04-0.1.5 against try#31561a63598a0f21fc74c024747ef1310fdd2eb2 for pr-133536
[INFO] extracting crate gihex-hc-sr04 0.1.5 into /workspace/builds/worker-0-tc2/source
[INFO] validating manifest of crates.io crate gihex-hc-sr04 0.1.5 on toolchain 31561a63598a0f21fc74c024747ef1310fdd2eb2
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-0-tc2/source/.cargo/config
[INFO] started tweaking crates.io crate gihex-hc-sr04 0.1.5
[INFO] removed 0 missing examples
[INFO] finished tweaking crates.io crate gihex-hc-sr04 0.1.5
[INFO] tweaked toml for crates.io crate gihex-hc-sr04 0.1.5 written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] crate crates.io crate gihex-hc-sr04 0.1.5 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" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 57da7ce7e7c24c53d4ab2c247adf6f4ddafd80544fe1279c34016c8a23118a16
[INFO] running `Command { std: "docker" "start" "-a" "57da7ce7e7c24c53d4ab2c247adf6f4ddafd80544fe1279c34016c8a23118a16", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "57da7ce7e7c24c53d4ab2c247adf6f4ddafd80544fe1279c34016c8a23118a16", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "57da7ce7e7c24c53d4ab2c247adf6f4ddafd80544fe1279c34016c8a23118a16", kill_on_drop: false }`
[INFO] [stdout] 57da7ce7e7c24c53d4ab2c247adf6f4ddafd80544fe1279c34016c8a23118a16
[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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a51820584c80eb362ee63ddbade0bb828daeb97edc1d4f642f3946a0f7517e9f
[INFO] running `Command { std: "docker" "start" "-a" "a51820584c80eb362ee63ddbade0bb828daeb97edc1d4f642f3946a0f7517e9f", kill_on_drop: false }`
[INFO] [stderr]    Compiling cortex-m v0.7.7
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.69
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]     Checking vcell v0.1.3
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking critical-section v1.1.2
[INFO] [stderr]     Checking bitfield v0.13.2
[INFO] [stderr]    Compiling cortex-m-rt v0.7.3
[INFO] [stderr]    Compiling stm32-usbd v0.6.0
[INFO] [stderr]    Compiling hashbrown v0.14.2
[INFO] [stderr]     Checking nb v0.1.3
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]    Compiling atomic-polyfill v1.0.3
[INFO] [stderr]    Compiling stm32f1 v0.15.1
[INFO] [stderr]     Checking bare-metal v1.0.0
[INFO] [stderr]     Checking embedded-hal v0.2.7
[INFO] [stderr]     Checking volatile-register v0.2.2
[INFO] [stderr]    Compiling cortex-m-semihosting v0.5.0
[INFO] [stderr]    Compiling rtic v2.0.1
[INFO] [stderr]     Checking usb-device v0.2.9
[INFO] [stderr]     Checking embedded-dma v0.2.0
[INFO] [stderr]     Checking fugit-timer v0.1.3
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]     Checking rtic-core v1.0.0
[INFO] [stderr]     Checking bxcan v0.7.0
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling bare-metal v0.2.5
[INFO] [stderr]    Compiling indexmap v2.1.0
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]     Checking panic-semihosting v0.6.0
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]     Checking gihex-hc-sr04 v0.1.5 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling cortex-m-rt-macros v0.7.0
[INFO] [stderr]    Compiling rtic-macros v2.0.1
[INFO] [stderr]     Checking stm32f1xx-hal v0.10.0
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]   --> examples/basic.rs:24:35
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let echo_pin = unsafe { &mut *ECHO_PIN.as_mut_ptr() };
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]   --> examples/basic.rs:25:33
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let sensor = unsafe { &mut *SENSOR.as_mut_ptr() };
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]   --> examples/basic.rs:50:35
[INFO] [stdout]    |
[INFO] [stdout] 50 |     let echo_pin = unsafe { &mut *ECHO_PIN.as_mut_ptr() };
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]   --> examples/basic.rs:64:33
[INFO] [stdout]    |
[INFO] [stdout] 64 |     let sensor = unsafe { &mut *SENSOR.as_mut_ptr() };
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Peripherals` in module `rtic::export`
[INFO] [stdout]   --> examples/use_rtic.rs:27:1
[INFO] [stdout]    |
[INFO] [stdout] 27 | #[rtic::app(device=stm32f1xx_hal::pac)]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `rtic::export`
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the attribute macro `rtic::app` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout] 30 +     use crate::app::you_must_enable_the_rt_feature_for_the_pac_in_your_cargo_toml::Peripherals;
[INFO] [stdout]    |
[INFO] [stdout] 30 +     use cortex_m::Peripherals;
[INFO] [stdout]    |
[INFO] [stdout] 30 +     use stm32f1xx_hal::pac::Peripherals;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `run` in module `rtic::export`
[INFO] [stdout]   --> examples/use_rtic.rs:27:1
[INFO] [stdout]    |
[INFO] [stdout] 27 | #[rtic::app(device=stm32f1xx_hal::pac)]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `rtic::export`
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the attribute macro `rtic::app` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `lock` in module `rtic::export`
[INFO] [stdout]   --> examples/use_rtic.rs:27:1
[INFO] [stdout]    |
[INFO] [stdout] 27 | #[rtic::app(device=stm32f1xx_hal::pac)]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `rtic::export`
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the attribute macro `rtic::app` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `interrupt` in `export`
[INFO] [stdout]   --> examples/use_rtic.rs:27:1
[INFO] [stdout]    |
[INFO] [stdout] 27 | #[rtic::app(device=stm32f1xx_hal::pac)]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `interrupt` in `export`
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the attribute macro `rtic::app` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]    |
[INFO] [stdout] 30 +     use crate::app::you_must_enable_the_rt_feature_for_the_pac_in_your_cargo_toml::interrupt;
[INFO] [stdout]    |
[INFO] [stdout] 30 +     use stm32f1xx_hal::pac::interrupt;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `Peripherals` in `export`
[INFO] [stdout]   --> examples/use_rtic.rs:27:1
[INFO] [stdout]    |
[INFO] [stdout] 27 | #[rtic::app(device=stm32f1xx_hal::pac)]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `Peripherals` in `export`
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the attribute macro `rtic::app` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout] 30 +     use crate::app::you_must_enable_the_rt_feature_for_the_pac_in_your_cargo_toml::Peripherals;
[INFO] [stdout]    |
[INFO] [stdout] 30 +     use cortex_m::Peripherals;
[INFO] [stdout]    |
[INFO] [stdout] 30 +     use stm32f1xx_hal::pac::Peripherals;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `gihex-hc-sr04` (example "use_rtic") due to 5 previous errors
[INFO] running `Command { std: "docker" "inspect" "a51820584c80eb362ee63ddbade0bb828daeb97edc1d4f642f3946a0f7517e9f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a51820584c80eb362ee63ddbade0bb828daeb97edc1d4f642f3946a0f7517e9f", kill_on_drop: false }`
[INFO] [stdout] a51820584c80eb362ee63ddbade0bb828daeb97edc1d4f642f3946a0f7517e9f
