[INFO] fetching crate ft3x68-rs 0.1.2... [INFO] checking ft3x68-rs-0.1.2 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate ft3x68-rs 0.1.2 into /workspace/builds/worker-3-tc2/source [INFO] removed /workspace/builds/worker-3-tc2/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-3-tc2/source/rust-toolchain.toml [INFO] started tweaking crates.io crate ft3x68-rs 0.1.2 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate ft3x68-rs 0.1.2 [INFO] tweaked toml for crates.io crate ft3x68-rs 0.1.2 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ft3x68-rs 0.1.2 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ft3x68-rs 0.1.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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2bec69cebb4f5ca93a0bfc21921f9b8600354aefaabc6cd35c22639dfc9eeb9b [INFO] running `Command { std: "docker" "start" "-a" "2bec69cebb4f5ca93a0bfc21921f9b8600354aefaabc6cd35c22639dfc9eeb9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2bec69cebb4f5ca93a0bfc21921f9b8600354aefaabc6cd35c22639dfc9eeb9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2bec69cebb4f5ca93a0bfc21921f9b8600354aefaabc6cd35c22639dfc9eeb9b", kill_on_drop: false }` [INFO] [stdout] 2bec69cebb4f5ca93a0bfc21921f9b8600354aefaabc6cd35c22639dfc9eeb9b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e26ce1e29f1d4b7c52bc4e86b9a4c90e9bb35bcae5ef02e332254594162f04bc [INFO] running `Command { std: "docker" "start" "-a" "e26ce1e29f1d4b7c52bc4e86b9a4c90e9bb35bcae5ef02e332254594162f04bc", kill_on_drop: false }` [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling heapless v0.8.0 [INFO] [stderr] Compiling ft3x68-rs v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking embedded-hal v1.0.0 [INFO] [stderr] Checking hash32 v0.3.1 [INFO] [stdout] warning: constant `FT3X68_RD_DEVICE_X1POSL` is never used [INFO] [stdout] --> src/lib.rs:63:7 [INFO] [stdout] | [INFO] [stdout] 63 | const FT3X68_RD_DEVICE_X1POSL: u8 = 0x04; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FT3X68_RD_DEVICE_Y1POSH` is never used [INFO] [stdout] --> src/lib.rs:64:7 [INFO] [stdout] | [INFO] [stdout] 64 | const FT3X68_RD_DEVICE_Y1POSH: u8 = 0x05; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FT3X68_RD_DEVICE_Y1POSL` is never used [INFO] [stdout] --> src/lib.rs:65:7 [INFO] [stdout] | [INFO] [stdout] 65 | const FT3X68_RD_DEVICE_Y1POSL: u8 = 0x06; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FT3X68_RD_DEVICE_X2POSL` is never used [INFO] [stdout] --> src/lib.rs:67:7 [INFO] [stdout] | [INFO] [stdout] 67 | const FT3X68_RD_DEVICE_X2POSL: u8 = 0x0A; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FT3X68_RD_DEVICE_Y2POSH` is never used [INFO] [stdout] --> src/lib.rs:68:7 [INFO] [stdout] | [INFO] [stdout] 68 | const FT3X68_RD_DEVICE_Y2POSH: u8 = 0x0B; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FT3X68_RD_DEVICE_Y2POSL` is never used [INFO] [stdout] --> src/lib.rs:69:7 [INFO] [stdout] | [INFO] [stdout] 69 | const FT3X68_RD_DEVICE_Y2POSL: u8 = 0x0C; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FT3X68_RD_DEVICE_X1POSL` is never used [INFO] [stdout] --> src/lib.rs:63:7 [INFO] [stdout] | [INFO] [stdout] 63 | const FT3X68_RD_DEVICE_X1POSL: u8 = 0x04; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FT3X68_RD_DEVICE_Y1POSH` is never used [INFO] [stdout] --> src/lib.rs:64:7 [INFO] [stdout] | [INFO] [stdout] 64 | const FT3X68_RD_DEVICE_Y1POSH: u8 = 0x05; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FT3X68_RD_DEVICE_Y1POSL` is never used [INFO] [stdout] --> src/lib.rs:65:7 [INFO] [stdout] | [INFO] [stdout] 65 | const FT3X68_RD_DEVICE_Y1POSL: u8 = 0x06; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FT3X68_RD_DEVICE_X2POSL` is never used [INFO] [stdout] --> src/lib.rs:67:7 [INFO] [stdout] | [INFO] [stdout] 67 | const FT3X68_RD_DEVICE_X2POSL: u8 = 0x0A; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FT3X68_RD_DEVICE_Y2POSH` is never used [INFO] [stdout] --> src/lib.rs:68:7 [INFO] [stdout] | [INFO] [stdout] 68 | const FT3X68_RD_DEVICE_Y2POSH: u8 = 0x0B; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FT3X68_RD_DEVICE_Y2POSL` is never used [INFO] [stdout] --> src/lib.rs:69:7 [INFO] [stdout] | [INFO] [stdout] 69 | const FT3X68_RD_DEVICE_Y2POSL: u8 = 0x0C; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `embedded_hal_bus` [INFO] [stdout] --> examples/touch.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use embedded_hal_bus::util::AtomicCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `embedded_hal_bus` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 11 - use embedded_hal_bus::util::AtomicCell; [INFO] [stdout] 11 + use embedded_hal::util::AtomicCell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `embedded_hal_bus` [INFO] [stdout] --> examples/touch.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use embedded_hal_bus::i2c; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `embedded_hal_bus` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 10 - use embedded_hal_bus::i2c; [INFO] [stdout] 10 + use embedded_hal::i2c; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `esp_alloc` [INFO] [stdout] --> examples/touch.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use esp_alloc as _; [INFO] [stdout] | ^^^^^^^^^^^^^^ no external crate `esp_alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `esp_backtrace` [INFO] [stdout] --> examples/touch.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use esp_backtrace as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no external crate `esp_backtrace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `esp_hal` [INFO] [stdout] --> examples/touch.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use esp_hal::{ [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_bootloader_esp_idf` [INFO] [stdout] --> examples/touch.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use esp_bootloader_esp_idf::esp_app_desc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `esp_bootloader_esp_idf` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `esp_bootloader_esp_idf`, use `cargo add esp_bootloader_esp_idf` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `esp_hal` [INFO] [stdout] --> examples/touch.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use esp_hal::{ [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/touch.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | 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[E0433]: failed to resolve: use of unresolved module or unlinked crate `esp_hal` [INFO] [stdout] --> examples/touch.rs:64:37 [INFO] [stdout] | [INFO] [stdout] 64 | let peripherals = esp_hal::init(esp_hal::Config::default()); [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: no global memory allocator found but one is required; link to std or add `#[global_allocator]` to a static item that implements the GlobalAlloc trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `embedded_hal::i2c::Error` [INFO] [stdout] --> examples/touch.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use embedded_hal::i2c::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DriverError` and `PowerMode` [INFO] [stdout] --> examples/touch.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use ft3x68_rs::{DriverError, Ft3x68Driver, PowerMode, ResetInterface, FT3168_DEVICE_ADDRESS}; [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/touch.rs:64:23 [INFO] [stdout] | [INFO] [stdout] 64 | let peripherals = esp_hal::init(esp_hal::Config::default()); [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] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ft3x68-rs` (example "touch") due to 13 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e26ce1e29f1d4b7c52bc4e86b9a4c90e9bb35bcae5ef02e332254594162f04bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e26ce1e29f1d4b7c52bc4e86b9a4c90e9bb35bcae5ef02e332254594162f04bc", kill_on_drop: false }` [INFO] [stdout] e26ce1e29f1d4b7c52bc4e86b9a4c90e9bb35bcae5ef02e332254594162f04bc