[INFO] fetching crate machine 0.3.0... [INFO] checking machine-0.3.0 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate machine 0.3.0 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate machine 0.3.0 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 36c29dd16bb6c55d598c4a1d05fab378de84c2eb10f9748e39e1e34fb59219af [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "36c29dd16bb6c55d598c4a1d05fab378de84c2eb10f9748e39e1e34fb59219af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "36c29dd16bb6c55d598c4a1d05fab378de84c2eb10f9748e39e1e34fb59219af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36c29dd16bb6c55d598c4a1d05fab378de84c2eb10f9748e39e1e34fb59219af", kill_on_drop: false }` [INFO] [stdout] 36c29dd16bb6c55d598c4a1d05fab378de84c2eb10f9748e39e1e34fb59219af [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6480a557886ba1a47648fcc2931e00a979eda5ba22eedf559a6b5080db9ff6cd [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6480a557886ba1a47648fcc2931e00a979eda5ba22eedf559a6b5080db9ff6cd", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking case v1.0.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking syn v0.15.44 [INFO] [stderr] Compiling 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/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/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[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: 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[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 `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 `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[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: 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[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] [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[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[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] 4 | 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] 4 | 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] 4 | use std::io::SeekFrom::Start; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [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[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] [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] [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: 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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: 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] [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "6480a557886ba1a47648fcc2931e00a979eda5ba22eedf559a6b5080db9ff6cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6480a557886ba1a47648fcc2931e00a979eda5ba22eedf559a6b5080db9ff6cd", kill_on_drop: false }` [INFO] [stdout] 6480a557886ba1a47648fcc2931e00a979eda5ba22eedf559a6b5080db9ff6cd