[INFO] cloning repository https://github.com/Randommist/stm32_rust_example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Randommist/stm32_rust_example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRandommist%2Fstm32_rust_example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRandommist%2Fstm32_rust_example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7c33c24dfebae536319c57aa2c07560bae8c1415 [INFO] checking Randommist/stm32_rust_example against try#2c4819a380dbddb1f2a0f4405a49fb6ed90983ae for pr-152996 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRandommist%2Fstm32_rust_example" "/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/Randommist/stm32_rust_example [INFO] finished tweaking git repo https://github.com/Randommist/stm32_rust_example [INFO] tweaked toml for git repo https://github.com/Randommist/stm32_rust_example written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Randommist/stm32_rust_example on toolchain 2c4819a380dbddb1f2a0f4405a49fb6ed90983ae [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2c4819a380dbddb1f2a0f4405a49fb6ed90983ae" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Randommist/stm32_rust_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" "+2c4819a380dbddb1f2a0f4405a49fb6ed90983ae" "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 cortex-m-rt-macros v0.7.0 [INFO] [stderr] Downloaded bare-metal v1.0.0 [INFO] [stderr] Downloaded stm32-usbd v0.6.0 [INFO] [stderr] Downloaded fugit-timer v0.1.3 [INFO] [stderr] Downloaded usb-device v0.2.9 [INFO] [stderr] Downloaded panic-halt v0.2.0 [INFO] [stderr] Downloaded cortex-m-rt v0.7.3 [INFO] [stderr] Downloaded embedded-dma v0.2.0 [INFO] [stderr] Downloaded fugit v0.3.7 [INFO] [stderr] Downloaded bxcan v0.7.0 [INFO] [stderr] Downloaded rtt-target v0.5.0 [INFO] [stderr] Downloaded critical-section v1.1.2 [INFO] [stderr] Downloaded stm32f1xx-hal v0.10.0 [INFO] [stderr] Downloaded stm32f1 v0.15.1 [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" "+2c4819a380dbddb1f2a0f4405a49fb6ed90983ae" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2f8db91144cf2b268e7c713bd90ba67f8a8ef5f54809b7eba22734fc2a235bf6 [INFO] running `Command { std: "docker" "start" "-a" "2f8db91144cf2b268e7c713bd90ba67f8a8ef5f54809b7eba22734fc2a235bf6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2f8db91144cf2b268e7c713bd90ba67f8a8ef5f54809b7eba22734fc2a235bf6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f8db91144cf2b268e7c713bd90ba67f8a8ef5f54809b7eba22734fc2a235bf6", kill_on_drop: false }` [INFO] [stdout] 2f8db91144cf2b268e7c713bd90ba67f8a8ef5f54809b7eba22734fc2a235bf6 [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" "+2c4819a380dbddb1f2a0f4405a49fb6ed90983ae" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7a26cc73c385cb3bf330472a153c6de02d8f24a9f9652c00aaa9421c01cde286 [INFO] running `Command { std: "docker" "start" "-a" "7a26cc73c385cb3bf330472a153c6de02d8f24a9f9652c00aaa9421c01cde286", kill_on_drop: false }` [INFO] [stderr] Checking nb v1.1.0 [INFO] [stderr] Compiling cortex-m v0.7.7 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking vcell v0.1.3 [INFO] [stderr] Checking critical-section v1.1.2 [INFO] [stderr] Compiling cortex-m-rt v0.7.3 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Compiling stm32f1 v0.15.1 [INFO] [stderr] Compiling stm32-usbd v0.6.0 [INFO] [stderr] Checking gcd v2.3.0 [INFO] [stderr] Checking bare-metal v1.0.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Checking usb-device v0.2.9 [INFO] [stderr] Checking ufmt-write v0.1.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking volatile-register v0.2.2 [INFO] [stderr] Checking panic-halt v0.2.0 [INFO] [stderr] Checking embedded-hal v1.0.0 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking embedded-dma v0.2.0 [INFO] [stderr] Checking fugit v0.3.7 [INFO] [stderr] Checking rtt-target v0.5.0 [INFO] [stderr] Checking embedded-hal v0.2.7 [INFO] [stderr] Checking fugit-timer v0.1.3 [INFO] [stderr] Checking bxcan v0.7.0 [INFO] [stderr] Compiling cortex-m-rt-macros v0.7.0 [INFO] [stderr] Checking stm32f1xx-hal v0.10.0 [INFO] [stderr] Checking rust_embeded_stm32 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `hal::main as hal_main` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use hal::main as hal_main; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pac::main as pac_main` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use pac::main as pac_main; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [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] [stderr] error: could not compile `rust_embeded_stm32` (bin "rust_embeded_stm32") due to 1 previous error; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `hal::main as hal_main` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use hal::main as hal_main; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_embeded_stm32` (bin "rust_embeded_stm32" test) due to 1 previous error; 2 warnings emitted [INFO] [stdout] warning: unused import: `pac::main as pac_main` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use pac::main as pac_main; [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_halt` (which `rust_embeded_stm32` depends on) [INFO] [stdout] = note: first definition in `panic_halt` loaded from /opt/rustwide/target/debug/deps/libpanic_halt-b09f8ab056e64272.rmeta [INFO] [stdout] = note: second definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/2c4819a380dbddb1f2a0f4405a49fb6ed90983ae/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-eaa78b24106cd0ea.rmeta [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7a26cc73c385cb3bf330472a153c6de02d8f24a9f9652c00aaa9421c01cde286", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a26cc73c385cb3bf330472a153c6de02d8f24a9f9652c00aaa9421c01cde286", kill_on_drop: false }` [INFO] [stdout] 7a26cc73c385cb3bf330472a153c6de02d8f24a9f9652c00aaa9421c01cde286