[INFO] cloning repository https://github.com/ctiedt/temperature-example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ctiedt/temperature-example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fctiedt%2Ftemperature-example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fctiedt%2Ftemperature-example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ecdc6230eed9f0ca14a8c657d947dc0345c627fc [INFO] checking ctiedt/temperature-example against e5e97e3ef0ee95d34bea49cdac051ed1bbac01df for pr-158759-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fctiedt%2Ftemperature-example" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-1-tc2/source/.cargo/config [INFO] started tweaking git repo https://github.com/ctiedt/temperature-example [INFO] finished tweaking git repo https://github.com/ctiedt/temperature-example [INFO] tweaked toml for git repo https://github.com/ctiedt/temperature-example written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ctiedt/temperature-example on toolchain e5e97e3ef0ee95d34bea49cdac051ed1bbac01df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e5e97e3ef0ee95d34bea49cdac051ed1bbac01df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ctiedt/temperature-example 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" "+e5e97e3ef0ee95d34bea49cdac051ed1bbac01df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] a72f73adcd5d3bb874c615d809a5f7b404686fda9560ecccd0e9b879a7f79958 [INFO] running `Command { std: "docker" "start" "a72f73adcd5d3bb874c615d809a5f7b404686fda9560ecccd0e9b879a7f79958", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a72f73adcd5d3bb874c615d809a5f7b404686fda9560ecccd0e9b879a7f79958", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a72f73adcd5d3bb874c615d809a5f7b404686fda9560ecccd0e9b879a7f79958" "/opt/rustwide/cargo-home/bin/cargo" "+e5e97e3ef0ee95d34bea49cdac051ed1bbac01df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a72f73adcd5d3bb874c615d809a5f7b404686fda9560ecccd0e9b879a7f79958", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a72f73adcd5d3bb874c615d809a5f7b404686fda9560ecccd0e9b879a7f79958" "/opt/rustwide/cargo-home/bin/cargo" "+e5e97e3ef0ee95d34bea49cdac051ed1bbac01df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Checking nb v1.0.0 [INFO] [stderr] Compiling cortex-m v0.7.4 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.7 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking embedded-hal v0.2.7 [INFO] [stderr] Checking vcell v0.1.3 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling cortex-m-rt v0.7.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.4 [INFO] [stderr] Checking volatile-register v0.2.1 [INFO] [stderr] Checking conquer-util v0.3.0 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Checking conquer-once v0.3.2 [INFO] [stderr] Compiling stm32f4 v0.14.0 [INFO] [stderr] Compiling paste v1.0.6 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking bare-metal v1.0.0 [INFO] [stderr] Checking embedded-dma v0.1.2 [INFO] [stderr] Checking dependability-alloc v0.1.0 (https://github.com/MarcelGarus/dependability#68976f86) [INFO] [stderr] Checking linked_list_allocator v0.8.11 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking alloc-cortex-m v0.4.2 [INFO] [stderr] Checking onewire v0.3.13 (https://github.com/kellerkindt/onewire#2ffe1872) [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking gcd v2.1.0 [INFO] [stderr] Checking fugit v0.3.3 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking rtcc v0.2.1 [INFO] [stderr] Checking dependability-runtime v0.1.0 (https://github.com/MarcelGarus/dependability#68976f86) [INFO] [stderr] Checking dependability-partial-result v0.1.0 (https://github.com/MarcelGarus/dependability#68976f86) [INFO] [stderr] Compiling cortex-m-rt-macros v0.7.0 [INFO] [stderr] Compiling dependability-retry-proc-macro v0.1.0 (https://github.com/MarcelGarus/dependability#68976f86) [INFO] [stderr] Checking dependability-retry v0.1.0 (https://github.com/MarcelGarus/dependability#68976f86) [INFO] [stderr] Checking dependability v0.1.0 (https://github.com/MarcelGarus/dependability#68976f86) [INFO] [stderr] Checking stm32f4xx-hal v0.11.1 [INFO] [stderr] Checking temperature-example v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: the `#[alloc_error_handler]` in this crate conflicts with allocation error handler in: std [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> src/main.rs:239:1 [INFO] [stdout] | [INFO] [stdout] 239 | / fn handle_panic(panic_info: &PanicInfo) -> ! { [INFO] [stdout] 240 | | println!("💥 The program panicked. THIS IS NOT A DRILL!"); [INFO] [stdout] 241 | | if let Some(location) = panic_info.location() { [INFO] [stdout] 242 | | println!( [INFO] [stdout] ... | [INFO] [stdout] 253 | | loop {} [INFO] [stdout] 254 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `test` depends on) [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/e5e97e3ef0ee95d34bea49cdac051ed1bbac01df/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-ebc3593764c44f83.rmeta [INFO] [stdout] = note: second definition in the local crate (`temperature_example`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `temperature-example` (bin "temperature-example" test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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 `panic_info_message` has been stable since 1.81.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(panic_info_message)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:249:12 [INFO] [stdout] | [INFO] [stdout] 249 | if let Some(message) = panic_info.message() { [INFO] [stdout] | ^^^^^^^^^^^^^ -------------------- this expression has type `PanicMessage<'_>` [INFO] [stdout] | | [INFO] [stdout] | expected `PanicMessage<'_>`, found `Option<_>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `PanicMessage<'_>` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `led_pin` [INFO] [stdout] --> src/main.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | let led_pin = gpioa.pa8.into_push_pull_output(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_led_pin` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `temperature-example` (bin "temperature-example") due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a72f73adcd5d3bb874c615d809a5f7b404686fda9560ecccd0e9b879a7f79958", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a72f73adcd5d3bb874c615d809a5f7b404686fda9560ecccd0e9b879a7f79958", kill_on_drop: false }` [INFO] [stdout] a72f73adcd5d3bb874c615d809a5f7b404686fda9560ecccd0e9b879a7f79958