[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 65c7d39f9c2b9d5c316725cb48fa3d360c64c663 for pr-161253 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchaincode-labs%2Frust-decompiler" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-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-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/chaincode-labs/rust-decompiler on toolchain 65c7d39f9c2b9d5c316725cb48fa3d360c64c663 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65c7d39f9c2b9d5c316725cb48fa3d360c64c663" "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" "+65c7d39f9c2b9d5c316725cb48fa3d360c64c663" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] ce9d09006eb9059d5c37d16b4e2d552ea103e75118087cdd45e2772e91e9e35e [INFO] running `Command { std: "docker" "start" "ce9d09006eb9059d5c37d16b4e2d552ea103e75118087cdd45e2772e91e9e35e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ce9d09006eb9059d5c37d16b4e2d552ea103e75118087cdd45e2772e91e9e35e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ce9d09006eb9059d5c37d16b4e2d552ea103e75118087cdd45e2772e91e9e35e" "/opt/rustwide/cargo-home/bin/cargo" "+65c7d39f9c2b9d5c316725cb48fa3d360c64c663" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ce9d09006eb9059d5c37d16b4e2d552ea103e75118087cdd45e2772e91e9e35e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ce9d09006eb9059d5c37d16b4e2d552ea103e75118087cdd45e2772e91e9e35e" "/opt/rustwide/cargo-home/bin/cargo" "+65c7d39f9c2b9d5c316725cb48fa3d360c64c663" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling quote v1.0.18 [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]: cannot find module or crate `proc_macro` in this scope [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[E0433]: cannot find module or crate `proc_macro` in this scope [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] 123 | fn lexLine(l: &lexer) -> stateFn { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: similarly named struct `Lexer` defined here [INFO] [stdout] --> src/lexer.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct Lexer<'a> { [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] 123 | fn lexLine(l: &lexer) -> stateFn { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: similarly named type alias `stataFn` defined here [INFO] [stdout] --> src/lexer.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | type stataFn = fn(&Lexer) -> stataFn; [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[E0425]: cannot find type `lexer` in this scope [INFO] [stdout] --> src/lexer.rs:123:16 [INFO] [stdout] | [INFO] [stdout] 123 | fn lexLine(l: &lexer) -> stateFn { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: similarly named struct `Lexer` defined here [INFO] [stdout] --> src/lexer.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct Lexer<'a> { [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] 123 | fn lexLine(l: &lexer) -> stateFn { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: similarly named type alias `stataFn` defined here [INFO] [stdout] --> src/lexer.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | type stataFn = fn(&Lexer) -> stataFn; [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] 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 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, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = note: for more information, see and [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 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, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = note: for more information, see and [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0391, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0391`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-decompiler` (bin "rust-decompiler" test) due to 4 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0391, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0391`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-decompiler` (bin "rust-decompiler") due to 4 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "ce9d09006eb9059d5c37d16b4e2d552ea103e75118087cdd45e2772e91e9e35e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce9d09006eb9059d5c37d16b4e2d552ea103e75118087cdd45e2772e91e9e35e", kill_on_drop: false }` [INFO] [stdout] ce9d09006eb9059d5c37d16b4e2d552ea103e75118087cdd45e2772e91e9e35e