[INFO] cloning repository https://github.com/patosai/esc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/patosai/esc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatosai%2Fesc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatosai%2Fesc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 613b65adb131472aa7af0a2c779bf053cee5cbc9 [INFO] checking patosai/esc against try#5ef65a4ed75279dc1b7a26cedc27293a9f4ca8db for pr-143717 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatosai%2Fesc" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/info/exclude' to '/workspace/builds/worker-6-tc2/source/.git/info/exclude': No space left on device [INFO] checking patosai/esc against try#5ef65a4ed75279dc1b7a26cedc27293a9f4ca8db for pr-143717 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatosai%2Fesc" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/info/exclude' to '/workspace/builds/worker-6-tc2/source/.git/info/exclude': No space left on device [INFO] checking patosai/esc against try#5ef65a4ed75279dc1b7a26cedc27293a9f4ca8db for pr-143717 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatosai%2Fesc" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-6-tc2/source/.cargo/config [INFO] started tweaking git repo https://github.com/patosai/esc [INFO] finished tweaking git repo https://github.com/patosai/esc [INFO] tweaked toml for git repo https://github.com/patosai/esc written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/patosai/esc on toolchain 5ef65a4ed75279dc1b7a26cedc27293a9f4ca8db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5ef65a4ed75279dc1b7a26cedc27293a9f4ca8db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/patosai/esc 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" "+5ef65a4ed75279dc1b7a26cedc27293a9f4ca8db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+5ef65a4ed75279dc1b7a26cedc27293a9f4ca8db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 26ecb44a1ee9ad2897d22fb571521585f3284025f7aabc7aed8553ae15a2f7dd [INFO] running `Command { std: "docker" "start" "-a" "26ecb44a1ee9ad2897d22fb571521585f3284025f7aabc7aed8553ae15a2f7dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "26ecb44a1ee9ad2897d22fb571521585f3284025f7aabc7aed8553ae15a2f7dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26ecb44a1ee9ad2897d22fb571521585f3284025f7aabc7aed8553ae15a2f7dd", kill_on_drop: false }` [INFO] [stdout] 26ecb44a1ee9ad2897d22fb571521585f3284025f7aabc7aed8553ae15a2f7dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+5ef65a4ed75279dc1b7a26cedc27293a9f4ca8db" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0d1b07bc03a56b33bb3282387ab714124ca91d44ae47e790b46c63c71c4e6aa1 [INFO] running `Command { std: "docker" "start" "-a" "0d1b07bc03a56b33bb3282387ab714124ca91d44ae47e790b46c63c71c4e6aa1", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Compiling syn v0.15.39 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling cortex-m v0.6.0 [INFO] [stderr] Checking vcell v0.1.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking volatile-register v0.2.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling cortex-m-rt v0.6.8 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling stm32f4 v0.7.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking r0 v0.2.2 [INFO] [stderr] Checking nb v0.1.2 [INFO] [stderr] Compiling cortex-m-semihosting v0.3.3 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking cast v0.2.2 [INFO] [stderr] Checking panic-halt v0.2.0 [INFO] [stderr] Checking embedded-hal v0.2.3 [INFO] [stderr] Compiling bare-metal v0.2.4 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking as-slice v0.1.0 [INFO] [stderr] Checking aligned v0.3.1 [INFO] [stderr] Compiling cortex-m-rt-macros v0.1.5 [INFO] [stderr] Checking stm32f4xx-hal v0.5.0 [INFO] [stderr] Checking esc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `spi::Spi` [INFO] [stdout] --> src/spi.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | let spi = spi::Spi( [INFO] [stdout] | _______________^ [INFO] [stdout] 12 | | p.SPI2, [INFO] [stdout] 13 | | (tx, rx), [INFO] [stdout] 14 | | (spi::Polarity::IdleHigh, spi::Phase::CaptureOnFirstTransition), [INFO] [stdout] 15 | | HERTZ, [INFO] [stdout] 16 | | clocks, [INFO] [stdout] 17 | | ).unwrap(); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stm32f4xx-hal-0.5.0/src/spi.rs:720:1 [INFO] [stdout] | [INFO] [stdout] 720 | pub struct Spi { [INFO] [stdout] | ------------------------- `spi::Spi` defined here [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use an associated function to build this type [INFO] [stdout] | [INFO] [stdout] 11 - let spi = spi::Spi( [INFO] [stdout] 12 - p.SPI2, [INFO] [stdout] 13 - (tx, rx), [INFO] [stdout] 14 - (spi::Polarity::IdleHigh, spi::Phase::CaptureOnFirstTransition), [INFO] [stdout] 15 - HERTZ, [INFO] [stdout] 16 - clocks, [INFO] [stdout] 17 - ).unwrap(); [INFO] [stdout] 11 + let spi = spi::Spi::spi1(_, _, _, _, _).unwrap(); [INFO] [stdout] | [INFO] [stdout] 11 - let spi = spi::Spi( [INFO] [stdout] 12 - p.SPI2, [INFO] [stdout] 13 - (tx, rx), [INFO] [stdout] 14 - (spi::Polarity::IdleHigh, spi::Phase::CaptureOnFirstTransition), [INFO] [stdout] 15 - HERTZ, [INFO] [stdout] 16 - clocks, [INFO] [stdout] 17 - ).unwrap(); [INFO] [stdout] 11 + let spi = spi::Spi::spi2(_, _, _, _, _).unwrap(); [INFO] [stdout] | [INFO] [stdout] 11 - let spi = spi::Spi( [INFO] [stdout] 12 - p.SPI2, [INFO] [stdout] 13 - (tx, rx), [INFO] [stdout] 14 - (spi::Polarity::IdleHigh, spi::Phase::CaptureOnFirstTransition), [INFO] [stdout] 15 - HERTZ, [INFO] [stdout] 16 - clocks, [INFO] [stdout] 17 - ).unwrap(); [INFO] [stdout] 11 + let spi = spi::Spi::spi3(_, _, _, _, _).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HERTZ` in this scope [INFO] [stdout] --> src/spi.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | HERTZ, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `rcc` in module `stm32f4xx_hal::prelude` [INFO] [stdout] --> src/main.rs:26:42 [INFO] [stdout] | [INFO] [stdout] 26 | let clocks = stm32f4xx_hal::prelude::rcc.cfgr.sysclk(48_u32.mhz()).freeze(); [INFO] [stdout] | ^^^ not found in `stm32f4xx_hal::prelude` [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 `esc` 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/5ef65a4ed75279dc1b7a26cedc27293a9f4ca8db/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-54e42b35ab65fe3c.rlib [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `spi::Spi` [INFO] [stdout] --> src/spi.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | let spi = spi::Spi( [INFO] [stdout] | _______________^ [INFO] [stdout] 12 | | p.SPI2, [INFO] [stdout] 13 | | (tx, rx), [INFO] [stdout] 14 | | (spi::Polarity::IdleHigh, spi::Phase::CaptureOnFirstTransition), [INFO] [stdout] 15 | | HERTZ, [INFO] [stdout] 16 | | clocks, [INFO] [stdout] 17 | | ).unwrap(); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stm32f4xx-hal-0.5.0/src/spi.rs:720:1 [INFO] [stdout] | [INFO] [stdout] 720 | pub struct Spi { [INFO] [stdout] | ------------------------- `spi::Spi` defined here [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use an associated function to build this type [INFO] [stdout] | [INFO] [stdout] 11 - let spi = spi::Spi( [INFO] [stdout] 12 - p.SPI2, [INFO] [stdout] 13 - (tx, rx), [INFO] [stdout] 14 - (spi::Polarity::IdleHigh, spi::Phase::CaptureOnFirstTransition), [INFO] [stdout] 15 - HERTZ, [INFO] [stdout] 16 - clocks, [INFO] [stdout] 17 - ).unwrap(); [INFO] [stdout] 11 + let spi = spi::Spi::spi1(_, _, _, _, _).unwrap(); [INFO] [stdout] | [INFO] [stdout] 11 - let spi = spi::Spi( [INFO] [stdout] 12 - p.SPI2, [INFO] [stdout] 13 - (tx, rx), [INFO] [stdout] 14 - (spi::Polarity::IdleHigh, spi::Phase::CaptureOnFirstTransition), [INFO] [stdout] 15 - HERTZ, [INFO] [stdout] 16 - clocks, [INFO] [stdout] 17 - ).unwrap(); [INFO] [stdout] 11 + let spi = spi::Spi::spi2(_, _, _, _, _).unwrap(); [INFO] [stdout] | [INFO] [stdout] 11 - let spi = spi::Spi( [INFO] [stdout] 12 - p.SPI2, [INFO] [stdout] 13 - (tx, rx), [INFO] [stdout] 14 - (spi::Polarity::IdleHigh, spi::Phase::CaptureOnFirstTransition), [INFO] [stdout] 15 - HERTZ, [INFO] [stdout] 16 - clocks, [INFO] [stdout] 17 - ).unwrap(); [INFO] [stdout] 11 + let spi = spi::Spi::spi3(_, _, _, _, _).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HERTZ` in this scope [INFO] [stdout] --> src/spi.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | HERTZ, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `rcc` in module `stm32f4xx_hal::prelude` [INFO] [stdout] --> src/main.rs:26:42 [INFO] [stdout] | [INFO] [stdout] 26 | let clocks = stm32f4xx_hal::prelude::rcc.cfgr.sysclk(48_u32.mhz()).freeze(); [INFO] [stdout] | ^^^ not found in `stm32f4xx_hal::prelude` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0152, E0423, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0152`. [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: use of deprecated method `stm32f4xx_hal::prelude::_embedded_hal_digital_OutputPin::set_high`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/gpio.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | .set_high(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `esc` (bin "esc" test) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/adc.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn enable_adc(p: Peripherals) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `millivolts` [INFO] [stdout] --> src/adc.rs:18:39 [INFO] [stdout] | [INFO] [stdout] 18 | fn voltage_millivolts_to_current_amps(millivolts: u16) -> u16 { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_millivolts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [INFO] [stdout] [INFO] [stderr] error: could not compile `esc` (bin "esc") due to 4 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0d1b07bc03a56b33bb3282387ab714124ca91d44ae47e790b46c63c71c4e6aa1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d1b07bc03a56b33bb3282387ab714124ca91d44ae47e790b46c63c71c4e6aa1", kill_on_drop: false }` [INFO] [stdout] 0d1b07bc03a56b33bb3282387ab714124ca91d44ae47e790b46c63c71c4e6aa1