[INFO] fetching crate sx127x_lora 0.3.1... [INFO] testing sx127x_lora-0.3.1 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate sx127x_lora 0.3.1 into /workspace/builds/worker-20/source [INFO] validating manifest of crates.io crate sx127x_lora 0.3.1 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sx127x_lora 0.3.1 [INFO] finished tweaking crates.io crate sx127x_lora 0.3.1 [INFO] tweaked toml for crates.io crate sx127x_lora 0.3.1 written to /workspace/builds/worker-20/source/Cargo.toml [INFO] crate crates.io crate sx127x_lora 0.3.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 286b4b62a18994128b28e68394c8d3f9617edc1566014328c16fe9e185d088da [INFO] running `Command { std: "docker" "start" "-a" "286b4b62a18994128b28e68394c8d3f9617edc1566014328c16fe9e185d088da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "286b4b62a18994128b28e68394c8d3f9617edc1566014328c16fe9e185d088da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "286b4b62a18994128b28e68394c8d3f9617edc1566014328c16fe9e185d088da", kill_on_drop: false }` [INFO] [stdout] 286b4b62a18994128b28e68394c8d3f9617edc1566014328c16fe9e185d088da [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bbe86d7042b0070033a13147cd25ebaefc659291371499f224c3b7048faf4f4f [INFO] running `Command { std: "docker" "start" "-a" "bbe86d7042b0070033a13147cd25ebaefc659291371499f224c3b7048faf4f4f", kill_on_drop: false }` [INFO] [stderr] Compiling nb v0.1.2 [INFO] [stderr] Compiling bit_field v0.9.0 [INFO] [stderr] Compiling embedded-hal v0.2.3 [INFO] [stderr] Compiling sx127x_lora v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.16s [INFO] running `Command { std: "docker" "inspect" "bbe86d7042b0070033a13147cd25ebaefc659291371499f224c3b7048faf4f4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbe86d7042b0070033a13147cd25ebaefc659291371499f224c3b7048faf4f4f", kill_on_drop: false }` [INFO] [stdout] bbe86d7042b0070033a13147cd25ebaefc659291371499f224c3b7048faf4f4f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 26d0121ceb5e7baf78c2b2d069343e9f2bf7340743afbbc9d7940e1d5b92636f [INFO] running `Command { std: "docker" "start" "-a" "26d0121ceb5e7baf78c2b2d069343e9f2bf7340743afbbc9d7940e1d5b92636f", kill_on_drop: false }` [INFO] [stderr] Compiling sx127x_lora v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `linux_embedded_hal` [INFO] [stdout] --> examples/pi_simple_send.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate linux_embedded_hal as hal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Spidev` [INFO] [stdout] --> examples/pi_simple_send.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | let mut spi = Spidev::open("/dev/spidev0.0").unwrap(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Spidev` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `stm32f429_hal` [INFO] [stdout] --> examples/stm32f4_receive.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate stm32f429_hal as hal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `cortex_m` [INFO] [stdout] --> examples/stm32f4_receive.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate cortex_m; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `panic_semihosting` [INFO] [stdout] --> examples/stm32f4_receive.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate panic_semihosting; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cortex_m_semihosting` [INFO] [stdout] --> examples/stm32f4_receive.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use cortex_m_semihosting::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `cortex_m_semihosting` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SpidevOptions` [INFO] [stdout] --> examples/pi_simple_send.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | let options = SpidevOptions::new() [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `SpidevOptions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `spidev` [INFO] [stdout] --> examples/pi_simple_send.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | .mode(spidev::SPI_MODE_0) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `spidev` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> examples/pi_simple_send.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 26 | cs.set_direction(Direction::Out).unwrap(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> examples/pi_simple_send.rs:30:25 [INFO] [stdout] | [INFO] [stdout] 30 | reset.set_direction(Direction::Out).unwrap(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pin` [INFO] [stdout] --> examples/pi_simple_send.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | let cs = Pin::new(LORA_CS_PIN); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 | use core::pin::Pin; [INFO] [stdout] | [INFO] [stdout] 5 | use std::pin::Pin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pin` [INFO] [stdout] --> examples/pi_simple_send.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | let reset = Pin::new(LORA_RESET_PIN); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 | use core::pin::Pin; [INFO] [stdout] | [INFO] [stdout] 5 | use std::pin::Pin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Delay` in this scope [INFO] [stdout] --> examples/pi_simple_send.rs:33:37 [INFO] [stdout] | [INFO] [stdout] 33 | spi, cs, reset, FREQUENCY, Delay) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> examples/pi_simple_send.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(extern_crate_item_prelude)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the attribute [INFO] [stdout] | [INFO] [stdout] = help: the feature `extern_crate_item_prelude` has been stable since 1.31.0 and no longer requires an attribute to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `extern_crate_item_prelude` has been stable since 1.31.0 and no longer requires an attribute to enable [INFO] [stdout] --> examples/pi_simple_send.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(extern_crate_item_prelude)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `entry` in this scope [INFO] [stdout] --> examples/stm32f4_receive.rs:20:3 [INFO] [stdout] | [INFO] [stdout] 20 | #[entry] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `hprintln` in this scope [INFO] [stdout] --> examples/stm32f4_receive.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | hprintln!("New Packet with size {} and RSSI: {}", size,lora.get_packet_rssi()).unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `hprint` in this scope [INFO] [stdout] --> examples/stm32f4_receive.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | hprint!("with Payload: "); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `hprint` in this scope [INFO] [stdout] --> examples/stm32f4_receive.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | hprint!("{}",buffer[i] as char).unwrap(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `hprintln` in this scope [INFO] [stdout] --> examples/stm32f4_receive.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | hprintln!(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `hprintln` in this scope [INFO] [stdout] --> examples/stm32f4_receive.rs:68:24 [INFO] [stdout] | [INFO] [stdout] 68 | Err(()) => hprintln!("Timeout").unwrap(), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Spi` [INFO] [stdout] --> examples/stm32f4_receive.rs:43:15 [INFO] [stdout] | [INFO] [stdout] 43 | let spi = Spi::spi1( [INFO] [stdout] | ^^^ use of undeclared type `Spi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Delay` [INFO] [stdout] --> examples/stm32f4_receive.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | Delay::new(cp.SYST, clocks)).unwrap(); [INFO] [stdout] | ^^^^^ use of undeclared type `Delay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MegaHertz` in this scope [INFO] [stdout] --> examples/stm32f4_receive.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | .sysclk(MegaHertz(64)) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MegaHertz` in this scope [INFO] [stdout] --> examples/stm32f4_receive.rs:30:16 [INFO] [stdout] | [INFO] [stdout] 30 | .pclk1(MegaHertz(32)) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MegaHertz` in this scope [INFO] [stdout] --> examples/stm32f4_receive.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | MegaHertz(8), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/pi_simple_send.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 45 | match transmit { [INFO] [stdout] | -------- this expression has type `Result<(), sx127x_lora::Error<_, _, _>>` [INFO] [stdout] 46 | Ok(packet_size) => println!("Sent packet with size: {}", packet_size), [INFO] [stdout] 47 | Err(()) => println!("Error"), [INFO] [stdout] | ^^ expected enum `sx127x_lora::Error`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `sx127x_lora::Error<_, _, _>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: language item required, but not found: `eh_personality` [INFO] [stdout] | [INFO] [stdout] = note: this can occur when a binary crate with `#![no_std]` is compiled for a target where `eh_personality` is defined in the standard library [INFO] [stdout] = help: you may be able to compile for a target that doesn't need `eh_personality`, specify a target with `--target` or in `.cargo/config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `#[panic_handler]` function required, but not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `()` doesn't implement `std::fmt::Display` [INFO] [stdout] --> examples/pi_simple_send.rs:46:66 [INFO] [stdout] | [INFO] [stdout] 46 | Ok(packet_size) => println!("Sent packet with size: {}", packet_size), [INFO] [stdout] | ^^^^^^^^^^^ `()` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `()` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0425, E0433, E0463, E0554. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/stm32f4_receive.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 58 | match poll { [INFO] [stdout] | ---- this expression has type `Result>` [INFO] [stdout] ... [INFO] [stdout] 68 | Err(()) => hprintln!("Timeout").unwrap(), [INFO] [stdout] | ^^ expected enum `sx127x_lora::Error`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `sx127x_lora::Error<_, _, _>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sx127x_lora` due to 13 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 18 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0432, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sx127x_lora` due to 19 previous errors [INFO] running `Command { std: "docker" "inspect" "26d0121ceb5e7baf78c2b2d069343e9f2bf7340743afbbc9d7940e1d5b92636f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26d0121ceb5e7baf78c2b2d069343e9f2bf7340743afbbc9d7940e1d5b92636f", kill_on_drop: false }` [INFO] [stdout] 26d0121ceb5e7baf78c2b2d069343e9f2bf7340743afbbc9d7940e1d5b92636f