[INFO] cloning repository https://github.com/chrenderle/car-system [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chrenderle/car-system" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchrenderle%2Fcar-system", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchrenderle%2Fcar-system'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9feb977df632f81aa300e6f1795a6091a1ad52fa [INFO] checking chrenderle/car-system against try#b047d5f4496a7526d91d0dddea494c05853f2a7b for pr-122661-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchrenderle%2Fcar-system" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-2-tc2/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-2-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/chrenderle/car-system [INFO] finished tweaking git repo https://github.com/chrenderle/car-system [INFO] tweaked toml for git repo https://github.com/chrenderle/car-system written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/chrenderle/car-system on toolchain b047d5f4496a7526d91d0dddea494c05853f2a7b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b047d5f4496a7526d91d0dddea494c05853f2a7b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/chrenderle/car-system 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" "+b047d5f4496a7526d91d0dddea494c05853f2a7b" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking chrenderle/car-system against try#b047d5f4496a7526d91d0dddea494c05853f2a7b for pr-122661-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchrenderle%2Fcar-system" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-2-tc2/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-2-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/chrenderle/car-system [INFO] finished tweaking git repo https://github.com/chrenderle/car-system [INFO] tweaked toml for git repo https://github.com/chrenderle/car-system written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/chrenderle/car-system on toolchain b047d5f4496a7526d91d0dddea494c05853f2a7b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b047d5f4496a7526d91d0dddea494c05853f2a7b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/chrenderle/car-system 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" "+b047d5f4496a7526d91d0dddea494c05853f2a7b" "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 ufmt-macros v0.1.1 [INFO] [stderr] Downloaded avr-device-macros v0.3.3 [INFO] [stderr] Downloaded ufmt v0.1.0 [INFO] [stderr] Downloaded avr-device v0.3.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+b047d5f4496a7526d91d0dddea494c05853f2a7b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] abd19ef8da7bdd05762ec0649989e1076acf0b097c18159ba3b35751878f9885 [INFO] running `Command { std: "docker" "start" "-a" "abd19ef8da7bdd05762ec0649989e1076acf0b097c18159ba3b35751878f9885", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "abd19ef8da7bdd05762ec0649989e1076acf0b097c18159ba3b35751878f9885", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abd19ef8da7bdd05762ec0649989e1076acf0b097c18159ba3b35751878f9885", kill_on_drop: false }` [INFO] [stdout] abd19ef8da7bdd05762ec0649989e1076acf0b097c18159ba3b35751878f9885 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+b047d5f4496a7526d91d0dddea494c05853f2a7b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d659f63e8a077df40d5dde9dc59227c71e483ab71e4c00cc66b1e661b48a46d9 [INFO] running `Command { std: "docker" "start" "-a" "d659f63e8a077df40d5dde9dc59227c71e483ab71e4c00cc66b1e661b48a46d9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.38 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling syn v1.0.94 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking nb v1.0.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking ufmt-write v0.1.0 [INFO] [stderr] Checking vcell v0.1.3 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking embedded-hal v0.2.7 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling avr-device v0.3.3 [INFO] [stderr] Compiling avr-hal-generic v0.1.0 (https://github.com/rahix/avr-hal?rev=d0d2f243bd3e10b49f6a78d44839a6caa8be7d43#d0d2f243) [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling ufmt-macros v0.1.1 [INFO] [stderr] Compiling avr-device-macros v0.3.3 [INFO] [stderr] Checking ufmt v0.1.0 [INFO] [stderr] Checking atmega-hal v0.1.0 (https://github.com/rahix/avr-hal?rev=d0d2f243bd3e10b49f6a78d44839a6caa8be7d43#d0d2f243) [INFO] [stderr] Checking arduino-hal v0.1.0 (https://github.com/rahix/avr-hal?rev=d0d2f243bd3e10b49f6a78d44839a6caa8be7d43#d0d2f243) [INFO] [stderr] Checking car-system v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `section` [INFO] [stdout] --> examples/intersection.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | mod section; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `section`, create file "examples/section.rs" or "examples/section/mod.rs" [INFO] [stdout] = note: if there is a `mod section` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `stopper` [INFO] [stdout] --> examples/intersection.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | mod stopper; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `stopper`, create file "examples/stopper.rs" or "examples/stopper/mod.rs" [INFO] [stdout] = note: if there is a `mod stopper` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `sensor` [INFO] [stdout] --> examples/intersection.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | mod sensor; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `sensor`, create file "examples/sensor.rs" or "examples/sensor/mod.rs" [INFO] [stdout] = note: if there is a `mod sensor` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `section` [INFO] [stdout] --> examples/servo.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | mod section; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `section`, create file "examples/servo/section.rs" or "examples/servo/section/mod.rs" [INFO] [stdout] = note: if there is a `mod section` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `stopper` [INFO] [stdout] --> examples/servo.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | mod stopper; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `stopper`, create file "examples/servo/stopper.rs" or "examples/servo/stopper/mod.rs" [INFO] [stdout] = note: if there is a `mod stopper` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `sensor` [INFO] [stdout] --> examples/servo.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | mod sensor; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `sensor`, create file "examples/servo/sensor.rs" or "examples/servo/sensor/mod.rs" [INFO] [stdout] = note: if there is a `mod sensor` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `servo` [INFO] [stdout] --> examples/servo.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | mod servo; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `servo`, create file "examples/servo/servo.rs" or "examples/servo/servo/mod.rs" [INFO] [stdout] = note: if there is a `mod servo` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `intersection` [INFO] [stdout] --> examples/servo.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | mod intersection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `intersection`, create file "examples/servo/intersection.rs" or "examples/servo/intersection/mod.rs" [INFO] [stdout] = note: if there is a `mod intersection` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `lights` [INFO] [stdout] --> examples/servo.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | mod lights; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `lights`, create file "examples/servo/lights.rs" or "examples/servo/lights/mod.rs" [INFO] [stdout] = note: if there is a `mod lights` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `time` [INFO] [stdout] --> examples/servo.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | mod time; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `time`, create file "examples/servo/time.rs" or "examples/servo/time/mod.rs" [INFO] [stdout] = note: if there is a `mod time` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `servo_caller` [INFO] [stdout] --> examples/servo.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | mod servo_caller; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `servo_caller`, create file "examples/servo/servo_caller.rs" or "examples/servo/servo_caller/mod.rs" [INFO] [stdout] = note: if there is a `mod servo_caller` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: circular modules: examples/intersection.rs -> examples/intersection.rs [INFO] [stdout] --> examples/intersection.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | mod intersection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `lights` [INFO] [stdout] --> examples/intersection.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | mod lights; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `lights`, create file "examples/lights.rs" or "examples/lights/mod.rs" [INFO] [stdout] = note: if there is a `mod lights` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `time` [INFO] [stdout] --> examples/intersection.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | mod time; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `time`, create file "examples/time.rs" or "examples/time/mod.rs" [INFO] [stdout] = note: if there is a `mod time` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `servo_caller` [INFO] [stdout] --> examples/intersection.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | mod servo_caller; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `servo_caller`, create file "examples/servo_caller.rs" or "examples/servo_caller/mod.rs" [INFO] [stdout] = note: if there is a `mod servo_caller` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `sensor_caller` [INFO] [stdout] --> examples/intersection.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | mod sensor_caller; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `sensor_caller`, create file "examples/sensor_caller.rs" or "examples/sensor_caller/mod.rs" [INFO] [stdout] = note: if there is a `mod sensor_caller` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [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] --> examples/servo.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | #[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: 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] --> examples/intersection.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[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[E0583]: file not found for module `section` [INFO] [stdout] --> examples/intersection.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | mod section; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `section`, create file "examples/intersection/section.rs" or "examples/intersection/section/mod.rs" [INFO] [stdout] = note: if there is a `mod section` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `stopper` [INFO] [stdout] --> examples/intersection.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | mod stopper; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `stopper`, create file "examples/intersection/stopper.rs" or "examples/intersection/stopper/mod.rs" [INFO] [stdout] = note: if there is a `mod stopper` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `sensor` [INFO] [stdout] --> examples/intersection.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | mod sensor; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `sensor`, create file "examples/intersection/sensor.rs" or "examples/intersection/sensor/mod.rs" [INFO] [stdout] = note: if there is a `mod sensor` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `servo` [INFO] [stdout] --> examples/intersection.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | mod servo; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `servo`, create file "examples/intersection/servo.rs" or "examples/intersection/servo/mod.rs" [INFO] [stdout] = note: if there is a `mod servo` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `intersection` [INFO] [stdout] --> examples/intersection.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | mod intersection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `intersection`, create file "examples/intersection/intersection.rs" or "examples/intersection/intersection/mod.rs" [INFO] [stdout] = note: if there is a `mod intersection` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `lights` [INFO] [stdout] --> examples/intersection.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | mod lights; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `lights`, create file "examples/intersection/lights.rs" or "examples/intersection/lights/mod.rs" [INFO] [stdout] = note: if there is a `mod lights` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `time` [INFO] [stdout] --> examples/intersection.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | mod time; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `time`, create file "examples/intersection/time.rs" or "examples/intersection/time/mod.rs" [INFO] [stdout] = note: if there is a `mod time` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `servo_caller` [INFO] [stdout] --> examples/intersection.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | mod servo_caller; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `servo_caller`, create file "examples/intersection/servo_caller.rs" or "examples/intersection/servo_caller/mod.rs" [INFO] [stdout] = note: if there is a `mod servo_caller` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `sensor_caller` [INFO] [stdout] --> examples/intersection.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | mod sensor_caller; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `sensor_caller`, create file "examples/intersection/sensor_caller.rs" or "examples/intersection/sensor_caller/mod.rs" [INFO] [stdout] = note: if there is a `mod sensor_caller` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `lights` [INFO] [stdout] --> examples/servo3.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | mod lights; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `lights`, create file "examples/lights.rs" or "examples/lights/mod.rs" [INFO] [stdout] = note: if there is a `mod lights` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `section` [INFO] [stdout] --> examples/servo3.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | mod section; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `section`, create file "examples/section.rs" or "examples/section/mod.rs" [INFO] [stdout] = note: if there is a `mod section` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `sensor` [INFO] [stdout] --> examples/servo3.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | mod sensor; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `sensor`, create file "examples/sensor.rs" or "examples/sensor/mod.rs" [INFO] [stdout] = note: if there is a `mod sensor` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `sensor_caller` [INFO] [stdout] --> examples/servo3.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | mod sensor_caller; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `sensor_caller`, create file "examples/sensor_caller.rs" or "examples/sensor_caller/mod.rs" [INFO] [stdout] = note: if there is a `mod sensor_caller` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `section` [INFO] [stdout] --> examples/servo.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | mod section; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `section`, create file "examples/servo/section.rs" or "examples/servo/section/mod.rs" [INFO] [stdout] = note: if there is a `mod section` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `stopper` [INFO] [stdout] --> examples/servo.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | mod stopper; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `stopper`, create file "examples/servo/stopper.rs" or "examples/servo/stopper/mod.rs" [INFO] [stdout] = note: if there is a `mod stopper` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `sensor` [INFO] [stdout] --> examples/servo.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | mod sensor; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `sensor`, create file "examples/servo/sensor.rs" or "examples/servo/sensor/mod.rs" [INFO] [stdout] = note: if there is a `mod sensor` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `servo` [INFO] [stdout] --> examples/servo.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | mod servo; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `servo`, create file "examples/servo/servo.rs" or "examples/servo/servo/mod.rs" [INFO] [stdout] = note: if there is a `mod servo` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `intersection` [INFO] [stdout] --> examples/servo.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | mod intersection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `intersection`, create file "examples/servo/intersection.rs" or "examples/servo/intersection/mod.rs" [INFO] [stdout] = note: if there is a `mod intersection` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `lights` [INFO] [stdout] --> examples/servo.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | mod lights; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `lights`, create file "examples/servo/lights.rs" or "examples/servo/lights/mod.rs" [INFO] [stdout] = note: if there is a `mod lights` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `time` [INFO] [stdout] --> examples/servo.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | mod time; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `time`, create file "examples/servo/time.rs" or "examples/servo/time/mod.rs" [INFO] [stdout] = note: if there is a `mod time` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `servo_caller` [INFO] [stdout] --> examples/servo.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | mod servo_caller; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `servo_caller`, create file "examples/servo/servo_caller.rs" or "examples/servo/servo_caller/mod.rs" [INFO] [stdout] = note: if there is a `mod servo_caller` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `stopper` [INFO] [stdout] --> examples/servo3.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | mod stopper; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `stopper`, create file "examples/stopper.rs" or "examples/stopper/mod.rs" [INFO] [stdout] = note: if there is a `mod stopper` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `time` [INFO] [stdout] --> examples/servo3.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | mod time; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `time`, create file "examples/time.rs" or "examples/time/mod.rs" [INFO] [stdout] = note: if there is a `mod time` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `section` [INFO] [stdout] --> examples/single_section.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | mod section; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `section`, create file "examples/section.rs" or "examples/section/mod.rs" [INFO] [stdout] = note: if there is a `mod section` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `stopper` [INFO] [stdout] --> examples/single_section.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | mod stopper; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `stopper`, create file "examples/stopper.rs" or "examples/stopper/mod.rs" [INFO] [stdout] = note: if there is a `mod stopper` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `sensor` [INFO] [stdout] --> examples/single_section.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | mod sensor; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `sensor`, create file "examples/sensor.rs" or "examples/sensor/mod.rs" [INFO] [stdout] = note: if there is a `mod sensor` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `time` [INFO] [stdout] --> examples/single_section.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | mod time; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `time`, create file "examples/time.rs" or "examples/time/mod.rs" [INFO] [stdout] = note: if there is a `mod time` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `sensor_caller` [INFO] [stdout] --> examples/single_section.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | mod sensor_caller; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `sensor_caller`, create file "examples/sensor_caller.rs" or "examples/sensor_caller/mod.rs" [INFO] [stdout] = note: if there is a `mod sensor_caller` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [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] --> examples/intersection.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[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[E0432]: unresolved import `crate::servo::*` [INFO] [stdout] --> examples/servo.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::servo::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot glob-import a module into itself [INFO] [stdout] [INFO] [stdout] [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] --> examples/servo.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | #[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: 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] --> examples/servo3.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | #[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[E0432]: unresolved import `panic_halt` [INFO] [stdout] --> examples/servo.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use panic_halt as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no external crate `panic_halt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `panic_halt` [INFO] [stdout] --> examples/intersection.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use panic_halt as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no external crate `panic_halt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `section` [INFO] [stdout] --> examples/intersection.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | mod section; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `section`, create file "examples/intersection/section.rs" or "examples/intersection/section/mod.rs" [INFO] [stdout] = note: if there is a `mod section` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `stopper` [INFO] [stdout] --> examples/intersection.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | mod stopper; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `stopper`, create file "examples/intersection/stopper.rs" or "examples/intersection/stopper/mod.rs" [INFO] [stdout] = note: if there is a `mod stopper` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `sensor` [INFO] [stdout] --> examples/intersection.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | mod sensor; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `sensor`, create file "examples/intersection/sensor.rs" or "examples/intersection/sensor/mod.rs" [INFO] [stdout] = note: if there is a `mod sensor` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `servo` [INFO] [stdout] --> examples/intersection.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | mod servo; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `servo`, create file "examples/intersection/servo.rs" or "examples/intersection/servo/mod.rs" [INFO] [stdout] = note: if there is a `mod servo` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `intersection` [INFO] [stdout] --> examples/intersection.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | mod intersection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `intersection`, create file "examples/intersection/intersection.rs" or "examples/intersection/intersection/mod.rs" [INFO] [stdout] = note: if there is a `mod intersection` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `lights` [INFO] [stdout] --> examples/intersection.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | mod lights; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `lights`, create file "examples/intersection/lights.rs" or "examples/intersection/lights/mod.rs" [INFO] [stdout] = note: if there is a `mod lights` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `time` [INFO] [stdout] --> examples/intersection.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | mod time; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `time`, create file "examples/intersection/time.rs" or "examples/intersection/time/mod.rs" [INFO] [stdout] = note: if there is a `mod time` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `servo_caller` [INFO] [stdout] --> examples/intersection.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | mod servo_caller; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `servo_caller`, create file "examples/intersection/servo_caller.rs" or "examples/intersection/servo_caller/mod.rs" [INFO] [stdout] = note: if there is a `mod servo_caller` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `sensor_caller` [INFO] [stdout] --> examples/intersection.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | mod sensor_caller; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `sensor_caller`, create file "examples/intersection/sensor_caller.rs" or "examples/intersection/sensor_caller/mod.rs" [INFO] [stdout] = note: if there is a `mod sensor_caller` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `lights` [INFO] [stdout] --> examples/main.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub mod lights; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `lights`, create file "examples/lights.rs" or "examples/lights/mod.rs" [INFO] [stdout] = note: if there is a `mod lights` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `section` [INFO] [stdout] --> examples/main.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub mod section; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `section`, create file "examples/section.rs" or "examples/section/mod.rs" [INFO] [stdout] = note: if there is a `mod section` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `sensor` [INFO] [stdout] --> examples/main.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | pub mod sensor; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `sensor`, create file "examples/sensor.rs" or "examples/sensor/mod.rs" [INFO] [stdout] = note: if there is a `mod sensor` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `sensor_caller` [INFO] [stdout] --> examples/main.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | pub mod sensor_caller; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `sensor_caller`, create file "examples/sensor_caller.rs" or "examples/sensor_caller/mod.rs" [INFO] [stdout] = note: if there is a `mod sensor_caller` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `section` [INFO] [stdout] --> examples/servo.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | mod section; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `section`, create file "examples/servo/section.rs" or "examples/servo/section/mod.rs" [INFO] [stdout] = note: if there is a `mod section` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `stopper` [INFO] [stdout] --> examples/servo.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | mod stopper; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `stopper`, create file "examples/servo/stopper.rs" or "examples/servo/stopper/mod.rs" [INFO] [stdout] = note: if there is a `mod stopper` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `sensor` [INFO] [stdout] --> examples/servo.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | mod sensor; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `sensor`, create file "examples/servo/sensor.rs" or "examples/servo/sensor/mod.rs" [INFO] [stdout] = note: if there is a `mod sensor` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `servo` [INFO] [stdout] --> examples/servo.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | mod servo; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `servo`, create file "examples/servo/servo.rs" or "examples/servo/servo/mod.rs" [INFO] [stdout] = note: if there is a `mod servo` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `intersection` [INFO] [stdout] --> examples/servo.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | mod intersection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `intersection`, create file "examples/servo/intersection.rs" or "examples/servo/intersection/mod.rs" [INFO] [stdout] = note: if there is a `mod intersection` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `lights` [INFO] [stdout] --> examples/servo.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | mod lights; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `lights`, create file "examples/servo/lights.rs" or "examples/servo/lights/mod.rs" [INFO] [stdout] = note: if there is a `mod lights` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::intersection::*` [INFO] [stdout] --> examples/intersection.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use crate::intersection::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot glob-import a module into itself [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::servo::*` [INFO] [stdout] --> examples/servo.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::servo::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot glob-import a module into itself [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::servo::*` [INFO] [stdout] --> examples/servo.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::servo::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::section::*` [INFO] [stdout] --> examples/intersection.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::section::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::stopper::*` [INFO] [stdout] --> examples/intersection.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use crate::stopper::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::sensor::*` [INFO] [stdout] --> examples/intersection.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use crate::sensor::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::servo::*` [INFO] [stdout] --> examples/intersection.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use crate::servo::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::intersection::*` [INFO] [stdout] --> examples/intersection.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use crate::intersection::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Input` [INFO] [stdout] --> examples/intersection.rs:30:45 [INFO] [stdout] | [INFO] [stdout] 30 | use arduino_hal::port::{Pin, mode::{Output, Input}}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `#[panic_handler]` function required, but not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `panic_halt` [INFO] [stdout] --> examples/servo.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use panic_halt as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no external crate `panic_halt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> examples/servo.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![no_std] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> examples/servo.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #![no_main] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> examples/servo.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(abi_avr_interrupt)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `panic_halt` [INFO] [stdout] --> examples/intersection.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use panic_halt as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no external crate `panic_halt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::servo_caller` [INFO] [stdout] --> examples/intersection.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | use crate::servo_caller::ServoCaller; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `servo::servo_caller` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `time` [INFO] [stdout] --> examples/servo.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | mod time; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `time`, create file "examples/servo/time.rs" or "examples/servo/time/mod.rs" [INFO] [stdout] = note: if there is a `mod time` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::servo_caller` [INFO] [stdout] --> examples/servo.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::servo_caller::ServoCaller; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `intersection::servo_caller` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `servo_caller` [INFO] [stdout] --> examples/servo.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | mod servo_caller; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `servo_caller`, create file "examples/servo/servo_caller.rs" or "examples/servo/servo_caller/mod.rs" [INFO] [stdout] = note: if there is a `mod servo_caller` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `section` [INFO] [stdout] --> examples/servo2.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | mod section; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `section`, create file "examples/section.rs" or "examples/section/mod.rs" [INFO] [stdout] = note: if there is a `mod section` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `servo_caller` [INFO] [stdout] --> examples/main.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | pub mod servo_caller; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `servo_caller`, create file "examples/servo_caller.rs" or "examples/servo_caller/mod.rs" [INFO] [stdout] = note: if there is a `mod servo_caller` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `stopper` [INFO] [stdout] --> examples/main.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub mod stopper; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `stopper`, create file "examples/stopper.rs" or "examples/stopper/mod.rs" [INFO] [stdout] = note: if there is a `mod stopper` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `time` [INFO] [stdout] --> examples/main.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | pub mod time; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `time`, create file "examples/time.rs" or "examples/time/mod.rs" [INFO] [stdout] = note: if there is a `mod time` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [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] --> examples/single_section.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: 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] --> examples/intersection.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[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: 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] --> examples/servo.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | #[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[E0583]: file not found for module `section` [INFO] [stdout] --> examples/servo.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | mod section; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `section`, create file "examples/section.rs" or "examples/section/mod.rs" [INFO] [stdout] = note: if there is a `mod section` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `stopper` [INFO] [stdout] --> examples/servo2.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | mod stopper; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `stopper`, create file "examples/stopper.rs" or "examples/stopper/mod.rs" [INFO] [stdout] = note: if there is a `mod stopper` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `sensor` [INFO] [stdout] --> examples/servo2.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | mod sensor; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `sensor`, create file "examples/sensor.rs" or "examples/sensor/mod.rs" [INFO] [stdout] = note: if there is a `mod sensor` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `car-system` (example "intersection") due to 22 previous errors; 10 warnings emitted [INFO] [stdout] error[E0583]: file not found for module `section` [INFO] [stdout] --> examples/servo.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | mod section; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `section`, create file "examples/servo/section.rs" or "examples/servo/section/mod.rs" [INFO] [stdout] = note: if there is a `mod section` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `crate::section::*` [INFO] [stdout] --> examples/intersection.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::section::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::stopper::*` [INFO] [stdout] --> examples/intersection.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use crate::stopper::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::sensor::*` [INFO] [stdout] --> examples/intersection.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use crate::sensor::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::servo::*` [INFO] [stdout] --> examples/intersection.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use crate::servo::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::intersection::*` [INFO] [stdout] --> examples/intersection.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use crate::intersection::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Input` [INFO] [stdout] --> examples/intersection.rs:30:45 [INFO] [stdout] | [INFO] [stdout] 30 | use arduino_hal::port::{Pin, mode::{Output, Input}}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::servo::*` [INFO] [stdout] --> examples/servo.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::servo::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::section::*` [INFO] [stdout] --> examples/servo3.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::section::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::sensor::*` [INFO] [stdout] --> examples/servo3.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::sensor::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::stopper::*` [INFO] [stdout] --> examples/servo3.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::stopper::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Input`, `Output`, and `Pin` [INFO] [stdout] --> examples/servo3.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | mode::{Input, Output}, [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] 24 | Pin, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> examples/intersection.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![no_std] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> examples/intersection.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #![no_main] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> examples/intersection.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(abi_avr_interrupt)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> examples/servo.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![no_std] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> examples/servo.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #![no_main] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> examples/servo.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(abi_avr_interrupt)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [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] --> examples/main.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | #[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[E0583]: file not found for module `stopper` [INFO] [stdout] --> examples/servo.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | mod stopper; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `stopper`, create file "examples/stopper.rs" or "examples/stopper/mod.rs" [INFO] [stdout] = note: if there is a `mod stopper` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `sensor` [INFO] [stdout] --> examples/servo.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | mod sensor; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `sensor`, create file "examples/sensor.rs" or "examples/sensor/mod.rs" [INFO] [stdout] = note: if there is a `mod sensor` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: circular modules: examples/servo.rs -> examples/servo.rs [INFO] [stdout] --> examples/servo.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | mod servo; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `section` [INFO] [stdout] --> examples/intersection.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | mod section; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `section`, create file "examples/intersection/section.rs" or "examples/intersection/section/mod.rs" [INFO] [stdout] = note: if there is a `mod section` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `stopper` [INFO] [stdout] --> examples/servo.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | mod stopper; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `stopper`, create file "examples/servo/stopper.rs" or "examples/servo/stopper/mod.rs" [INFO] [stdout] = note: if there is a `mod stopper` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `sensor` [INFO] [stdout] --> examples/servo.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | mod sensor; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `sensor`, create file "examples/servo/sensor.rs" or "examples/servo/sensor/mod.rs" [INFO] [stdout] = note: if there is a `mod sensor` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `servo` [INFO] [stdout] --> examples/servo.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | mod servo; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `servo`, create file "examples/servo/servo.rs" or "examples/servo/servo/mod.rs" [INFO] [stdout] = note: if there is a `mod servo` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `intersection` [INFO] [stdout] --> examples/servo.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | mod intersection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `intersection`, create file "examples/servo/intersection.rs" or "examples/servo/intersection/mod.rs" [INFO] [stdout] = note: if there is a `mod intersection` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `lights` [INFO] [stdout] --> examples/servo.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | mod lights; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `lights`, create file "examples/servo/lights.rs" or "examples/servo/lights/mod.rs" [INFO] [stdout] = note: if there is a `mod lights` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `time` [INFO] [stdout] --> examples/servo.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | mod time; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `time`, create file "examples/servo/time.rs" or "examples/servo/time/mod.rs" [INFO] [stdout] = note: if there is a `mod time` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `servo_caller` [INFO] [stdout] --> examples/servo.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | mod servo_caller; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `servo_caller`, create file "examples/servo/servo_caller.rs" or "examples/servo/servo_caller/mod.rs" [INFO] [stdout] = note: if there is a `mod servo_caller` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `section` [INFO] [stdout] --> examples/intersection.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | mod section; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `section`, create file "examples/intersection/section.rs" or "examples/intersection/section/mod.rs" [INFO] [stdout] = note: if there is a `mod section` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `stopper` [INFO] [stdout] --> examples/intersection.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | mod stopper; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `stopper`, create file "examples/intersection/stopper.rs" or "examples/intersection/stopper/mod.rs" [INFO] [stdout] = note: if there is a `mod stopper` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `sensor` [INFO] [stdout] --> examples/intersection.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | mod sensor; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `sensor`, create file "examples/intersection/sensor.rs" or "examples/intersection/sensor/mod.rs" [INFO] [stdout] = note: if there is a `mod sensor` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `servo` [INFO] [stdout] --> examples/intersection.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | mod servo; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `servo`, create file "examples/intersection/servo.rs" or "examples/intersection/servo/mod.rs" [INFO] [stdout] = note: if there is a `mod servo` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `intersection` [INFO] [stdout] --> examples/intersection.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | mod intersection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `intersection`, create file "examples/intersection/intersection.rs" or "examples/intersection/intersection/mod.rs" [INFO] [stdout] = note: if there is a `mod intersection` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `lights` [INFO] [stdout] --> examples/intersection.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | mod lights; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `lights`, create file "examples/intersection/lights.rs" or "examples/intersection/lights/mod.rs" [INFO] [stdout] = note: if there is a `mod lights` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `time` [INFO] [stdout] --> examples/intersection.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | mod time; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `time`, create file "examples/intersection/time.rs" or "examples/intersection/time/mod.rs" [INFO] [stdout] = note: if there is a `mod time` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `servo_caller` [INFO] [stdout] --> examples/intersection.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | mod servo_caller; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `servo_caller`, create file "examples/intersection/servo_caller.rs" or "examples/intersection/servo_caller/mod.rs" [INFO] [stdout] = note: if there is a `mod servo_caller` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `sensor_caller` [INFO] [stdout] --> examples/intersection.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | mod sensor_caller; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `sensor_caller`, create file "examples/intersection/sensor_caller.rs" or "examples/intersection/sensor_caller/mod.rs" [INFO] [stdout] = note: if there is a `mod sensor_caller` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `lights` [INFO] [stdout] --> examples/servo2.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | mod lights; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `lights`, create file "examples/lights.rs" or "examples/lights/mod.rs" [INFO] [stdout] = note: if there is a `mod lights` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `time` [INFO] [stdout] --> examples/servo2.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | mod time; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `time`, create file "examples/time.rs" or "examples/time/mod.rs" [INFO] [stdout] = note: if there is a `mod time` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `servo_caller` [INFO] [stdout] --> examples/servo2.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | mod servo_caller; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `servo_caller`, create file "examples/servo_caller.rs" or "examples/servo_caller/mod.rs" [INFO] [stdout] = note: if there is a `mod servo_caller` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `stopper` [INFO] [stdout] --> examples/intersection.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | mod stopper; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `stopper`, create file "examples/intersection/stopper.rs" or "examples/intersection/stopper/mod.rs" [INFO] [stdout] = note: if there is a `mod stopper` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `sensor` [INFO] [stdout] --> examples/intersection.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | mod sensor; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `sensor`, create file "examples/intersection/sensor.rs" or "examples/intersection/sensor/mod.rs" [INFO] [stdout] = note: if there is a `mod sensor` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `servo` [INFO] [stdout] --> examples/intersection.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | mod servo; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `servo`, create file "examples/intersection/servo.rs" or "examples/intersection/servo/mod.rs" [INFO] [stdout] = note: if there is a `mod servo` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `intersection` [INFO] [stdout] --> examples/intersection.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | mod intersection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `intersection`, create file "examples/intersection/intersection.rs" or "examples/intersection/intersection/mod.rs" [INFO] [stdout] = note: if there is a `mod intersection` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `lights` [INFO] [stdout] --> examples/intersection.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | mod lights; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `lights`, create file "examples/intersection/lights.rs" or "examples/intersection/lights/mod.rs" [INFO] [stdout] = note: if there is a `mod lights` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `time` [INFO] [stdout] --> examples/intersection.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | mod time; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `time`, create file "examples/intersection/time.rs" or "examples/intersection/time/mod.rs" [INFO] [stdout] = note: if there is a `mod time` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `servo_caller` [INFO] [stdout] --> examples/intersection.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | mod servo_caller; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `servo_caller`, create file "examples/intersection/servo_caller.rs" or "examples/intersection/servo_caller/mod.rs" [INFO] [stdout] = note: if there is a `mod servo_caller` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `sensor_caller` [INFO] [stdout] --> examples/intersection.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | mod sensor_caller; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `sensor_caller`, create file "examples/intersection/sensor_caller.rs" or "examples/intersection/sensor_caller/mod.rs" [INFO] [stdout] = note: if there is a `mod sensor_caller` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `lights` [INFO] [stdout] --> examples/servo.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | mod lights; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `lights`, create file "examples/lights.rs" or "examples/lights/mod.rs" [INFO] [stdout] = note: if there is a `mod lights` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `time` [INFO] [stdout] --> examples/servo.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | mod time; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `time`, create file "examples/time.rs" or "examples/time/mod.rs" [INFO] [stdout] = note: if there is a `mod time` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `servo_caller` [INFO] [stdout] --> examples/servo.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | mod servo_caller; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `servo_caller`, create file "examples/servo_caller.rs" or "examples/servo_caller/mod.rs" [INFO] [stdout] = note: if there is a `mod servo_caller` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [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:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | #[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[E0432]: unresolved import `crate::intersection::*` [INFO] [stdout] --> examples/intersection.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use crate::intersection::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot glob-import a module into itself [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::servo::*` [INFO] [stdout] --> examples/servo.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::servo::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot glob-import a module into itself [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `panic_halt` [INFO] [stdout] --> examples/single_section.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use panic_halt as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no external crate `panic_halt` [INFO] [stdout] [INFO] [stdout] [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] --> examples/servo.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | #[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[E0432]: unresolved import `panic_halt` [INFO] [stdout] --> examples/servo.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use panic_halt as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no external crate `panic_halt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `panic_halt` [INFO] [stdout] --> examples/intersection.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use panic_halt as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no external crate `panic_halt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Atmega` [INFO] [stdout] --> src/sensor_caller.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | }, hal::{Atmega, port::{PE0, PE1}, Usart}, pac::USART0, clock::MHz16}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0570]: "avr-interrupt" is not a supported ABI for the current target [INFO] [stdout] --> src/time.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | #[avr_device::interrupt(atmega2560)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `avr_device::interrupt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [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] --> examples/intersection.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[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: 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] --> examples/intersection.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[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] Some errors have detailed explanations: E0432, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `car-system` (example "servo3") due to 32 previous errors; 17 warnings emitted [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] --> examples/servo.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | #[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: 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] --> examples/servo2.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] warning: unused variable: `debug` [INFO] [stdout] --> src/sensor_caller.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | let debug = time - self.last_time >= 100; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_debug` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `debug` [INFO] [stdout] --> src/sensor_caller.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let debug = false; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_debug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i2c` [INFO] [stdout] --> src/main.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let mut i2c = RefCell::new(arduino_hal::I2c::new( [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_i2c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `adc` [INFO] [stdout] --> src/main.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | let adc = arduino_hal::Adc::new(dp.ADC, Default::default()); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_adc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::section::*` [INFO] [stdout] --> examples/single_section.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::section::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::stopper::*` [INFO] [stdout] --> examples/single_section.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::stopper::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::sensor::*` [INFO] [stdout] --> examples/single_section.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::sensor::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `#[panic_handler]` function required, but not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let mut i2c = RefCell::new(arduino_hal::I2c::new( [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0570`. [INFO] [stdout] [INFO] [stderr] error: could not compile `car-system` (example "single_section") due to 8 previous errors; 3 warnings emitted [INFO] [stderr] error: could not compile `car-system` (bin "car-system") due to 2 previous errors; 6 warnings emitted [INFO] [stdout] warning: unused import: `crate::section::*` [INFO] [stdout] --> examples/intersection.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::section::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::stopper::*` [INFO] [stdout] --> examples/intersection.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use crate::stopper::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::sensor::*` [INFO] [stdout] --> examples/intersection.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use crate::sensor::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::servo::*` [INFO] [stdout] --> examples/intersection.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use crate::servo::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::intersection::*` [INFO] [stdout] --> examples/intersection.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use crate::intersection::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Input` [INFO] [stdout] --> examples/intersection.rs:30:45 [INFO] [stdout] | [INFO] [stdout] 30 | use arduino_hal::port::{Pin, mode::{Output, Input}}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::servo::*` [INFO] [stdout] --> examples/servo.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::servo::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::intersection::*` [INFO] [stdout] --> examples/main.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | use crate::intersection::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::section::*` [INFO] [stdout] --> examples/main.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | use crate::section::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::sensor::*` [INFO] [stdout] --> examples/main.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | use crate::sensor::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::servo::*` [INFO] [stdout] --> examples/main.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | use crate::servo::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::stopper::*` [INFO] [stdout] --> examples/main.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | use crate::stopper::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> examples/intersection.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![no_std] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> examples/intersection.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #![no_main] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> examples/intersection.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(abi_avr_interrupt)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> examples/servo.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![no_std] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> examples/servo.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #![no_main] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> examples/servo.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(abi_avr_interrupt)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::servo::*` [INFO] [stdout] --> examples/servo.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::servo::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot glob-import a module into itself [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::intersection::*` [INFO] [stdout] --> examples/intersection.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use crate::intersection::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot glob-import a module into itself [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::intersection::*` [INFO] [stdout] --> examples/intersection.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use crate::intersection::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot glob-import a module into itself [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `panic_halt` [INFO] [stdout] --> examples/servo.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use panic_halt as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no external crate `panic_halt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `panic_halt` [INFO] [stdout] --> examples/intersection.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use panic_halt as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no external crate `panic_halt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `panic_halt` [INFO] [stdout] --> examples/servo.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use panic_halt as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no external crate `panic_halt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `panic_halt` [INFO] [stdout] --> examples/intersection.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use panic_halt as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no external crate `panic_halt` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `car-system` (example "main") due to 31 previous errors; 18 warnings emitted [INFO] [stdout] warning: unused import: `crate::section::*` [INFO] [stdout] --> examples/intersection.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::section::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::stopper::*` [INFO] [stdout] --> examples/intersection.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use crate::stopper::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::sensor::*` [INFO] [stdout] --> examples/intersection.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use crate::sensor::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::servo::*` [INFO] [stdout] --> examples/intersection.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use crate::servo::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::intersection::*` [INFO] [stdout] --> examples/intersection.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use crate::intersection::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Input` [INFO] [stdout] --> examples/intersection.rs:30:45 [INFO] [stdout] | [INFO] [stdout] 30 | use arduino_hal::port::{Pin, mode::{Output, Input}}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::servo::*` [INFO] [stdout] --> examples/servo.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::servo::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `#[panic_handler]` function required, but not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> examples/intersection.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![no_std] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> examples/intersection.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #![no_main] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> examples/intersection.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(abi_avr_interrupt)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::servo::*` [INFO] [stdout] --> examples/servo.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::servo::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::section::*` [INFO] [stdout] --> examples/intersection.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::section::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::stopper::*` [INFO] [stdout] --> examples/intersection.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use crate::stopper::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::sensor::*` [INFO] [stdout] --> examples/intersection.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use crate::sensor::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::servo::*` [INFO] [stdout] --> examples/intersection.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use crate::servo::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::intersection::*` [INFO] [stdout] --> examples/intersection.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use crate::intersection::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Input` [INFO] [stdout] --> examples/intersection.rs:30:45 [INFO] [stdout] | [INFO] [stdout] 30 | use arduino_hal::port::{Pin, mode::{Output, Input}}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::servo::*` [INFO] [stdout] --> examples/servo2.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::servo::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ufmt::derive::uDebug` [INFO] [stdout] --> examples/servo2.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use ufmt::derive::uDebug; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> examples/servo.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![no_std] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> examples/servo.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #![no_main] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> examples/servo.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(abi_avr_interrupt)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> examples/intersection.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![no_std] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> examples/intersection.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #![no_main] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> examples/intersection.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(abi_avr_interrupt)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> examples/servo2.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 36 | / loop { [INFO] [stdout] 37 | | servo_pin.set_low(); [INFO] [stdout] 38 | | arduino_hal::delay_us(1_000); [INFO] [stdout] 39 | | servo_pin.set_high(); [INFO] [stdout] 40 | | arduino_hal::delay_us(19_000); [INFO] [stdout] 41 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 45 | crate::time::micros_init(dp.TC0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `car-system` (example "servo") due to 22 previous errors; 10 warnings emitted [INFO] [stdout] Some errors have detailed explanations: E0432, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `car-system` (example "servo2") due to 30 previous errors; 16 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d659f63e8a077df40d5dde9dc59227c71e483ab71e4c00cc66b1e661b48a46d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d659f63e8a077df40d5dde9dc59227c71e483ab71e4c00cc66b1e661b48a46d9", kill_on_drop: false }` [INFO] [stdout] d659f63e8a077df40d5dde9dc59227c71e483ab71e4c00cc66b1e661b48a46d9