[INFO] cloning repository https://github.com/krushn/rust-embedded [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/krushn/rust-embedded" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrushn%2Frust-embedded", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrushn%2Frust-embedded'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c253198c40887f690e865554db82135e96a1a5c7 [INFO] testing krushn/rust-embedded against 1.90.0 for beta-1.91-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrushn%2Frust-embedded" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/krushn/rust-embedded [INFO] finished tweaking git repo https://github.com/krushn/rust-embedded [INFO] tweaked toml for git repo https://github.com/krushn/rust-embedded written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/krushn/rust-embedded on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/krushn/rust-embedded 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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: build [INFO] [stderr] warning: unused manifest key: target.thumbv6m-none-eabi.runner [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hash32 v0.3.1 [INFO] [stderr] Downloaded vcell v0.1.3 [INFO] [stderr] Downloaded critical-section v1.2.0 [INFO] [stderr] Downloaded embedded-hal-nb v1.0.0 [INFO] [stderr] Downloaded frunk_derives v0.4.3 [INFO] [stderr] Downloaded cortex-m-rt v0.7.3 [INFO] [stderr] Downloaded panic-halt v0.2.0 [INFO] [stderr] Downloaded fugit v0.3.7 [INFO] [stderr] Downloaded bitfield v0.14.0 [INFO] [stderr] Downloaded embedded-hal v1.0.0 [INFO] [stderr] Downloaded rp2040-boot2 v0.3.0 [INFO] [stderr] Downloaded crc-any v2.5.0 [INFO] [stderr] Downloaded rp-pico v0.9.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.89 [INFO] [stderr] Downloaded portable-atomic v1.9.0 [INFO] [stderr] Downloaded rp2040-hal v0.10.2 [INFO] [stderr] Downloaded heapless v0.8.0 [INFO] [stderr] Downloaded frunk_core v0.4.3 [INFO] [stderr] Downloaded pio v0.2.1 [INFO] [stderr] Downloaded nb v1.1.0 [INFO] [stderr] Downloaded rp2040-pac v0.6.0 [INFO] [stderr] Downloaded embedded-hal v0.2.7 [INFO] [stderr] Downloaded embedded-hal-async v1.0.0 [INFO] [stderr] Downloaded frunk v0.4.3 [INFO] [stderr] Downloaded cortex-m v0.7.7 [INFO] [stderr] Downloaded gcd v2.3.0 [INFO] [stderr] Downloaded bitfield v0.13.2 [INFO] [stderr] Downloaded nb v0.1.3 [INFO] [stderr] Downloaded volatile-register v0.2.2 [INFO] [stderr] Downloaded debug-helper v0.3.13 [INFO] [stderr] Downloaded embedded-dma v0.2.0 [INFO] [stderr] Downloaded syn v2.0.83 [INFO] [stderr] Downloaded embedded-io v0.6.1 [INFO] [stderr] Downloaded frunk_proc_macro_helpers v0.1.3 [INFO] [stderr] Downloaded rp2040-hal-macros v0.1.0 [INFO] [stderr] Downloaded bare-metal v0.2.5 [INFO] [stderr] Downloaded cortex-m-rt-macros v0.7.0 [INFO] [stderr] Downloaded usb-device v0.3.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 51aae89e26d44c2d53ca9ad32d6c32359d2b36b66f3e81fcfba93f6abf1076c4 [INFO] running `Command { std: "docker" "start" "-a" "51aae89e26d44c2d53ca9ad32d6c32359d2b36b66f3e81fcfba93f6abf1076c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "51aae89e26d44c2d53ca9ad32d6c32359d2b36b66f3e81fcfba93f6abf1076c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51aae89e26d44c2d53ca9ad32d6c32359d2b36b66f3e81fcfba93f6abf1076c4", kill_on_drop: false }` [INFO] [stdout] 51aae89e26d44c2d53ca9ad32d6c32359d2b36b66f3e81fcfba93f6abf1076c4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 492575c4e11f875882b828b05ae702133cf4a33bf9c1401338af79e67263feb2 [INFO] running `Command { std: "docker" "start" "-a" "492575c4e11f875882b828b05ae702133cf4a33bf9c1401338af79e67263feb2", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: build [INFO] [stderr] warning: unused manifest key: target.thumbv6m-none-eabi.runner [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling nb v1.1.0 [INFO] [stderr] Compiling cortex-m-rt v0.7.3 [INFO] [stderr] Compiling cortex-m v0.7.7 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling heapless v0.8.0 [INFO] [stderr] Compiling frunk_core v0.4.3 [INFO] [stderr] Compiling vcell v0.1.3 [INFO] [stderr] Compiling debug-helper v0.3.13 [INFO] [stderr] Compiling portable-atomic v1.9.0 [INFO] [stderr] Compiling crc-any v2.5.0 [INFO] [stderr] Compiling volatile-register v0.2.2 [INFO] [stderr] Compiling rp2040-pac v0.6.0 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling bitfield v0.13.2 [INFO] [stderr] Compiling embedded-hal-async v1.0.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling embedded-hal v0.2.7 [INFO] [stderr] Compiling embedded-hal v1.0.0 [INFO] [stderr] Compiling rp2040-boot2 v0.3.0 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling hash32 v0.3.1 [INFO] [stderr] Compiling critical-section v1.2.0 [INFO] [stderr] Compiling gcd v2.3.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling embedded-hal-nb v1.0.0 [INFO] [stderr] Compiling embedded-dma v0.2.0 [INFO] [stderr] Compiling fugit v0.3.7 [INFO] [stderr] Compiling rp-pico v0.9.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling embedded-io v0.6.1 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling bitfield v0.14.0 [INFO] [stderr] Compiling panic-halt v0.2.0 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling usb-device v0.3.2 [INFO] [stderr] Compiling syn v2.0.83 [INFO] [stderr] Compiling frunk_proc_macro_helpers v0.1.3 [INFO] [stderr] Compiling frunk_derives v0.4.3 [INFO] [stderr] Compiling frunk v0.4.3 [INFO] [stderr] Compiling cortex-m-rt-macros v0.7.0 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling rp2040-hal-macros v0.1.0 [INFO] [stderr] Compiling num_enum v0.5.11 [INFO] [stderr] Compiling pio v0.2.1 [INFO] [stderr] Compiling rp2040-hal v0.10.2 [INFO] [stderr] Compiling rust-embedded v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `InputPin` [INFO] [stdout] --> src/main.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | use embedded_hal::digital::{InputPin, OutputPin}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rp_pico::hal::adc::AdcPin` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use rp_pico::hal::adc::AdcPin; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [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 `unwrape` found for struct `rp_pico::rp2040_hal::gpio::Pin` in the current scope [INFO] [stdout] --> src/main.rs:29:33 [INFO] [stdout] | [INFO] [stdout] 29 | let adc_pin = adc_pin_0.unwrape(); // Unwrap the Result to get the AdcPin [INFO] [stdout] | ^^^^^^^ method not found in `rp_pico::rp2040_hal::gpio::Pin, PullNone>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `Adc` in the current scope [INFO] [stdout] --> src/main.rs:32:36 [INFO] [stdout] | [INFO] [stdout] 32 | let light_level: u16 = adc.read(&mut adc_pin).unwrap(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/embedded-hal-0.2.7/src/adc.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 97 | fn read(&mut self, pin: &mut Pin) -> nb::Result; [INFO] [stdout] | ---- the method is available for `Adc` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `is_ready` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rp2040-hal-0.10.2/src/adc.rs:420:5 [INFO] [stdout] | [INFO] [stdout] 420 | pub fn is_ready(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `OneShot` which provides `read` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 4 + use embedded_hal::adc::OneShot; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-embedded` (bin "rust-embedded") due to 3 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "492575c4e11f875882b828b05ae702133cf4a33bf9c1401338af79e67263feb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "492575c4e11f875882b828b05ae702133cf4a33bf9c1401338af79e67263feb2", kill_on_drop: false }` [INFO] [stdout] 492575c4e11f875882b828b05ae702133cf4a33bf9c1401338af79e67263feb2