[INFO] fetching crate adxl345-eh-driver 0.2.2... [INFO] testing adxl345-eh-driver-0.2.2 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate adxl345-eh-driver 0.2.2 into /workspace/builds/worker-5-tc2/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-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate adxl345-eh-driver 0.2.2 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d0a005eff8cbed774dfecd9f827340a20dd4d65c018d2829380a8156c1562d7f [INFO] running `Command { std: "docker" "start" "-a" "d0a005eff8cbed774dfecd9f827340a20dd4d65c018d2829380a8156c1562d7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d0a005eff8cbed774dfecd9f827340a20dd4d65c018d2829380a8156c1562d7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0a005eff8cbed774dfecd9f827340a20dd4d65c018d2829380a8156c1562d7f", kill_on_drop: false }` [INFO] [stdout] d0a005eff8cbed774dfecd9f827340a20dd4d65c018d2829380a8156c1562d7f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4a9911a463916caea87a05b0a0a2ac5fad55d304b2a7bba556e3c1dcfb2cfa62 [INFO] running `Command { std: "docker" "start" "-a" "4a9911a463916caea87a05b0a0a2ac5fad55d304b2a7bba556e3c1dcfb2cfa62", 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.52s [INFO] running `Command { std: "docker" "inspect" "4a9911a463916caea87a05b0a0a2ac5fad55d304b2a7bba556e3c1dcfb2cfa62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a9911a463916caea87a05b0a0a2ac5fad55d304b2a7bba556e3c1dcfb2cfa62", kill_on_drop: false }` [INFO] [stdout] 4a9911a463916caea87a05b0a0a2ac5fad55d304b2a7bba556e3c1dcfb2cfa62 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9ea92db146917ce564eb6280fd86b0b550776768755891ef6bc5b4f0b00e442b [INFO] running `Command { std: "docker" "start" "-a" "9ea92db146917ce564eb6280fd86b0b550776768755891ef6bc5b4f0b00e442b", 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[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/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[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: `#[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] [stderr] error: could not compile `adxl345-eh-driver` (example "interrupts") due to 11 previous errors [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] [stderr] warning: build failed, waiting for other jobs to finish... [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 "basic") due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "9ea92db146917ce564eb6280fd86b0b550776768755891ef6bc5b4f0b00e442b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ea92db146917ce564eb6280fd86b0b550776768755891ef6bc5b4f0b00e442b", kill_on_drop: false }` [INFO] [stdout] 9ea92db146917ce564eb6280fd86b0b550776768755891ef6bc5b4f0b00e442b