[INFO] cloning repository https://github.com/jonlamb-gh/home-phone [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jonlamb-gh/home-phone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjonlamb-gh%2Fhome-phone", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjonlamb-gh%2Fhome-phone'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a9dde49d01f282ffa5b425e42f5cb8696b5a5a28 [INFO] checking jonlamb-gh/home-phone against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjonlamb-gh%2Fhome-phone" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jonlamb-gh/home-phone on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5-tc1/source/.cargo/config [INFO] removed /workspace/builds/worker-5-tc1/source/rust-toolchain [INFO] started tweaking git repo https://github.com/jonlamb-gh/home-phone [INFO] finished tweaking git repo https://github.com/jonlamb-gh/home-phone [INFO] tweaked toml for git repo https://github.com/jonlamb-gh/home-phone written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jonlamb-gh/home-phone 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" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/jonlamb-gh/keypad.git` [INFO] [stderr] Updating git repository `https://github.com/m-labs/smoltcp.git` [INFO] [stderr] Updating git repository `https://github.com/jonlamb-gh/stm32-eth.git` [INFO] [stderr] Updating git repository `https://github.com/jonlamb-gh/stm32f4xx-hal.git` [INFO] [stderr] Locking 1 package to latest compatible version [INFO] [stderr] Adding smoltcp v0.5.0 (https://github.com/m-labs/smoltcp.git?branch=master#ae27235c) [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cortex-m-rt v0.6.11 [INFO] [stderr] Downloaded managed v0.7.1 [INFO] [stderr] Downloaded cortex-m-rt-macros v0.1.7 [INFO] [stderr] Downloaded stm32f4 v0.9.0 [INFO] [stderr] Downloaded ds323x v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 81b07781e43dfe89c74f18341809afa6af3f293a69bb5f484f00f4b5cd71bf45 [INFO] running `Command { std: "docker" "start" "-a" "81b07781e43dfe89c74f18341809afa6af3f293a69bb5f484f00f4b5cd71bf45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "81b07781e43dfe89c74f18341809afa6af3f293a69bb5f484f00f4b5cd71bf45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81b07781e43dfe89c74f18341809afa6af3f293a69bb5f484f00f4b5cd71bf45", kill_on_drop: false }` [INFO] [stdout] 81b07781e43dfe89c74f18341809afa6af3f293a69bb5f484f00f4b5cd71bf45 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1d89bf927003bcd492ad2c5b06a1c0522d70d3e20c34408378f0c3921d315990 [INFO] running `Command { std: "docker" "start" "-a" "1d89bf927003bcd492ad2c5b06a1c0522d70d3e20c34408378f0c3921d315990", kill_on_drop: false }` [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Compiling cortex-m v0.6.1 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Checking nb v0.1.2 [INFO] [stderr] Checking vcell v0.1.2 [INFO] [stderr] Compiling cortex-m-rt v0.6.11 [INFO] [stderr] Checking volatile-register v0.2.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking embedded-hal v0.2.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling stm32f4 v0.9.0 [INFO] [stderr] Checking r0 v0.2.2 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling heapless v0.5.1 [INFO] [stderr] Checking managed v0.7.1 [INFO] [stderr] Compiling nom v5.0.1 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Checking smoltcp v0.5.0 (https://github.com/m-labs/smoltcp.git?branch=master#ae27235c) [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking hash32 v0.1.1 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking keypad v0.1.4 (https://github.com/jonlamb-gh/keypad.git?branch=digital-v2-infallible#93df3c9b) [INFO] [stderr] Checking ds323x v0.2.0 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking generic-array v0.13.2 [INFO] [stderr] Checking as-slice v0.1.2 [INFO] [stderr] Checking aligned v0.3.2 [INFO] [stderr] Compiling cortex-m-rt-macros v0.1.7 [INFO] [stderr] Checking stm32f4xx-hal v0.6.0 (https://github.com/jonlamb-gh/stm32f4xx-hal.git?branch=home-phone-changes#fb10640f) [INFO] [stderr] Checking stm32-eth v0.1.2 (https://github.com/jonlamb-gh/stm32-eth.git?branch=update-deps#5e1fb634) [INFO] [stderr] Checking home-phone v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `bcm2711` in `hal` [INFO] [stdout] --> tests/emulated_phy_loopback.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | use lib::hal::bcm2711::gpio::GPIO; [INFO] [stdout] | ^^^^^^^ could not find `bcm2711` in `hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `bcm2711` in `hal` [INFO] [stdout] --> tests/emulated_phy_loopback.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | use lib::hal::bcm2711::mbox::MBOX; [INFO] [stdout] | ^^^^^^^ could not find `bcm2711` in `hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `bcm2711` in `hal` [INFO] [stdout] --> tests/emulated_phy_loopback.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | use lib::hal::bcm2711::uart1::UART1; [INFO] [stdout] | ^^^^^^^ could not find `bcm2711` in `hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `lib::hal::clocks` [INFO] [stdout] --> tests/emulated_phy_loopback.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | use lib::hal::clocks::Clocks; [INFO] [stdout] | ^^^^^^ could not find `clocks` in `hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `lib::hal::mailbox` [INFO] [stdout] --> tests/emulated_phy_loopback.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | use lib::hal::mailbox::*; [INFO] [stdout] | ^^^^^^^ could not find `mailbox` in `hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `raspi4_boot` [INFO] [stdout] --> tests/emulated_phy_loopback.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | raspi4_boot::entry!(test_entry); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `raspi4_boot` [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[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> src/panic_handler.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / fn panic_handler(info: &PanicInfo) -> ! { [INFO] [stdout] 7 | | error!("{}", info); [INFO] [stdout] 8 | | unsafe { intrinsics::abort() } [INFO] [stdout] 9 | | } [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/506512391b1a75ae450d36c9420978402a91abcc/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-6701759d8343e913.rlib [INFO] [stdout] = note: second definition in the local crate (`bin`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `home-phone` (bin "bin" test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `home-phone` (bin "bin") due to 2 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `qemu` [INFO] [stdout] --> tests/emulated_phy_loopback.rs:48:16 [INFO] [stdout] | [INFO] [stdout] 48 | qemu::exit(qemu::ExitCode::Success) [INFO] [stdout] | ^^^^ use of undeclared crate or module `qemu` [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[E0433]: failed to resolve: use of undeclared type `Mailbox` [INFO] [stdout] --> tests/emulated_phy_loopback.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 29 | let mut mbox = Mailbox::new(MBOX::new()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Mailbox` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `uart1` found for struct `Serial` in the current scope [INFO] [stdout] --> tests/emulated_phy_loopback.rs:37:26 [INFO] [stdout] | [INFO] [stdout] 37 | let serial = Serial::uart1(UART1::new(), (tx, rx), Bps(115200), clocks); [INFO] [stdout] | ^^^^^ function or associated item not found in `Serial<_, _>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Serial<_, _>` consider using one of the following associated functions: [INFO] [stdout] Serial::::usart1 [INFO] [stdout] Serial::::usart2 [INFO] [stdout] Serial::::usart6 [INFO] [stdout] Serial::::usart3 [INFO] [stdout] and 4 others [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/stm32f4xx-hal-49b0a9b2422cb510/fb10640/src/serial.rs:1829:1 [INFO] [stdout] | [INFO] [stdout] 1829 | / halUsart! { [INFO] [stdout] 1830 | | USART1: (usart1, apb2enr, usart1en, pclk2), [INFO] [stdout] 1831 | | USART2: (usart2, apb1enr, usart2en, pclk1), [INFO] [stdout] 1832 | | USART6: (usart6, apb2enr, usart6en, pclk2), [INFO] [stdout] 1833 | | } [INFO] [stdout] | |_^ [INFO] [stdout] ... [INFO] [stdout] 1851 | / halUsart! { [INFO] [stdout] 1852 | | USART3: (usart3, apb1enr, usart3en, pclk1), [INFO] [stdout] 1853 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this error originates in the macro `halUsartImpl` which comes from the expansion of the macro `halUsart` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: there is an associated function `uart4` with a similar name [INFO] [stdout] | [INFO] [stdout] 37 | let serial = Serial::uart4(UART1::new(), (tx, rx), Bps(115200), clocks); [INFO] [stdout] | ~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `qemu` [INFO] [stdout] --> tests/emulated_phy_loopback.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | qemu::exit(qemu::ExitCode::Success) [INFO] [stdout] | ^^^^ use of undeclared crate or module `qemu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `test_runner` [INFO] [stdout] --> tests/emulated_phy_loopback.rs:5:31 [INFO] [stdout] | [INFO] [stdout] 5 | #![cfg_attr(test, test_runner(test_runner::runner))] [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `test_runner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [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 `home-phone` (test "emulated_phy_loopback") due to 14 previous errors [INFO] running `Command { std: "docker" "inspect" "1d89bf927003bcd492ad2c5b06a1c0522d70d3e20c34408378f0c3921d315990", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d89bf927003bcd492ad2c5b06a1c0522d70d3e20c34408378f0c3921d315990", kill_on_drop: false }` [INFO] [stdout] 1d89bf927003bcd492ad2c5b06a1c0522d70d3e20c34408378f0c3921d315990