[INFO] fetching crate ham 0.2.0... [INFO] checking ham-0.2.0 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1 [INFO] extracting crate ham 0.2.0 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate ham 0.2.0 on toolchain 5518eaa946291f00471af8b254b2a1715f234882 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ham 0.2.0 [INFO] finished tweaking crates.io crate ham 0.2.0 [INFO] tweaked toml for crates.io crate ham 0.2.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate crates.io crate ham 0.2.0 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" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded void v1.0.2 [INFO] [stderr] Downloaded quote v1.0.7 [INFO] [stderr] Downloaded spin_sleep v0.3.7 [INFO] [stderr] Downloaded unicode-xid v0.2.1 [INFO] [stderr] Downloaded rand_core v0.5.1 [INFO] [stderr] Downloaded rand_hc v0.2.0 [INFO] [stderr] Downloaded rand_chacha v0.2.2 [INFO] [stderr] Downloaded autocfg v1.0.1 [INFO] [stderr] Downloaded ppv-lite86 v0.2.9 [INFO] [stderr] Downloaded wasi v0.9.0+wasi-snapshot-preview1 [INFO] [stderr] Downloaded getrandom v0.1.15 [INFO] [stderr] Downloaded proc-macro2 v1.0.21 [INFO] [stderr] Downloaded num-traits v0.2.12 [INFO] [stderr] Downloaded rand v0.7.3 [INFO] [stderr] Downloaded nix v0.11.1 [INFO] [stderr] Downloaded gimli v0.22.0 [INFO] [stderr] Downloaded winapi-i686-pc-windows-gnu v0.4.0 [INFO] [stderr] Downloaded spidev v0.4.0 [INFO] [stderr] Downloaded addr2line v0.13.0 [INFO] [stderr] Downloaded winapi-x86_64-pc-windows-gnu v0.4.0 [INFO] [stderr] Downloaded winapi v0.3.9 [INFO] [stderr] Downloaded nix v0.17.0 [INFO] [stderr] Downloaded syn v1.0.41 [INFO] [stderr] Downloaded nix v0.14.1 [INFO] [stderr] Downloaded libc v0.2.77 [INFO] [stderr] Downloaded object v0.20.0 [INFO] [stderr] Downloaded backtrace v0.3.50 [INFO] [stderr] Downloaded cc v1.0.59 [INFO] [stderr] Downloaded miniz_oxide v0.4.2 [INFO] [stderr] Downloaded num-derive v0.3.2 [INFO] [stderr] Downloaded error-chain v0.12.4 [INFO] [stderr] Downloaded version_check v0.9.2 [INFO] [stderr] Downloaded adler v0.2.3 [INFO] [stderr] Downloaded gpio-cdev v0.2.0 [INFO] [stderr] Downloaded reed-solomon v0.2.1 [INFO] [stderr] Downloaded bitflags v1.2.1 [INFO] [stderr] Downloaded rustc-demangle v0.1.16 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f8be6c00907502996d491663014481032f7a54c9414101ded35df3a2fbc0bfa1 [INFO] running `Command { std: "docker" "start" "-a" "f8be6c00907502996d491663014481032f7a54c9414101ded35df3a2fbc0bfa1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f8be6c00907502996d491663014481032f7a54c9414101ded35df3a2fbc0bfa1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8be6c00907502996d491663014481032f7a54c9414101ded35df3a2fbc0bfa1", kill_on_drop: false }` [INFO] [stdout] f8be6c00907502996d491663014481032f7a54c9414101ded35df3a2fbc0bfa1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 117b3960ac005aa232263c1523bfd769d7f96e335e62166f2acb34d1ea5fc1fe [INFO] running `Command { std: "docker" "start" "-a" "117b3960ac005aa232263c1523bfd769d7f96e335e62166f2acb34d1ea5fc1fe", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Compiling libc v0.2.77 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling proc-macro2 v1.0.21 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking gimli v0.22.0 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Checking object v0.20.0 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling nix v0.11.1 [INFO] [stderr] Compiling syn v1.0.41 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Checking ppv-lite86 v0.2.9 [INFO] [stderr] Checking spin_sleep v0.3.7 [INFO] [stderr] Checking reed-solomon v0.2.1 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling miniz_oxide v0.4.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking addr2line v0.13.0 [INFO] [stderr] Checking backtrace v0.3.50 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling num-derive v0.3.2 [INFO] [stderr] Checking spidev v0.4.0 [INFO] [stderr] Checking gpio-cdev v0.2.0 [INFO] [stderr] Checking ham v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Filtering` [INFO] [stdout] --> src/rfm69/receiver.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::rfm69::{DCFree, Filtering, Mode, PacketConfig, Rfm69, SyncConfig}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `RwLock` [INFO] [stdout] --> src/rfm69/receiver.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | use std::sync::{Arc, RwLock}; [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Index` [INFO] [stdout] --> src/rfm69/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::ops::Index; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Filtering` [INFO] [stdout] --> src/rfm69/receiver.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::rfm69::{DCFree, Filtering, Mode, PacketConfig, Rfm69, SyncConfig}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `RwLock` [INFO] [stdout] --> src/rfm69/receiver.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | use std::sync::{Arc, RwLock}; [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Index` [INFO] [stdout] --> src/rfm69/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::ops::Index; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SetBroadcast` is never constructed [INFO] [stdout] --> src/lib.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 139 | enum ConfigMessage { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 142 | SetBroadcast(A), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_true_irq` is never used [INFO] [stdout] --> src/rfm69/mod.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 45 | impl IrqWait<'_> { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 117 | fn is_true_irq(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_fifo_overrun`, `get_payload_ready`, and `get_sync_address` are never used [INFO] [stdout] --> src/rfm69/mod.rs:1027:8 [INFO] [stdout] | [INFO] [stdout] 127 | impl Rfm69 { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 1027 | fn get_fifo_overrun(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1085 | fn get_payload_ready(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1173 | fn get_sync_address(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SetBroadcast` is never constructed [INFO] [stdout] --> src/lib.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 139 | enum ConfigMessage { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 142 | SetBroadcast(A), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_true_irq` is never used [INFO] [stdout] --> src/rfm69/mod.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 45 | impl IrqWait<'_> { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 117 | fn is_true_irq(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_fifo_overrun`, `get_payload_ready`, and `get_sync_address` are never used [INFO] [stdout] --> src/rfm69/mod.rs:1027:8 [INFO] [stdout] | [INFO] [stdout] 127 | impl Rfm69 { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 1027 | fn get_fifo_overrun(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1085 | fn get_payload_ready(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1173 | fn get_sync_address(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Ordering` [INFO] [stdout] --> tests/rfm69.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bitrate` [INFO] [stdout] --> tests/rfm69.rs:253:9 [INFO] [stdout] | [INFO] [stdout] 253 | let bitrate = rfm1.bitrate(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bitrate` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/rfm69.rs:318:16 [INFO] [stdout] | [INFO] [stdout] 318 | let (rfm1, mut rfm2) = get_pair(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> tests/rfm69.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | rfm.set_dio_mapping(dm); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 76 | let _ = rfm.set_dio_mapping(dm); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.42s [INFO] running `Command { std: "docker" "inspect" "117b3960ac005aa232263c1523bfd769d7f96e335e62166f2acb34d1ea5fc1fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "117b3960ac005aa232263c1523bfd769d7f96e335e62166f2acb34d1ea5fc1fe", kill_on_drop: false }` [INFO] [stdout] 117b3960ac005aa232263c1523bfd769d7f96e335e62166f2acb34d1ea5fc1fe [INFO] checking ham-0.2.0 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1 [INFO] extracting crate ham 0.2.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate ham 0.2.0 on toolchain 7622c0f807a4e13c4db886a1681bf343795692df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ham 0.2.0 [INFO] finished tweaking crates.io crate ham 0.2.0 [INFO] tweaked toml for crates.io crate ham 0.2.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate ham 0.2.0 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" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 19e758b1f67f1aecc98a45be054292a91d86aed2ab173d02d59e5e701a07142b [INFO] running `Command { std: "docker" "start" "-a" "19e758b1f67f1aecc98a45be054292a91d86aed2ab173d02d59e5e701a07142b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "19e758b1f67f1aecc98a45be054292a91d86aed2ab173d02d59e5e701a07142b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19e758b1f67f1aecc98a45be054292a91d86aed2ab173d02d59e5e701a07142b", kill_on_drop: false }` [INFO] [stdout] 19e758b1f67f1aecc98a45be054292a91d86aed2ab173d02d59e5e701a07142b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Dnon_local_definitions" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 65ebea8bbfc491583c90d83450dc6e8c3ec6c71e3fd198e09b125aebaa299e01 [INFO] running `Command { std: "docker" "start" "-a" "65ebea8bbfc491583c90d83450dc6e8c3ec6c71e3fd198e09b125aebaa299e01", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Compiling libc v0.2.77 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling proc-macro2 v1.0.21 [INFO] [stderr] Checking gimli v0.22.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Compiling nix v0.11.1 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling syn v1.0.41 [INFO] [stderr] Checking object v0.20.0 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Checking ppv-lite86 v0.2.9 [INFO] [stderr] Checking reed-solomon v0.2.1 [INFO] [stderr] Checking spin_sleep v0.3.7 [INFO] [stderr] Compiling miniz_oxide v0.4.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking addr2line v0.13.0 [INFO] [stderr] Checking backtrace v0.3.50 [INFO] [stderr] Compiling num-derive v0.3.2 [INFO] [stderr] Checking gpio-cdev v0.2.0 [INFO] [stderr] Checking spidev v0.4.0 [INFO] [stderr] Checking ham v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Filtering` [INFO] [stdout] --> src/rfm69/receiver.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::rfm69::{DCFree, Filtering, Mode, PacketConfig, Rfm69, SyncConfig}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `RwLock` [INFO] [stdout] --> src/rfm69/receiver.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | use std::sync::{Arc, RwLock}; [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Index` [INFO] [stdout] --> src/rfm69/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::ops::Index; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Filtering` [INFO] [stdout] --> src/rfm69/receiver.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::rfm69::{DCFree, Filtering, Mode, PacketConfig, Rfm69, SyncConfig}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `RwLock` [INFO] [stdout] --> src/rfm69/receiver.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | use std::sync::{Arc, RwLock}; [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Index` [INFO] [stdout] --> src/rfm69/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::ops::Index; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SetBroadcast` is never constructed [INFO] [stdout] --> src/lib.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 139 | enum ConfigMessage { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 142 | SetBroadcast(A), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_true_irq` is never used [INFO] [stdout] --> src/rfm69/mod.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 45 | impl IrqWait<'_> { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 117 | fn is_true_irq(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_fifo_overrun`, `get_payload_ready`, and `get_sync_address` are never used [INFO] [stdout] --> src/rfm69/mod.rs:1027:8 [INFO] [stdout] | [INFO] [stdout] 127 | impl Rfm69 { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 1027 | fn get_fifo_overrun(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1085 | fn get_payload_ready(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1173 | fn get_sync_address(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/rfm69/mod.rs:1561:10 [INFO] [stdout] | [INFO] [stdout] 1561 | #[derive(FromPrimitive, Clone, Copy, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_Register` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/rfm69/mod.rs:2010:10 [INFO] [stdout] | [INFO] [stdout] 2010 | #[derive(FromPrimitive, PartialEq, Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_Mode` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/rfm69/mod.rs:2039:10 [INFO] [stdout] | [INFO] [stdout] 2039 | #[derive(FromPrimitive, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_DCFree` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/rfm69/mod.rs:2047:10 [INFO] [stdout] | [INFO] [stdout] 2047 | #[derive(FromPrimitive, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_Filtering` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SetBroadcast` is never constructed [INFO] [stdout] --> src/lib.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 139 | enum ConfigMessage { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 142 | SetBroadcast(A), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_true_irq` is never used [INFO] [stdout] --> src/rfm69/mod.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 45 | impl IrqWait<'_> { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 117 | fn is_true_irq(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_fifo_overrun`, `get_payload_ready`, and `get_sync_address` are never used [INFO] [stdout] --> src/rfm69/mod.rs:1027:8 [INFO] [stdout] | [INFO] [stdout] 127 | impl Rfm69 { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 1027 | fn get_fifo_overrun(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1085 | fn get_payload_ready(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1173 | fn get_sync_address(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/rfm69/mod.rs:1561:10 [INFO] [stdout] | [INFO] [stdout] 1561 | #[derive(FromPrimitive, Clone, Copy, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_Register` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/rfm69/mod.rs:2010:10 [INFO] [stdout] | [INFO] [stdout] 2010 | #[derive(FromPrimitive, PartialEq, Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_Mode` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/rfm69/mod.rs:2039:10 [INFO] [stdout] | [INFO] [stdout] 2039 | #[derive(FromPrimitive, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_DCFree` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/rfm69/mod.rs:2047:10 [INFO] [stdout] | [INFO] [stdout] 2047 | #[derive(FromPrimitive, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_Filtering` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ham` (lib) due to 5 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `ham` (lib test) due to 5 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "65ebea8bbfc491583c90d83450dc6e8c3ec6c71e3fd198e09b125aebaa299e01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65ebea8bbfc491583c90d83450dc6e8c3ec6c71e3fd198e09b125aebaa299e01", kill_on_drop: false }` [INFO] [stdout] 65ebea8bbfc491583c90d83450dc6e8c3ec6c71e3fd198e09b125aebaa299e01