[INFO] crate machine 0.3.0 is already in cache
[INFO] checking machine-0.3.0 against master#bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc for pr-70917
[INFO] extracting crate machine 0.3.0 into /workspace/builds/worker-12/source
[INFO] validating manifest of crates.io crate machine 0.3.0 on toolchain bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking crates.io crate machine 0.3.0
[INFO] finished tweaking crates.io crate machine 0.3.0
[INFO] tweaked toml for crates.io crate machine 0.3.0 written to /workspace/builds/worker-12/source/Cargo.toml
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "check" "--frozen" "--all" "--all-targets"`
[INFO] [stdout] 81bb79f2cf91ef5cbcf84cff1ea34278678958139698c2c4828652b3dd129086
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `"docker" "start" "-a" "81bb79f2cf91ef5cbcf84cff1ea34278678958139698c2c4828652b3dd129086"`
[INFO] [stderr]     Checking case v1.0.0
[INFO] [stderr]     Checking syn v0.15.44
[INFO] [stderr]     Checking machine v0.3.0 (/opt/rustwide/workdir)
[INFO] [stderr] error: proc macro panicked
[INFO] [stderr]   --> tests/hello.rs:8:1
[INFO] [stderr]    |
[INFO] [stderr] 8  | / machine!(
[INFO] [stderr] 9  | |   #[derive(Clone,Debug,PartialEq)]
[INFO] [stderr] 10 | |   enum State {
[INFO] [stderr] 11 | |     Start { pub x:u8 },
[INFO] [stderr] 12 | |     End { pub x: u8, y: bool },
[INFO] [stderr] 13 | |   }
[INFO] [stderr] 14 | | );
[INFO] [stderr]    | |__^
[INFO] [stderr]    |
[INFO] [stderr]    = help: message: error writing machine definition: Os { code: 2, kind: NotFound, message: "No such file or directory" }
[INFO] [stderr] 
[INFO] [stderr] error: proc macro panicked
[INFO] [stderr]   --> tests/hello.rs:22:1
[INFO] [stderr]    |
[INFO] [stderr] 22 | / transitions!(State,
[INFO] [stderr] 23 | |   [
[INFO] [stderr] 24 | |   (Start, Msg1) => End,
[INFO] [stderr] 25 | |   (End, Msg1) => End
[INFO] [stderr] 26 | |   ]
[INFO] [stderr] 27 | | );
[INFO] [stderr]    | |__^
[INFO] [stderr]    |
[INFO] [stderr]    = help: message: error opening dot file: Os { code: 2, kind: NotFound, message: "No such file or directory" }
[INFO] [stderr] 
[INFO] [stderr] error: proc macro panicked
[INFO] [stderr]   --> tests/http.rs:4:1
[INFO] [stderr]    |
[INFO] [stderr] 4  | / machine!(
[INFO] [stderr] 5  | |     enum HttpRequest {
[INFO] [stderr] 6  | |         Initial,
[INFO] [stderr] 7  | |         HasRequestLine {
[INFO] [stderr] ...  |
[INFO] [stderr] 37 | |     }
[INFO] [stderr] 38 | | );
[INFO] [stderr]    | |__^
[INFO] [stderr]    |
[INFO] [stderr]    = help: message: error writing machine definition: Os { code: 2, kind: NotFound, message: "No such file or directory" }
[INFO] [stderr] 
[INFO] [stderr] error: proc macro panicked
[INFO] [stderr]   --> tests/http.rs:63:1
[INFO] [stderr]    |
[INFO] [stderr] 63 | / transitions!(HttpRequest,
[INFO] [stderr] 64 | |   [
[INFO] [stderr] 65 | |     (Initial, RequestLine) => HasRequestLine,
[INFO] [stderr] 66 | |     (HasRequestLine, HostHeader) => HasHost,
[INFO] [stderr] ...  |
[INFO] [stderr] 72 | |   ]
[INFO] [stderr] 73 | | );
[INFO] [stderr]    | |__^
[INFO] [stderr]    |
[INFO] [stderr]    = help: message: error opening dot file: Os { code: 2, kind: NotFound, message: "No such file or directory" }
[INFO] [stderr] 
[INFO] [stderr] error: proc macro panicked
[INFO] [stderr]   --> tests/http.rs:75:1
[INFO] [stderr]    |
[INFO] [stderr] 75 | / methods!(HttpRequest,
[INFO] [stderr] 76 | |   [
[INFO] [stderr] 77 | |     HasHost, HasHostAndLength, Request,
[INFO] [stderr] 78 | |       RequestWithBody, RequestWithChunks => get host: str
[INFO] [stderr] 79 | |   ]
[INFO] [stderr] 80 | | );
[INFO] [stderr]    | |__^
[INFO] [stderr]    |
[INFO] [stderr]    = help: message: error writing methods: Os { code: 2, kind: NotFound, message: "No such file or directory" }
[INFO] [stderr] 
[INFO] [stderr] error: proc macro panicked
[INFO] [stderr]   --> tests/traffic_light.rs:4:1
[INFO] [stderr]    |
[INFO] [stderr] 4  | / machine!(
[INFO] [stderr] 5  | |   #[derive(Clone,Debug,PartialEq)]
[INFO] [stderr] 6  | |   enum TrafficLight {
[INFO] [stderr] 7  | |     Green { count: u8 },
[INFO] [stderr] ...  |
[INFO] [stderr] 11 | |   }
[INFO] [stderr] 12 | | );
[INFO] [stderr]    | |__^
[INFO] [stderr]    |
[INFO] [stderr]    = help: message: error writing machine definition: Os { code: 2, kind: NotFound, message: "No such file or directory" }
[INFO] [stderr] 
[INFO] [stderr] error: proc macro panicked
[INFO] [stderr]   --> tests/traffic_light.rs:25:1
[INFO] [stderr]    |
[INFO] [stderr] 25 | / transitions!(TrafficLight,
[INFO] [stderr] 26 | |   [
[INFO] [stderr] 27 | |     (Green, prefix::Advance) => Orange,
[INFO] [stderr] 28 | |     (Orange, prefix::Advance) => Red,
[INFO] [stderr] ...  |
[INFO] [stderr] 35 | |   ]
[INFO] [stderr] 36 | | );
[INFO] [stderr]    | |__^
[INFO] [stderr]    |
[INFO] [stderr]    = help: message: error opening dot file: Os { code: 2, kind: NotFound, message: "No such file or directory" }
[INFO] [stderr] 
[INFO] [stderr] error: proc macro panicked
[INFO] [stderr]   --> tests/traffic_light.rs:38:1
[INFO] [stderr]    |
[INFO] [stderr] 38 | / methods!(TrafficLight,
[INFO] [stderr] 39 | |   [
[INFO] [stderr] 40 | |     Green => get count: u8,
[INFO] [stderr] 41 | |     Green => set count: u8,
[INFO] [stderr] 42 | |     Green, Orange, Red, BlinkingOrange => default(false) fn working(&self) -> bool
[INFO] [stderr] 43 | |   ]
[INFO] [stderr] 44 | | );
[INFO] [stderr]    | |__^
[INFO] [stderr]    |
[INFO] [stderr]    = help: message: error writing methods: Os { code: 2, kind: NotFound, message: "No such file or directory" }
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `HttpRequest`
[INFO] [stderr]    --> tests/http.rs:142:40
[INFO] [stderr]     |
[INFO] [stderr] 142 |       LengthInfo::Length(remaining) => HttpRequest::RequestWithBody(RequestWithBody {
[INFO] [stderr]     |                                        ^^^^^^^^^^^ use of undeclared type or module `HttpRequest`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `State`
[INFO] [stderr]   --> tests/hello.rs:49:15
[INFO] [stderr]    |
[INFO] [stderr] 49 |   let start = State::start(0);
[INFO] [stderr]    |               ^^^^^ use of undeclared type or module `State`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `State`
[INFO] [stderr]   --> tests/hello.rs:50:15
[INFO] [stderr]    |
[INFO] [stderr] 50 |   let _end  = State::end(1, true);
[INFO] [stderr]    |               ^^^^^ use of undeclared type or module `State`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `State`
[INFO] [stderr]   --> tests/hello.rs:51:14
[INFO] [stderr]    |
[INFO] [stderr] 51 |   let _err = State::error();
[INFO] [stderr]    |              ^^^^^ use of undeclared type or module `State`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `State`
[INFO] [stderr]   --> tests/hello.rs:53:21
[INFO] [stderr]    |
[INFO] [stderr] 53 |   assert_eq!(start, State::Start(Start { x: 0 }));
[INFO] [stderr]    |                     ^^^^^ use of undeclared type or module `State`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `HttpRequest`
[INFO] [stderr]    --> tests/http.rs:148:9
[INFO] [stderr]     |
[INFO] [stderr] 148 |         HttpRequest::RequestWithChunks(RequestWithChunks {
[INFO] [stderr]     |         ^^^^^^^^^^^ use of undeclared type or module `HttpRequest`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Start` in this scope
[INFO] [stderr]   --> tests/hello.rs:29:6
[INFO] [stderr]    |
[INFO] [stderr] 29 | impl Start {
[INFO] [stderr]    |      ^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: there is an enum variant `std::io::SeekFrom::Start`; try using the variant's enum
[INFO] [stderr]    |
[INFO] [stderr] 29 | impl std::io::SeekFrom {
[INFO] [stderr]    |      ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `End` in this scope
[INFO] [stderr]   --> tests/hello.rs:30:41
[INFO] [stderr]    |
[INFO] [stderr] 30 |   pub fn on_msg1(self, _input: Msg1) -> End {
[INFO] [stderr]    |                                         ^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: there is an enum variant `std::io::SeekFrom::End`; try using the variant's enum
[INFO] [stderr]    |
[INFO] [stderr] 30 |   pub fn on_msg1(self, _input: Msg1) -> std::io::SeekFrom {
[INFO] [stderr]    |                                         ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `End` in this scope
[INFO] [stderr]   --> tests/hello.rs:31:5
[INFO] [stderr]    |
[INFO] [stderr] 31 |     End {
[INFO] [stderr]    |     ^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 4  | use std::io::SeekFrom::End;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `End` in this scope
[INFO] [stderr]   --> tests/hello.rs:38:6
[INFO] [stderr]    |
[INFO] [stderr] 38 | impl End {
[INFO] [stderr]    |      ^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: there is an enum variant `std::io::SeekFrom::End`; try using the variant's enum
[INFO] [stderr]    |
[INFO] [stderr] 38 | impl std::io::SeekFrom {
[INFO] [stderr]    |      ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `End` in this scope
[INFO] [stderr]   --> tests/hello.rs:39:41
[INFO] [stderr]    |
[INFO] [stderr] 39 |   pub fn on_msg1(self, _input: Msg1) -> End {
[INFO] [stderr]    |                                         ^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: there is an enum variant `std::io::SeekFrom::End`; try using the variant's enum
[INFO] [stderr]    |
[INFO] [stderr] 39 |   pub fn on_msg1(self, _input: Msg1) -> std::io::SeekFrom {
[INFO] [stderr]    |                                         ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Initial` in this scope
[INFO] [stderr]   --> tests/http.rs:82:6
[INFO] [stderr]    |
[INFO] [stderr] 82 | impl Initial {
[INFO] [stderr]    |      ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `End` in this scope
[INFO] [stderr]   --> tests/hello.rs:40:5
[INFO] [stderr]    |
[INFO] [stderr] 40 |     End {
[INFO] [stderr]    |     ^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 4  | use std::io::SeekFrom::End;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HasRequestLine` in this scope
[INFO] [stderr]   --> tests/http.rs:83:57
[INFO] [stderr]    |
[INFO] [stderr] 41 | pub struct RequestLine;
[INFO] [stderr]    | ----------------------- similarly named struct `RequestLine` defined here
[INFO] [stderr] ...
[INFO] [stderr] 83 |   pub fn on_request_line(self, request: RequestLine) -> HasRequestLine {
[INFO] [stderr]    |                                                         ^^^^^^^^^^^^^^ help: a struct with a similar name exists: `RequestLine`
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `Start` in this scope
[INFO] [stderr]   --> tests/hello.rs:53:34
[INFO] [stderr]    |
[INFO] [stderr] 53 |   assert_eq!(start, State::Start(Start { x: 0 }));
[INFO] [stderr]    |                                  ^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 4  | use std::io::SeekFrom::Start;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `HasRequestLine` in this scope
[INFO] [stderr]   --> tests/http.rs:84:5
[INFO] [stderr]    |
[INFO] [stderr] 41 | pub struct RequestLine;
[INFO] [stderr]    | ----------------------- similarly named struct `RequestLine` defined here
[INFO] [stderr] ...
[INFO] [stderr] 84 |     HasRequestLine { request }
[INFO] [stderr]    |     ^^^^^^^^^^^^^^ help: a struct with a similar name exists: `RequestLine`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HasRequestLine` in this scope
[INFO] [stderr]   --> tests/http.rs:88:6
[INFO] [stderr]    |
[INFO] [stderr] 41 | pub struct RequestLine;
[INFO] [stderr]    | ----------------------- similarly named struct `RequestLine` defined here
[INFO] [stderr] ...
[INFO] [stderr] 88 | impl HasRequestLine {
[INFO] [stderr]    |      ^^^^^^^^^^^^^^ help: a struct with a similar name exists: `RequestLine`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HasHost` in this scope
[INFO] [stderr]   --> tests/http.rs:89:49
[INFO] [stderr]    |
[INFO] [stderr] 89 |   pub fn on_host_header(self, h: HostHeader) -> HasHost {
[INFO] [stderr]    |                                                 ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `HasHost` in this scope
[INFO] [stderr]   --> tests/http.rs:92:5
[INFO] [stderr]    |
[INFO] [stderr] 92 |     HasHost {
[INFO] [stderr]    |     ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HasLength` in this scope
[INFO] [stderr]   --> tests/http.rs:98:53
[INFO] [stderr]    |
[INFO] [stderr] 98 |   pub fn on_length_header(self, h: LengthHeader) -> HasLength {
[INFO] [stderr]    |                                                     ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `HasLength` in this scope
[INFO] [stderr]    --> tests/http.rs:101:5
[INFO] [stderr]     |
[INFO] [stderr] 101 |     HasLength {
[INFO] [stderr]     |     ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HasHost` in this scope
[INFO] [stderr]    --> tests/http.rs:108:6
[INFO] [stderr]     |
[INFO] [stderr] 108 | impl HasHost {
[INFO] [stderr]     |      ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HasHostAndLength` in this scope
[INFO] [stderr]    --> tests/http.rs:109:53
[INFO] [stderr]     |
[INFO] [stderr] 109 |   pub fn on_length_header(self, h: LengthHeader) -> HasHostAndLength {
[INFO] [stderr]     |                                                     ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `HasHostAndLength` in this scope
[INFO] [stderr]    --> tests/http.rs:112:5
[INFO] [stderr]     |
[INFO] [stderr] 112 |     HasHostAndLength {
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Request` in this scope
[INFO] [stderr]    --> tests/http.rs:119:47
[INFO] [stderr]     |
[INFO] [stderr] 119 |   pub fn on_header_end(self, _: HeaderEnd) -> Request {
[INFO] [stderr]     |                                               ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `Request` in this scope
[INFO] [stderr]    --> tests/http.rs:120:5
[INFO] [stderr]     |
[INFO] [stderr] 120 |     Request {
[INFO] [stderr]     |     ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HasLength` in this scope
[INFO] [stderr]    --> tests/http.rs:127:6
[INFO] [stderr]     |
[INFO] [stderr] 127 | impl HasLength {
[INFO] [stderr]     |      ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HasHostAndLength` in this scope
[INFO] [stderr]    --> tests/http.rs:128:49
[INFO] [stderr]     |
[INFO] [stderr] 128 |   pub fn on_host_header(self, h: HostHeader) -> HasHostAndLength {
[INFO] [stderr]     |                                                 ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `HasHostAndLength` in this scope
[INFO] [stderr]    --> tests/http.rs:131:5
[INFO] [stderr]     |
[INFO] [stderr] 131 |     HasHostAndLength {
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HasHostAndLength` in this scope
[INFO] [stderr]    --> tests/http.rs:139:6
[INFO] [stderr]     |
[INFO] [stderr] 139 | impl HasHostAndLength {
[INFO] [stderr]     |      ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HttpRequest` in this scope
[INFO] [stderr]    --> tests/http.rs:140:47
[INFO] [stderr]     |
[INFO] [stderr] 140 |   pub fn on_header_end(self, _: HeaderEnd) -> HttpRequest {
[INFO] [stderr]     |                                               ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `RequestWithBody` in this scope
[INFO] [stderr]    --> tests/http.rs:142:69
[INFO] [stderr]     |
[INFO] [stderr] 142 |       LengthInfo::Length(remaining) => HttpRequest::RequestWithBody(RequestWithBody {
[INFO] [stderr]     |                                                                     ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `RequestWithChunks` in this scope
[INFO] [stderr]    --> tests/http.rs:148:40
[INFO] [stderr]     |
[INFO] [stderr] 148 |         HttpRequest::RequestWithChunks(RequestWithChunks {
[INFO] [stderr]     |                                        ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 13 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0412, E0422, E0433.
[INFO] [stderr] For more information about an error, try `rustc --explain E0412`.
[INFO] [stderr] error: aborting due to 25 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0412, E0422, E0433.
[INFO] [stderr] For more information about an error, try `rustc --explain E0412`.
[INFO] [stderr] error: could not compile `machine`.
[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] [stderr] error: could not compile `machine`.
[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] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TrafficLight`
[INFO] [stderr]   --> tests/traffic_light.rs:55:7
[INFO] [stderr]    |
[INFO] [stderr] 55 |       TrafficLight::orange()
[INFO] [stderr]    |       ^^^^^^^^^^^^ use of undeclared type or module `TrafficLight`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TrafficLight`
[INFO] [stderr]   --> tests/traffic_light.rs:57:7
[INFO] [stderr]    |
[INFO] [stderr] 57 |       TrafficLight::green(count)
[INFO] [stderr]    |       ^^^^^^^^^^^^ use of undeclared type or module `TrafficLight`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TrafficLight`
[INFO] [stderr]    --> tests/traffic_light.rs:114:15
[INFO] [stderr]     |
[INFO] [stderr] 114 |   let mut t = TrafficLight::Green(Green { count: 0 });
[INFO] [stderr]     |               ^^^^^^^^^^^^ use of undeclared type or module `TrafficLight`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TrafficLight`
[INFO] [stderr]    --> tests/traffic_light.rs:117:17
[INFO] [stderr]     |
[INFO] [stderr] 117 |   assert_eq!(t, TrafficLight::green(3));
[INFO] [stderr]     |                 ^^^^^^^^^^^^ use of undeclared type or module `TrafficLight`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TrafficLight`
[INFO] [stderr]    --> tests/traffic_light.rs:120:17
[INFO] [stderr]     |
[INFO] [stderr] 120 |   assert_eq!(t, TrafficLight::orange());
[INFO] [stderr]     |                 ^^^^^^^^^^^^ use of undeclared type or module `TrafficLight`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TrafficLight`
[INFO] [stderr]    --> tests/traffic_light.rs:123:17
[INFO] [stderr]     |
[INFO] [stderr] 123 |   assert_eq!(t, TrafficLight::red());
[INFO] [stderr]     |                 ^^^^^^^^^^^^ use of undeclared type or module `TrafficLight`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TrafficLight`
[INFO] [stderr]    --> tests/traffic_light.rs:126:17
[INFO] [stderr]     |
[INFO] [stderr] 126 |   assert_eq!(t, TrafficLight::green(0));
[INFO] [stderr]     |                 ^^^^^^^^^^^^ use of undeclared type or module `TrafficLight`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TrafficLight`
[INFO] [stderr]    --> tests/traffic_light.rs:128:17
[INFO] [stderr]     |
[INFO] [stderr] 128 |   assert_eq!(t, TrafficLight::green(5));
[INFO] [stderr]     |                 ^^^^^^^^^^^^ use of undeclared type or module `TrafficLight`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TrafficLight`
[INFO] [stderr]    --> tests/traffic_light.rs:130:17
[INFO] [stderr]     |
[INFO] [stderr] 130 |   assert_eq!(t, TrafficLight::orange());
[INFO] [stderr]     |                 ^^^^^^^^^^^^ use of undeclared type or module `TrafficLight`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TrafficLight`
[INFO] [stderr]    --> tests/traffic_light.rs:132:17
[INFO] [stderr]     |
[INFO] [stderr] 132 |   assert_eq!(t, TrafficLight::red());
[INFO] [stderr]     |                 ^^^^^^^^^^^^ use of undeclared type or module `TrafficLight`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TrafficLight`
[INFO] [stderr]    --> tests/traffic_light.rs:134:17
[INFO] [stderr]     |
[INFO] [stderr] 134 |   assert_eq!(t, TrafficLight::error());
[INFO] [stderr]     |                 ^^^^^^^^^^^^ use of undeclared type or module `TrafficLight`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TrafficLight`
[INFO] [stderr]    --> tests/traffic_light.rs:136:17
[INFO] [stderr]     |
[INFO] [stderr] 136 |   assert_eq!(t, TrafficLight::error());
[INFO] [stderr]     |                 ^^^^^^^^^^^^ use of undeclared type or module `TrafficLight`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Green` in this scope
[INFO] [stderr]   --> tests/traffic_light.rs:46:6
[INFO] [stderr]    |
[INFO] [stderr] 46 | impl Green {
[INFO] [stderr]    |      ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Orange` in this scope
[INFO] [stderr]   --> tests/traffic_light.rs:47:50
[INFO] [stderr]    |
[INFO] [stderr] 47 |   pub fn on_advance(self, _: prefix::Advance) -> Orange {
[INFO] [stderr]    |                                                  ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `Orange` in this scope
[INFO] [stderr]   --> tests/traffic_light.rs:48:5
[INFO] [stderr]    |
[INFO] [stderr] 48 |     Orange {}
[INFO] [stderr]    |     ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `TrafficLight` in this scope
[INFO] [stderr]   --> tests/traffic_light.rs:51:61
[INFO] [stderr]    |
[INFO] [stderr] 51 |   pub fn on_pass_car<'a, T>(self, input: PassCar<'a, T>) -> TrafficLight {
[INFO] [stderr]    |                                                             ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BlinkingOrange` in this scope
[INFO] [stderr]   --> tests/traffic_light.rs:61:40
[INFO] [stderr]    |
[INFO] [stderr] 61 |   pub fn on_toggle(self, _: Toggle) -> BlinkingOrange {
[INFO] [stderr]    |                                        ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `BlinkingOrange` in this scope
[INFO] [stderr]   --> tests/traffic_light.rs:62:5
[INFO] [stderr]    |
[INFO] [stderr] 62 |     BlinkingOrange{}
[INFO] [stderr]    |     ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Orange` in this scope
[INFO] [stderr]   --> tests/traffic_light.rs:70:6
[INFO] [stderr]    |
[INFO] [stderr] 70 | impl Orange {
[INFO] [stderr]    |      ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Red` in this scope
[INFO] [stderr]   --> tests/traffic_light.rs:71:50
[INFO] [stderr]    |
[INFO] [stderr] 71 |   pub fn on_advance(self, _: prefix::Advance) -> Red {
[INFO] [stderr]    |                                                  ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `Red` in this scope
[INFO] [stderr]   --> tests/traffic_light.rs:72:5
[INFO] [stderr]    |
[INFO] [stderr] 72 |     Red {}
[INFO] [stderr]    |     ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BlinkingOrange` in this scope
[INFO] [stderr]   --> tests/traffic_light.rs:75:40
[INFO] [stderr]    |
[INFO] [stderr] 75 |   pub fn on_toggle(self, _: Toggle) -> BlinkingOrange {
[INFO] [stderr]    |                                        ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `BlinkingOrange` in this scope
[INFO] [stderr]   --> tests/traffic_light.rs:76:5
[INFO] [stderr]    |
[INFO] [stderr] 76 |     BlinkingOrange{}
[INFO] [stderr]    |     ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Red` in this scope
[INFO] [stderr]   --> tests/traffic_light.rs:84:6
[INFO] [stderr]    |
[INFO] [stderr] 84 | impl Red {
[INFO] [stderr]    |      ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Green` in this scope
[INFO] [stderr]   --> tests/traffic_light.rs:85:50
[INFO] [stderr]    |
[INFO] [stderr] 85 |   pub fn on_advance(self, _: prefix::Advance) -> Green {
[INFO] [stderr]    |                                                  ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `Green` in this scope
[INFO] [stderr]   --> tests/traffic_light.rs:86:5
[INFO] [stderr]    |
[INFO] [stderr] 86 |     Green {
[INFO] [stderr]    |     ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BlinkingOrange` in this scope
[INFO] [stderr]   --> tests/traffic_light.rs:91:40
[INFO] [stderr]    |
[INFO] [stderr] 91 |   pub fn on_toggle(self, _: Toggle) -> BlinkingOrange {
[INFO] [stderr]    |                                        ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `BlinkingOrange` in this scope
[INFO] [stderr]   --> tests/traffic_light.rs:92:5
[INFO] [stderr]    |
[INFO] [stderr] 92 |     BlinkingOrange{}
[INFO] [stderr]    |     ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BlinkingOrange` in this scope
[INFO] [stderr]    --> tests/traffic_light.rs:100:6
[INFO] [stderr]     |
[INFO] [stderr] 100 | impl BlinkingOrange {
[INFO] [stderr]     |      ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Red` in this scope
[INFO] [stderr]    --> tests/traffic_light.rs:101:40
[INFO] [stderr]     |
[INFO] [stderr] 101 |   pub fn on_toggle(self, _: Toggle) -> Red {
[INFO] [stderr]     |                                        ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `Red` in this scope
[INFO] [stderr]    --> tests/traffic_light.rs:102:5
[INFO] [stderr]     |
[INFO] [stderr] 102 |     Red{}
[INFO] [stderr]     |     ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `Green` in this scope
[INFO] [stderr]    --> tests/traffic_light.rs:114:35
[INFO] [stderr]     |
[INFO] [stderr] 114 |   let mut t = TrafficLight::Green(Green { count: 0 });
[INFO] [stderr]     |                                   ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 35 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0412, E0422, E0433.
[INFO] [stderr] For more information about an error, try `rustc --explain E0412`.
[INFO] [stderr] error: could not compile `machine`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "81bb79f2cf91ef5cbcf84cff1ea34278678958139698c2c4828652b3dd129086"`
[INFO] running `"docker" "rm" "-f" "81bb79f2cf91ef5cbcf84cff1ea34278678958139698c2c4828652b3dd129086"`
[INFO] [stdout] 81bb79f2cf91ef5cbcf84cff1ea34278678958139698c2c4828652b3dd129086
