[INFO] cloning repository https://github.com/chaincode-labs/rust-decompiler
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chaincode-labs/rust-decompiler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchaincode-labs%2Frust-decompiler", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchaincode-labs%2Frust-decompiler'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7a62160d78373ed6b7b9e77df38d83f07e44798f
[INFO] checking chaincode-labs/rust-decompiler against try#79452e8441468c5568c20bfca2aa1fe75b645b2d for pr-152210
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchaincode-labs%2Frust-decompiler" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/chaincode-labs/rust-decompiler
[INFO] finished tweaking git repo https://github.com/chaincode-labs/rust-decompiler
[INFO] tweaked toml for git repo https://github.com/chaincode-labs/rust-decompiler written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/chaincode-labs/rust-decompiler on toolchain 79452e8441468c5568c20bfca2aa1fe75b645b2d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+79452e8441468c5568c20bfca2aa1fe75b645b2d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/chaincode-labs/rust-decompiler already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+79452e8441468c5568c20bfca2aa1fe75b645b2d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+79452e8441468c5568c20bfca2aa1fe75b645b2d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] da8b9621e94fde05db088c546dfbcd6f5f6325933c118f0d47379add3f869a2a
[INFO] running `Command { std: "docker" "start" "-a" "da8b9621e94fde05db088c546dfbcd6f5f6325933c118f0d47379add3f869a2a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "da8b9621e94fde05db088c546dfbcd6f5f6325933c118f0d47379add3f869a2a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "da8b9621e94fde05db088c546dfbcd6f5f6325933c118f0d47379add3f869a2a", kill_on_drop: false }`
[INFO] [stdout] da8b9621e94fde05db088c546dfbcd6f5f6325933c118f0d47379add3f869a2a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+79452e8441468c5568c20bfca2aa1fe75b645b2d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 51a36c59669ab7a4aa3add92c680ba9c1ce660a9e873d65df8c225e29206bd1d
[INFO] running `Command { std: "docker" "start" "-a" "51a36c59669ab7a4aa3add92c680ba9c1ce660a9e873d65df8c225e29206bd1d", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.95
[INFO] [stderr]    Compiling serde v1.0.137
[INFO] [stderr]    Compiling thiserror-impl v1.0.31
[INFO] [stderr]    Compiling thiserror v1.0.31
[INFO] [stderr]    Compiling toml v0.5.9
[INFO] [stderr]    Compiling proc-macro-crate v1.1.3
[INFO] [stderr]    Compiling num_enum_derive v0.5.7
[INFO] [stderr]     Checking num_enum v0.5.7
[INFO] [stderr]     Checking rust-decompiler v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `proc_macro`
[INFO] [stdout]  --> src/lexer.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use proc_macro::bridge::PanicMessage::String;
[INFO] [stdout]   |     ^^^^^^^^^^ use of unresolved module or unlinked crate `proc_macro`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `proc_macro`, use `cargo add proc_macro` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `lexer` in this scope
[INFO] [stdout]    --> src/lexer.rs:123:16
[INFO] [stdout]     |
[INFO] [stdout]  55 | pub struct Lexer<'a> {
[INFO] [stdout]     | -------------------- similarly named struct `Lexer` defined here
[INFO] [stdout] ...
[INFO] [stdout] 123 | fn lexLine(l: &lexer) -> stateFn {
[INFO] [stdout]     |                ^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 123 - fn lexLine(l: &lexer) -> stateFn {
[INFO] [stdout] 123 + fn lexLine(l: &Lexer) -> stateFn {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `stateFn` in this scope
[INFO] [stdout]    --> src/lexer.rs:123:26
[INFO] [stdout]     |
[INFO] [stdout]   9 | type stataFn = fn(&Lexer) -> stataFn;
[INFO] [stdout]     | ------------------------------------- similarly named type alias `stataFn` defined here
[INFO] [stdout] ...
[INFO] [stdout] 123 | fn lexLine(l: &lexer) -> stateFn {
[INFO] [stdout]     |                          ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: a type alias with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 123 - fn lexLine(l: &lexer) -> stateFn {
[INFO] [stdout] 123 + fn lexLine(l: &lexer) -> stataFn {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `stataFn` should have an upper camel case name
[INFO] [stdout]  --> src/lexer.rs:9:6
[INFO] [stdout]   |
[INFO] [stdout] 9 | type stataFn = fn(&Lexer) -> stataFn;
[INFO] [stdout]   |      ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `StataFn`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0391]: cycle detected when expanding type alias `lexer::stataFn`
[INFO] [stdout]   --> src/lexer.rs:9:30
[INFO] [stdout]    |
[INFO] [stdout]  9 | type stataFn = fn(&Lexer) -> stataFn;
[INFO] [stdout]    |                              ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: ...which immediately requires expanding type alias `lexer::stataFn` again
[INFO] [stdout]    = note: type aliases cannot be recursive
[INFO] [stdout]    = help: consider using a struct, enum, or union instead to break the cycle
[INFO] [stdout]    = help: see <https://doc.rust-lang.org/reference/types.html#recursive-types> for more information
[INFO] [stdout] note: cycle used when computing type of `lexer::Lexer::state`
[INFO] [stdout]   --> src/lexer.rs:58:19
[INFO] [stdout]    |
[INFO] [stdout] 58 |     state: Option<stataFn>,
[INFO] [stdout]    |                   ^^^^^^^
[INFO] [stdout]    = note: see https://rustc-dev-guide.rust-lang.org/overview.html#queries and https://rustc-dev-guide.rust-lang.org/query.html for more information
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `TokenType: Clone` is not satisfied
[INFO] [stdout]   --> src/lexer.rs:13:10
[INFO] [stdout]    |
[INFO] [stdout] 12 | #[derive(Copy, Eq, PartialOrd, PartialEq, Hash)]
[INFO] [stdout]    |          ---- in this derive macro expansion
[INFO] [stdout] 13 | pub enum TokenType {
[INFO] [stdout]    |          ^^^^^^^^^ the trait `Clone` is not implemented for `TokenType`
[INFO] [stdout]    |
[INFO] [stdout] note: required by a bound in `Copy`
[INFO] [stdout]   --> /rustc/79452e8441468c5568c20bfca2aa1fe75b645b2d/library/core/src/marker.rs:457:0
[INFO] [stdout] help: consider annotating `TokenType` with `#[derive(Clone)]`
[INFO] [stdout]    |
[INFO] [stdout] 13 + #[derive(Clone)]
[INFO] [stdout] 14 | pub enum TokenType {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `proc_macro`
[INFO] [stdout]  --> src/lexer.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use proc_macro::bridge::PanicMessage::String;
[INFO] [stdout]   |     ^^^^^^^^^^ use of unresolved module or unlinked crate `proc_macro`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `proc_macro`, use `cargo add proc_macro` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `state` found for struct `Lexer<'a>` in the current scope
[INFO] [stdout]   --> src/lexer.rs:85:31
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub struct Lexer<'a> {
[INFO] [stdout]    | -------------------- method `state` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 85 |             self.state = self.state(&self);
[INFO] [stdout]    |                               ^^^^^------- help: remove the arguments
[INFO] [stdout]    |                               |
[INFO] [stdout]    |                               field, not a method
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lexer.rs:91:12
[INFO] [stdout]    |
[INFO] [stdout] 91 |         if self.input.next() {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^ expected `bool`, found `Option<char>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected type `bool`
[INFO] [stdout]               found enum `Option<char>`
[INFO] [stdout] help: use `Option::is_some` to test if the `Option` has a value
[INFO] [stdout]    |
[INFO] [stdout] 91 |         if self.input.next().is_some() {
[INFO] [stdout]    |                             ++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `width` on type `&mut Lexer<'a>`
[INFO] [stdout]   --> src/lexer.rs:92:18
[INFO] [stdout]    |
[INFO] [stdout] 92 |             self.width = 0;
[INFO] [stdout]    |                  ^^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `input`, `tx`, `state`, `lineno`, `start` ... and 2 others
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `Chars<'a>`
[INFO] [stdout]    --> src/lexer.rs:101:19
[INFO] [stdout]     |
[INFO] [stdout] 101 |         self.input[self.start..self.pos]
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `lexer` in this scope
[INFO] [stdout]    --> src/lexer.rs:123:16
[INFO] [stdout]     |
[INFO] [stdout]  55 | pub struct Lexer<'a> {
[INFO] [stdout]     | -------------------- similarly named struct `Lexer` defined here
[INFO] [stdout] ...
[INFO] [stdout] 123 | fn lexLine(l: &lexer) -> stateFn {
[INFO] [stdout]     |                ^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 123 - fn lexLine(l: &lexer) -> stateFn {
[INFO] [stdout] 123 + fn lexLine(l: &Lexer) -> stateFn {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `stateFn` in this scope
[INFO] [stdout]    --> src/lexer.rs:123:26
[INFO] [stdout]     |
[INFO] [stdout]   9 | type stataFn = fn(&Lexer) -> stataFn;
[INFO] [stdout]     | ------------------------------------- similarly named type alias `stataFn` defined here
[INFO] [stdout] ...
[INFO] [stdout] 123 | fn lexLine(l: &lexer) -> stateFn {
[INFO] [stdout]     |                          ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: a type alias with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 123 - fn lexLine(l: &lexer) -> stateFn {
[INFO] [stdout] 123 + fn lexLine(l: &lexer) -> stataFn {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `stataFn` should have an upper camel case name
[INFO] [stdout]  --> src/lexer.rs:9:6
[INFO] [stdout]   |
[INFO] [stdout] 9 | type stataFn = fn(&Lexer) -> stataFn;
[INFO] [stdout]   |      ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `StataFn`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0391]: cycle detected when expanding type alias `lexer::stataFn`
[INFO] [stdout]   --> src/lexer.rs:9:30
[INFO] [stdout]    |
[INFO] [stdout]  9 | type stataFn = fn(&Lexer) -> stataFn;
[INFO] [stdout]    |                              ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: ...which immediately requires expanding type alias `lexer::stataFn` again
[INFO] [stdout]    = note: type aliases cannot be recursive
[INFO] [stdout]    = help: consider using a struct, enum, or union instead to break the cycle
[INFO] [stdout]    = help: see <https://doc.rust-lang.org/reference/types.html#recursive-types> for more information
[INFO] [stdout] note: cycle used when computing type of `lexer::Lexer::state`
[INFO] [stdout]   --> src/lexer.rs:58:19
[INFO] [stdout]    |
[INFO] [stdout] 58 |     state: Option<stataFn>,
[INFO] [stdout]    |                   ^^^^^^^
[INFO] [stdout]    = note: see https://rustc-dev-guide.rust-lang.org/overview.html#queries and https://rustc-dev-guide.rust-lang.org/query.html for more information
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0391, E0425, E0433, E0599, E0608, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-decompiler` (bin "rust-decompiler") due to 9 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0277]: the trait bound `TokenType: Clone` is not satisfied
[INFO] [stdout]   --> src/lexer.rs:13:10
[INFO] [stdout]    |
[INFO] [stdout] 12 | #[derive(Copy, Eq, PartialOrd, PartialEq, Hash)]
[INFO] [stdout]    |          ---- in this derive macro expansion
[INFO] [stdout] 13 | pub enum TokenType {
[INFO] [stdout]    |          ^^^^^^^^^ the trait `Clone` is not implemented for `TokenType`
[INFO] [stdout]    |
[INFO] [stdout] note: required by a bound in `Copy`
[INFO] [stdout]   --> /rustc/79452e8441468c5568c20bfca2aa1fe75b645b2d/library/core/src/marker.rs:457:0
[INFO] [stdout] help: consider annotating `TokenType` with `#[derive(Clone)]`
[INFO] [stdout]    |
[INFO] [stdout] 13 + #[derive(Clone)]
[INFO] [stdout] 14 | pub enum TokenType {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `state` found for struct `Lexer<'a>` in the current scope
[INFO] [stdout]   --> src/lexer.rs:85:31
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub struct Lexer<'a> {
[INFO] [stdout]    | -------------------- method `state` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 85 |             self.state = self.state(&self);
[INFO] [stdout]    |                               ^^^^^------- help: remove the arguments
[INFO] [stdout]    |                               |
[INFO] [stdout]    |                               field, not a method
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lexer.rs:91:12
[INFO] [stdout]    |
[INFO] [stdout] 91 |         if self.input.next() {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^ expected `bool`, found `Option<char>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected type `bool`
[INFO] [stdout]               found enum `Option<char>`
[INFO] [stdout] help: use `Option::is_some` to test if the `Option` has a value
[INFO] [stdout]    |
[INFO] [stdout] 91 |         if self.input.next().is_some() {
[INFO] [stdout]    |                             ++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `width` on type `&mut Lexer<'a>`
[INFO] [stdout]   --> src/lexer.rs:92:18
[INFO] [stdout]    |
[INFO] [stdout] 92 |             self.width = 0;
[INFO] [stdout]    |                  ^^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `input`, `tx`, `state`, `lineno`, `start` ... and 2 others
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `Chars<'a>`
[INFO] [stdout]    --> src/lexer.rs:101:19
[INFO] [stdout]     |
[INFO] [stdout] 101 |         self.input[self.start..self.pos]
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0391, E0425, E0433, E0599, E0608, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-decompiler` (bin "rust-decompiler" test) due to 9 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "51a36c59669ab7a4aa3add92c680ba9c1ce660a9e873d65df8c225e29206bd1d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "51a36c59669ab7a4aa3add92c680ba9c1ce660a9e873d65df8c225e29206bd1d", kill_on_drop: false }`
[INFO] [stdout] 51a36c59669ab7a4aa3add92c680ba9c1ce660a9e873d65df8c225e29206bd1d
