[INFO] cloning repository https://github.com/quartiq/thermostat [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/quartiq/thermostat" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquartiq%2Fthermostat", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquartiq%2Fthermostat'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6f81a63d1275b637262727d8ce6f7bb0f1485a77 [INFO] checking quartiq/thermostat/6f81a63d1275b637262727d8ce6f7bb0f1485a77 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquartiq%2Fthermostat" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-3-tc1/source/.cargo/config [INFO] started tweaking git repo https://github.com/quartiq/thermostat [INFO] finished tweaking git repo https://github.com/quartiq/thermostat [INFO] tweaked toml for git repo https://github.com/quartiq/thermostat written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/quartiq/thermostat on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/quartiq/thermostat 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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/stm32-rs/stm32-eth.git` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded usb-device v0.2.7 [INFO] [stderr] Downloaded volatile-register v0.2.0 [INFO] [stderr] Downloaded usbd-serial v0.1.1 [INFO] [stderr] Downloaded embedded-hal v0.2.6 [INFO] [stderr] Downloaded cortex-m-log v0.6.2 [INFO] [stderr] Downloaded synopsys-usb-otg v0.2.3 [INFO] [stderr] Downloaded serde-json-core v0.1.0 [INFO] [stderr] Downloaded cortex-m-semihosting v0.3.7 [INFO] [stderr] Downloaded cortex-m-rt v0.7.1 [INFO] [stderr] Downloaded heapless v0.5.6 [INFO] [stderr] Downloaded stm32f4xx-hal v0.10.1 [INFO] [stderr] Downloaded syn v1.0.54 [INFO] [stderr] Downloaded uom v0.30.0 [INFO] [stderr] Downloaded cortex-m v0.7.4 [INFO] [stderr] Downloaded smoltcp v0.7.5 [INFO] [stderr] Downloaded cortex-m-rt v0.6.13 [INFO] [stderr] Downloaded generic-array v0.13.2 [INFO] [stderr] Downloaded postcard v0.5.1 [INFO] [stderr] Downloaded embedded-dma v0.1.2 [INFO] [stderr] Downloaded as-slice v0.1.4 [INFO] [stderr] Downloaded hash32 v0.1.1 [INFO] [stderr] Downloaded aligned v0.3.4 [INFO] [stderr] Downloaded panic-abort v0.3.2 [INFO] [stderr] Downloaded panic-semihosting v0.5.6 [INFO] [stderr] Downloaded sfkv v0.1.0 [INFO] [stderr] Downloaded managed v0.7.2 [INFO] [stderr] Downloaded rtcc v0.2.1 [INFO] [stderr] Downloaded cortex-m-rt-macros v0.1.8 [INFO] [stderr] Downloaded r0 v0.2.2 [INFO] [stderr] Downloaded vcell v0.1.2 [INFO] [stderr] Downloaded eeprom24x v0.3.0 [INFO] [stderr] Downloaded postcard-cobs v0.1.5-pre [INFO] [stderr] Downloaded stm32f4 v0.13.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3a64100f26b8abba70f0997a8e080d486ab9f4507567e9643ad76a78fdd3234a [INFO] running `Command { std: "docker" "start" "-a" "3a64100f26b8abba70f0997a8e080d486ab9f4507567e9643ad76a78fdd3234a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3a64100f26b8abba70f0997a8e080d486ab9f4507567e9643ad76a78fdd3234a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a64100f26b8abba70f0997a8e080d486ab9f4507567e9643ad76a78fdd3234a", kill_on_drop: false }` [INFO] [stdout] 3a64100f26b8abba70f0997a8e080d486ab9f4507567e9643ad76a78fdd3234a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d2be72592e0d1e34d6658168ca086a25ddd75253042e10ba5126a73a2cd730f6 [INFO] running `Command { std: "docker" "start" "-a" "d2be72592e0d1e34d6658168ca086a25ddd75253042e10ba5126a73a2cd730f6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking nb v1.0.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling cortex-m v0.7.4 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Checking vcell v0.1.2 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling cortex-m v0.6.7 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking volatile-register v0.2.0 [INFO] [stderr] Checking embedded-hal v0.2.6 [INFO] [stderr] Compiling heapless v0.5.6 [INFO] [stderr] Compiling cortex-m-rt v0.6.13 [INFO] [stderr] Compiling synopsys-usb-otg v0.2.3 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking usb-device v0.2.7 [INFO] [stderr] Compiling cortex-m-rt v0.7.1 [INFO] [stderr] Checking r0 v0.2.2 [INFO] [stderr] Compiling stm32f4 v0.13.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Checking embedded-dma v0.1.2 [INFO] [stderr] Checking managed v0.7.2 [INFO] [stderr] Checking bare-metal v1.0.0 [INFO] [stderr] Checking hash32 v0.1.1 [INFO] [stderr] Compiling cortex-m-log v0.6.2 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking postcard-cobs v0.1.5-pre [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling thermostat v0.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking usbd-serial v0.1.1 [INFO] [stderr] Checking eeprom24x v0.3.0 [INFO] [stderr] Checking panic-abort v0.3.2 [INFO] [stderr] Checking smoltcp v0.7.5 [INFO] [stderr] Checking bit_field v0.10.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking generic-array v0.13.2 [INFO] [stderr] Checking as-slice v0.1.4 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking aligned v0.3.4 [INFO] [stderr] Checking rtcc v0.2.1 [INFO] [stderr] Compiling cortex-m-rt-macros v0.1.8 [INFO] [stderr] Compiling cortex-m-rt-macros v0.7.0 [INFO] [stderr] Checking uom v0.30.0 [INFO] [stderr] Checking postcard v0.5.1 [INFO] [stderr] Checking serde-json-core v0.1.0 [INFO] [stderr] Checking sfkv v0.1.0 [INFO] [stderr] Checking stm32f4xx-hal v0.10.1 [INFO] [stderr] Checking stm32-eth v0.2.0 (https://github.com/stm32-rs/stm32-eth.git?rev=3759c5c9#3759c5c9) [INFO] [stdout] warning: unused import: `cortex_m_rt::pre_init` [INFO] [stdout] --> src/dfu.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cortex_m_rt::pre_init; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RCC` and `SYSCFG` [INFO] [stdout] --> src/dfu.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | use stm32f4xx_hal::stm32::{RCC, SYSCFG}; [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] warning: the feature `asm` has been stable since 1.59.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:3:32 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(maybe_uninit_extra, asm)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `maybe_uninit_extra` has been stable since 1.60.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(maybe_uninit_extra, asm)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `asm` has been stable since 1.59.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:3:32 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(maybe_uninit_extra, asm)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `maybe_uninit_extra` has been stable since 1.60.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(maybe_uninit_extra, asm)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_traits::float::Float` [INFO] [stdout] --> src/ad7172/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use num_traits::float::Float; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `thermostat` (bin "thermostat") due to 1 previous error; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/usb.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | unsafe { BUS.write(Bus::new(usb, &mut EP_MEMORY)) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/usb.rs:27:42 [INFO] [stdout] | [INFO] [stdout] 27 | unsafe { BUS.write(Bus::new(usb, &mut EP_MEMORY)) }; [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 27 | unsafe { BUS.write(Bus::new(usb, &raw mut EP_MEMORY)) }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/usb.rs:29:28 [INFO] [stdout] | [INFO] [stdout] 29 | let bus = unsafe { BUS.assume_init_ref() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/usb.rs:49:18 [INFO] [stdout] | [INFO] [stdout] 49 | unsafe { STATE.as_mut() } [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/net.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | RX_RING.get_or_insert(Default::default()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/net.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | TX_RING.get_or_insert(Default::default()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[SocketState; 4]` does not permit being left uninitialized [INFO] [stdout] --> src/server.rs:40:67 [INFO] [stdout] | [INFO] [stdout] 40 | let mut states: [SocketState; SOCKET_COUNT] = unsafe { MaybeUninit::uninit().assume_init() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> src/server.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | handle: SocketHandle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/flash_store.rs:48:18 [INFO] [stdout] | [INFO] [stdout] 48 | unsafe { &mut BACKUP_SPACE } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 48 | unsafe { &raw mut BACKUP_SPACE } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d2be72592e0d1e34d6658168ca086a25ddd75253042e10ba5126a73a2cd730f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2be72592e0d1e34d6658168ca086a25ddd75253042e10ba5126a73a2cd730f6", kill_on_drop: false }` [INFO] [stdout] d2be72592e0d1e34d6658168ca086a25ddd75253042e10ba5126a73a2cd730f6