[INFO] fetching crate machine 0.3.0...
[INFO] checking machine-0.3.0 against master#c2f2db79ca3024f68d22b45aa22b570775c2c4ad for pr-124157
[INFO] extracting crate machine 0.3.0 into /workspace/builds/worker-0-tc1/source
[INFO] validating manifest of crates.io crate machine 0.3.0 on toolchain c2f2db79ca3024f68d22b45aa22b570775c2c4ad
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-0-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 7 packages to latest compatible versions
[INFO] [stderr]       Adding proc-macro2 v0.4.30 (latest: v1.0.81)
[INFO] [stderr]       Adding quote v0.6.13 (latest: v1.0.36)
[INFO] [stderr]       Adding syn v0.15.44 (latest: v2.0.60)
[INFO] [stderr]       Adding unicode-xid v0.1.0 (latest: v0.2.4)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded case v1.0.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 71efdabc63e39bd4752e22efe104cc15b6358029547aa0bb53a8e377472c6640
[INFO] running `Command { std: "docker" "start" "-a" "71efdabc63e39bd4752e22efe104cc15b6358029547aa0bb53a8e377472c6640", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "71efdabc63e39bd4752e22efe104cc15b6358029547aa0bb53a8e377472c6640", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "71efdabc63e39bd4752e22efe104cc15b6358029547aa0bb53a8e377472c6640", kill_on_drop: false }`
[INFO] [stdout] 71efdabc63e39bd4752e22efe104cc15b6358029547aa0bb53a8e377472c6640
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6062519dbfe1bdc6a6c099b6b1b98b5307829f9ae83ff739a219d1c38537902c
[INFO] running `Command { std: "docker" "start" "-a" "6062519dbfe1bdc6a6c099b6b1b98b5307829f9ae83ff739a219d1c38537902c", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]     Checking unicode-xid v0.1.0
[INFO] [stderr]     Checking case v1.0.0
[INFO] [stderr]    Compiling log v0.4.21
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]     Checking quote v0.6.13
[INFO] [stderr]     Checking machine v0.3.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: proc macro panicked
[INFO] [stdout]   --> tests/traffic_light.rs:4:1
[INFO] [stdout]    |
[INFO] [stdout] 4  | / machine!(
[INFO] [stdout] 5  | |   #[derive(Clone,Debug,PartialEq)]
[INFO] [stdout] 6  | |   enum TrafficLight {
[INFO] [stdout] 7  | |     Green { count: u8 },
[INFO] [stdout] ...  |
[INFO] [stdout] 11 | |   }
[INFO] [stdout] 12 | | );
[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]   --> tests/hello.rs:8:1
[INFO] [stdout]    |
[INFO] [stdout] 8  | / machine!(
[INFO] [stdout] 9  | |   #[derive(Clone,Debug,PartialEq)]
[INFO] [stdout] 10 | |   enum State {
[INFO] [stdout] 11 | |     Start { pub x:u8 },
[INFO] [stdout] 12 | |     End { pub x: u8, y: bool },
[INFO] [stdout] 13 | |   }
[INFO] [stdout] 14 | | );
[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]   --> tests/hello.rs:22:1
[INFO] [stdout]    |
[INFO] [stdout] 22 | / transitions!(State,
[INFO] [stdout] 23 | |   [
[INFO] [stdout] 24 | |   (Start, Msg1) => End,
[INFO] [stdout] 25 | |   (End, Msg1) => End
[INFO] [stdout] 26 | |   ]
[INFO] [stdout] 27 | | );
[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: proc macro panicked
[INFO] [stdout]   --> tests/http.rs:4:1
[INFO] [stdout]    |
[INFO] [stdout] 4  | / machine!(
[INFO] [stdout] 5  | |     enum HttpRequest {
[INFO] [stdout] 6  | |         Initial,
[INFO] [stdout] 7  | |         HasRequestLine {
[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]   --> tests/traffic_light.rs:25:1
[INFO] [stdout]    |
[INFO] [stdout] 25 | / transitions!(TrafficLight,
[INFO] [stdout] 26 | |   [
[INFO] [stdout] 27 | |     (Green, prefix::Advance) => Orange,
[INFO] [stdout] 28 | |     (Orange, prefix::Advance) => Red,
[INFO] [stdout] ...  |
[INFO] [stdout] 35 | |   ]
[INFO] [stdout] 36 | | );
[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: proc macro panicked
[INFO] [stdout]   --> tests/traffic_light.rs:38:1
[INFO] [stdout]    |
[INFO] [stdout] 38 | / methods!(TrafficLight,
[INFO] [stdout] 39 | |   [
[INFO] [stdout] 40 | |     Green => get count: u8,
[INFO] [stdout] 41 | |     Green => set count: u8,
[INFO] [stdout] 42 | |     Green, Orange, Red, BlinkingOrange => default(false) fn working(&self) -> bool
[INFO] [stdout] 43 | |   ]
[INFO] [stdout] 44 | | );
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = help: message: error writing methods: Os { code: 2, kind: NotFound, message: "No such file or directory" }
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: proc macro panicked
[INFO] [stdout]   --> tests/http.rs:63:1
[INFO] [stdout]    |
[INFO] [stdout] 63 | / transitions!(HttpRequest,
[INFO] [stdout] 64 | |   [
[INFO] [stdout] 65 | |     (Initial, RequestLine) => HasRequestLine,
[INFO] [stdout] 66 | |     (HasRequestLine, HostHeader) => HasHost,
[INFO] [stdout] ...  |
[INFO] [stdout] 72 | |   ]
[INFO] [stdout] 73 | | );
[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: proc macro panicked
[INFO] [stdout]   --> tests/http.rs:75:1
[INFO] [stdout]    |
[INFO] [stdout] 75 | / methods!(HttpRequest,
[INFO] [stdout] 76 | |   [
[INFO] [stdout] 77 | |     HasHost, HasHostAndLength, Request,
[INFO] [stdout] 78 | |       RequestWithBody, RequestWithChunks => get host: str
[INFO] [stdout] 79 | |   ]
[INFO] [stdout] 80 | | );
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = help: message: error writing methods: Os { code: 2, kind: NotFound, message: "No such file or directory" }
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Start` in this scope
[INFO] [stdout]   --> tests/hello.rs:29:6
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl Start {
[INFO] [stdout]    |      ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: there is an enum variant `std::io::SeekFrom::Start`; try using the variant's enum
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl std::io::SeekFrom {
[INFO] [stdout]    |      ~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `End` in this scope
[INFO] [stdout]   --> tests/hello.rs:30:41
[INFO] [stdout]    |
[INFO] [stdout] 30 |   pub fn on_msg1(self, _input: Msg1) -> End {
[INFO] [stdout]    |                                         ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: there is an enum variant `std::io::SeekFrom::End`; try using the variant's enum
[INFO] [stdout]    |
[INFO] [stdout] 30 |   pub fn on_msg1(self, _input: Msg1) -> std::io::SeekFrom {
[INFO] [stdout]    |                                         ~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `End` in this scope
[INFO] [stdout]   --> tests/hello.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 |     End {
[INFO] [stdout]    |     ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this variant
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::io::SeekFrom::End;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `End` in this scope
[INFO] [stdout]   --> tests/hello.rs:38:6
[INFO] [stdout]    |
[INFO] [stdout] 38 | impl End {
[INFO] [stdout]    |      ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: there is an enum variant `std::io::SeekFrom::End`; try using the variant's enum
[INFO] [stdout]    |
[INFO] [stdout] 38 | impl std::io::SeekFrom {
[INFO] [stdout]    |      ~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `End` in this scope
[INFO] [stdout]   --> tests/hello.rs:39:41
[INFO] [stdout]    |
[INFO] [stdout] 39 |   pub fn on_msg1(self, _input: Msg1) -> End {
[INFO] [stdout]    |                                         ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: there is an enum variant `std::io::SeekFrom::End`; try using the variant's enum
[INFO] [stdout]    |
[INFO] [stdout] 39 |   pub fn on_msg1(self, _input: Msg1) -> std::io::SeekFrom {
[INFO] [stdout]    |                                         ~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `End` in this scope
[INFO] [stdout]   --> tests/hello.rs:40:5
[INFO] [stdout]    |
[INFO] [stdout] 40 |     End {
[INFO] [stdout]    |     ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this variant
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::io::SeekFrom::End;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Start` in this scope
[INFO] [stdout]   --> tests/hello.rs:53:34
[INFO] [stdout]    |
[INFO] [stdout] 53 |   assert_eq!(start, State::Start(Start { x: 0 }));
[INFO] [stdout]    |                                  ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this variant
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::io::SeekFrom::Start;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Initial` in this scope
[INFO] [stdout]   --> tests/http.rs:82:6
[INFO] [stdout]    |
[INFO] [stdout] 82 | impl Initial {
[INFO] [stdout]    |      ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HasRequestLine` in this scope
[INFO] [stdout]   --> tests/http.rs:83:57
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub struct RequestLine;
[INFO] [stdout]    | ----------------------- similarly named struct `RequestLine` defined here
[INFO] [stdout] ...
[INFO] [stdout] 83 |   pub fn on_request_line(self, request: RequestLine) -> HasRequestLine {
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^^^ help: a struct with a similar name exists: `RequestLine`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `HasRequestLine` in this scope
[INFO] [stdout]   --> tests/http.rs:84:5
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub struct RequestLine;
[INFO] [stdout]    | ----------------------- similarly named struct `RequestLine` defined here
[INFO] [stdout] ...
[INFO] [stdout] 84 |     HasRequestLine { request }
[INFO] [stdout]    |     ^^^^^^^^^^^^^^ help: a struct with a similar name exists: `RequestLine`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HasRequestLine` in this scope
[INFO] [stdout]   --> tests/http.rs:88:6
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub struct RequestLine;
[INFO] [stdout]    | ----------------------- similarly named struct `RequestLine` defined here
[INFO] [stdout] ...
[INFO] [stdout] 88 | impl HasRequestLine {
[INFO] [stdout]    |      ^^^^^^^^^^^^^^ help: a struct with a similar name exists: `RequestLine`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HasHost` in this scope
[INFO] [stdout]   --> tests/http.rs:89:49
[INFO] [stdout]    |
[INFO] [stdout] 89 |   pub fn on_host_header(self, h: HostHeader) -> HasHost {
[INFO] [stdout]    |                                                 ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `HasHost` in this scope
[INFO] [stdout]   --> tests/http.rs:92:5
[INFO] [stdout]    |
[INFO] [stdout] 92 |     HasHost {
[INFO] [stdout]    |     ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HasLength` in this scope
[INFO] [stdout]   --> tests/http.rs:98:53
[INFO] [stdout]    |
[INFO] [stdout] 98 |   pub fn on_length_header(self, h: LengthHeader) -> HasLength {
[INFO] [stdout]    |                                                     ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `HasLength` in this scope
[INFO] [stdout]    --> tests/http.rs:101:5
[INFO] [stdout]     |
[INFO] [stdout] 101 |     HasLength {
[INFO] [stdout]     |     ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HasHost` in this scope
[INFO] [stdout]    --> tests/http.rs:108:6
[INFO] [stdout]     |
[INFO] [stdout] 108 | impl HasHost {
[INFO] [stdout]     |      ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HasHostAndLength` in this scope
[INFO] [stdout]    --> tests/http.rs:109:53
[INFO] [stdout]     |
[INFO] [stdout] 109 |   pub fn on_length_header(self, h: LengthHeader) -> HasHostAndLength {
[INFO] [stdout]     |                                                     ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `HasHostAndLength` in this scope
[INFO] [stdout]    --> tests/http.rs:112:5
[INFO] [stdout]     |
[INFO] [stdout] 112 |     HasHostAndLength {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Request` in this scope
[INFO] [stdout]    --> tests/http.rs:119:47
[INFO] [stdout]     |
[INFO] [stdout] 119 |   pub fn on_header_end(self, _: HeaderEnd) -> Request {
[INFO] [stdout]     |                                               ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   + use std::error::Request;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Request` in this scope
[INFO] [stdout]    --> tests/http.rs:120:5
[INFO] [stdout]     |
[INFO] [stdout] 120 |     Request {
[INFO] [stdout]     |     ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   + use std::error::Request;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HasLength` in this scope
[INFO] [stdout]    --> tests/http.rs:127:6
[INFO] [stdout]     |
[INFO] [stdout] 127 | impl HasLength {
[INFO] [stdout]     |      ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HasHostAndLength` in this scope
[INFO] [stdout]    --> tests/http.rs:128:49
[INFO] [stdout]     |
[INFO] [stdout] 128 |   pub fn on_host_header(self, h: HostHeader) -> HasHostAndLength {
[INFO] [stdout]     |                                                 ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `HasHostAndLength` in this scope
[INFO] [stdout]    --> tests/http.rs:131:5
[INFO] [stdout]     |
[INFO] [stdout] 131 |     HasHostAndLength {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HasHostAndLength` in this scope
[INFO] [stdout]    --> tests/http.rs:139:6
[INFO] [stdout]     |
[INFO] [stdout] 139 | impl HasHostAndLength {
[INFO] [stdout]     |      ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HttpRequest` in this scope
[INFO] [stdout]    --> tests/http.rs:140:47
[INFO] [stdout]     |
[INFO] [stdout] 140 |   pub fn on_header_end(self, _: HeaderEnd) -> HttpRequest {
[INFO] [stdout]     |                                               ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RequestWithBody` in this scope
[INFO] [stdout]    --> tests/http.rs:142:69
[INFO] [stdout]     |
[INFO] [stdout] 142 |       LengthInfo::Length(remaining) => HttpRequest::RequestWithBody(RequestWithBody {
[INFO] [stdout]     |                                                                     ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RequestWithChunks` in this scope
[INFO] [stdout]    --> tests/http.rs:148:40
[INFO] [stdout]     |
[INFO] [stdout] 148 |         HttpRequest::RequestWithChunks(RequestWithChunks {
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `State`
[INFO] [stdout]   --> tests/hello.rs:49:15
[INFO] [stdout]    |
[INFO] [stdout] 49 |   let start = State::start(0);
[INFO] [stdout]    |               ^^^^^ use of undeclared type `State`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `State`
[INFO] [stdout]   --> tests/hello.rs:50:15
[INFO] [stdout]    |
[INFO] [stdout] 50 |   let _end  = State::end(1, true);
[INFO] [stdout]    |               ^^^^^ use of undeclared type `State`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `State`
[INFO] [stdout]   --> tests/hello.rs:51:14
[INFO] [stdout]    |
[INFO] [stdout] 51 |   let _err = State::error();
[INFO] [stdout]    |              ^^^^^ use of undeclared type `State`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `State`
[INFO] [stdout]   --> tests/hello.rs:53:21
[INFO] [stdout]    |
[INFO] [stdout] 53 |   assert_eq!(start, State::Start(Start { x: 0 }));
[INFO] [stdout]    |                     ^^^^^ use of undeclared type `State`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 13 previous errors
[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[E0412]: cannot find type `Green` in this scope
[INFO] [stdout]   --> tests/traffic_light.rs:46:6
[INFO] [stdout]    |
[INFO] [stdout] 46 | impl Green {
[INFO] [stdout]    |      ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Orange` in this scope
[INFO] [stdout]   --> tests/traffic_light.rs:47:50
[INFO] [stdout]    |
[INFO] [stdout] 47 |   pub fn on_advance(self, _: prefix::Advance) -> Orange {
[INFO] [stdout]    |                                                  ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Orange` in this scope
[INFO] [stdout]   --> tests/traffic_light.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 48 |     Orange {}
[INFO] [stdout]    |     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TrafficLight` in this scope
[INFO] [stdout]   --> tests/traffic_light.rs:51:61
[INFO] [stdout]    |
[INFO] [stdout] 51 |   pub fn on_pass_car<'a, T>(self, input: PassCar<'a, T>) -> TrafficLight {
[INFO] [stdout]    |                                                             ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BlinkingOrange` in this scope
[INFO] [stdout]   --> tests/traffic_light.rs:61:40
[INFO] [stdout]    |
[INFO] [stdout] 61 |   pub fn on_toggle(self, _: Toggle) -> BlinkingOrange {
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BlinkingOrange` in this scope
[INFO] [stdout]   --> tests/traffic_light.rs:62:5
[INFO] [stdout]    |
[INFO] [stdout] 62 |     BlinkingOrange{}
[INFO] [stdout]    |     ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Orange` in this scope
[INFO] [stdout]   --> tests/traffic_light.rs:70:6
[INFO] [stdout]    |
[INFO] [stdout] 70 | impl Orange {
[INFO] [stdout]    |      ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Red` in this scope
[INFO] [stdout]   --> tests/traffic_light.rs:71:50
[INFO] [stdout]    |
[INFO] [stdout] 71 |   pub fn on_advance(self, _: prefix::Advance) -> Red {
[INFO] [stdout]    |                                                  ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Red` in this scope
[INFO] [stdout]   --> tests/traffic_light.rs:72:5
[INFO] [stdout]    |
[INFO] [stdout] 72 |     Red {}
[INFO] [stdout]    |     ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BlinkingOrange` in this scope
[INFO] [stdout]   --> tests/traffic_light.rs:75:40
[INFO] [stdout]    |
[INFO] [stdout] 75 |   pub fn on_toggle(self, _: Toggle) -> BlinkingOrange {
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BlinkingOrange` in this scope
[INFO] [stdout]   --> tests/traffic_light.rs:76:5
[INFO] [stdout]    |
[INFO] [stdout] 76 |     BlinkingOrange{}
[INFO] [stdout]    |     ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Red` in this scope
[INFO] [stdout]   --> tests/traffic_light.rs:84:6
[INFO] [stdout]    |
[INFO] [stdout] 84 | impl Red {
[INFO] [stdout]    |      ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Green` in this scope
[INFO] [stdout]   --> tests/traffic_light.rs:85:50
[INFO] [stdout]    |
[INFO] [stdout] 85 |   pub fn on_advance(self, _: prefix::Advance) -> Green {
[INFO] [stdout]    |                                                  ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Green` in this scope
[INFO] [stdout]   --> tests/traffic_light.rs:86:5
[INFO] [stdout]    |
[INFO] [stdout] 86 |     Green {
[INFO] [stdout]    |     ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BlinkingOrange` in this scope
[INFO] [stdout]   --> tests/traffic_light.rs:91:40
[INFO] [stdout]    |
[INFO] [stdout] 91 |   pub fn on_toggle(self, _: Toggle) -> BlinkingOrange {
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BlinkingOrange` in this scope
[INFO] [stdout]   --> tests/traffic_light.rs:92:5
[INFO] [stdout]    |
[INFO] [stdout] 92 |     BlinkingOrange{}
[INFO] [stdout]    |     ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BlinkingOrange` in this scope
[INFO] [stdout]    --> tests/traffic_light.rs:100:6
[INFO] [stdout]     |
[INFO] [stdout] 100 | impl BlinkingOrange {
[INFO] [stdout]     |      ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Red` in this scope
[INFO] [stdout]    --> tests/traffic_light.rs:101:40
[INFO] [stdout]     |
[INFO] [stdout] 101 |   pub fn on_toggle(self, _: Toggle) -> Red {
[INFO] [stdout]     |                                        ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Red` in this scope
[INFO] [stdout]    --> tests/traffic_light.rs:102:5
[INFO] [stdout]     |
[INFO] [stdout] 102 |     Red{}
[INFO] [stdout]     |     ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Green` in this scope
[INFO] [stdout]    --> tests/traffic_light.rs:114:35
[INFO] [stdout]     |
[INFO] [stdout] 114 |   let mut t = TrafficLight::Green(Green { count: 0 });
[INFO] [stdout]     |                                   ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `machine` (test "hello") due to 14 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HttpRequest`
[INFO] [stdout]    --> tests/http.rs:142:40
[INFO] [stdout]     |
[INFO] [stdout] 142 |       LengthInfo::Length(remaining) => HttpRequest::RequestWithBody(RequestWithBody {
[INFO] [stdout]     |                                        ^^^^^^^^^^^ use of undeclared type `HttpRequest`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HttpRequest`
[INFO] [stdout]    --> tests/http.rs:148:9
[INFO] [stdout]     |
[INFO] [stdout] 148 |         HttpRequest::RequestWithChunks(RequestWithChunks {
[INFO] [stdout]     |         ^^^^^^^^^^^ use of undeclared type `HttpRequest`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 25 previous errors
[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 `machine` (test "http") due to 26 previous errors
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TrafficLight`
[INFO] [stdout]   --> tests/traffic_light.rs:55:7
[INFO] [stdout]    |
[INFO] [stdout] 55 |       TrafficLight::orange()
[INFO] [stdout]    |       ^^^^^^^^^^^^ use of undeclared type `TrafficLight`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TrafficLight`
[INFO] [stdout]   --> tests/traffic_light.rs:57:7
[INFO] [stdout]    |
[INFO] [stdout] 57 |       TrafficLight::green(count)
[INFO] [stdout]    |       ^^^^^^^^^^^^ use of undeclared type `TrafficLight`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TrafficLight`
[INFO] [stdout]    --> tests/traffic_light.rs:114:15
[INFO] [stdout]     |
[INFO] [stdout] 114 |   let mut t = TrafficLight::Green(Green { count: 0 });
[INFO] [stdout]     |               ^^^^^^^^^^^^ use of undeclared type `TrafficLight`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TrafficLight`
[INFO] [stdout]    --> tests/traffic_light.rs:117:17
[INFO] [stdout]     |
[INFO] [stdout] 117 |   assert_eq!(t, TrafficLight::green(3));
[INFO] [stdout]     |                 ^^^^^^^^^^^^ use of undeclared type `TrafficLight`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TrafficLight`
[INFO] [stdout]    --> tests/traffic_light.rs:120:17
[INFO] [stdout]     |
[INFO] [stdout] 120 |   assert_eq!(t, TrafficLight::orange());
[INFO] [stdout]     |                 ^^^^^^^^^^^^ use of undeclared type `TrafficLight`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TrafficLight`
[INFO] [stdout]    --> tests/traffic_light.rs:123:17
[INFO] [stdout]     |
[INFO] [stdout] 123 |   assert_eq!(t, TrafficLight::red());
[INFO] [stdout]     |                 ^^^^^^^^^^^^ use of undeclared type `TrafficLight`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TrafficLight`
[INFO] [stdout]    --> tests/traffic_light.rs:126:17
[INFO] [stdout]     |
[INFO] [stdout] 126 |   assert_eq!(t, TrafficLight::green(0));
[INFO] [stdout]     |                 ^^^^^^^^^^^^ use of undeclared type `TrafficLight`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TrafficLight`
[INFO] [stdout]    --> tests/traffic_light.rs:128:17
[INFO] [stdout]     |
[INFO] [stdout] 128 |   assert_eq!(t, TrafficLight::green(5));
[INFO] [stdout]     |                 ^^^^^^^^^^^^ use of undeclared type `TrafficLight`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TrafficLight`
[INFO] [stdout]    --> tests/traffic_light.rs:130:17
[INFO] [stdout]     |
[INFO] [stdout] 130 |   assert_eq!(t, TrafficLight::orange());
[INFO] [stdout]     |                 ^^^^^^^^^^^^ use of undeclared type `TrafficLight`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TrafficLight`
[INFO] [stdout]    --> tests/traffic_light.rs:132:17
[INFO] [stdout]     |
[INFO] [stdout] 132 |   assert_eq!(t, TrafficLight::red());
[INFO] [stdout]     |                 ^^^^^^^^^^^^ use of undeclared type `TrafficLight`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TrafficLight`
[INFO] [stdout]    --> tests/traffic_light.rs:134:17
[INFO] [stdout]     |
[INFO] [stdout] 134 |   assert_eq!(t, TrafficLight::error());
[INFO] [stdout]     |                 ^^^^^^^^^^^^ use of undeclared type `TrafficLight`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TrafficLight`
[INFO] [stdout]    --> tests/traffic_light.rs:136:17
[INFO] [stdout]     |
[INFO] [stdout] 136 |   assert_eq!(t, TrafficLight::error());
[INFO] [stdout]     |                 ^^^^^^^^^^^^ use of undeclared type `TrafficLight`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 35 previous errors
[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 `machine` (test "traffic_light") due to 36 previous errors
[INFO] running `Command { std: "docker" "inspect" "6062519dbfe1bdc6a6c099b6b1b98b5307829f9ae83ff739a219d1c38537902c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6062519dbfe1bdc6a6c099b6b1b98b5307829f9ae83ff739a219d1c38537902c", kill_on_drop: false }`
[INFO] [stdout] 6062519dbfe1bdc6a6c099b6b1b98b5307829f9ae83ff739a219d1c38537902c
