[INFO] cloning repository https://github.com/bentwire/stm32f072-usb-test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bentwire/stm32f072-usb-test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbentwire%2Fstm32f072-usb-test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbentwire%2Fstm32f072-usb-test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1a76e98b6408fd1d5b635020ef4552cffa45dd4f [INFO] checking bentwire/stm32f072-usb-test against try#bf5ff6675cf10ce009ac02007b064a7cfc4509ac for pr-140558 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbentwire%2Fstm32f072-usb-test" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bentwire/stm32f072-usb-test on toolchain bf5ff6675cf10ce009ac02007b064a7cfc4509ac [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bf5ff6675cf10ce009ac02007b064a7cfc4509ac" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5-tc2/source/.cargo/config [INFO] started tweaking git repo https://github.com/bentwire/stm32f072-usb-test [INFO] finished tweaking git repo https://github.com/bentwire/stm32f072-usb-test [INFO] tweaked toml for git repo https://github.com/bentwire/stm32f072-usb-test written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/bentwire/stm32f072-usb-test 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" "+bf5ff6675cf10ce009ac02007b064a7cfc4509ac" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking bentwire/stm32f072-usb-test against try#bf5ff6675cf10ce009ac02007b064a7cfc4509ac for pr-140558 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbentwire%2Fstm32f072-usb-test" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bentwire/stm32f072-usb-test on toolchain bf5ff6675cf10ce009ac02007b064a7cfc4509ac [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bf5ff6675cf10ce009ac02007b064a7cfc4509ac" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5-tc2/source/.cargo/config [INFO] started tweaking git repo https://github.com/bentwire/stm32f072-usb-test [INFO] finished tweaking git repo https://github.com/bentwire/stm32f072-usb-test [INFO] tweaked toml for git repo https://github.com/bentwire/stm32f072-usb-test written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/bentwire/stm32f072-usb-test 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" "+bf5ff6675cf10ce009ac02007b064a7cfc4509ac" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded vcell v0.1.0 [INFO] [stderr] Downloaded usb-device v0.2.1 [INFO] [stderr] Downloaded as-slice v0.1.0 [INFO] [stderr] Downloaded generic-array v0.11.1 [INFO] [stderr] Downloaded heapless v0.4.4 [INFO] [stderr] Downloaded cortex-m-rt v0.6.8 [INFO] [stderr] Downloaded owned-singleton v0.1.0 [INFO] [stderr] Downloaded cortex-m-rtfm v0.4.3 [INFO] [stderr] Downloaded owned-singleton-macros v0.1.0 [INFO] [stderr] Downloaded cortex-m-rtfm-macros v0.4.3 [INFO] [stderr] Downloaded cortex-m v0.5.10 [INFO] [stderr] Downloaded syn v0.15.35 [INFO] [stderr] Downloaded cortex-m-rt-macros v0.1.5 [INFO] [stderr] Downloaded cortex-m-semihosting v0.3.3 [INFO] [stderr] Downloaded panic-semihosting v0.5.2 [INFO] [stderr] Downloaded stm32-usbd v0.2.1 [INFO] [stderr] Downloaded aligned v0.3.1 [INFO] [stderr] Downloaded bare-metal v0.2.4 [INFO] [stderr] Downloaded aligned v0.2.0 [INFO] [stderr] Downloaded stm32f0xx-hal v0.14.1 [INFO] [stderr] Downloaded hash32 v0.1.0 [INFO] [stderr] Downloaded cortex-m v0.6.0 [INFO] [stderr] Downloaded stm32f0 v0.7.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+bf5ff6675cf10ce009ac02007b064a7cfc4509ac" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7f248a1f80d9885a2769237fda4894c194a350e1b94ab3e695de8c1ccbd3a3f3 [INFO] running `Command { std: "docker" "start" "-a" "7f248a1f80d9885a2769237fda4894c194a350e1b94ab3e695de8c1ccbd3a3f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7f248a1f80d9885a2769237fda4894c194a350e1b94ab3e695de8c1ccbd3a3f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f248a1f80d9885a2769237fda4894c194a350e1b94ab3e695de8c1ccbd3a3f3", kill_on_drop: false }` [INFO] [stdout] 7f248a1f80d9885a2769237fda4894c194a350e1b94ab3e695de8c1ccbd3a3f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+bf5ff6675cf10ce009ac02007b064a7cfc4509ac" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 21d50a63ca9a52602133b67c922cd803a4a9906c40b05e1577a42fe555982d30 [INFO] running `Command { std: "docker" "start" "-a" "21d50a63ca9a52602133b67c922cd803a4a9906c40b05e1577a42fe555982d30", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling cortex-m v0.6.0 [INFO] [stderr] Compiling syn v0.15.35 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Compiling cortex-m-rt v0.6.8 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling heapless v0.4.4 [INFO] [stderr] Checking vcell v0.1.0 [INFO] [stderr] Checking volatile-register v0.2.0 [INFO] [stderr] Compiling stm32f0 v0.7.1 [INFO] [stderr] Compiling cortex-m v0.5.10 [INFO] [stderr] Compiling cortex-m-semihosting v0.3.3 [INFO] [stderr] Compiling bare-metal v0.2.4 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Checking r0 v0.2.2 [INFO] [stderr] Checking generic-array v0.12.0 [INFO] [stderr] Checking hash32 v0.1.0 [INFO] [stderr] Checking generic-array v0.11.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking nb v0.1.2 [INFO] [stderr] Checking as-slice v0.1.0 [INFO] [stderr] Compiling cortex-m-rtfm v0.4.3 [INFO] [stderr] Checking embedded-hal v0.2.3 [INFO] [stderr] Checking aligned v0.2.0 [INFO] [stderr] Checking aligned v0.3.1 [INFO] [stderr] Checking usb-device v0.2.1 [INFO] [stderr] Checking cast v0.2.2 [INFO] [stderr] Checking panic-halt v0.2.0 [INFO] [stderr] Checking usbd-serial v0.1.0 (https://github.com/mvirkkunen/usbd-serial#cb18cef7) [INFO] [stderr] Checking digital-filter v0.1.0 (https://github.com/bentwire/digital-filter.git#47339eff) [INFO] [stderr] Checking panic-semihosting v0.5.2 [INFO] [stderr] Compiling cortex-m-rt-macros v0.1.5 [INFO] [stderr] Compiling owned-singleton-macros v0.1.0 [INFO] [stderr] Compiling cortex-m-rtfm-macros v0.4.3 [INFO] [stderr] Checking owned-singleton v0.1.0 [INFO] [stderr] Checking stm32f0xx-hal v0.14.1 [INFO] [stderr] Checking stm32-usbd v0.2.1 [INFO] [stderr] Checking stm32f072-usb-test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `dac` [INFO] [stdout] --> src/main.rs:19:26 [INFO] [stdout] | [INFO] [stdout] 19 | use stm32f0::stm32f0x2::{dac, Interrupt}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `digital_filter::DigitalFilter` [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use digital_filter::DigitalFilter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt::Write` [INFO] [stdout] --> src/main.rs:32:27 [INFO] [stdout] | [INFO] [stdout] 32 | use core::{cell::RefCell, fmt::Write, ops::DerefMut}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:90:46 [INFO] [stdout] | [INFO] [stdout] 90 | let hid = HidClass::new(unsafe { USB_BUS.as_ref().unwrap() }, true, &hiddesc::DESC); [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] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:91:52 [INFO] [stdout] | [INFO] [stdout] 91 | let serial = CdcAcmClass::new(unsafe { USB_BUS.as_ref().unwrap() }, 64); [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 shared reference to mutable static [INFO] [stdout] --> src/main.rs:93:26 [INFO] [stdout] | [INFO] [stdout] 93 | unsafe { USB_BUS.as_ref().unwrap() }, [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: unused import: `dac` [INFO] [stdout] --> src/main.rs:19:26 [INFO] [stdout] | [INFO] [stdout] 19 | use stm32f0::stm32f0x2::{dac, Interrupt}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `digital_filter::DigitalFilter` [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use digital_filter::DigitalFilter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt::Write` [INFO] [stdout] --> src/main.rs:32:27 [INFO] [stdout] | [INFO] [stdout] 32 | use core::{cell::RefCell, fmt::Write, ops::DerefMut}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: duplicate lang item in crate `std` (which `test` depends on): `panic_impl` [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `panic_semihosting` (which `stm32f072_usb_test` depends on) [INFO] [stdout] = note: first definition in `panic_semihosting` loaded from /opt/rustwide/target/debug/deps/libpanic_semihosting-fc101376ddacfc16.rmeta [INFO] [stdout] = note: second definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/bf5ff6675cf10ce009ac02007b064a7cfc4509ac/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-5024342751ec4fae.rlib [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `stm32f072-usb-test` (bin "stm32f072-usb-test" test) due to 1 previous error; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "21d50a63ca9a52602133b67c922cd803a4a9906c40b05e1577a42fe555982d30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21d50a63ca9a52602133b67c922cd803a4a9906c40b05e1577a42fe555982d30", kill_on_drop: false }` [INFO] [stdout] 21d50a63ca9a52602133b67c922cd803a4a9906c40b05e1577a42fe555982d30