[INFO] cloning repository https://github.com/zawodskoj/focus-mediabtn [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zawodskoj/focus-mediabtn" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzawodskoj%2Ffocus-mediabtn", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzawodskoj%2Ffocus-mediabtn'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8adf33edc1b0d062590b943b924c1b49718c9b1d [INFO] checking zawodskoj/focus-mediabtn against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzawodskoj%2Ffocus-mediabtn" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-7-tc2/source/.cargo/config [INFO] started tweaking git repo https://github.com/zawodskoj/focus-mediabtn [INFO] finished tweaking git repo https://github.com/zawodskoj/focus-mediabtn [INFO] tweaked toml for git repo https://github.com/zawodskoj/focus-mediabtn written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/zawodskoj/focus-mediabtn on toolchain 7b3da9103634dffd4f4365cfd8642427c781d99f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/zawodskoj/focus-mediabtn 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" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "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 stm32-usbd v0.6.0 [INFO] [stderr] Downloaded cortex-m-rt v0.7.3 [INFO] [stderr] Downloaded fugit-timer v0.1.3 [INFO] [stderr] Downloaded unwrap-infallible v0.1.5 [INFO] [stderr] Downloaded rtic-monotonic v1.0.0 [INFO] [stderr] Downloaded cortex-m-rt-macros v0.7.0 [INFO] [stderr] Downloaded usb-device v0.2.9 [INFO] [stderr] Downloaded rtt-target v0.5.0 [INFO] [stderr] Downloaded rtic-core v1.0.0 [INFO] [stderr] Downloaded cortex-m-rtic-macros v1.1.6 [INFO] [stderr] Downloaded rtic-syntax v1.0.3 [INFO] [stderr] Downloaded bxcan v0.7.0 [INFO] [stderr] Downloaded fugit v0.3.7 [INFO] [stderr] Downloaded cortex-m-semihosting v0.5.0 [INFO] [stderr] Downloaded panic-semihosting v0.6.0 [INFO] [stderr] Downloaded cortex-m-rtic v1.1.4 [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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c93a2dcef2ed4e34ac424966f92029128b5a34056b73dc7d85fb7b6f54e6612d [INFO] running `Command { std: "docker" "start" "-a" "c93a2dcef2ed4e34ac424966f92029128b5a34056b73dc7d85fb7b6f54e6612d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c93a2dcef2ed4e34ac424966f92029128b5a34056b73dc7d85fb7b6f54e6612d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c93a2dcef2ed4e34ac424966f92029128b5a34056b73dc7d85fb7b6f54e6612d", kill_on_drop: false }` [INFO] [stdout] c93a2dcef2ed4e34ac424966f92029128b5a34056b73dc7d85fb7b6f54e6612d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Dinherent-method-on-receiver" "-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 940fe487e9ad863044ca7175c0cfbfeb3e02e8aca3215d5704c72f42a418b55b [INFO] running `Command { std: "docker" "start" "-a" "940fe487e9ad863044ca7175c0cfbfeb3e02e8aca3215d5704c72f42a418b55b", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cortex-m v0.7.7 [INFO] [stderr] Checking nb v1.1.0 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Checking vcell v0.1.3 [INFO] [stderr] Checking void v1.0.2 [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] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking volatile-register v0.2.2 [INFO] [stderr] Compiling stm32-usbd v0.6.0 [INFO] [stderr] Checking bare-metal v1.0.0 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling stm32f1 v0.15.1 [INFO] [stderr] Checking gcd v2.3.0 [INFO] [stderr] Checking embedded-hal v0.2.7 [INFO] [stderr] Compiling cortex-m-rtic v1.1.4 [INFO] [stderr] Checking rtic-monotonic v1.0.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking usb-device v0.2.9 [INFO] [stderr] Checking hash32 v0.2.1 [INFO] [stderr] Checking fugit v0.3.7 [INFO] [stderr] Checking embedded-dma v0.2.0 [INFO] [stderr] Checking ufmt-write v0.1.0 [INFO] [stderr] Checking rtic-core v1.0.0 [INFO] [stderr] Compiling focus-mediabtn v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking panic-halt v0.2.0 [INFO] [stderr] Checking unwrap-infallible v0.1.5 [INFO] [stderr] Checking bxcan v0.7.0 [INFO] [stderr] Checking rtt-target v0.5.0 [INFO] [stdout] warning: unexpected `cfg` condition value: `bootloader` [INFO] [stdout] --> build.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | #[cfg(all(feature = "bootloader", not(feature = "elf")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cortex-m-semihosting`, `panic-semihosting`, and `semihosting` [INFO] [stdout] = help: consider adding `bootloader` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `elf` [INFO] [stdout] --> build.rs:18:43 [INFO] [stdout] | [INFO] [stdout] 18 | #[cfg(all(feature = "bootloader", not(feature = "elf")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cortex-m-semihosting`, `panic-semihosting`, and `semihosting` [INFO] [stdout] = help: consider adding `elf` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `bootloader` [INFO] [stdout] --> build.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | #[cfg(all(feature = "bootloader", feature = "elf"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cortex-m-semihosting`, `panic-semihosting`, and `semihosting` [INFO] [stdout] = help: consider adding `bootloader` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `elf` [INFO] [stdout] --> build.rs:28:39 [INFO] [stdout] | [INFO] [stdout] 28 | #[cfg(all(feature = "bootloader", feature = "elf"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cortex-m-semihosting`, `panic-semihosting`, and `semihosting` [INFO] [stdout] = help: consider adding `elf` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `bootloader` [INFO] [stdout] --> build.rs:38:15 [INFO] [stdout] | [INFO] [stdout] 38 | #[cfg(not(feature = "bootloader"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cortex-m-semihosting`, `panic-semihosting`, and `semihosting` [INFO] [stdout] = help: consider adding `bootloader` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking fugit-timer v0.1.3 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Compiling rtic-syntax v1.0.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling cortex-m-rt-macros v0.7.0 [INFO] [stderr] Compiling cortex-m-rtic-macros v1.1.6 [INFO] [stderr] Checking stm32f1xx-hal v0.10.0 [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/main.rs:119:16 [INFO] [stdout] | [INFO] [stdout] 119 | if let Id::Standard(id) = frame.id() && id.as_raw() == 0x2d5 && let Some(data) = frame.data() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/main.rs:119:77 [INFO] [stdout] | [INFO] [stdout] 119 | if let Id::Standard(id) = frame.id() && id.as_raw() == 0x2d5 && let Some(data) = frame.data() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/main.rs:119:16 [INFO] [stdout] | [INFO] [stdout] 119 | if let Id::Standard(id) = frame.id() && id.as_raw() == 0x2d5 && let Some(data) = frame.data() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/main.rs:119:77 [INFO] [stdout] | [INFO] [stdout] 119 | if let Id::Standard(id) = frame.id() && id.as_raw() == 0x2d5 && let Some(data) = frame.data() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `connectivity` [INFO] [stdout] --> src/main.rs:73:11 [INFO] [stdout] | [INFO] [stdout] 73 | #[cfg(feature = "connectivity")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cortex-m-semihosting`, `panic-semihosting`, and `semihosting` [INFO] [stdout] = help: consider adding `connectivity` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `connectivity` [INFO] [stdout] --> src/main.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 43 | #[cfg(not(feature = "connectivity"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cortex-m-semihosting`, `panic-semihosting`, and `semihosting` [INFO] [stdout] = help: consider adding `connectivity` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `connectivity` [INFO] [stdout] --> src/main.rs:45:15 [INFO] [stdout] | [INFO] [stdout] 45 | #[cfg(feature = "connectivity")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cortex-m-semihosting`, `panic-semihosting`, and `semihosting` [INFO] [stdout] = help: consider adding `connectivity` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [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: the feature `let_chains` has been stable since 1.88.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(let_chains)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `connectivity` [INFO] [stdout] --> src/main.rs:73:11 [INFO] [stdout] | [INFO] [stdout] 73 | #[cfg(feature = "connectivity")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cortex-m-semihosting`, `panic-semihosting`, and `semihosting` [INFO] [stdout] = help: consider adding `connectivity` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `connectivity` [INFO] [stdout] --> src/main.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 43 | #[cfg(not(feature = "connectivity"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cortex-m-semihosting`, `panic-semihosting`, and `semihosting` [INFO] [stdout] = help: consider adding `connectivity` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `connectivity` [INFO] [stdout] --> src/main.rs:45:15 [INFO] [stdout] | [INFO] [stdout] 45 | #[cfg(feature = "connectivity")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cortex-m-semihosting`, `panic-semihosting`, and `semihosting` [INFO] [stdout] = help: consider adding `connectivity` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [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 `focus_mediabtn` depends on) [INFO] [stdout] = note: first definition in `panic_halt` loaded from /opt/rustwide/target/debug/deps/libpanic_halt-f47c2e0739d33cb3.rmeta [INFO] [stdout] = note: second definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/7b3da9103634dffd4f4365cfd8642427c781d99f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-d21d73a0ded86791.rmeta [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `focus-mediabtn` (bin "focus-mediabtn") due to 3 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `focus-mediabtn` (bin "focus-mediabtn" test) due to 3 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "940fe487e9ad863044ca7175c0cfbfeb3e02e8aca3215d5704c72f42a418b55b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "940fe487e9ad863044ca7175c0cfbfeb3e02e8aca3215d5704c72f42a418b55b", kill_on_drop: false }` [INFO] [stdout] 940fe487e9ad863044ca7175c0cfbfeb3e02e8aca3215d5704c72f42a418b55b