[INFO] cloning repository https://github.com/kolohelios/forth [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kolohelios/forth" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkolohelios%2Fforth", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkolohelios%2Fforth'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bb986baa539224421d3babd53c319c613cf567d4 [INFO] checking kolohelios/forth against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkolohelios%2Fforth" "/workspace/builds/worker-27/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-27/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kolohelios/forth on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kolohelios/forth [INFO] finished tweaking git repo https://github.com/kolohelios/forth [INFO] tweaked toml for git repo https://github.com/kolohelios/forth written to /workspace/builds/worker-27/source/Cargo.toml [INFO] crate git repo https://github.com/kolohelios/forth already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded machine v0.3.0 [INFO] [stderr] Downloaded enumset v1.0.1 [INFO] [stderr] Downloaded enumset_derive v0.5.0 [INFO] [stderr] Downloaded cursive v0.15.0 [INFO] [stderr] Downloaded ahash v0.4.4 [INFO] [stderr] Downloaded cursive_core v0.1.1 [INFO] [stderr] Downloaded case v1.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 80e214a938a9e05da19a4038d678789818d196c764d510215be7e0536e984a8a [INFO] running `Command { std: "docker" "start" "-a" "80e214a938a9e05da19a4038d678789818d196c764d510215be7e0536e984a8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "80e214a938a9e05da19a4038d678789818d196c764d510215be7e0536e984a8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80e214a938a9e05da19a4038d678789818d196c764d510215be7e0536e984a8a", kill_on_drop: false }` [INFO] [stdout] 80e214a938a9e05da19a4038d678789818d196c764d510215be7e0536e984a8a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 38325b4d60ed8926ec152fc7cfd0763346d5cbe6964d8b889cddf531a26bff7e [INFO] running `Command { std: "docker" "start" "-a" "38325b4d60ed8926ec152fc7cfd0763346d5cbe6964d8b889cddf531a26bff7e", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] getrandom v0.1.14 (as host dependency): std [INFO] [stderr] libc v0.2.74 (as host dependency): default, std [INFO] [stderr] [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking arc-swap v0.4.7 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking array-macro v1.0.5 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking unicode-segmentation v1.6.0 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Checking xi-unicode v0.2.1 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Compiling case v1.0.0 [INFO] [stderr] Checking owning_ref v0.4.1 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling ncurses v5.99.0 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking signal-hook-registry v1.2.1 [INFO] [stderr] Checking term_size v0.3.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking signal-hook v0.1.16 [INFO] [stderr] Compiling const-random-macro v0.1.8 [INFO] [stderr] Checking crossbeam-channel v0.4.3 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking const-random v0.1.8 [INFO] [stderr] Checking ahash v0.4.4 [INFO] [stderr] Checking ahash v0.3.8 [INFO] [stderr] Checking num-complex v0.3.0 [INFO] [stderr] Checking chrono v0.4.13 [INFO] [stderr] Checking num v0.3.0 [INFO] [stderr] Checking toml v0.5.6 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling enum-map-derive v0.4.3 [INFO] [stderr] Compiling machine v0.3.0 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Checking enum-map v0.6.2 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling enumset_derive v0.5.0 [INFO] [stderr] Checking enumset v1.0.1 [INFO] [stderr] Checking cursive_core v0.1.1 [INFO] [stderr] Checking cursive v0.15.0 [INFO] [stderr] Checking forth v0.0.1 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stdout] error: proc macro panicked [INFO] [stdout] --> src/flower.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / machine!( [INFO] [stdout] 4 | | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] 5 | | enum Flower { [INFO] [stdout] 6 | | Seed, [INFO] [stdout] ... | [INFO] [stdout] 37 | | } [INFO] [stdout] 38 | | ); [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/flower.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | / transitions!(Flower, [ [INFO] [stdout] 52 | | (Seed, Advance) => Germinating, [INFO] [stdout] 53 | | (Germinating, Fertilize) => [ Germinating, Growing ], [INFO] [stdout] 54 | | (Germinating, Water) => [ Germinating, Growing ], [INFO] [stdout] ... | [INFO] [stdout] 59 | | (Growing, Sunshine) => [ Growing, Flowering ] [INFO] [stdout] 60 | | ]); [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[E0433]: failed to resolve: use of undeclared type `Flower` [INFO] [stdout] --> src/flower.rs:83:20 [INFO] [stdout] | [INFO] [stdout] 83 | return Flower::growing(false, false, 0); [INFO] [stdout] | ^^^^^^ use of undeclared type `Flower` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flower` [INFO] [stdout] --> src/flower.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | Flower::germinating(true, self.watered, self.sunshine) [INFO] [stdout] | ^^^^^^ use of undeclared type `Flower` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flower` [INFO] [stdout] --> src/flower.rs:90:20 [INFO] [stdout] | [INFO] [stdout] 90 | return Flower::growing(false, false, 0); [INFO] [stdout] | ^^^^^^ use of undeclared type `Flower` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flower` [INFO] [stdout] --> src/flower.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | Flower::germinating(self.fertilized, true, self.sunshine) [INFO] [stdout] | ^^^^^^ use of undeclared type `Flower` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flower` [INFO] [stdout] --> src/flower.rs:98:20 [INFO] [stdout] | [INFO] [stdout] 98 | return Flower::growing(false, false, 0); [INFO] [stdout] | ^^^^^^ use of undeclared type `Flower` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flower` [INFO] [stdout] --> src/flower.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | Flower::germinating(self.fertilized, self.watered, new_sunshine) [INFO] [stdout] | ^^^^^^ use of undeclared type `Flower` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flower` [INFO] [stdout] --> src/flower.rs:107:20 [INFO] [stdout] | [INFO] [stdout] 107 | return Flower::flowering(false, 0, 0); [INFO] [stdout] | ^^^^^^ use of undeclared type `Flower` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flower` [INFO] [stdout] --> src/flower.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | Flower::growing(self.fertilized, self.watered, self.sunshine) [INFO] [stdout] | ^^^^^^ use of undeclared type `Flower` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flower` [INFO] [stdout] --> src/flower.rs:114:20 [INFO] [stdout] | [INFO] [stdout] 114 | return Flower::flowering(false, 0, 0); [INFO] [stdout] | ^^^^^^ use of undeclared type `Flower` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flower` [INFO] [stdout] --> src/flower.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | Flower::growing(true, self.watered, self.sunshine) [INFO] [stdout] | ^^^^^^ use of undeclared type `Flower` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flower` [INFO] [stdout] --> src/flower.rs:121:20 [INFO] [stdout] | [INFO] [stdout] 121 | return Flower::flowering(false, 0, 0); [INFO] [stdout] | ^^^^^^ use of undeclared type `Flower` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flower` [INFO] [stdout] --> src/flower.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | Flower::growing(self.fertilized, true, self.sunshine) [INFO] [stdout] | ^^^^^^ use of undeclared type `Flower` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flower` [INFO] [stdout] --> src/flower.rs:129:20 [INFO] [stdout] | [INFO] [stdout] 129 | return Flower::flowering(false, 0, 0); [INFO] [stdout] | ^^^^^^ use of undeclared type `Flower` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flower` [INFO] [stdout] --> src/flower.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | Flower::growing(self.fertilized, self.watered, new_sunshine) [INFO] [stdout] | ^^^^^^ use of undeclared type `Flower` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flower` [INFO] [stdout] --> src/flower.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | Flower::Seed(ref _v) => println!("\x1b[1;30m Seed! (*)"), [INFO] [stdout] | ^^^^^^ use of undeclared type `Flower` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flower` [INFO] [stdout] --> src/flower.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | Flower::Germinating(ref _v) => println!("Planted! (~)"), [INFO] [stdout] | ^^^^^^ use of undeclared type `Flower` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flower` [INFO] [stdout] --> src/flower.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | Flower::Growing(ref _v) => println!("\x1b[1;30m Growing! (~) \x1b[0m"), [INFO] [stdout] | ^^^^^^ use of undeclared type `Flower` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flower` [INFO] [stdout] --> src/flower.rs:156:17 [INFO] [stdout] | [INFO] [stdout] 156 | let f = Flower::Seed(Seed {}); [INFO] [stdout] | ^^^^^^ use of undeclared type `Flower` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Seed` in this scope [INFO] [stdout] --> src/flower.rs:62:6 [INFO] [stdout] | [INFO] [stdout] 62 | impl Seed { [INFO] [stdout] | ^^^^ help: a trait with a similar name exists: `Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Germinating` in this scope [INFO] [stdout] --> src/flower.rs:63:44 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn on_advance(self, _: Advance) -> Germinating { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Germinating` in this scope [INFO] [stdout] --> src/flower.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | Germinating { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Germinating` in this scope [INFO] [stdout] --> src/flower.rs:72:6 [INFO] [stdout] | [INFO] [stdout] 72 | impl Germinating { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Growing` in this scope [INFO] [stdout] --> src/flower.rs:73:44 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn on_advance(self, _: Advance) -> Growing { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Growing` in this scope [INFO] [stdout] --> src/flower.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | Growing { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Flower` in this scope [INFO] [stdout] --> src/flower.rs:81:48 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn on_fertilize(self, _: Fertilize) -> Flower { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Flower` in this scope [INFO] [stdout] --> src/flower.rs:88:40 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn on_water(self, _: Water) -> Flower { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Flower` in this scope [INFO] [stdout] --> src/flower.rs:95:50 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn on_sunshine(self, input: Sunshine) -> Flower { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Growing` in this scope [INFO] [stdout] --> src/flower.rs:104:6 [INFO] [stdout] | [INFO] [stdout] 104 | impl Growing { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Flower` in this scope [INFO] [stdout] --> src/flower.rs:105:44 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn on_advance(self, _: Advance) -> Flower { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Flower` in this scope [INFO] [stdout] --> src/flower.rs:112:48 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn on_fertilize(self, _: Fertilize) -> Flower { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Flower` in this scope [INFO] [stdout] --> src/flower.rs:119:40 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn on_water(self, _: Water) -> Flower { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Flower` in this scope [INFO] [stdout] --> src/flower.rs:126:50 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn on_sunshine(self, input: Sunshine) -> Flower { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Flower` in this scope [INFO] [stdout] --> src/flower.rs:142:6 [INFO] [stdout] | [INFO] [stdout] 142 | impl Flower { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Flower` in this scope [INFO] [stdout] --> src/flower.rs:155:31 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn create_flower() -> Flower { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Seed` in this scope [INFO] [stdout] --> src/flower.rs:156:30 [INFO] [stdout] | [INFO] [stdout] 156 | let f = Flower::Seed(Seed {}); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/flower.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 106 | if (self.sunshine > 4 && self.watered && self.fertilized) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/flower.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ColorStyle` [INFO] [stdout] --> src/flower_display.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use cursive::theme::{Color, ColorStyle}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 37 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `forth` due to 38 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: proc macro panicked [INFO] [stdout] --> src/flower.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / machine!( [INFO] [stdout] 4 | | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] 5 | | enum Flower { [INFO] [stdout] 6 | | Seed, [INFO] [stdout] ... | [INFO] [stdout] 37 | | } [INFO] [stdout] 38 | | ); [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/flower.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | / transitions!(Flower, [ [INFO] [stdout] 52 | | (Seed, Advance) => Germinating, [INFO] [stdout] 53 | | (Germinating, Fertilize) => [ Germinating, Growing ], [INFO] [stdout] 54 | | (Germinating, Water) => [ Germinating, Growing ], [INFO] [stdout] ... | [INFO] [stdout] 59 | | (Growing, Sunshine) => [ Growing, Flowering ] [INFO] [stdout] 60 | | ]); [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[E0433]: failed to resolve: use of undeclared type `Flower` [INFO] [stdout] --> src/flower.rs:83:20 [INFO] [stdout] | [INFO] [stdout] 83 | return Flower::growing(false, false, 0); [INFO] [stdout] | ^^^^^^ use of undeclared type `Flower` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flower` [INFO] [stdout] --> src/flower.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | Flower::germinating(true, self.watered, self.sunshine) [INFO] [stdout] | ^^^^^^ use of undeclared type `Flower` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flower` [INFO] [stdout] --> src/flower.rs:90:20 [INFO] [stdout] | [INFO] [stdout] 90 | return Flower::growing(false, false, 0); [INFO] [stdout] | ^^^^^^ use of undeclared type `Flower` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flower` [INFO] [stdout] --> src/flower.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | Flower::germinating(self.fertilized, true, self.sunshine) [INFO] [stdout] | ^^^^^^ use of undeclared type `Flower` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flower` [INFO] [stdout] --> src/flower.rs:98:20 [INFO] [stdout] | [INFO] [stdout] 98 | return Flower::growing(false, false, 0); [INFO] [stdout] | ^^^^^^ use of undeclared type `Flower` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flower` [INFO] [stdout] --> src/flower.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | Flower::germinating(self.fertilized, self.watered, new_sunshine) [INFO] [stdout] | ^^^^^^ use of undeclared type `Flower` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flower` [INFO] [stdout] --> src/flower.rs:107:20 [INFO] [stdout] | [INFO] [stdout] 107 | return Flower::flowering(false, 0, 0); [INFO] [stdout] | ^^^^^^ use of undeclared type `Flower` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flower` [INFO] [stdout] --> src/flower.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | Flower::growing(self.fertilized, self.watered, self.sunshine) [INFO] [stdout] | ^^^^^^ use of undeclared type `Flower` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flower` [INFO] [stdout] --> src/flower.rs:114:20 [INFO] [stdout] | [INFO] [stdout] 114 | return Flower::flowering(false, 0, 0); [INFO] [stdout] | ^^^^^^ use of undeclared type `Flower` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flower` [INFO] [stdout] --> src/flower.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | Flower::growing(true, self.watered, self.sunshine) [INFO] [stdout] | ^^^^^^ use of undeclared type `Flower` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flower` [INFO] [stdout] --> src/flower.rs:121:20 [INFO] [stdout] | [INFO] [stdout] 121 | return Flower::flowering(false, 0, 0); [INFO] [stdout] | ^^^^^^ use of undeclared type `Flower` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flower` [INFO] [stdout] --> src/flower.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | Flower::growing(self.fertilized, true, self.sunshine) [INFO] [stdout] | ^^^^^^ use of undeclared type `Flower` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flower` [INFO] [stdout] --> src/flower.rs:129:20 [INFO] [stdout] | [INFO] [stdout] 129 | return Flower::flowering(false, 0, 0); [INFO] [stdout] | ^^^^^^ use of undeclared type `Flower` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flower` [INFO] [stdout] --> src/flower.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | Flower::growing(self.fertilized, self.watered, new_sunshine) [INFO] [stdout] | ^^^^^^ use of undeclared type `Flower` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flower` [INFO] [stdout] --> src/flower.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | Flower::Seed(ref _v) => println!("\x1b[1;30m Seed! (*)"), [INFO] [stdout] | ^^^^^^ use of undeclared type `Flower` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flower` [INFO] [stdout] --> src/flower.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | Flower::Germinating(ref _v) => println!("Planted! (~)"), [INFO] [stdout] | ^^^^^^ use of undeclared type `Flower` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flower` [INFO] [stdout] --> src/flower.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | Flower::Growing(ref _v) => println!("\x1b[1;30m Growing! (~) \x1b[0m"), [INFO] [stdout] | ^^^^^^ use of undeclared type `Flower` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flower` [INFO] [stdout] --> src/flower.rs:156:17 [INFO] [stdout] | [INFO] [stdout] 156 | let f = Flower::Seed(Seed {}); [INFO] [stdout] | ^^^^^^ use of undeclared type `Flower` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flower` [INFO] [stdout] --> src/flower.rs:167:23 [INFO] [stdout] | [INFO] [stdout] 167 | assert_eq!(f, Flower::seed()); [INFO] [stdout] | ^^^^^^ use of undeclared type `Flower` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flower` [INFO] [stdout] --> src/flower.rs:169:23 [INFO] [stdout] | [INFO] [stdout] 169 | assert_eq!(f, Flower::germinating(false, false, 0)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Flower` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flower` [INFO] [stdout] --> src/flower.rs:171:23 [INFO] [stdout] | [INFO] [stdout] 171 | assert_eq!(f, Flower::germinating(true, false, 0)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Flower` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flower` [INFO] [stdout] --> src/flower.rs:173:23 [INFO] [stdout] | [INFO] [stdout] 173 | assert_eq!(f, Flower::germinating(true, true, 0)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Flower` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flower` [INFO] [stdout] --> src/flower.rs:175:23 [INFO] [stdout] | [INFO] [stdout] 175 | assert_eq!(f, Flower::germinating(true, true, 3)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Flower` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flower` [INFO] [stdout] --> src/flower.rs:177:23 [INFO] [stdout] | [INFO] [stdout] 177 | assert_eq!(f, Flower::growing(false, false, 0)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Flower` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flower` [INFO] [stdout] --> src/flower.rs:181:23 [INFO] [stdout] | [INFO] [stdout] 181 | assert_eq!(f, Flower::flowering(false, 0, 0)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Flower` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Seed` in this scope [INFO] [stdout] --> src/flower.rs:62:6 [INFO] [stdout] | [INFO] [stdout] 62 | impl Seed { [INFO] [stdout] | ^^^^ help: a trait with a similar name exists: `Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Germinating` in this scope [INFO] [stdout] --> src/flower.rs:63:44 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn on_advance(self, _: Advance) -> Germinating { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Germinating` in this scope [INFO] [stdout] --> src/flower.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | Germinating { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Germinating` in this scope [INFO] [stdout] --> src/flower.rs:72:6 [INFO] [stdout] | [INFO] [stdout] 72 | impl Germinating { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Growing` in this scope [INFO] [stdout] --> src/flower.rs:73:44 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn on_advance(self, _: Advance) -> Growing { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Growing` in this scope [INFO] [stdout] --> src/flower.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | Growing { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Flower` in this scope [INFO] [stdout] --> src/flower.rs:81:48 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn on_fertilize(self, _: Fertilize) -> Flower { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Flower` in this scope [INFO] [stdout] --> src/flower.rs:88:40 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn on_water(self, _: Water) -> Flower { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Flower` in this scope [INFO] [stdout] --> src/flower.rs:95:50 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn on_sunshine(self, input: Sunshine) -> Flower { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Growing` in this scope [INFO] [stdout] --> src/flower.rs:104:6 [INFO] [stdout] | [INFO] [stdout] 104 | impl Growing { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Flower` in this scope [INFO] [stdout] --> src/flower.rs:105:44 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn on_advance(self, _: Advance) -> Flower { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Flower` in this scope [INFO] [stdout] --> src/flower.rs:112:48 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn on_fertilize(self, _: Fertilize) -> Flower { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Flower` in this scope [INFO] [stdout] --> src/flower.rs:119:40 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn on_water(self, _: Water) -> Flower { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Flower` in this scope [INFO] [stdout] --> src/flower.rs:126:50 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn on_sunshine(self, input: Sunshine) -> Flower { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Flower` in this scope [INFO] [stdout] --> src/flower.rs:142:6 [INFO] [stdout] | [INFO] [stdout] 142 | impl Flower { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Flower` in this scope [INFO] [stdout] --> src/flower.rs:155:31 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn create_flower() -> Flower { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Seed` in this scope [INFO] [stdout] --> src/flower.rs:156:30 [INFO] [stdout] | [INFO] [stdout] 156 | let f = Flower::Seed(Seed {}); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/flower.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 106 | if (self.sunshine > 4 && self.watered && self.fertilized) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/flower.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ColorStyle` [INFO] [stdout] --> src/flower_display.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use cursive::theme::{Color, ColorStyle}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 44 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "38325b4d60ed8926ec152fc7cfd0763346d5cbe6964d8b889cddf531a26bff7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38325b4d60ed8926ec152fc7cfd0763346d5cbe6964d8b889cddf531a26bff7e", kill_on_drop: false }` [INFO] [stdout] 38325b4d60ed8926ec152fc7cfd0763346d5cbe6964d8b889cddf531a26bff7e