[INFO] fetching crate gihex-hc-sr04 0.1.5... [INFO] checking gihex-hc-sr04-0.1.5 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate gihex-hc-sr04 0.1.5 into /workspace/builds/worker-5-tc1/source [INFO] removed /workspace/builds/worker-5-tc1/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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate gihex-hc-sr04 0.1.5 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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 stm32-usbd v0.6.0 [INFO] [stderr] Downloaded bxcan v0.7.0 [INFO] [stderr] Downloaded panic-semihosting v0.6.0 [INFO] [stderr] Downloaded fugit-timer v0.1.3 [INFO] [stderr] Downloaded stm32f1 v0.15.1 [INFO] [stderr] Downloaded rtic-macros v2.0.1 [INFO] [stderr] Downloaded rtic v2.0.1 [INFO] [stderr] Downloaded stm32f1xx-hal v0.10.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bac2496a3d0898cd6e15cf343373a5025297b74d7ba992c087037beb35f0ddab [INFO] running `Command { std: "docker" "start" "-a" "bac2496a3d0898cd6e15cf343373a5025297b74d7ba992c087037beb35f0ddab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bac2496a3d0898cd6e15cf343373a5025297b74d7ba992c087037beb35f0ddab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bac2496a3d0898cd6e15cf343373a5025297b74d7ba992c087037beb35f0ddab", kill_on_drop: false }` [INFO] [stdout] bac2496a3d0898cd6e15cf343373a5025297b74d7ba992c087037beb35f0ddab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 39467b67c70dbe25d870dbe08785720df0c334d8c5070daf24bee0fc58fea06e [INFO] running `Command { std: "docker" "start" "-a" "39467b67c70dbe25d870dbe08785720df0c334d8c5070daf24bee0fc58fea06e", kill_on_drop: false }` [INFO] [stderr] Checking nb v1.1.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling cortex-m v0.7.7 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking vcell v0.1.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking critical-section v1.1.2 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Compiling cortex-m-rt v0.7.3 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling atomic-polyfill v1.0.3 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Checking gcd v2.3.0 [INFO] [stderr] Checking bare-metal v1.0.0 [INFO] [stderr] Compiling stm32f1 v0.15.1 [INFO] [stderr] Compiling stm32-usbd v0.6.0 [INFO] [stderr] Checking volatile-register v0.2.2 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Compiling hashbrown v0.14.2 [INFO] [stderr] Compiling cortex-m-semihosting v0.5.0 [INFO] [stderr] Checking fugit v0.3.7 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling rtic v2.0.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking embedded-hal v0.2.7 [INFO] [stderr] Checking usb-device v0.2.9 [INFO] [stderr] Checking embedded-dma v0.2.0 [INFO] [stderr] Checking rtic-core v1.0.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking bxcan v0.7.0 [INFO] [stderr] Checking fugit-timer v0.1.3 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Checking panic-semihosting v0.6.0 [INFO] [stderr] Checking gihex-hc-sr04 v0.1.5 (/opt/rustwide/workdir) [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 [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 [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 [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 [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 [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 [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 [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 [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" "39467b67c70dbe25d870dbe08785720df0c334d8c5070daf24bee0fc58fea06e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39467b67c70dbe25d870dbe08785720df0c334d8c5070daf24bee0fc58fea06e", kill_on_drop: false }` [INFO] [stdout] 39467b67c70dbe25d870dbe08785720df0c334d8c5070daf24bee0fc58fea06e