[INFO] cloning repository https://github.com/Rokasbarasa1/learn_rust_embedded [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Rokasbarasa1/learn_rust_embedded" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRokasbarasa1%2Flearn_rust_embedded", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRokasbarasa1%2Flearn_rust_embedded'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 04bb46174772fc9a5dfa2662dc1d7319da4a7af8 [INFO] checking Rokasbarasa1/learn_rust_embedded against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRokasbarasa1%2Flearn_rust_embedded" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Rokasbarasa1/learn_rust_embedded on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/Rokasbarasa1/learn_rust_embedded [INFO] finished tweaking git repo https://github.com/Rokasbarasa1/learn_rust_embedded [INFO] tweaked toml for git repo https://github.com/Rokasbarasa1/learn_rust_embedded written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Rokasbarasa1/learn_rust_embedded 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rtcc v0.2.1 [INFO] [stderr] Downloaded camino v1.0.5 [INFO] [stderr] Downloaded stm32f3xx-hal v0.7.0 [INFO] [stderr] Downloaded panic-itm v0.4.2 [INFO] [stderr] Downloaded slice-group-by v0.2.6 [INFO] [stderr] Downloaded switch-hal v0.4.0 [INFO] [stderr] Downloaded lsm303dlhc v0.2.0 [INFO] [stderr] Downloaded generic-array v0.11.2 [INFO] [stderr] Downloaded accelerometer v0.12.0 [INFO] [stderr] Downloaded embedded-time v0.12.0 [INFO] [stderr] Downloaded stm32f3-discovery v0.7.2 [INFO] [stderr] Downloaded micromath v1.1.1 [INFO] [stderr] Downloaded stm32f3 v0.13.2 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c7808c20e1f71cf6f8c4b276b4ac5c4ae523edc183c2f1a4840b1c4c5bde09d7 [INFO] running `Command { std: "docker" "start" "-a" "c7808c20e1f71cf6f8c4b276b4ac5c4ae523edc183c2f1a4840b1c4c5bde09d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c7808c20e1f71cf6f8c4b276b4ac5c4ae523edc183c2f1a4840b1c4c5bde09d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7808c20e1f71cf6f8c4b276b4ac5c4ae523edc183c2f1a4840b1c4c5bde09d7", kill_on_drop: false }` [INFO] [stdout] c7808c20e1f71cf6f8c4b276b4ac5c4ae523edc183c2f1a4840b1c4c5bde09d7 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] af7813212c9933608a6d34584e75c5e064b46fbcfa8bbc2635d9674b3c711192 [INFO] running `Command { std: "docker" "start" "-a" "af7813212c9933608a6d34584e75c5e064b46fbcfa8bbc2635d9674b3c711192", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling cortex-m v0.7.3 [INFO] [stderr] Checking nb v1.0.0 [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling cortex-m-rt v0.6.15 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling camino v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking embedded-hal v0.2.6 [INFO] [stderr] Checking vcell v0.1.3 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking volatile-register v0.2.1 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Compiling stm32f3 v0.13.2 [INFO] [stderr] Checking r0 v0.2.2 [INFO] [stderr] Compiling slice-group-by v0.2.6 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Compiling stm32f3-discovery v0.7.2 [INFO] [stderr] Checking switch-hal v0.4.0 [INFO] [stderr] Checking embedded-dma v0.1.2 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking panic-itm v0.4.2 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Checking num-rational v0.3.2 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking generic-array v0.11.2 [INFO] [stderr] Checking num v0.3.1 [INFO] [stderr] Checking embedded-time v0.12.0 [INFO] [stderr] Checking lsm303dlhc v0.2.0 [INFO] [stderr] Checking micromath v1.1.1 [INFO] [stderr] Checking rtcc v0.2.1 [INFO] [stderr] Checking accelerometer v0.12.0 [INFO] [stderr] Compiling cortex-m-rt-macros v0.6.15 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling cargo-platform v0.1.2 [INFO] [stderr] Compiling cargo_metadata v0.13.1 [INFO] [stderr] Compiling stm32f3xx-hal v0.7.0 [INFO] [stderr] error: failed to run custom build command for `stm32f3xx-hal v0.7.0` [INFO] [stderr] note: To improve backtraces for build dependencies, set the CARGO_PROFILE_DEV_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/stm32f3xx-hal-9fd4ec6db10648f0/build-script-build` (exit status: 101) [INFO] [stderr] --- stderr [INFO] [stderr] thread 'main' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/stm32f3xx-hal-0.7.0/build.rs:40:50: [INFO] [stderr] called `Result::unwrap()` on an `Err` value: CargoMetadata { stderr: " Updating crates.io index\nwarning: spurious network error (3 tries remaining): [6] Couldn't resolve host name (Could not resolve host: index.crates.io)\nwarning: spurious network error (3 tries remaining): [6] Couldn't resolve host name (Could not resolve host: index.crates.io)\nwarning: spurious network error (3 tries remaining): [6] Couldn't resolve host name (Could not resolve host: index.crates.io)\nwarning: spurious network error (3 tries remaining): [6] Couldn't resolve host name (Could not resolve host: index.crates.io)\nwarning: spurious network error (3 tries remaining): [6] Couldn't resolve host name (Could not resolve host: index.crates.io)\nwarning: spurious network error (3 tries remaining): [6] Couldn't resolve host name (Could not resolve host: index.crates.io)\nwarning: spurious network error (2 tries remaining): [6] Couldn't resolve host name (Could not resolve host: index.crates.io)\nwarning: spurious network error (2 tries remaining): [6] Couldn't resolve host name (Could not resolve host: index.crates.io)\nwarning: spurious network error (2 tries remaining): [6] Couldn't resolve host name (Could not resolve host: index.crates.io)\nwarning: spurious network error (2 tries remaining): [6] Couldn't resolve host name (Could not resolve host: index.crates.io)\nwarning: spurious network error (2 tries remaining): [6] Couldn't resolve host name (Could not resolve host: index.crates.io)\nwarning: spurious network error (2 tries remaining): [6] Couldn't resolve host name (Could not resolve host: index.crates.io)\nwarning: spurious network error (1 tries remaining): [6] Couldn't resolve host name (Could not resolve host: index.crates.io)\nwarning: spurious network error (1 tries remaining): [6] Couldn't resolve host name (Could not resolve host: index.crates.io)\nwarning: spurious network error (1 tries remaining): [6] Couldn't resolve host name (Could not resolve host: index.crates.io)\nwarning: spurious network error (1 tries remaining): [6] Couldn't resolve host name (Could not resolve host: index.crates.io)\nwarning: spurious network error (1 tries remaining): [6] Couldn't resolve host name (Could not resolve host: index.crates.io)\nwarning: spurious network error (1 tries remaining): [6] Couldn't resolve host name (Could not resolve host: index.crates.io)\nerror: failed to get `embedded-hal-can` as a dependency of package `stm32f3xx-hal v0.7.0 (/opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/stm32f3xx-hal-0.7.0)`\n\nCaused by:\n download of em/be/embedded-hal-can failed\n\nCaused by:\n failed to download from `https://index.crates.io/em/be/embedded-hal-can`\n\nCaused by:\n [6] Couldn't resolve host name (Could not resolve host: index.crates.io)\n" } [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x55da19375f45 - std::backtrace_rs::backtrace::libunwind::trace::hb0d415bcff8c04ff [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/../../backtrace/src/backtrace/libunwind.rs:105:5 [INFO] [stderr] 1: 0x55da19375f45 - std::backtrace_rs::backtrace::trace_unsynchronized::hd3beb7af6a65b2fb [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stderr] 2: 0x55da19375f45 - std::sys_common::backtrace::_print_fmt::hb94d89680d7f5d1c [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/sys_common/backtrace.rs:68:5 [INFO] [stderr] 3: 0x55da19375f45 - ::fmt::h42d21e2ba62fd274 [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/sys_common/backtrace.rs:44:22 [INFO] [stderr] 4: 0x55da1939b23b - core::fmt::rt::Argument::fmt::h8932bbbd2b9c37fe [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/fmt/rt.rs:142:9 [INFO] [stderr] 5: 0x55da1939b23b - core::fmt::write::h672f14b769052340 [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/fmt/mod.rs:1153:17 [INFO] [stderr] 6: 0x55da19373d0f - std::io::Write::write_fmt::h4d626b1d019eca5c [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/io/mod.rs:1843:15 [INFO] [stderr] 7: 0x55da19375d1e - std::sys_common::backtrace::_print::h745e446c2e03c5ca [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/sys_common/backtrace.rs:47:5 [INFO] [stderr] 8: 0x55da19375d1e - std::sys_common::backtrace::print::hf0f0fa4fb70dca2c [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/sys_common/backtrace.rs:34:9 [INFO] [stderr] 9: 0x55da19377189 - std::panicking::default_hook::{{closure}}::h607769b198639ae5 [INFO] [stderr] 10: 0x55da19376ef3 - std::panicking::default_hook::h1e5811a5a9298ba1 [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/panicking.rs:292:9 [INFO] [stderr] 11: 0x55da19377624 - std::panicking::rust_panic_with_hook::hd0c5dc40875c06ef [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/panicking.rs:789:13 [INFO] [stderr] 12: 0x55da19377506 - std::panicking::begin_panic_handler::{{closure}}::hde3f6d4bced89f43 [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/panicking.rs:658:13 [INFO] [stderr] 13: 0x55da19376409 - std::sys_common::backtrace::__rust_end_short_backtrace::h88e846e54ebde2e3 [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/sys_common/backtrace.rs:171:18 [INFO] [stderr] 14: 0x55da19377237 - rust_begin_unwind [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/panicking.rs:646:5 [INFO] [stderr] 15: 0x55da1929e026 - core::panicking::panic_fmt::h5ffad3fb9ad671e0 [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/panicking.rs:72:14 [INFO] [stderr] 16: 0x55da1929e556 - core::result::unwrap_failed::hb58638a1c26ab909 [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/result.rs:1654:5 [INFO] [stderr] 17: 0x55da192aa21d - build_script_build::check_device_feature::h3cff85f78685f300 [INFO] [stderr] 18: 0x55da192aa0e9 - build_script_build::main::h74d9c8eb9066f53d [INFO] [stderr] 19: 0x55da192a81d3 - core::ops::function::FnOnce::call_once::h4c94bec619367754 [INFO] [stderr] 20: 0x55da192a7f96 - std::sys_common::backtrace::__rust_begin_short_backtrace::hec51ecf23a473d37 [INFO] [stderr] 21: 0x55da192a22f9 - std::rt::lang_start::{{closure}}::h73b7426ab30af8c8 [INFO] [stderr] 22: 0x55da193707f1 - core::ops::function::impls:: for &F>::call_once::hf24a18568366726b [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/ops/function.rs:284:13 [INFO] [stderr] 23: 0x55da193707f1 - std::panicking::try::do_call::hfe98fb6a5c700fa1 [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/panicking.rs:553:40 [INFO] [stderr] 24: 0x55da193707f1 - std::panicking::try::h887aaa509ba266ad [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/panicking.rs:517:19 [INFO] [stderr] 25: 0x55da193707f1 - std::panic::catch_unwind::hdb24f00ea5a307a8 [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/panic.rs:146:14 [INFO] [stderr] 26: 0x55da193707f1 - std::rt::lang_start_internal::{{closure}}::hacbffc0b2f55d28c [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/rt.rs:148:48 [INFO] [stderr] 27: 0x55da193707f1 - std::panicking::try::do_call::hc810c59098be8c17 [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/panicking.rs:553:40 [INFO] [stderr] 28: 0x55da193707f1 - std::panicking::try::h0d072b82be5f3f03 [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/panicking.rs:517:19 [INFO] [stderr] 29: 0x55da193707f1 - std::panic::catch_unwind::hb0e7e36556665803 [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/panic.rs:146:14 [INFO] [stderr] 30: 0x55da193707f1 - std::rt::lang_start_internal::h4207974af80a0725 [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/rt.rs:148:20 [INFO] [stderr] 31: 0x55da192a22d7 - std::rt::lang_start::h88101dc3adfd2336 [INFO] [stderr] 32: 0x55da192aab15 - main [INFO] [stderr] 33: 0x7f880a6ebd90 - [INFO] [stderr] 34: 0x7f880a6ebe40 - __libc_start_main [INFO] [stderr] 35: 0x55da1929e875 - _start [INFO] [stderr] 36: 0x0 - [INFO] running `Command { std: "docker" "inspect" "af7813212c9933608a6d34584e75c5e064b46fbcfa8bbc2635d9674b3c711192", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af7813212c9933608a6d34584e75c5e064b46fbcfa8bbc2635d9674b3c711192", kill_on_drop: false }` [INFO] [stdout] af7813212c9933608a6d34584e75c5e064b46fbcfa8bbc2635d9674b3c711192