[INFO] fetching crate sx127x_lora 0.3.1... [INFO] testing sx127x_lora-0.3.1 against 1.60.0 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 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bit_field v0.9.0 [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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 28a5233e81522a63c99239e07b41af2905daaaeedcb5d6e7739fbf0ef7ed0bad [INFO] running `Command { std: "docker" "start" "-a" "28a5233e81522a63c99239e07b41af2905daaaeedcb5d6e7739fbf0ef7ed0bad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "28a5233e81522a63c99239e07b41af2905daaaeedcb5d6e7739fbf0ef7ed0bad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28a5233e81522a63c99239e07b41af2905daaaeedcb5d6e7739fbf0ef7ed0bad", kill_on_drop: false }` [INFO] [stdout] 28a5233e81522a63c99239e07b41af2905daaaeedcb5d6e7739fbf0ef7ed0bad [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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bc719b46535df3e1dd173f2c855f23192a2b27bb9b008f04967efce546cb0671 [INFO] running `Command { std: "docker" "start" "-a" "bc719b46535df3e1dd173f2c855f23192a2b27bb9b008f04967efce546cb0671", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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.35s [INFO] running `Command { std: "docker" "inspect" "bc719b46535df3e1dd173f2c855f23192a2b27bb9b008f04967efce546cb0671", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc719b46535df3e1dd173f2c855f23192a2b27bb9b008f04967efce546cb0671", kill_on_drop: false }` [INFO] [stdout] bc719b46535df3e1dd173f2c855f23192a2b27bb9b008f04967efce546cb0671 [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" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 47d062eb5c84ff7542568fe5921281c5284055c0311aaede0ce9b1b26486d36c [INFO] running `Command { std: "docker" "start" "-a" "47d062eb5c84ff7542568fe5921281c5284055c0311aaede0ce9b1b26486d36c", kill_on_drop: false }` [INFO] [stderr] Compiling sx127x_lora v0.3.1 (/opt/rustwide/workdir) [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[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: 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: 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[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[E0308]: mismatched types [INFO] [stdout] --> examples/stm32f4_receive.rs:68:17 [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] [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: aborting due to 18 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable 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] 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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/pi_simple_send.rs:47:13 [INFO] [stdout] | [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[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 [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "47d062eb5c84ff7542568fe5921281c5284055c0311aaede0ce9b1b26486d36c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47d062eb5c84ff7542568fe5921281c5284055c0311aaede0ce9b1b26486d36c", kill_on_drop: false }` [INFO] [stdout] 47d062eb5c84ff7542568fe5921281c5284055c0311aaede0ce9b1b26486d36c