[INFO] cloning repository https://github.com/knoby/heat_control [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/knoby/heat_control" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fknoby%2Fheat_control", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fknoby%2Fheat_control'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7753ab8eb04f7d37c8ac8446101f2a446f9b7117 [INFO] checking knoby/heat_control against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fknoby%2Fheat_control" "/workspace/builds/worker-42/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-42/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/knoby/heat_control on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-42/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/knoby/heat_control [INFO] finished tweaking git repo https://github.com/knoby/heat_control [INFO] tweaked toml for git repo https://github.com/knoby/heat_control written to /workspace/builds/worker-42/source/Cargo.toml [INFO] crate git repo https://github.com/knoby/heat_control already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-42/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-42/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a6af9f9eebff1ee12df6fe52a17e84fc40cc41a799c4e199cd2e05a21830905e [INFO] running `Command { std: "docker" "start" "-a" "a6af9f9eebff1ee12df6fe52a17e84fc40cc41a799c4e199cd2e05a21830905e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a6af9f9eebff1ee12df6fe52a17e84fc40cc41a799c4e199cd2e05a21830905e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6af9f9eebff1ee12df6fe52a17e84fc40cc41a799c4e199cd2e05a21830905e", kill_on_drop: false }` [INFO] [stdout] a6af9f9eebff1ee12df6fe52a17e84fc40cc41a799c4e199cd2e05a21830905e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-42/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-42/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1df6ff4cf6b41d2608acc0440d8f073d36548c64f3fbf875414efd64fbd6a4dc [INFO] running `Command { std: "docker" "start" "-a" "1df6ff4cf6b41d2608acc0440d8f073d36548c64f3fbf875414efd64fbd6a4dc", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling syn v1.0.44 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking nb v1.0.0 [INFO] [stderr] Compiling paste v1.0.1 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking ufmt-write v0.1.0 [INFO] [stderr] Checking vcell v0.1.2 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling case v1.0.0 [INFO] [stderr] Checking avr-std-stub v1.0.2 [INFO] [stderr] Checking crc-any v2.3.5 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking embedded-hal v0.2.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking hd44780-driver v0.4.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling machine v0.3.0 [INFO] [stderr] Compiling avr-device-macros v0.2.2 [INFO] [stderr] Compiling ufmt-macros v0.1.1 [INFO] [stderr] Checking avr-device v0.2.2 [INFO] [stderr] Checking ufmt v0.1.0 [INFO] [stderr] Checking avr-hal-generic v0.1.0 (https://github.com/Rahix/avr-hal?rev=0c6cf1675c2724354f1adeaeee69992acd371e80#0c6cf167) [INFO] [stderr] Checking atmega328p-hal v0.1.0 (https://github.com/Rahix/avr-hal?rev=0c6cf1675c2724354f1adeaeee69992acd371e80#0c6cf167) [INFO] [stderr] Checking heat_control v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: proc macro panicked [INFO] [stdout] --> src/statemachine.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / machine!( [INFO] [stdout] 2 | | enum HeatControl { [INFO] [stdout] 3 | | Init { time: u32 }, [INFO] [stdout] 4 | | BufferDisabled, [INFO] [stdout] ... | [INFO] [stdout] 8 | | } [INFO] [stdout] 9 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = help: message: error writing machine definition: Os { code: 2, kind: NotFound, message: "No such file or directory" } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc macro panicked [INFO] [stdout] --> src/statemachine.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | / transitions!(HeatControl, [INFO] [stdout] 49 | | [ [INFO] [stdout] 50 | | (Init, Tick) => [BufferDisabled, Init], [INFO] [stdout] 51 | | (BufferDisabled, Enable) => BufferEnabled, [INFO] [stdout] ... | [INFO] [stdout] 55 | | (PumpPause, Tick) => [PumpPause, BufferEnabled] [INFO] [stdout] 56 | | ]); [INFO] [stdout] | |___^ [INFO] [stdout] | [INFO] [stdout] = help: message: error opening dot file: Os { code: 2, kind: NotFound, message: "No such file or directory" } [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:192:1 [INFO] [stdout] | [INFO] [stdout] 192 | #[hal::entry] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `hal::entry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeatControl` [INFO] [stdout] --> src/statemachine.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | HeatControl::Error => "Error", [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `HeatControl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeatControl` [INFO] [stdout] --> src/statemachine.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | HeatControl::Init(_) => "Init", [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `HeatControl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeatControl` [INFO] [stdout] --> src/statemachine.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | HeatControl::BufferDisabled(_) => "Buffer Disabled", [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `HeatControl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeatControl` [INFO] [stdout] --> src/statemachine.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | HeatControl::BufferEnabled(_) => "Buffer Enabled", [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `HeatControl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeatControl` [INFO] [stdout] --> src/statemachine.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | HeatControl::PumpActive(_) => "Pump Active", [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `HeatControl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeatControl` [INFO] [stdout] --> src/statemachine.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | HeatControl::PumpPause(_) => "Pump Pause", [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `HeatControl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeatControl` [INFO] [stdout] --> src/statemachine.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | HeatControl::Error => 0, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `HeatControl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeatControl` [INFO] [stdout] --> src/statemachine.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | HeatControl::Init(_) => 1, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `HeatControl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeatControl` [INFO] [stdout] --> src/statemachine.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | HeatControl::BufferDisabled(_) => 2, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `HeatControl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeatControl` [INFO] [stdout] --> src/statemachine.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | HeatControl::BufferEnabled(_) => 3, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `HeatControl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeatControl` [INFO] [stdout] --> src/statemachine.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | HeatControl::PumpActive(_) => 4, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `HeatControl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeatControl` [INFO] [stdout] --> src/statemachine.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | HeatControl::PumpPause(_) => 5, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `HeatControl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeatControl` [INFO] [stdout] --> src/statemachine.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | HeatControl::BufferDisabled(BufferDisabled {}) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `HeatControl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeatControl` [INFO] [stdout] --> src/statemachine.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | HeatControl::Init(self) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `HeatControl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeatControl` [INFO] [stdout] --> src/statemachine.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | HeatControl::PumpPause(PumpPause { time: input.time }) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `HeatControl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeatControl` [INFO] [stdout] --> src/statemachine.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | HeatControl::PumpActive(self) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `HeatControl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeatControl` [INFO] [stdout] --> src/statemachine.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | HeatControl::BufferEnabled(BufferEnabled {}) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `HeatControl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeatControl` [INFO] [stdout] --> src/statemachine.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | HeatControl::PumpPause(self) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `HeatControl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `HeatControl` in `statemachine` [INFO] [stdout] --> src/main.rs:198:35 [INFO] [stdout] | [INFO] [stdout] 198 | let mut state = statemachine::HeatControl::init(timer1.millis()); [INFO] [stdout] | ^^^^^^^^^^^ could not find `HeatControl` in `statemachine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `HeatControl` in `statemachine` [INFO] [stdout] --> src/main.rs:239:31 [INFO] [stdout] | [INFO] [stdout] 239 | statemachine::HeatControl::Init(_) => { [INFO] [stdout] | ^^^^^^^^^^^ could not find `HeatControl` in `statemachine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `HeatControl` in `statemachine` [INFO] [stdout] --> src/main.rs:247:31 [INFO] [stdout] | [INFO] [stdout] 247 | statemachine::HeatControl::BufferDisabled(_) => { [INFO] [stdout] | ^^^^^^^^^^^ could not find `HeatControl` in `statemachine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `HeatControl` in `statemachine` [INFO] [stdout] --> src/main.rs:266:31 [INFO] [stdout] | [INFO] [stdout] 266 | statemachine::HeatControl::BufferEnabled(_) => { [INFO] [stdout] | ^^^^^^^^^^^ could not find `HeatControl` in `statemachine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `HeatControl` in `statemachine` [INFO] [stdout] --> src/main.rs:286:31 [INFO] [stdout] | [INFO] [stdout] 286 | statemachine::HeatControl::PumpActive(_) => { [INFO] [stdout] | ^^^^^^^^^^^ could not find `HeatControl` in `statemachine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `HeatControl` in `statemachine` [INFO] [stdout] --> src/main.rs:294:31 [INFO] [stdout] | [INFO] [stdout] 294 | statemachine::HeatControl::PumpPause(_) => { [INFO] [stdout] | ^^^^^^^^^^^ could not find `HeatControl` in `statemachine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HeatControl` in this scope [INFO] [stdout] --> src/statemachine.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 11 | impl HeatControl { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Init` in this scope [INFO] [stdout] --> src/statemachine.rs:58:6 [INFO] [stdout] | [INFO] [stdout] 58 | impl Init { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::State::Init`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 58 | impl crate::State { [INFO] [stdout] | ~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HeatControl` in this scope [INFO] [stdout] --> src/statemachine.rs:59:42 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn on_tick(self, input: Tick) -> HeatControl { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BufferDisabled` in this scope [INFO] [stdout] --> src/statemachine.rs:61:41 [INFO] [stdout] | [INFO] [stdout] 61 | HeatControl::BufferDisabled(BufferDisabled {}) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BufferDisabled` in this scope [INFO] [stdout] --> src/statemachine.rs:68:6 [INFO] [stdout] | [INFO] [stdout] 68 | impl BufferDisabled { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BufferEnabled` in this scope [INFO] [stdout] --> src/statemachine.rs:69:42 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn on_enable(self, _: Enable) -> BufferEnabled { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BufferEnabled` in this scope [INFO] [stdout] --> src/statemachine.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | BufferEnabled {} [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BufferEnabled` in this scope [INFO] [stdout] --> src/statemachine.rs:74:6 [INFO] [stdout] | [INFO] [stdout] 74 | impl BufferEnabled { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BufferDisabled` in this scope [INFO] [stdout] --> src/statemachine.rs:75:44 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn on_disable(self, _: Disable) -> BufferDisabled { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BufferDisabled` in this scope [INFO] [stdout] --> src/statemachine.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | BufferDisabled {} [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PumpActive` in this scope [INFO] [stdout] --> src/statemachine.rs:79:59 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn on_activate_pump(self, input: ActivatePump) -> PumpActive { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `PumpActive` in this scope [INFO] [stdout] --> src/statemachine.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | PumpActive { time: input.time } [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PumpActive` in this scope [INFO] [stdout] --> src/statemachine.rs:84:6 [INFO] [stdout] | [INFO] [stdout] 84 | impl PumpActive { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HeatControl` in this scope [INFO] [stdout] --> src/statemachine.rs:85:42 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn on_tick(self, input: Tick) -> HeatControl { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `PumpPause` in this scope [INFO] [stdout] --> src/statemachine.rs:87:36 [INFO] [stdout] | [INFO] [stdout] 87 | HeatControl::PumpPause(PumpPause { time: input.time }) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PumpPause` in this scope [INFO] [stdout] --> src/statemachine.rs:94:6 [INFO] [stdout] | [INFO] [stdout] 94 | impl PumpPause { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HeatControl` in this scope [INFO] [stdout] --> src/statemachine.rs:95:42 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn on_tick(self, input: Tick) -> HeatControl { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BufferEnabled` in this scope [INFO] [stdout] --> src/statemachine.rs:97:40 [INFO] [stdout] | [INFO] [stdout] 97 | HeatControl::BufferEnabled(BufferEnabled {}) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `#[panic_handler]` function required, but not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc macro panicked [INFO] [stdout] --> src/statemachine.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / machine!( [INFO] [stdout] 2 | | enum HeatControl { [INFO] [stdout] 3 | | Init { time: u32 }, [INFO] [stdout] 4 | | BufferDisabled, [INFO] [stdout] ... | [INFO] [stdout] 8 | | } [INFO] [stdout] 9 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = help: message: error writing machine definition: Os { code: 2, kind: NotFound, message: "No such file or directory" } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc macro panicked [INFO] [stdout] --> src/statemachine.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | / transitions!(HeatControl, [INFO] [stdout] 49 | | [ [INFO] [stdout] 50 | | (Init, Tick) => [BufferDisabled, Init], [INFO] [stdout] 51 | | (BufferDisabled, Enable) => BufferEnabled, [INFO] [stdout] ... | [INFO] [stdout] 55 | | (PumpPause, Tick) => [PumpPause, BufferEnabled] [INFO] [stdout] 56 | | ]); [INFO] [stdout] | |___^ [INFO] [stdout] | [INFO] [stdout] = help: message: error opening dot file: Os { code: 2, kind: NotFound, message: "No such file or directory" } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0570]: `"avr-interrupt"` is not a supported ABI for the current target [INFO] [stdout] --> src/timer.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | #[avr_device::interrupt(atmega328p)] [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: aborting due to 47 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0433, E0570. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `heat_control` due to 48 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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:192:1 [INFO] [stdout] | [INFO] [stdout] 192 | #[hal::entry] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `hal::entry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeatControl` [INFO] [stdout] --> src/statemachine.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | HeatControl::Error => "Error", [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `HeatControl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeatControl` [INFO] [stdout] --> src/statemachine.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | HeatControl::Init(_) => "Init", [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `HeatControl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeatControl` [INFO] [stdout] --> src/statemachine.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | HeatControl::BufferDisabled(_) => "Buffer Disabled", [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `HeatControl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeatControl` [INFO] [stdout] --> src/statemachine.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | HeatControl::BufferEnabled(_) => "Buffer Enabled", [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `HeatControl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeatControl` [INFO] [stdout] --> src/statemachine.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | HeatControl::PumpActive(_) => "Pump Active", [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `HeatControl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeatControl` [INFO] [stdout] --> src/statemachine.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | HeatControl::PumpPause(_) => "Pump Pause", [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `HeatControl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeatControl` [INFO] [stdout] --> src/statemachine.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | HeatControl::Error => 0, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `HeatControl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeatControl` [INFO] [stdout] --> src/statemachine.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | HeatControl::Init(_) => 1, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `HeatControl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeatControl` [INFO] [stdout] --> src/statemachine.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | HeatControl::BufferDisabled(_) => 2, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `HeatControl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeatControl` [INFO] [stdout] --> src/statemachine.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | HeatControl::BufferEnabled(_) => 3, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `HeatControl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeatControl` [INFO] [stdout] --> src/statemachine.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | HeatControl::PumpActive(_) => 4, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `HeatControl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeatControl` [INFO] [stdout] --> src/statemachine.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | HeatControl::PumpPause(_) => 5, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `HeatControl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeatControl` [INFO] [stdout] --> src/statemachine.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | HeatControl::BufferDisabled(BufferDisabled {}) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `HeatControl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeatControl` [INFO] [stdout] --> src/statemachine.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | HeatControl::Init(self) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `HeatControl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeatControl` [INFO] [stdout] --> src/statemachine.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | HeatControl::PumpPause(PumpPause { time: input.time }) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `HeatControl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeatControl` [INFO] [stdout] --> src/statemachine.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | HeatControl::PumpActive(self) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `HeatControl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeatControl` [INFO] [stdout] --> src/statemachine.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | HeatControl::BufferEnabled(BufferEnabled {}) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `HeatControl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeatControl` [INFO] [stdout] --> src/statemachine.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | HeatControl::PumpPause(self) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `HeatControl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `HeatControl` in `statemachine` [INFO] [stdout] --> src/main.rs:198:35 [INFO] [stdout] | [INFO] [stdout] 198 | let mut state = statemachine::HeatControl::init(timer1.millis()); [INFO] [stdout] | ^^^^^^^^^^^ could not find `HeatControl` in `statemachine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `HeatControl` in `statemachine` [INFO] [stdout] --> src/main.rs:239:31 [INFO] [stdout] | [INFO] [stdout] 239 | statemachine::HeatControl::Init(_) => { [INFO] [stdout] | ^^^^^^^^^^^ could not find `HeatControl` in `statemachine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `HeatControl` in `statemachine` [INFO] [stdout] --> src/main.rs:247:31 [INFO] [stdout] | [INFO] [stdout] 247 | statemachine::HeatControl::BufferDisabled(_) => { [INFO] [stdout] | ^^^^^^^^^^^ could not find `HeatControl` in `statemachine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `HeatControl` in `statemachine` [INFO] [stdout] --> src/main.rs:266:31 [INFO] [stdout] | [INFO] [stdout] 266 | statemachine::HeatControl::BufferEnabled(_) => { [INFO] [stdout] | ^^^^^^^^^^^ could not find `HeatControl` in `statemachine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `HeatControl` in `statemachine` [INFO] [stdout] --> src/main.rs:286:31 [INFO] [stdout] | [INFO] [stdout] 286 | statemachine::HeatControl::PumpActive(_) => { [INFO] [stdout] | ^^^^^^^^^^^ could not find `HeatControl` in `statemachine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `HeatControl` in `statemachine` [INFO] [stdout] --> src/main.rs:294:31 [INFO] [stdout] | [INFO] [stdout] 294 | statemachine::HeatControl::PumpPause(_) => { [INFO] [stdout] | ^^^^^^^^^^^ could not find `HeatControl` in `statemachine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HeatControl` in this scope [INFO] [stdout] --> src/statemachine.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 11 | impl HeatControl { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Init` in this scope [INFO] [stdout] --> src/statemachine.rs:58:6 [INFO] [stdout] | [INFO] [stdout] 58 | impl Init { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::State::Init`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 58 | impl crate::State { [INFO] [stdout] | ~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HeatControl` in this scope [INFO] [stdout] --> src/statemachine.rs:59:42 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn on_tick(self, input: Tick) -> HeatControl { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BufferDisabled` in this scope [INFO] [stdout] --> src/statemachine.rs:61:41 [INFO] [stdout] | [INFO] [stdout] 61 | HeatControl::BufferDisabled(BufferDisabled {}) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BufferDisabled` in this scope [INFO] [stdout] --> src/statemachine.rs:68:6 [INFO] [stdout] | [INFO] [stdout] 68 | impl BufferDisabled { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BufferEnabled` in this scope [INFO] [stdout] --> src/statemachine.rs:69:42 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn on_enable(self, _: Enable) -> BufferEnabled { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BufferEnabled` in this scope [INFO] [stdout] --> src/statemachine.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | BufferEnabled {} [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BufferEnabled` in this scope [INFO] [stdout] --> src/statemachine.rs:74:6 [INFO] [stdout] | [INFO] [stdout] 74 | impl BufferEnabled { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BufferDisabled` in this scope [INFO] [stdout] --> src/statemachine.rs:75:44 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn on_disable(self, _: Disable) -> BufferDisabled { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BufferDisabled` in this scope [INFO] [stdout] --> src/statemachine.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | BufferDisabled {} [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PumpActive` in this scope [INFO] [stdout] --> src/statemachine.rs:79:59 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn on_activate_pump(self, input: ActivatePump) -> PumpActive { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `PumpActive` in this scope [INFO] [stdout] --> src/statemachine.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | PumpActive { time: input.time } [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PumpActive` in this scope [INFO] [stdout] --> src/statemachine.rs:84:6 [INFO] [stdout] | [INFO] [stdout] 84 | impl PumpActive { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HeatControl` in this scope [INFO] [stdout] --> src/statemachine.rs:85:42 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn on_tick(self, input: Tick) -> HeatControl { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `PumpPause` in this scope [INFO] [stdout] --> src/statemachine.rs:87:36 [INFO] [stdout] | [INFO] [stdout] 87 | HeatControl::PumpPause(PumpPause { time: input.time }) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PumpPause` in this scope [INFO] [stdout] --> src/statemachine.rs:94:6 [INFO] [stdout] | [INFO] [stdout] 94 | impl PumpPause { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HeatControl` in this scope [INFO] [stdout] --> src/statemachine.rs:95:42 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn on_tick(self, input: Tick) -> HeatControl { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BufferEnabled` in this scope [INFO] [stdout] --> src/statemachine.rs:97:40 [INFO] [stdout] | [INFO] [stdout] 97 | HeatControl::BufferEnabled(BufferEnabled {}) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0570]: `"avr-interrupt"` is not a supported ABI for the current target [INFO] [stdout] --> src/timer.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | #[avr_device::interrupt(atmega328p)] [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: aborting due to 46 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0433, E0570. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "1df6ff4cf6b41d2608acc0440d8f073d36548c64f3fbf875414efd64fbd6a4dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1df6ff4cf6b41d2608acc0440d8f073d36548c64f3fbf875414efd64fbd6a4dc", kill_on_drop: false }` [INFO] [stdout] 1df6ff4cf6b41d2608acc0440d8f073d36548c64f3fbf875414efd64fbd6a4dc