[INFO] fetching crate bme280 0.5.1... [INFO] testing bme280-0.5.1 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate bme280 0.5.1 into /workspace/builds/worker-6-tc1/source [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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate bme280 0.5.1 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded semver v1.0.7 [INFO] [stderr] Downloaded quote v1.0.17 [INFO] [stderr] Downloaded defmt-parser v0.3.1 [INFO] [stderr] Downloaded defmt v0.3.6 [INFO] [stderr] Downloaded maybe-async-cfg v0.2.3 [INFO] [stderr] Downloaded defmt-macros v0.3.2 [INFO] [stderr] Downloaded pulldown-cmark v0.9.2 [INFO] [stderr] Downloaded syn v1.0.90 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6847bcf7ffac1ef49815e26f16c7d811fd0dbfb433041b4872570021eb7e0d17 [INFO] running `Command { std: "docker" "start" "-a" "6847bcf7ffac1ef49815e26f16c7d811fd0dbfb433041b4872570021eb7e0d17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6847bcf7ffac1ef49815e26f16c7d811fd0dbfb433041b4872570021eb7e0d17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6847bcf7ffac1ef49815e26f16c7d811fd0dbfb433041b4872570021eb7e0d17", kill_on_drop: false }` [INFO] [stdout] 6847bcf7ffac1ef49815e26f16c7d811fd0dbfb433041b4872570021eb7e0d17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dce89214cea19baf2e90b39f898d95a699dadc2fb17bb404b643cc3907f44935 [INFO] running `Command { std: "docker" "start" "-a" "dce89214cea19baf2e90b39f898d95a699dadc2fb17bb404b643cc3907f44935", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.17 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling syn v1.0.90 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling pulldown-cmark v0.9.2 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling maybe-async-cfg v0.2.3 [INFO] [stderr] Compiling bme280 v0.5.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.07s [INFO] running `Command { std: "docker" "inspect" "dce89214cea19baf2e90b39f898d95a699dadc2fb17bb404b643cc3907f44935", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dce89214cea19baf2e90b39f898d95a699dadc2fb17bb404b643cc3907f44935", kill_on_drop: false }` [INFO] [stdout] dce89214cea19baf2e90b39f898d95a699dadc2fb17bb404b643cc3907f44935 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 804f9f7becd022821d347074463a63c1abb33fa93ab0c8bfde19049293cf3960 [INFO] running `Command { std: "docker" "start" "-a" "804f9f7becd022821d347074463a63c1abb33fa93ab0c8bfde19049293cf3960", kill_on_drop: false }` [INFO] [stderr] Compiling bme280 v0.5.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `stm32f4xx_hal` [INFO] [stdout] --> examples/rtic.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | use stm32f4xx_hal::{ [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `stm32f4xx_hal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `stm32f4xx_hal`, use `cargo add stm32f4xx_hal` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `rtic` [INFO] [stdout] --> examples/rtic.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[rtic::app(device = stm32f4xx_hal::pac)] [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rtic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `defmt` [INFO] [stdout] --> examples/rtic.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | defmt::println!("Could not initialize bme280, Error"); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `defmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `defmt` [INFO] [stdout] --> examples/rtic.rs:85:21 [INFO] [stdout] | [INFO] [stdout] 85 | defmt::println!("Relative Humidity = {}%", measurements.humidity); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `defmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `defmt` [INFO] [stdout] --> examples/rtic.rs:86:21 [INFO] [stdout] | [INFO] [stdout] 86 | defmt::println!("Temperature = {} deg C", measurements.temperature); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `defmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `defmt` [INFO] [stdout] --> examples/rtic.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | defmt::println!("Pressure = {} pascals", measurements.pressure); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `defmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `defmt` [INFO] [stdout] [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] [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] 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 21 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] Some errors have detailed explanations: E0425, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bme280` (example "basic") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "804f9f7becd022821d347074463a63c1abb33fa93ab0c8bfde19049293cf3960", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "804f9f7becd022821d347074463a63c1abb33fa93ab0c8bfde19049293cf3960", kill_on_drop: false }` [INFO] [stdout] 804f9f7becd022821d347074463a63c1abb33fa93ab0c8bfde19049293cf3960