[INFO] fetching crate bme280 0.5.1... [INFO] checking bme280-0.5.1 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate bme280 0.5.1 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate bme280 0.5.1 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bme280 0.5.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate bme280 0.5.1 [INFO] tweaked toml for crates.io crate bme280 0.5.1 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate crates.io crate bme280 0.5.1 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded embedded-hal-async v1.0.0 [INFO] [stderr] Downloaded defmt-parser v0.3.1 [INFO] [stderr] Downloaded defmt-macros v0.3.2 [INFO] [stderr] Downloaded defmt v0.3.6 [INFO] [stderr] Downloaded embedded-hal v1.0.0 [INFO] [stderr] Downloaded semver v1.0.7 [INFO] [stderr] Downloaded pulldown-cmark v0.9.2 [INFO] [stderr] Downloaded maybe-async-cfg v0.2.3 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3239b69c49ef1461d928a54bbe56bf580af5334bcf75b30d8735f70a6910184a [INFO] running `Command { std: "docker" "start" "-a" "3239b69c49ef1461d928a54bbe56bf580af5334bcf75b30d8735f70a6910184a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3239b69c49ef1461d928a54bbe56bf580af5334bcf75b30d8735f70a6910184a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3239b69c49ef1461d928a54bbe56bf580af5334bcf75b30d8735f70a6910184a", kill_on_drop: false }` [INFO] [stdout] 3239b69c49ef1461d928a54bbe56bf580af5334bcf75b30d8735f70a6910184a [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] da53e6004d8441c78c5401a6a831d98670b59b67eb839c12f4a1fc9da9b9cd76 [INFO] running `Command { std: "docker" "start" "-a" "da53e6004d8441c78c5401a6a831d98670b59b67eb839c12f4a1fc9da9b9cd76", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling syn v1.0.90 [INFO] [stderr] Compiling pulldown-cmark v0.9.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Checking embedded-hal v1.0.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling quote v1.0.17 [INFO] [stderr] Compiling maybe-async-cfg v0.2.3 [INFO] [stderr] Checking bme280 v0.5.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `linux_embedded_hal` [INFO] [stdout] --> examples/basic.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate linux_embedded_hal as hal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `delay` in this scope [INFO] [stdout] --> examples/basic.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | bme280.init(&mut delay).unwrap(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `stm32f4xx_hal` [INFO] [stdout] --> examples/rtic.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | use stm32f4xx_hal::{ [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `stm32f4xx_hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `panic_semihosting` [INFO] [stdout] --> examples/rtic.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use panic_semihosting as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no external crate `panic_semihosting` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rtic` [INFO] [stdout] --> examples/rtic.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[rtic::app(device = stm32f4xx_hal::pac)] [INFO] [stdout] | ^^^^ use of undeclared crate or module `rtic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `defmt` [INFO] [stdout] --> examples/rtic.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | defmt::println!("Could not initialize bme280, Error"); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `defmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `defmt` [INFO] [stdout] --> examples/rtic.rs:85:21 [INFO] [stdout] | [INFO] [stdout] 85 | defmt::println!("Relative Humidity = {}%", measurements.humidity); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `defmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `defmt` [INFO] [stdout] --> examples/rtic.rs:86:21 [INFO] [stdout] | [INFO] [stdout] 86 | defmt::println!("Temperature = {} deg C", measurements.temperature); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `defmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `defmt` [INFO] [stdout] --> examples/rtic.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | defmt::println!("Pressure = {} pascals", measurements.pressure); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `defmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `defmt` [INFO] [stdout] --> examples/rtic.rs:90:21 [INFO] [stdout] | [INFO] [stdout] 90 | defmt::println!("Could not read bme280 due to error"); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `defmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `shared` in this scope [INFO] [stdout] --> examples/rtic.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | #[shared] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `local` in this scope [INFO] [stdout] --> examples/rtic.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | #[local] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bme280` (example "basic") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: cannot find attribute `init` in this scope [INFO] [stdout] --> examples/rtic.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | #[init] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `init` is in scope, but it is a function, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `idle` in this scope [INFO] [stdout] --> examples/rtic.rs:77:7 [INFO] [stdout] | [INFO] [stdout] 77 | #[idle(local = [bme, delay])] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `idle` is in scope, but it is a function, not an attribute [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] error[E0599]: no method named `MHz` found for type `{integer}` in the current scope [INFO] [stdout] --> examples/rtic.rs:39:42 [INFO] [stdout] | [INFO] [stdout] 39 | let clocks = rcc.cfgr.use_hse(25.MHz()).sysclk(100.MHz()).freeze(); [INFO] [stdout] | ^^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `MHz` found for type `{integer}` in the current scope [INFO] [stdout] --> examples/rtic.rs:39:60 [INFO] [stdout] | [INFO] [stdout] 39 | let clocks = rcc.cfgr.use_hse(25.MHz()).sysclk(100.MHz()).freeze(); [INFO] [stdout] | ^^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `Hz` found for type `{integer}` in the current scope [INFO] [stdout] --> examples/rtic.rs:58:35 [INFO] [stdout] | [INFO] [stdout] 58 | frequency: 400000.Hz(), [INFO] [stdout] | ^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: function `init` is not a crate or module [INFO] [stdout] --> examples/rtic.rs:74:43 [INFO] [stdout] | [INFO] [stdout] 74 | (Shared {}, Local { bme, delay }, init::Monotonics()) [INFO] [stdout] | ^^^^ function `init` is not a crate or module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: function `init` is not a crate or module [INFO] [stdout] --> examples/rtic.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | fn init(cx: init::Context) -> (Shared, Local, init::Monotonics) { [INFO] [stdout] | ^^^^ function `init` is not a crate or module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: function `init` is not a crate or module [INFO] [stdout] --> examples/rtic.rs:30:51 [INFO] [stdout] | [INFO] [stdout] 30 | fn init(cx: init::Context) -> (Shared, Local, init::Monotonics) { [INFO] [stdout] | ^^^^ function `init` is not a crate or module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: function `idle` is not a crate or module [INFO] [stdout] --> examples/rtic.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | fn idle(cx: idle::Context) -> ! { [INFO] [stdout] | ^^^^ function `idle` is not a crate or module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 21 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bme280` (example "rtic") due to 22 previous errors [INFO] running `Command { std: "docker" "inspect" "da53e6004d8441c78c5401a6a831d98670b59b67eb839c12f4a1fc9da9b9cd76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da53e6004d8441c78c5401a6a831d98670b59b67eb839c12f4a1fc9da9b9cd76", kill_on_drop: false }` [INFO] [stdout] da53e6004d8441c78c5401a6a831d98670b59b67eb839c12f4a1fc9da9b9cd76