[INFO] cloning repository https://github.com/ButtNaked/oinke-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ButtNaked/oinke-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FButtNaked%2Foinke-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FButtNaked%2Foinke-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 819fb9c6dbaf2fb7b299f255f70f83a27b3688c6 [INFO] checking ButtNaked/oinke-rs/819fb9c6dbaf2fb7b299f255f70f83a27b3688c6 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FButtNaked%2Foinke-rs" "/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/ButtNaked/oinke-rs on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7-tc1/source/.cargo/config [INFO] started tweaking git repo https://github.com/ButtNaked/oinke-rs [INFO] finished tweaking git repo https://github.com/ButtNaked/oinke-rs [INFO] tweaked toml for git repo https://github.com/ButtNaked/oinke-rs written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ButtNaked/oinke-rs 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: pathc [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded usb-device v0.2.8 [INFO] [stderr] Downloaded usbd-hid v0.5.0 [INFO] [stderr] Downloaded synopsys-usb-otg v0.2.4 [INFO] [stderr] Downloaded ssmarshal v1.0.0 [INFO] [stderr] Downloaded usbd-hid-descriptors v0.1.1 [INFO] [stderr] Downloaded bmp280-ehal v0.0.5 [INFO] [stderr] Downloaded usbd-hid-macros v0.5.0 [INFO] [stderr] Downloaded jlink_rtt v0.2.0 [INFO] [stderr] Downloaded built v0.5.1 [INFO] [stderr] Downloaded atomic-polyfill v0.1.2 [INFO] [stderr] Downloaded rtic-core v0.3.1 [INFO] [stderr] Downloaded stm32f4xx-hal v0.9.0 [INFO] [stderr] Downloaded cargo-lock v7.0.0 [INFO] [stderr] Downloaded heapless v0.7.1 [INFO] [stderr] Downloaded git2 v0.13.20 [INFO] [stderr] Downloaded cortex-m-rtic v0.5.6 [INFO] [stderr] Downloaded libgit2-sys v0.12.21+1.1.0 [INFO] [stderr] Downloaded stm32f4 v0.13.0 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 53ced8393d6f67d8e8dafa535b85cfd2fd107ad4dd59dccf3d287bd57810e8d6 [INFO] running `Command { std: "docker" "start" "-a" "53ced8393d6f67d8e8dafa535b85cfd2fd107ad4dd59dccf3d287bd57810e8d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "53ced8393d6f67d8e8dafa535b85cfd2fd107ad4dd59dccf3d287bd57810e8d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53ced8393d6f67d8e8dafa535b85cfd2fd107ad4dd59dccf3d287bd57810e8d6", kill_on_drop: false }` [INFO] [stdout] 53ced8393d6f67d8e8dafa535b85cfd2fd107ad4dd59dccf3d287bd57810e8d6 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 92b9c5a27f2b2c50b0aadee7a669e9af08d9e409dc3468f4f20a84d2c8473561 [INFO] running `Command { std: "docker" "start" "-a" "92b9c5a27f2b2c50b0aadee7a669e9af08d9e409dc3468f4f20a84d2c8473561", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: pathc [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking nb v1.0.0 [INFO] [stderr] Compiling cortex-m v0.7.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Checking vcell v0.1.3 [INFO] [stderr] Checking embedded-hal v0.2.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking volatile-register v0.2.0 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling cortex-m-rt v0.6.14 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling cortex-m v0.6.7 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Checking r0 v0.2.2 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Checking generic-array v0.13.3 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Compiling stm32f4 v0.13.0 [INFO] [stderr] Compiling synopsys-usb-otg v0.2.4 [INFO] [stderr] Checking usb-device v0.2.8 [INFO] [stderr] Checking as-slice v0.1.5 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling heapless v0.6.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling rustc_version v0.3.3 [INFO] [stderr] Compiling usbd-hid-descriptors v0.1.1 [INFO] [stderr] Checking aligned v0.3.4 [INFO] [stderr] Checking hash32 v0.1.1 [INFO] [stderr] Compiling cortex-m-rtic v0.5.6 [INFO] [stderr] Compiling cast v0.2.6 [INFO] [stderr] Compiling heapless v0.7.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking encode_unicode v0.3.6 [INFO] [stderr] Checking hash32 v0.2.1 [INFO] [stderr] Checking embedded-dma v0.1.2 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking rtcc v0.2.1 [INFO] [stderr] Checking rtic-core v0.3.1 [INFO] [stderr] Checking bare-metal v1.0.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking bmp280-ehal v0.0.5 [INFO] [stderr] Checking arrayvec v0.7.1 [INFO] [stderr] Checking jlink_rtt v0.2.0 [INFO] [stderr] Checking ssmarshal v1.0.0 [INFO] [stderr] Compiling rtic-syntax v0.4.0 [INFO] [stderr] Compiling cortex-m-rt-macros v0.1.8 [INFO] [stderr] Compiling num_enum_derive v0.5.1 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling cortex-m-rtic-macros v0.5.2 [INFO] [stderr] Checking num_enum v0.5.1 [INFO] [stderr] Compiling usbd-hid-macros v0.5.0 [INFO] [stderr] Checking usbd-hid v0.5.0 [INFO] [stderr] Checking stm32f4xx-hal v0.9.0 [INFO] [stderr] Checking oinke-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `stm32f4xx_hal::pac::DWT` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use stm32f4xx_hal::pac::DWT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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] warning: unused import: `stm32f4xx_hal::pac::DWT` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use stm32f4xx_hal::pac::DWT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> src/sys.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / fn panic(info: &PanicInfo) -> ! { [INFO] [stdout] 14 | | interrupt::disable(); [INFO] [stdout] 15 | | log::error!("Panic handler! Reseting..."); [INFO] [stdout] 16 | | log::error!("Panic info : {}", info); [INFO] [stdout] ... | [INFO] [stdout] 19 | | } [INFO] [stdout] 20 | | } [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/f609b7e0586f81fefb3523e3e17adf779ac416be/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-e0ee872a6f64065a.rlib [INFO] [stdout] = note: second definition in the local crate (`oinke_rs`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 80 | / loop { [INFO] [stdout] 81 | | if usb_dev.poll(&mut [&mut mouse]) { [INFO] [stdout] 82 | | if cnt % 1 == 0 { [INFO] [stdout] 83 | | let _ = mouse.push_input(& [INFO] [stdout] ... | [INFO] [stdout] 103 | | cnt = cnt.wrapping_add(1); [INFO] [stdout] 104 | | } [INFO] [stdout] | |_____________- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 114 | init::LateResources { a: 0 } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:67:53 [INFO] [stdout] | [INFO] [stdout] 67 | let usb_bus = UsbBus::new(usb, unsafe { &mut EP_MEMORY }); [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 67 | let usb_bus = UsbBus::new(usb, unsafe { addr_of_mut!(EP_MEMORY) }); [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `oinke-rs` (bin "oinke-rs" test) due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `oinke-rs` (bin "oinke-rs") due to 2 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "92b9c5a27f2b2c50b0aadee7a669e9af08d9e409dc3468f4f20a84d2c8473561", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92b9c5a27f2b2c50b0aadee7a669e9af08d9e409dc3468f4f20a84d2c8473561", kill_on_drop: false }` [INFO] [stdout] 92b9c5a27f2b2c50b0aadee7a669e9af08d9e409dc3468f4f20a84d2c8473561