[INFO] cloning repository https://github.com/BBScholar/rmc_mag_encoder_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BBScholar/rmc_mag_encoder_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBBScholar%2Frmc_mag_encoder_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBBScholar%2Frmc_mag_encoder_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 18dd56250cc68669b0b60a9d4126828a1a0fdb18 [INFO] checking BBScholar/rmc_mag_encoder_rust against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBBScholar%2Frmc_mag_encoder_rust" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/BBScholar/rmc_mag_encoder_rust on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7/source/.cargo/config [INFO] started tweaking git repo https://github.com/BBScholar/rmc_mag_encoder_rust [INFO] finished tweaking git repo https://github.com/BBScholar/rmc_mag_encoder_rust [INFO] tweaked toml for git repo https://github.com/BBScholar/rmc_mag_encoder_rust written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/BBScholar/rmc_mag_encoder_rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded stm32f1xx-hal v0.5.3 [INFO] [stderr] Downloaded stm32f1 v0.9.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] baf1d9aca90bb44223a2dcb99cb0000430ca67c1cd75264ca42646dd1847c713 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "baf1d9aca90bb44223a2dcb99cb0000430ca67c1cd75264ca42646dd1847c713", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "baf1d9aca90bb44223a2dcb99cb0000430ca67c1cd75264ca42646dd1847c713", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "baf1d9aca90bb44223a2dcb99cb0000430ca67c1cd75264ca42646dd1847c713", kill_on_drop: false }` [INFO] [stdout] baf1d9aca90bb44223a2dcb99cb0000430ca67c1cd75264ca42646dd1847c713 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 38d01cd1956a792b674035434d9bcd42558b1bd24ca032c27c66953b339e23da [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "38d01cd1956a792b674035434d9bcd42558b1bd24ca032c27c66953b339e23da", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling stm32f1 v0.9.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking embedded-hal v0.2.3 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Checking generic-array v0.13.2 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking as-slice v0.1.3 [INFO] [stderr] Checking aligned v0.3.2 [INFO] [stderr] Checking cortex-m v0.6.2 [INFO] [stderr] Compiling cortex-m-rt-macros v0.1.8 [INFO] [stderr] Checking cortex-m-rt v0.6.12 [INFO] [stderr] Checking stm32f1xx-hal v0.5.3 [INFO] [stderr] Checking mag_encoder_firmware v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `delay::Delay` [INFO] [stdout] --> src/main.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | use stm32f1xx_hal::{delay::Delay, pac, prelude::*, timer::Timer}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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 `mag_encoder_firmware` depends on) [INFO] [stdout] = note: first definition in `panic_halt` loaded from /opt/rustwide/target/debug/deps/libpanic_halt-574608e11c22a401.rmeta [INFO] [stdout] = note: second definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/f47dd4da3ae8c32c9e65d307bfe640b143e674df/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-edfba68bd3501617.rlib [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `delay::Delay` [INFO] [stdout] --> src/main.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | use stm32f1xx_hal::{delay::Delay, pac, prelude::*, timer::Timer}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: language item required, but not found: `eh_personality` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_push_pull_output` found for struct `PB4` in the current scope [INFO] [stdout] --> src/main.rs:36:29 [INFO] [stdout] | [INFO] [stdout] 36 | let status2 = gpiob.pb4.into_push_pull_output(&mut gpiob.crl) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ method not found in `PB4` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stm32f1xx-hal-0.5.3/src/gpio.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Debugger; [INFO] [stdout] | -------------------- doesn't satisfy `Debugger: stm32f1xx_hal::gpio::Active` [INFO] [stdout] | [INFO] [stdout] = note: the method `into_push_pull_output` exists but the following trait bounds were not satisfied: [INFO] [stdout] `Debugger: stm32f1xx_hal::gpio::Active` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_push_pull_output` found for struct `PB3` in the current scope [INFO] [stdout] --> src/main.rs:39:29 [INFO] [stdout] | [INFO] [stdout] 39 | let status3 = gpiob.pb3.into_push_pull_output(&mut gpiob.crl) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ method not found in `PB3` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stm32f1xx-hal-0.5.3/src/gpio.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Debugger; [INFO] [stdout] | -------------------- doesn't satisfy `Debugger: stm32f1xx_hal::gpio::Active` [INFO] [stdout] | [INFO] [stdout] = note: the method `into_push_pull_output` exists but the following trait bounds were not satisfied: [INFO] [stdout] `Debugger: stm32f1xx_hal::gpio::Active` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/main.rs:50:15 [INFO] [stdout] | [INFO] [stdout] 50 | x_pin.enable_interrupt() [INFO] [stdout] | ^^^^^^^^^^^^^^^^- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:57:48 [INFO] [stdout] | [INFO] [stdout] 57 | let encoder = Timer::tim2(p.TIM2, &clocks, &mut rcc.apb2).qei( [INFO] [stdout] | ^^^^^^^^^^^^^ expected struct `APB1`, found struct `APB2` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut APB1` [INFO] [stdout] found mutable reference `&mut APB2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_push_pull_output` found for struct `PB4` in the current scope [INFO] [stdout] --> src/main.rs:36:29 [INFO] [stdout] | [INFO] [stdout] 36 | let status2 = gpiob.pb4.into_push_pull_output(&mut gpiob.crl) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ method not found in `PB4` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stm32f1xx-hal-0.5.3/src/gpio.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Debugger; [INFO] [stdout] | -------------------- doesn't satisfy `Debugger: stm32f1xx_hal::gpio::Active` [INFO] [stdout] | [INFO] [stdout] = note: the method `into_push_pull_output` exists but the following trait bounds were not satisfied: [INFO] [stdout] `Debugger: stm32f1xx_hal::gpio::Active` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `::Periph == stm32f1xx_hal::pac::TIM2` [INFO] [stdout] --> src/main.rs:57:63 [INFO] [stdout] | [INFO] [stdout] 57 | let encoder = Timer::tim2(p.TIM2, &clocks, &mut rcc.apb2).qei( [INFO] [stdout] | ^^^ expected struct `TIM1`, found struct `stm32f1xx_hal::pac::TIM2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_push_pull_output` found for struct `PB3` in the current scope [INFO] [stdout] --> src/main.rs:39:29 [INFO] [stdout] | [INFO] [stdout] 39 | let status3 = gpiob.pb3.into_push_pull_output(&mut gpiob.crl) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ method not found in `PB3` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stm32f1xx-hal-0.5.3/src/gpio.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Debugger; [INFO] [stdout] | -------------------- doesn't satisfy `Debugger: stm32f1xx_hal::gpio::Active` [INFO] [stdout] | [INFO] [stdout] = note: the method `into_push_pull_output` exists but the following trait bounds were not satisfied: [INFO] [stdout] `Debugger: stm32f1xx_hal::gpio::Active` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0271, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/main.rs:50:15 [INFO] [stdout] | [INFO] [stdout] 50 | x_pin.enable_interrupt() [INFO] [stdout] | ^^^^^^^^^^^^^^^^- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mag_encoder_firmware` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:57:48 [INFO] [stdout] | [INFO] [stdout] 57 | let encoder = Timer::tim2(p.TIM2, &clocks, &mut rcc.apb2).qei( [INFO] [stdout] | ^^^^^^^^^^^^^ expected struct `APB1`, found struct `APB2` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut APB1` [INFO] [stdout] found mutable reference `&mut APB2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `::Periph == stm32f1xx_hal::pac::TIM2` [INFO] [stdout] --> src/main.rs:57:63 [INFO] [stdout] | [INFO] [stdout] 57 | let encoder = Timer::tim2(p.TIM2, &clocks, &mut rcc.apb2).qei( [INFO] [stdout] | ^^^ expected struct `TIM1`, found struct `stm32f1xx_hal::pac::TIM2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0271, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "38d01cd1956a792b674035434d9bcd42558b1bd24ca032c27c66953b339e23da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38d01cd1956a792b674035434d9bcd42558b1bd24ca032c27c66953b339e23da", kill_on_drop: false }` [INFO] [stdout] 38d01cd1956a792b674035434d9bcd42558b1bd24ca032c27c66953b339e23da