[INFO] cloning repository https://github.com/Hyrum-Coleman/elegoo-conqueror-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Hyrum-Coleman/elegoo-conqueror-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHyrum-Coleman%2Felegoo-conqueror-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHyrum-Coleman%2Felegoo-conqueror-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 25ae36a346593ab41a95c0588d2f5e81722add15
[INFO] building Hyrum-Coleman/elegoo-conqueror-rust against try#334963c956d25708feab489a3816ae63f639355d for pr-135216
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHyrum-Coleman%2Felegoo-conqueror-rust" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Hyrum-Coleman/elegoo-conqueror-rust on toolchain 334963c956d25708feab489a3816ae63f639355d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-7-tc2/source/.cargo/config.toml
[INFO] removed /workspace/builds/worker-7-tc2/source/rust-toolchain.toml
[INFO] started tweaking git repo https://github.com/Hyrum-Coleman/elegoo-conqueror-rust
[INFO] finished tweaking git repo https://github.com/Hyrum-Coleman/elegoo-conqueror-rust
[INFO] tweaked toml for git repo https://github.com/Hyrum-Coleman/elegoo-conqueror-rust written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/Hyrum-Coleman/elegoo-conqueror-rust 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" "+334963c956d25708feab489a3816ae63f639355d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5a32dff3a979e91bb907c8ce2b52005c3913ce63ce0ae44c78c0501634b19be0
[INFO] running `Command { std: "docker" "start" "-a" "5a32dff3a979e91bb907c8ce2b52005c3913ce63ce0ae44c78c0501634b19be0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5a32dff3a979e91bb907c8ce2b52005c3913ce63ce0ae44c78c0501634b19be0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5a32dff3a979e91bb907c8ce2b52005c3913ce63ce0ae44c78c0501634b19be0", kill_on_drop: false }`
[INFO] [stdout] 5a32dff3a979e91bb907c8ce2b52005c3913ce63ce0ae44c78c0501634b19be0
[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" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] da0b2befb2c403af945ad18ec70f5ea534e9791ad37eeb7acddc5d51c355a385
[INFO] running `Command { std: "docker" "start" "-a" "da0b2befb2c403af945ad18ec70f5ea534e9791ad37eeb7acddc5d51c355a385", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.63
[INFO] [stderr]    Compiling quote v1.0.29
[INFO] [stderr]    Compiling unicode-ident v1.0.10
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling nb v1.1.0
[INFO] [stderr]    Compiling rustversion v1.0.13
[INFO] [stderr]    Compiling proc-macro-hack v0.5.20+deprecated
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling paste v1.0.13
[INFO] [stderr]    Compiling vcell v0.1.3
[INFO] [stderr]    Compiling ufmt-write v0.1.0
[INFO] [stderr]    Compiling bare-metal v1.0.0
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling embedded-storage v0.2.0
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling gcd v2.3.0
[INFO] [stderr]    Compiling micromath v2.0.0
[INFO] [stderr]    Compiling panic-halt v0.2.0
[INFO] [stderr]    Compiling either v1.8.1
[INFO] [stderr]    Compiling nb v0.1.3
[INFO] [stderr]    Compiling embedded-hal v0.2.7
[INFO] [stderr]    Compiling fugit v0.3.7
[INFO] [stderr]    Compiling pwm-pca9685 v0.3.1
[INFO] [stderr]    Compiling infrared v0.14.2
[INFO] [stderr]    Compiling avr-hal-generic v0.1.0 (https://github.com/rahix/avr-hal?rev=7dfa6d322b9df98b2d98afe0e14a97afe0187ac1#7dfa6d32)
[INFO] [stderr]    Compiling ufmt-macros v0.2.0
[INFO] [stderr]    Compiling avr-device-macros v0.5.1
[INFO] [stderr]    Compiling avr-device v0.5.1
[INFO] [stderr]    Compiling ufmt v0.1.2
[INFO] [stderr]    Compiling atmega-hal v0.1.0 (https://github.com/rahix/avr-hal?rev=7dfa6d322b9df98b2d98afe0e14a97afe0187ac1#7dfa6d32)
[INFO] [stderr]    Compiling arduino-hal v0.1.0 (https://github.com/rahix/avr-hal?rev=7dfa6d322b9df98b2d98afe0e14a97afe0187ac1#7dfa6d32)
[INFO] [stderr]    Compiling elegoo-conqueror-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: Ensure that you are using an AVR target! You may need to change directories or pass a --target flag to cargo. See
[INFO] [stdout]               https://github.com/Rahix/avr-device/pull/41 for more details.
[INFO] [stdout]   --> src/main.rs:23:1
[INFO] [stdout]    |
[INFO] [stdout] 23 | #[arduino_hal::entry]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the attribute macro `arduino_hal::entry` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:85:68
[INFO] [stdout]    |
[INFO] [stdout] 85 | fn setup_sensors(pins: &Pins, adc: &mut Adc, sensor_timer: TC1) -> CombinedSensor {
[INFO] [stdout]    |    -------------                                                   ^^^^^^^^^^^^^^ expected `CombinedSensor`, found `()`
[INFO] [stdout]    |    |
[INFO] [stdout]    |    implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]    |
[INFO] [stdout] help: consider returning the local binding `combined_sensor`
[INFO] [stdout]    |
[INFO] [stdout] 97 ~     let mut combined_sensor = CombinedSensor::new(ir_module, sensor_unit);
[INFO] [stdout] 98 +     combined_sensor
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: borrow of partially moved value: `pins`
[INFO] [stdout]    --> src/main.rs:39:41
[INFO] [stdout]     |
[INFO] [stdout] 27  |     let serial = arduino_hal::default_serial!(dp, pins, 57600);
[INFO] [stdout]     |                  --------------------------------------------- `pins.d1` partially moved due to this method call
[INFO] [stdout] ...
[INFO] [stdout] 39  |     let combined_sensor = setup_sensors(&pins, &mut adc, sensor_timer);
[INFO] [stdout]     |                                         ^^^^^ value borrowed here after partial move
[INFO] [stdout]     |
[INFO] [stdout] note: `avr_hal_generic::port::Pin::<MODE, PIN>::into_output` takes ownership of the receiver `self`, which moves `pins.d1`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/git/checkouts/avr-hal-88cb7c7248a695f0/7dfa6d3/avr-hal-generic/src/port.rs:132:28
[INFO] [stdout]     |
[INFO] [stdout] 132 |     pub fn into_output(mut self) -> Pin<mode::Output, PIN> {
[INFO] [stdout]     |                            ^^^^
[INFO] [stdout]     = note: partial move occurs because `pins.d1` has type `avr_hal_generic::port::Pin<Input<Floating>, PD1>`, which does not implement the `Copy` trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: borrow of partially moved value: `pins`
[INFO] [stdout]   --> src/main.rs:50:33
[INFO] [stdout]    |
[INFO] [stdout] 40 |     let mut y_servo_pin = pins.d11.into_output().into_pwm(&mut timer2);
[INFO] [stdout]    |                                    ------------- `pins.d11` partially moved due to this method call
[INFO] [stdout] ...
[INFO] [stdout] 50 |     let mut motor = setup_motor(&pins, &timer0);
[INFO] [stdout]    |                                 ^^^^^ value borrowed here after partial move
[INFO] [stdout]    |
[INFO] [stdout]    = note: partial move occurs because `pins.d11` has type `avr_hal_generic::port::Pin<Input<Floating>, PB3>`, which does not implement the `Copy` trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `combined_sensor` as mutable, as it is not declared as mutable
[INFO] [stdout]   --> src/main.rs:57:21
[INFO] [stdout]    |
[INFO] [stdout] 57 |         motor.drive(combined_sensor.get_direction(&mut adc), speed);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^ cannot borrow as mutable
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing this to be mutable
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let mut combined_sensor = setup_sensors(&pins, &mut adc, sensor_timer);
[INFO] [stdout]    |         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `pins.d5` which is behind a shared reference
[INFO] [stdout]    --> src/main.rs:70:27
[INFO] [stdout]     |
[INFO] [stdout] 70  |     let right_speed_pin = pins.d5.into_output().into_pwm(timer);
[INFO] [stdout]     |                           ^^^^^^^ ------------- `pins.d5` moved due to this method call
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           move occurs because `pins.d5` has type `avr_hal_generic::port::Pin<Input<Floating>, PD5>`, which does not implement the `Copy` trait
[INFO] [stdout]     |
[INFO] [stdout] note: `avr_hal_generic::port::Pin::<MODE, PIN>::into_output` takes ownership of the receiver `self`, which moves `pins.d5`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/git/checkouts/avr-hal-88cb7c7248a695f0/7dfa6d3/avr-hal-generic/src/port.rs:132:28
[INFO] [stdout]     |
[INFO] [stdout] 132 |     pub fn into_output(mut self) -> Pin<mode::Output, PIN> {
[INFO] [stdout]     |                            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `pins.d6` which is behind a shared reference
[INFO] [stdout]   --> src/main.rs:71:26
[INFO] [stdout]    |
[INFO] [stdout] 71 |     let left_speed_pin = pins.d6.into_output().into_pwm(timer);
[INFO] [stdout]    |                          ^^^^^^^ ------------- `pins.d6` moved due to this method call
[INFO] [stdout]    |                          |
[INFO] [stdout]    |                          move occurs because `pins.d6` has type `avr_hal_generic::port::Pin<Input<Floating>, PD6>`, which does not implement the `Copy` trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `pins.d7` which is behind a shared reference
[INFO] [stdout]   --> src/main.rs:72:27
[INFO] [stdout]    |
[INFO] [stdout] 72 |     let right_power_pin = pins.d7.into_output();
[INFO] [stdout]    |                           ^^^^^^^ ------------- `pins.d7` moved due to this method call
[INFO] [stdout]    |                           |
[INFO] [stdout]    |                           move occurs because `pins.d7` has type `avr_hal_generic::port::Pin<Input<Floating>, PD7>`, which does not implement the `Copy` trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `pins.d8` which is behind a shared reference
[INFO] [stdout]   --> src/main.rs:73:26
[INFO] [stdout]    |
[INFO] [stdout] 73 |     let left_power_pin = pins.d8.into_output();
[INFO] [stdout]    |                          ^^^^^^^ ------------- `pins.d8` moved due to this method call
[INFO] [stdout]    |                          |
[INFO] [stdout]    |                          move occurs because `pins.d8` has type `avr_hal_generic::port::Pin<Input<Floating>, PB0>`, which does not implement the `Copy` trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `pins.d3` which is behind a shared reference
[INFO] [stdout]   --> src/main.rs:74:19
[INFO] [stdout]    |
[INFO] [stdout] 74 |     let standby = pins.d3.into_output();
[INFO] [stdout]    |                   ^^^^^^^ ------------- `pins.d3` moved due to this method call
[INFO] [stdout]    |                   |
[INFO] [stdout]    |                   move occurs because `pins.d3` has type `avr_hal_generic::port::Pin<Input<Floating>, PD3>`, which does not implement the `Copy` trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0382, E0507, E0596.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `elegoo-conqueror-rust` (bin "elegoo-conqueror-rust") due to 10 previous errors
[INFO] running `Command { std: "docker" "inspect" "da0b2befb2c403af945ad18ec70f5ea534e9791ad37eeb7acddc5d51c355a385", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "da0b2befb2c403af945ad18ec70f5ea534e9791ad37eeb7acddc5d51c355a385", kill_on_drop: false }`
[INFO] [stdout] da0b2befb2c403af945ad18ec70f5ea534e9791ad37eeb7acddc5d51c355a385
