[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 master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkolohelios%2Fforth" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kolohelios/forth on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", 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-0/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ddf2b564ee5495819a90026fe6138e2d0a912e40761e4ac95248794731958722 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ddf2b564ee5495819a90026fe6138e2d0a912e40761e4ac95248794731958722", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ddf2b564ee5495819a90026fe6138e2d0a912e40761e4ac95248794731958722", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ddf2b564ee5495819a90026fe6138e2d0a912e40761e4ac95248794731958722", kill_on_drop: false }` [INFO] [stdout] ddf2b564ee5495819a90026fe6138e2d0a912e40761e4ac95248794731958722 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 166f782c8548a9952030b1aa41581397150163ab6b42efa0c8acec9435c51072 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "166f782c8548a9952030b1aa41581397150163ab6b42efa0c8acec9435c51072", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling case v1.0.0 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Checking owning_ref v0.4.1 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling ncurses v5.99.0 [INFO] [stderr] Checking crossbeam-channel v0.4.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking num-complex v0.3.0 [INFO] [stderr] Checking getrandom v0.1.14 [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 chrono v0.4.13 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking num v0.3.0 [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 toml v0.5.6 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling machine v0.3.0 [INFO] [stderr] Compiling enum-map-derive v0.4.3 [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 (/opt/rustwide/workdir) [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: 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[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: 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: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[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: 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] [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] [stderr] error: could not compile `forth` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[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] running `Command { std: "docker" "inspect" "166f782c8548a9952030b1aa41581397150163ab6b42efa0c8acec9435c51072", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "166f782c8548a9952030b1aa41581397150163ab6b42efa0c8acec9435c51072", kill_on_drop: false }` [INFO] [stdout] 166f782c8548a9952030b1aa41581397150163ab6b42efa0c8acec9435c51072