[INFO] fetching crate tea5767 0.1.0... [INFO] checking tea5767-0.1.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate tea5767 0.1.0 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate tea5767 0.1.0 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tea5767 0.1.0 [INFO] finished tweaking crates.io crate tea5767 0.1.0 [INFO] tweaked toml for crates.io crate tea5767 0.1.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate crates.io crate tea5767 0.1.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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded micromath v1.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bef4c64cb2f1ddf4a90f029e60f2d8f8b27f446e8596bdf58c8208d494bccd9c [INFO] running `Command { std: "docker" "start" "-a" "bef4c64cb2f1ddf4a90f029e60f2d8f8b27f446e8596bdf58c8208d494bccd9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bef4c64cb2f1ddf4a90f029e60f2d8f8b27f446e8596bdf58c8208d494bccd9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bef4c64cb2f1ddf4a90f029e60f2d8f8b27f446e8596bdf58c8208d494bccd9c", kill_on_drop: false }` [INFO] [stdout] bef4c64cb2f1ddf4a90f029e60f2d8f8b27f446e8596bdf58c8208d494bccd9c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 17a7e9ad06e6322ce5067f11adf685b0ea107e5a20e2149eb419f4f41f70aa4f [INFO] running `Command { std: "docker" "start" "-a" "17a7e9ad06e6322ce5067f11adf685b0ea107e5a20e2149eb419f4f41f70aa4f", kill_on_drop: false }` [INFO] [stderr] Checking nb v1.0.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking micromath v1.1.0 [INFO] [stderr] Checking bit_field v0.10.1 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking embedded-hal v0.2.4 [INFO] [stderr] Checking tea5767 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `WM_DB1_PLL` is never used [INFO] [stdout] --> src/regs.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | pub const WM_DB1_PLL: Range = 0..6; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WM_DB2_PLL` is never used [INFO] [stdout] --> src/regs.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | pub const WM_DB2_PLL: Range = 0..8; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WM_DB4_BL` is never used [INFO] [stdout] --> src/regs.rs:42:11 [INFO] [stdout] | [INFO] [stdout] 42 | pub const WM_DB4_BL: usize = 5; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WM_DB4_SMUTE` is never used [INFO] [stdout] --> src/regs.rs:44:11 [INFO] [stdout] | [INFO] [stdout] 44 | pub const WM_DB4_SMUTE: usize = 3; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RM_DB1_PLL` is never used [INFO] [stdout] --> src/regs.rs:56:11 [INFO] [stdout] | [INFO] [stdout] 56 | pub const RM_DB1_PLL: Range = 0..6; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RM_DB2_PLL` is never used [INFO] [stdout] --> src/regs.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | pub const RM_DB2_PLL: Range = 0..8; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WM_DB3_IF` is never used [INFO] [stdout] --> src/regs.rs:63:11 [INFO] [stdout] | [INFO] [stdout] 63 | pub const WM_DB3_IF: Range = 0..6; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RM_DB4_LEV` is never used [INFO] [stdout] --> src/regs.rs:66:11 [INFO] [stdout] | [INFO] [stdout] 66 | pub const RM_DB4_LEV: Range = 4..8; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RM_DB4_CI` is never used [INFO] [stdout] --> src/regs.rs:67:11 [INFO] [stdout] | [INFO] [stdout] 67 | pub const RM_DB4_CI: Range = 1..4; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `address` is never read [INFO] [stdout] --> src/defs.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct TEA5767 { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 4 | pub(crate) i2c: I2C, [INFO] [stdout] 5 | pub(crate) address: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TEA5767` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `micromath::F32Ext` [INFO] [stdout] --> src/device.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use micromath::F32Ext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WM_DB1_PLL` is never used [INFO] [stdout] --> src/regs.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | pub const WM_DB1_PLL: Range = 0..6; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WM_DB2_PLL` is never used [INFO] [stdout] --> src/regs.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | pub const WM_DB2_PLL: Range = 0..8; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WM_DB4_BL` is never used [INFO] [stdout] --> src/regs.rs:42:11 [INFO] [stdout] | [INFO] [stdout] 42 | pub const WM_DB4_BL: usize = 5; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WM_DB4_SMUTE` is never used [INFO] [stdout] --> src/regs.rs:44:11 [INFO] [stdout] | [INFO] [stdout] 44 | pub const WM_DB4_SMUTE: usize = 3; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RM_DB1_PLL` is never used [INFO] [stdout] --> src/regs.rs:56:11 [INFO] [stdout] | [INFO] [stdout] 56 | pub const RM_DB1_PLL: Range = 0..6; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RM_DB2_PLL` is never used [INFO] [stdout] --> src/regs.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | pub const RM_DB2_PLL: Range = 0..8; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WM_DB3_IF` is never used [INFO] [stdout] --> src/regs.rs:63:11 [INFO] [stdout] | [INFO] [stdout] 63 | pub const WM_DB3_IF: Range = 0..6; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RM_DB4_LEV` is never used [INFO] [stdout] --> src/regs.rs:66:11 [INFO] [stdout] | [INFO] [stdout] 66 | pub const RM_DB4_LEV: Range = 4..8; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RM_DB4_CI` is never used [INFO] [stdout] --> src/regs.rs:67:11 [INFO] [stdout] | [INFO] [stdout] 67 | pub const RM_DB4_CI: Range = 1..4; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `address` is never read [INFO] [stdout] --> src/defs.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct TEA5767 { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 4 | pub(crate) i2c: I2C, [INFO] [stdout] 5 | pub(crate) address: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TEA5767` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `stm32f1xx_hal` [INFO] [stdout] --> examples/stm32f103c8t6.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use stm32f1xx_hal::{pac, prelude::*}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `stm32f1xx_hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `panic_halt` [INFO] [stdout] --> examples/stm32f103c8t6.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use panic_halt as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no external crate `panic_halt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `nb` [INFO] [stdout] --> examples/stm32f103c8t6.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use nb::block; [INFO] [stdout] | ^^ use of undeclared crate or module `nb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cortex_m_rt` [INFO] [stdout] --> examples/stm32f103c8t6.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use cortex_m_rt::entry; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `cortex_m_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `stm32f1xx_hal` [INFO] [stdout] --> examples/stm32f103c8t6.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use stm32f1xx_hal::{ [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `stm32f1xx_hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `stm32f1xx_hal` [INFO] [stdout] --> examples/stm32f103c8t6.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use stm32f1xx_hal::{pac, prelude::*}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `stm32f1xx_hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cortex_m` [INFO] [stdout] --> examples/stm32f103c8t6.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | let cp = cortex_m::Peripherals::take().unwrap(); [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `cortex_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tea5767::defs` [INFO] [stdout] --> examples/stm32f103c8t6.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use tea5767::defs; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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[E0599]: no method named `hz` found for type `{integer}` in the current scope [INFO] [stdout] --> examples/stm32f103c8t6.rs:42:32 [INFO] [stdout] | [INFO] [stdout] 42 | frequency: 400_000.hz(), [INFO] [stdout] | ^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tea5767` (example "stm32f103c8t6") due to 11 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "17a7e9ad06e6322ce5067f11adf685b0ea107e5a20e2149eb419f4f41f70aa4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17a7e9ad06e6322ce5067f11adf685b0ea107e5a20e2149eb419f4f41f70aa4f", kill_on_drop: false }` [INFO] [stdout] 17a7e9ad06e6322ce5067f11adf685b0ea107e5a20e2149eb419f4f41f70aa4f