[INFO] fetching crate adxl345-eh-driver 0.2.2... [INFO] testing adxl345-eh-driver-0.2.2 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate adxl345-eh-driver 0.2.2 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate adxl345-eh-driver 0.2.2 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate adxl345-eh-driver 0.2.2 [INFO] tweaked toml for crates.io crate adxl345-eh-driver 0.2.2 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate adxl345-eh-driver 0.2.2 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate adxl345-eh-driver 0.2.2 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bitfield v0.17.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] da9a30050b381de6c9be71a4ee3bb8db758e54ddbdd7f0a902f0bd1b79c84f7a [INFO] running `Command { std: "docker" "start" "-a" "da9a30050b381de6c9be71a4ee3bb8db758e54ddbdd7f0a902f0bd1b79c84f7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "da9a30050b381de6c9be71a4ee3bb8db758e54ddbdd7f0a902f0bd1b79c84f7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da9a30050b381de6c9be71a4ee3bb8db758e54ddbdd7f0a902f0bd1b79c84f7a", kill_on_drop: false }` [INFO] [stdout] da9a30050b381de6c9be71a4ee3bb8db758e54ddbdd7f0a902f0bd1b79c84f7a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f16416022de9fef74dae6b00e204b164a9377533eebdb02a2adb2036cb619301 [INFO] running `Command { std: "docker" "start" "-a" "f16416022de9fef74dae6b00e204b164a9377533eebdb02a2adb2036cb619301", kill_on_drop: false }` [INFO] [stderr] Compiling bitfield v0.17.0 [INFO] [stderr] Compiling embedded-hal v1.0.0 [INFO] [stderr] Compiling adxl345-eh-driver v0.2.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.54s [INFO] running `Command { std: "docker" "inspect" "f16416022de9fef74dae6b00e204b164a9377533eebdb02a2adb2036cb619301", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f16416022de9fef74dae6b00e204b164a9377533eebdb02a2adb2036cb619301", kill_on_drop: false }` [INFO] [stdout] f16416022de9fef74dae6b00e204b164a9377533eebdb02a2adb2036cb619301 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a60343ceca5a1ab83226b9f0789425b5c8c37d0152c23ee99c0de038368a9389 [INFO] running `Command { std: "docker" "start" "-a" "a60343ceca5a1ab83226b9f0789425b5c8c37d0152c23ee99c0de038368a9389", kill_on_drop: false }` [INFO] [stderr] Compiling adxl345-eh-driver v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `esp_hal` [INFO] [stdout] --> examples/basic.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use esp_hal::{clock::ClockControl, gpio, i2c::I2C, peripherals, prelude::*, Delay}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `esp_hal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `esp_hal`, use `cargo add esp_hal` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `esp_backtrace` [INFO] [stdout] --> examples/basic.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use esp_backtrace as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no external crate `esp_backtrace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `esp_hal` [INFO] [stdout] --> examples/basic.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use esp_hal::{clock::ClockControl, gpio, i2c::I2C, peripherals, prelude::*, Delay}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `esp_hal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `esp_hal`, use `cargo add esp_hal` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `esp_println` [INFO] [stdout] --> examples/basic.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use esp_println::println; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `esp_println` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `esp_println`, use `cargo add esp_println` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `entry` in this scope [INFO] [stdout] --> examples/basic.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | #[entry] [INFO] [stdout] | ^^^^^ [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[E0433]: failed to resolve: use of unresolved module or unlinked crate `esp_hal` [INFO] [stdout] --> examples/interrupts.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use esp_hal::{clock::ClockControl, gpio, i2c::I2C, interrupt, peripherals, prelude::*, Delay}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `esp_hal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `esp_hal`, use `cargo add esp_hal` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `esp_backtrace` [INFO] [stdout] --> examples/interrupts.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use esp_backtrace as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no external crate `esp_backtrace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `esp_hal` [INFO] [stdout] --> examples/interrupts.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use esp_hal::{clock::ClockControl, gpio, i2c::I2C, interrupt, peripherals, prelude::*, Delay}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `esp_hal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `esp_hal`, use `cargo add esp_hal` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `esp_println` [INFO] [stdout] --> examples/interrupts.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use esp_println::println; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `esp_println` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `esp_println`, use `cargo add esp_println` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `critical_section` [INFO] [stdout] --> examples/interrupts.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use critical_section::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `critical_section` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `critical_section`, use `cargo add critical_section` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `entry` in this scope [INFO] [stdout] --> examples/interrupts.rs:19:3 [INFO] [stdout] | [INFO] [stdout] 19 | #[entry] [INFO] [stdout] | ^^^^^ [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 `kHz` found for type `u32` in the current scope [INFO] [stdout] --> examples/basic.rs:21:59 [INFO] [stdout] | [INFO] [stdout] 21 | let i2c = I2C::new(peripherals.I2C0, sda, scl, 100u32.kHz(), &clocks); [INFO] [stdout] | ^^^ method not found in `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `kHz` found for type `u32` in the current scope [INFO] [stdout] --> examples/interrupts.rs:30:59 [INFO] [stdout] | [INFO] [stdout] 30 | let i2c = I2C::new(peripherals.I2C0, sda, scl, 100u32.kHz(), &clocks); [INFO] [stdout] | ^^^ method not found in `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `critical_section` [INFO] [stdout] --> examples/interrupts.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | critical_section::with(|cs| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `critical_section` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `critical_section`, use `cargo add critical_section` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `critical_section` [INFO] [stdout] --> examples/interrupts.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | critical_section::with(|cs| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `critical_section` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `critical_section`, use `cargo add critical_section` to add it to your `Cargo.toml` [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] [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 `adxl345-eh-driver` (example "interrupts") due to 11 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `adxl345-eh-driver` (example "basic") due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "a60343ceca5a1ab83226b9f0789425b5c8c37d0152c23ee99c0de038368a9389", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a60343ceca5a1ab83226b9f0789425b5c8c37d0152c23ee99c0de038368a9389", kill_on_drop: false }` [INFO] [stdout] a60343ceca5a1ab83226b9f0789425b5c8c37d0152c23ee99c0de038368a9389