[INFO] cloning repository https://github.com/1n5k/two
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/1n5k/two" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F1n5k%2Ftwo", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F1n5k%2Ftwo'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b91dc6dc00a38f54eccce6b8e70097da69a53d36
[INFO] checking 1n5k/two against try#51de2e90f91fdec6cf64ff542a4e15b9c177a797 for pr-147294
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F1n5k%2Ftwo" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/1n5k/two
[INFO] finished tweaking git repo https://github.com/1n5k/two
[INFO] tweaked toml for git repo https://github.com/1n5k/two written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/1n5k/two on toolchain 51de2e90f91fdec6cf64ff542a4e15b9c177a797
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+51de2e90f91fdec6cf64ff542a4e15b9c177a797" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/1n5k/two 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" "+51de2e90f91fdec6cf64ff542a4e15b9c177a797" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+51de2e90f91fdec6cf64ff542a4e15b9c177a797" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d6dd5a15bd2b2028933a939bd58f8f563f43155374f64546d84019e276262a6c
[INFO] running `Command { std: "docker" "start" "-a" "d6dd5a15bd2b2028933a939bd58f8f563f43155374f64546d84019e276262a6c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d6dd5a15bd2b2028933a939bd58f8f563f43155374f64546d84019e276262a6c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d6dd5a15bd2b2028933a939bd58f8f563f43155374f64546d84019e276262a6c", kill_on_drop: false }`
[INFO] [stdout] d6dd5a15bd2b2028933a939bd58f8f563f43155374f64546d84019e276262a6c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+51de2e90f91fdec6cf64ff542a4e15b9c177a797" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 194c8642c11253af85dd1c564eccf54d1f76b49674b1b1e9e6a521c1e6e08e8e
[INFO] running `Command { std: "docker" "start" "-a" "194c8642c11253af85dd1c564eccf54d1f76b49674b1b1e9e6a521c1e6e08e8e", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.69
[INFO] [stderr]    Compiling cc v1.0.52
[INFO] [stderr]    Compiling yansi v0.4.0
[INFO] [stderr]    Compiling httparse v1.3.4
[INFO] [stderr]    Compiling smallvec v1.4.0
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling version_check v0.9.1
[INFO] [stderr]    Compiling unicode-normalization v0.1.12
[INFO] [stderr]    Compiling pear_codegen v0.1.2
[INFO] [stderr]    Compiling log v0.3.9
[INFO] [stderr]    Compiling base64 v0.9.3
[INFO] [stderr]    Compiling untrusted v0.6.2
[INFO] [stderr]    Compiling serde v1.0.106
[INFO] [stdout] error[E0557]: feature has been removed
[INFO] [stdout]  --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pear_codegen-0.1.2/src/lib.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(crate_visibility_modifier)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^^^^ feature has been removed
[INFO] [stdout]   |
[INFO] [stdout]   = note: removed in 1.63.0; see <https://github.com/rust-lang/rust/pull/97254> for more information
[INFO] [stdout]   = note: removed in favor of `pub(crate)`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `!` or `::`, found keyword `struct`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pear_codegen-0.1.2/src/parser.rs:10:7
[INFO] [stdout]    |
[INFO] [stdout] 10 | crate struct Diagnostic(crate ::proc_macro::Diagnostic);
[INFO] [stdout]    |       ^^^^^^ expected one of `!` or `::`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PResult` in this scope
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pear_codegen-0.1.2/src/lib.rs:65:39
[INFO] [stdout]    |
[INFO] [stdout] 65 | fn extract_input_ident(f: &ItemFn) -> PResult<Ident> {
[INFO] [stdout]    |                                       ^^^^^^^ help: a type alias with a similar name exists: `Result`
[INFO] [stdout]    |
[INFO] [stdout]   ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-0.15.44/src/error.rs:18:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub type Result<T> = std::result::Result<T, Error>;
[INFO] [stdout]    | ------------------ similarly named type alias `Result` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PResult` in this scope
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pear_codegen-0.1.2/src/lib.rs:78:44
[INFO] [stdout]    |
[INFO] [stdout] 78 | fn parser_attribute(input: TokenStream) -> PResult<TokenStream2> {
[INFO] [stdout]    |                                            ^^^^^^^ help: a type alias with a similar name exists: `Result`
[INFO] [stdout]    |
[INFO] [stdout]   ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-0.15.44/src/error.rs:18:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub type Result<T> = std::result::Result<T, Error>;
[INFO] [stdout]    | ------------------ similarly named type alias `Result` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Case` in this scope
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pear_codegen-0.1.2/src/lib.rs:142:6
[INFO] [stdout]     |
[INFO] [stdout] 142 | impl Case {
[INFO] [stdout]     |      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Case` in this scope
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pear_codegen-0.1.2/src/lib.rs:144:38
[INFO] [stdout]     |
[INFO] [stdout] 144 |         where I: Iterator<Item = &'a Case>
[INFO] [stdout]     |                                      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pattern`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pear_codegen-0.1.2/src/lib.rs:161:13
[INFO] [stdout]     |
[INFO] [stdout] 161 |             Pattern::Wild(..) => quote!(#case_expr),
[INFO] [stdout]     |             ^^^^^^^ use of undeclared type `Pattern`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]     |
[INFO] [stdout]  13 + use std::str::pattern::Pattern;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pattern`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pear_codegen-0.1.2/src/lib.rs:162:13
[INFO] [stdout]     |
[INFO] [stdout] 162 |             Pattern::Calls(ref calls) => {
[INFO] [stdout]     |             ^^^^^^^ use of undeclared type `Pattern`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]     |
[INFO] [stdout]  13 + use std::str::pattern::Pattern;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Switch` in this scope
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pear_codegen-0.1.2/src/lib.rs:201:6
[INFO] [stdout]     |
[INFO] [stdout] 201 | impl Switch {
[INFO] [stdout]     |      ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Diagnostic`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pear_codegen-0.1.2/src/lib.rs:215:13
[INFO] [stdout]     |
[INFO] [stdout] 215 |             Diagnostic::emit(e.into());
[INFO] [stdout]     |             ^^^^^^^^^^ use of undeclared type `Diagnostic`
[INFO] [stdout]     |
[INFO] [stdout] help: a tool attribute with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 215 -             Diagnostic::emit(e.into());
[INFO] [stdout] 215 +             diagnostic::emit(e.into());
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]  13 + use proc_macro::Diagnostic;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pear_codegen-0.1.2/src/lib.rs:134:30
[INFO] [stdout]     |
[INFO] [stdout] 134 |         Ok(tokens) => tokens.into(),
[INFO] [stdout]     |                              ^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pear_codegen-0.1.2/src/lib.rs:136:18
[INFO] [stdout]     |
[INFO] [stdout] 136 |             diag.emit();
[INFO] [stdout]     |                  ^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pear_codegen-0.1.2/src/lib.rs:172:31
[INFO] [stdout]     |
[INFO] [stdout] 172 |                         .map(|c| c.clone())
[INFO] [stdout]     |                               ^    ----- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving this closure parameter an explicit type
[INFO] [stdout]     |
[INFO] [stdout] 172 |                         .map(|c: /* Type */| c.clone())
[INFO] [stdout]     |                                ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Case`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pear_codegen-0.1.2/src/lib.rs:185:35
[INFO] [stdout]     |
[INFO] [stdout] 185 |                 let rest_tokens = Case::to_tokens(&input, parser_name, cases);
[INFO] [stdout]     |                                   ^^^^ use of undeclared type `Case`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Case`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pear_codegen-0.1.2/src/lib.rs:203:9
[INFO] [stdout]     |
[INFO] [stdout] 203 |         Case::to_tokens(&self.input, &self.parser_name, self.cases.iter())
[INFO] [stdout]     |         ^^^^ use of undeclared type `Case`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Switch`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pear_codegen-0.1.2/src/lib.rs:212:11
[INFO] [stdout]     |
[INFO] [stdout] 212 |     match Switch::syn_parse.parse(input) {
[INFO] [stdout]     |           ^^^^^^ use of undeclared type `Switch`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pear_codegen-0.1.2/src/lib.rs:213:30
[INFO] [stdout]     |
[INFO] [stdout] 213 |         Ok(switch) => switch.to_tokens().into(),
[INFO] [stdout]     |                              ^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pear_codegen-0.1.2/src/lib.rs:215:32
[INFO] [stdout]     |
[INFO] [stdout] 215 |             Diagnostic::emit(e.into());
[INFO] [stdout]     |                                ^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0433, E0557.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `pear_codegen` (lib) due to 18 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "194c8642c11253af85dd1c564eccf54d1f76b49674b1b1e9e6a521c1e6e08e8e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "194c8642c11253af85dd1c564eccf54d1f76b49674b1b1e9e6a521c1e6e08e8e", kill_on_drop: false }`
[INFO] [stdout] 194c8642c11253af85dd1c564eccf54d1f76b49674b1b1e9e6a521c1e6e08e8e
