[INFO] fetching crate machine 0.3.0...
[INFO] testing machine-0.3.0 against master#1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 for pr-154065-1
[INFO] extracting crate machine 0.3.0 into /workspace/builds/worker-5-tc1/source
[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-5-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate machine 0.3.0 on toolchain 1f7f8ea0721a3b1eb73e6c6d25cccb371434b320
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 6 packages to latest compatible versions
[INFO] [stderr]       Adding quote v0.6.13 (available: v1.0.45)
[INFO] [stderr]       Adding syn v0.15.44 (available: v2.0.117)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[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-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9bce37b4ba98021bc05a9a9a79d4f25d79a4c2817bc317ff0b362bc084277275
[INFO] running `Command { std: "docker" "start" "-a" "9bce37b4ba98021bc05a9a9a79d4f25d79a4c2817bc317ff0b362bc084277275", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9bce37b4ba98021bc05a9a9a79d4f25d79a4c2817bc317ff0b362bc084277275", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9bce37b4ba98021bc05a9a9a79d4f25d79a4c2817bc317ff0b362bc084277275", kill_on_drop: false }`
[INFO] [stdout] 9bce37b4ba98021bc05a9a9a79d4f25d79a4c2817bc317ff0b362bc084277275
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5ea83208dd89be6d2e9999429b37193aa25eb4d97371d783e57bb7a317acbadc
[INFO] running `Command { std: "docker" "start" "-a" "5ea83208dd89be6d2e9999429b37193aa25eb4d97371d783e57bb7a317acbadc", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling case v1.0.0
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling machine v0.3.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.07s
[INFO] running `Command { std: "docker" "inspect" "5ea83208dd89be6d2e9999429b37193aa25eb4d97371d783e57bb7a317acbadc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5ea83208dd89be6d2e9999429b37193aa25eb4d97371d783e57bb7a317acbadc", kill_on_drop: false }`
[INFO] [stdout] 5ea83208dd89be6d2e9999429b37193aa25eb4d97371d783e57bb7a317acbadc
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2c4b12d9bb64d9ea9283cee3a166e3987450ede334cfb22ec099ed9c859aa3e1
[INFO] running `Command { std: "docker" "start" "-a" "2c4b12d9bb64d9ea9283cee3a166e3987450ede334cfb22ec099ed9c859aa3e1", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling case v1.0.0
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling machine v0.3.0 (/opt/rustwide/workdir)
[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] 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/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] 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: 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] ...  |
[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/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] 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/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] 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] ...  |
[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[E0425]: 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 Start {
[INFO] [stdout] 29 + impl std::io::SeekFrom {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: 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` and 1 other; try using the variant's enum
[INFO] [stdout]    |
[INFO] [stdout] 30 -   pub fn on_msg1(self, _input: Msg1) -> End {
[INFO] [stdout] 30 +   pub fn on_msg1(self, _input: Msg1) -> std::io::SeekFrom {
[INFO] [stdout]    |
[INFO] [stdout] 30 -   pub fn on_msg1(self, _input: Msg1) -> End {
[INFO] [stdout] 30 +   pub fn on_msg1(self, _input: Msg1) -> std::ops::OneSidedRangeBound {
[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 one of these variants
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::io::SeekFrom::End;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::ops::OneSidedRangeBound::End;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: 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` and 1 other; try using the variant's enum
[INFO] [stdout]    |
[INFO] [stdout] 38 - impl End {
[INFO] [stdout] 38 + impl std::io::SeekFrom {
[INFO] [stdout]    |
[INFO] [stdout] 38 - impl End {
[INFO] [stdout] 38 + impl std::ops::OneSidedRangeBound {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: 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` and 1 other; try using the variant's enum
[INFO] [stdout]    |
[INFO] [stdout] 39 -   pub fn on_msg1(self, _input: Msg1) -> End {
[INFO] [stdout] 39 +   pub fn on_msg1(self, _input: Msg1) -> std::io::SeekFrom {
[INFO] [stdout]    |
[INFO] [stdout] 39 -   pub fn on_msg1(self, _input: Msg1) -> End {
[INFO] [stdout] 39 +   pub fn on_msg1(self, _input: Msg1) -> std::ops::OneSidedRangeBound {
[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 one of these variants
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::io::SeekFrom::End;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::ops::OneSidedRangeBound::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[E0425]: 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[E0425]: 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]    |                                                         ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 83 -   pub fn on_request_line(self, request: RequestLine) -> HasRequestLine {
[INFO] [stdout] 83 +   pub fn on_request_line(self, request: RequestLine) -> RequestLine {
[INFO] [stdout]    |
[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]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 84 -     HasRequestLine { request }
[INFO] [stdout] 84 +     RequestLine { request }
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: 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]    |      ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 88 - impl HasRequestLine {
[INFO] [stdout] 88 + impl RequestLine {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: 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[E0425]: 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[E0425]: 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[E0425]: 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[E0425]: 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[E0425]: 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[E0425]: 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[E0425]: 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[E0425]: 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]: cannot find type `State` in this scope
[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]: cannot find type `State` in this scope
[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]: cannot find type `State` in this scope
[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]: cannot find type `State` in this scope
[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] Some errors have detailed explanations: E0422, E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `machine` (test "hello") due to 13 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `machine` (test "http") due to 25 previous errors
[INFO] [stdout] error[E0433]: cannot find type `HttpRequest` in this scope
[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]: cannot find type `HttpRequest` in this scope
[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] Some errors have detailed explanations: E0422, E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: 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[E0425]: 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[E0425]: 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[E0425]: 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[E0425]: 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[E0425]: 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[E0425]: 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[E0425]: 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[E0425]: 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[E0425]: 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[E0425]: 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[E0425]: 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] [stdout] error[E0433]: cannot find type `TrafficLight` in this scope
[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]: cannot find type `TrafficLight` in this scope
[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]: cannot find type `TrafficLight` in this scope
[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]: cannot find type `TrafficLight` in this scope
[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]: cannot find type `TrafficLight` in this scope
[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]: cannot find type `TrafficLight` in this scope
[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]: cannot find type `TrafficLight` in this scope
[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]: cannot find type `TrafficLight` in this scope
[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]: cannot find type `TrafficLight` in this scope
[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]: cannot find type `TrafficLight` in this scope
[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]: cannot find type `TrafficLight` in this scope
[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]: cannot find type `TrafficLight` in this scope
[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] Some errors have detailed explanations: E0422, E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `machine` (test "traffic_light") due to 35 previous errors
[INFO] running `Command { std: "docker" "inspect" "2c4b12d9bb64d9ea9283cee3a166e3987450ede334cfb22ec099ed9c859aa3e1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2c4b12d9bb64d9ea9283cee3a166e3987450ede334cfb22ec099ed9c859aa3e1", kill_on_drop: false }`
[INFO] [stdout] 2c4b12d9bb64d9ea9283cee3a166e3987450ede334cfb22ec099ed9c859aa3e1
