[INFO] cloning repository https://github.com/davidarmstronglewis/discovery [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/davidarmstronglewis/discovery" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidarmstronglewis%2Fdiscovery", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidarmstronglewis%2Fdiscovery'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] be0f3558ae8c7e58d93c6e5c416ef40ed8444137 [INFO] checking davidarmstronglewis/discovery against try#39605810efb1a0d52f955bfba9e4eec7a01d5deb for pr-153692 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidarmstronglewis%2Fdiscovery" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-0-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/davidarmstronglewis/discovery [INFO] finished tweaking git repo https://github.com/davidarmstronglewis/discovery [INFO] tweaked toml for git repo https://github.com/davidarmstronglewis/discovery written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/davidarmstronglewis/discovery on toolchain 39605810efb1a0d52f955bfba9e4eec7a01d5deb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+39605810efb1a0d52f955bfba9e4eec7a01d5deb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/davidarmstronglewis/discovery 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" "+39605810efb1a0d52f955bfba9e4eec7a01d5deb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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 rtcc v0.2.1 [INFO] [stderr] Downloaded stm32f3-discovery v0.7.2 [INFO] [stderr] Downloaded switch-hal v0.4.0 [INFO] [stderr] Downloaded cortex-m-rt-macros v0.6.15 [INFO] [stderr] Downloaded cortex-m-rt v0.6.15 [INFO] [stderr] Downloaded lsm303dlhc v0.2.0 [INFO] [stderr] Downloaded panic-itm v0.4.2 [INFO] [stderr] Downloaded cast v0.2.7 [INFO] [stderr] Downloaded accelerometer v0.12.0 [INFO] [stderr] Downloaded generic-array v0.11.2 [INFO] [stderr] Downloaded stm32f3xx-hal v0.7.0 [INFO] [stderr] Downloaded slice-group-by v0.2.6 [INFO] [stderr] Downloaded cortex-m v0.7.3 [INFO] [stderr] Downloaded stm32f3 v0.13.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+39605810efb1a0d52f955bfba9e4eec7a01d5deb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5df37a64a223beac0340783f06aa2cdd7c00ff97bf03f05fb3e3c0365c5fefe4 [INFO] running `Command { std: "docker" "start" "-a" "5df37a64a223beac0340783f06aa2cdd7c00ff97bf03f05fb3e3c0365c5fefe4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5df37a64a223beac0340783f06aa2cdd7c00ff97bf03f05fb3e3c0365c5fefe4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5df37a64a223beac0340783f06aa2cdd7c00ff97bf03f05fb3e3c0365c5fefe4", kill_on_drop: false }` [INFO] [stdout] 5df37a64a223beac0340783f06aa2cdd7c00ff97bf03f05fb3e3c0365c5fefe4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+39605810efb1a0d52f955bfba9e4eec7a01d5deb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b538d24dab676afdc6ef40f4b5300b18500033fe5431ad4194ee30eeba6d4132 [INFO] running `Command { std: "docker" "start" "-a" "b538d24dab676afdc6ef40f4b5300b18500033fe5431ad4194ee30eeba6d4132", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling syn v1.0.78 [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] Compiling cortex-m-rt v0.6.15 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling camino v1.0.5 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling slice-group-by v0.2.6 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking r0 v0.2.2 [INFO] [stderr] Checking embedded-hal v0.2.6 [INFO] [stderr] Compiling stm32f3 v0.13.2 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling stm32f3-discovery v0.7.2 [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Checking embedded-dma v0.1.2 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking switch-hal v0.4.0 [INFO] [stderr] Checking panic-itm v0.4.2 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking num-rational v0.3.2 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking generic-array v0.14.4 [INFO] [stderr] Checking generic-array v0.11.2 [INFO] [stderr] Checking lsm303dlhc v0.2.0 [INFO] [stderr] Checking num v0.3.1 [INFO] [stderr] Checking embedded-time v0.12.1 [INFO] [stderr] Checking rtcc v0.2.1 [INFO] [stderr] Checking micromath v1.1.1 [INFO] [stderr] Checking accelerometer v0.12.0 [INFO] [stderr] Compiling cortex-m-rt-macros v0.6.15 [INFO] [stderr] Compiling cargo-platform v0.1.2 [INFO] [stderr] Compiling semver v0.11.0 [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-9bc8acdce32161f9/build-script-build` (exit status: 101) [INFO] [stderr] --- stderr [INFO] [stderr] [INFO] [stderr] thread 'main' (945) panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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] Could not resolve hostname (Could not resolve host: index.crates.io)\nwarning: spurious network error (3 tries remaining): [6] Could not resolve hostname (Could not resolve host: index.crates.io)\nwarning: spurious network error (3 tries remaining): [6] Could not resolve hostname (Could not resolve host: index.crates.io)\nwarning: spurious network error (3 tries remaining): [6] Could not resolve hostname (Could not resolve host: index.crates.io)\nwarning: spurious network error (3 tries remaining): [6] Could not resolve hostname (Could not resolve host: index.crates.io)\nwarning: spurious network error (3 tries remaining): [6] Could not resolve hostname (Could not resolve host: index.crates.io)\nwarning: spurious network error (3 tries remaining): [6] Could not resolve hostname (Could not resolve host: index.crates.io)\nwarning: spurious network error (2 tries remaining): [6] Could not resolve hostname (Could not resolve host: index.crates.io)\nwarning: spurious network error (2 tries remaining): [6] Could not resolve hostname (Could not resolve host: index.crates.io)\nwarning: spurious network error (2 tries remaining): [6] Could not resolve hostname (Could not resolve host: index.crates.io)\nwarning: spurious network error (2 tries remaining): [6] Could not resolve hostname (Could not resolve host: index.crates.io)\nwarning: spurious network error (2 tries remaining): [6] Could not resolve hostname (Could not resolve host: index.crates.io)\nwarning: spurious network error (2 tries remaining): [6] Could not resolve hostname (Could not resolve host: index.crates.io)\nwarning: spurious network error (2 tries remaining): [6] Could not resolve hostname (Could not resolve host: index.crates.io)\nwarning: spurious network error (1 try remaining): [6] Could not resolve hostname (Could not resolve host: index.crates.io)\nwarning: spurious network error (1 try remaining): [6] Could not resolve hostname (Could not resolve host: index.crates.io)\nwarning: spurious network error (1 try remaining): [6] Could not resolve hostname (Could not resolve host: index.crates.io)\nwarning: spurious network error (1 try remaining): [6] Could not resolve hostname (Could not resolve host: index.crates.io)\nwarning: spurious network error (1 try remaining): [6] Could not resolve hostname (Could not resolve host: index.crates.io)\nwarning: spurious network error (1 try remaining): [6] Could not resolve hostname (Could not resolve host: index.crates.io)\nwarning: spurious network error (1 try remaining): [6] Could not resolve hostname (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-1949cf8c6b5b557f/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] Could not resolve hostname (Could not resolve host: index.crates.io)\n" } [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x63bbfa39a94a - std[8a966dcde76e446a]::backtrace_rs::backtrace::libunwind::trace [INFO] [stderr] at /rustc/39605810efb1a0d52f955bfba9e4eec7a01d5deb/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stderr] 1: 0x63bbfa39a94a - std[8a966dcde76e446a]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stderr] at /rustc/39605810efb1a0d52f955bfba9e4eec7a01d5deb/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stderr] 2: 0x63bbfa39a94a - std[8a966dcde76e446a]::sys::backtrace::_print_fmt [INFO] [stderr] at /rustc/39605810efb1a0d52f955bfba9e4eec7a01d5deb/library/std/src/sys/backtrace.rs:74:9 [INFO] [stderr] 3: 0x63bbfa39a94a - <::print::DisplayBacktrace as core[cc065995d05a9c03]::fmt::Display>::fmt [INFO] [stderr] at /rustc/39605810efb1a0d52f955bfba9e4eec7a01d5deb/library/std/src/sys/backtrace.rs:44:26 [INFO] [stderr] 4: 0x63bbfa3ad72a - ::fmt [INFO] [stderr] at /rustc/39605810efb1a0d52f955bfba9e4eec7a01d5deb/library/core/src/fmt/rt.rs:152:76 [INFO] [stderr] 5: 0x63bbfa3ad72a - core[cc065995d05a9c03]::fmt::write [INFO] [stderr] 6: 0x63bbfa39efa2 - std[8a966dcde76e446a]::io::default_write_fmt:: [INFO] [stderr] at /rustc/39605810efb1a0d52f955bfba9e4eec7a01d5deb/library/std/src/io/mod.rs:639:11 [INFO] [stderr] 7: 0x63bbfa39efa2 - ::write_fmt [INFO] [stderr] at /rustc/39605810efb1a0d52f955bfba9e4eec7a01d5deb/library/std/src/io/mod.rs:1994:13 [INFO] [stderr] 8: 0x63bbfa37f8af - ::print [INFO] [stderr] at /rustc/39605810efb1a0d52f955bfba9e4eec7a01d5deb/library/std/src/sys/backtrace.rs:47:9 [INFO] [stderr] 9: 0x63bbfa37f8af - std[8a966dcde76e446a]::panicking::default_hook::{closure#0} [INFO] [stderr] at /rustc/39605810efb1a0d52f955bfba9e4eec7a01d5deb/library/std/src/panicking.rs:292:27 [INFO] [stderr] 10: 0x63bbfa395cb1 - std[8a966dcde76e446a]::panicking::default_hook [INFO] [stderr] at /rustc/39605810efb1a0d52f955bfba9e4eec7a01d5deb/library/std/src/panicking.rs:319:9 [INFO] [stderr] 11: 0x63bbfa395e6b - std[8a966dcde76e446a]::panicking::panic_with_hook [INFO] [stderr] at /rustc/39605810efb1a0d52f955bfba9e4eec7a01d5deb/library/std/src/panicking.rs:825:13 [INFO] [stderr] 12: 0x63bbfa37f968 - std[8a966dcde76e446a]::panicking::panic_handler::{closure#0} [INFO] [stderr] at /rustc/39605810efb1a0d52f955bfba9e4eec7a01d5deb/library/std/src/panicking.rs:698:13 [INFO] [stderr] 13: 0x63bbfa374ba9 - std[8a966dcde76e446a]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stderr] at /rustc/39605810efb1a0d52f955bfba9e4eec7a01d5deb/library/std/src/sys/backtrace.rs:182:18 [INFO] [stderr] 14: 0x63bbfa3802cd - __rustc[1584a6b83ab98570]::rust_begin_unwind [INFO] [stderr] at /rustc/39605810efb1a0d52f955bfba9e4eec7a01d5deb/library/std/src/panicking.rs:689:5 [INFO] [stderr] 15: 0x63bbfa3adebc - core[cc065995d05a9c03]::panicking::panic_fmt [INFO] [stderr] at /rustc/39605810efb1a0d52f955bfba9e4eec7a01d5deb/library/core/src/panicking.rs:80:14 [INFO] [stderr] 16: 0x63bbfa3adc32 - core[cc065995d05a9c03]::result::unwrap_failed [INFO] [stderr] at /rustc/39605810efb1a0d52f955bfba9e4eec7a01d5deb/library/core/src/result.rs:1867:5 [INFO] [stderr] 17: 0x63bbfa2c0a2f - build_script_build[f1eec1f647f4a21a]::check_device_feature [INFO] [stderr] 18: 0x63bbfa2c1016 - build_script_build[f1eec1f647f4a21a]::main [INFO] [stderr] 19: 0x63bbfa2bc333 - >::call_once [INFO] [stderr] 20: 0x63bbfa2bf036 - std[8a966dcde76e446a]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stderr] 21: 0x63bbfa2babd9 - std[8a966dcde76e446a]::rt::lang_start::<()>::{closure#0} [INFO] [stderr] 22: 0x63bbfa394e74 - <&dyn core[cc065995d05a9c03]::ops::function::Fn<(), Output = i32> + core[cc065995d05a9c03]::panic::unwind_safe::RefUnwindSafe + core[cc065995d05a9c03]::marker::Sync as core[cc065995d05a9c03]::ops::function::FnOnce<()>>::call_once [INFO] [stderr] at /rustc/39605810efb1a0d52f955bfba9e4eec7a01d5deb/library/core/src/ops/function.rs:287:21 [INFO] [stderr] 23: 0x63bbfa394e74 - std[8a966dcde76e446a]::panicking::catch_unwind::do_call::<&dyn core[cc065995d05a9c03]::ops::function::Fn<(), Output = i32> + core[cc065995d05a9c03]::panic::unwind_safe::RefUnwindSafe + core[cc065995d05a9c03]::marker::Sync, i32> [INFO] [stderr] at /rustc/39605810efb1a0d52f955bfba9e4eec7a01d5deb/library/std/src/panicking.rs:581:40 [INFO] [stderr] 24: 0x63bbfa394e74 - std[8a966dcde76e446a]::panicking::catch_unwind:: + core[cc065995d05a9c03]::panic::unwind_safe::RefUnwindSafe + core[cc065995d05a9c03]::marker::Sync> [INFO] [stderr] at /rustc/39605810efb1a0d52f955bfba9e4eec7a01d5deb/library/std/src/panicking.rs:544:19 [INFO] [stderr] 25: 0x63bbfa394e74 - std[8a966dcde76e446a]::panic::catch_unwind::<&dyn core[cc065995d05a9c03]::ops::function::Fn<(), Output = i32> + core[cc065995d05a9c03]::panic::unwind_safe::RefUnwindSafe + core[cc065995d05a9c03]::marker::Sync, i32> [INFO] [stderr] at /rustc/39605810efb1a0d52f955bfba9e4eec7a01d5deb/library/std/src/panic.rs:359:14 [INFO] [stderr] 26: 0x63bbfa394e74 - std[8a966dcde76e446a]::rt::lang_start_internal::{closure#0} [INFO] [stderr] at /rustc/39605810efb1a0d52f955bfba9e4eec7a01d5deb/library/std/src/rt.rs:175:24 [INFO] [stderr] 27: 0x63bbfa394e74 - std[8a966dcde76e446a]::panicking::catch_unwind::do_call:: [INFO] [stderr] at /rustc/39605810efb1a0d52f955bfba9e4eec7a01d5deb/library/std/src/panicking.rs:581:40 [INFO] [stderr] 28: 0x63bbfa394e74 - std[8a966dcde76e446a]::panicking::catch_unwind:: [INFO] [stderr] at /rustc/39605810efb1a0d52f955bfba9e4eec7a01d5deb/library/std/src/panicking.rs:544:19 [INFO] [stderr] 29: 0x63bbfa394e74 - std[8a966dcde76e446a]::panic::catch_unwind:: [INFO] [stderr] at /rustc/39605810efb1a0d52f955bfba9e4eec7a01d5deb/library/std/src/panic.rs:359:14 [INFO] [stderr] 30: 0x63bbfa394e74 - std[8a966dcde76e446a]::rt::lang_start_internal [INFO] [stderr] at /rustc/39605810efb1a0d52f955bfba9e4eec7a01d5deb/library/std/src/rt.rs:171:5 [INFO] [stderr] 31: 0x63bbfa2b8341 - std[8a966dcde76e446a]::rt::lang_start::<()> [INFO] [stderr] 32: 0x63bbfa2c2c45 - main [INFO] [stderr] 33: 0x790f0d0981ca - [INFO] [stderr] 34: 0x790f0d09828b - __libc_start_main [INFO] [stderr] 35: 0x63bbfa2b8075 - _start [INFO] [stderr] 36: 0x0 - [INFO] running `Command { std: "docker" "inspect" "b538d24dab676afdc6ef40f4b5300b18500033fe5431ad4194ee30eeba6d4132", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b538d24dab676afdc6ef40f4b5300b18500033fe5431ad4194ee30eeba6d4132", kill_on_drop: false }` [INFO] [stdout] b538d24dab676afdc6ef40f4b5300b18500033fe5431ad4194ee30eeba6d4132