[INFO] cloning repository https://github.com/spiccanelforzo/hanako-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/spiccanelforzo/hanako-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspiccanelforzo%2Fhanako-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspiccanelforzo%2Fhanako-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6288f6866ff5e236e4f06bcb400aafa77a590e97 [INFO] testing spiccanelforzo/hanako-rust/6288f6866ff5e236e4f06bcb400aafa77a590e97 against master#ff2c56344c764af598ad33027e9c7a48881808ef for pr-118825 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspiccanelforzo%2Fhanako-rust" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/spiccanelforzo/hanako-rust on toolchain ff2c56344c764af598ad33027e9c7a48881808ef [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff2c56344c764af598ad33027e9c7a48881808ef" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/spiccanelforzo/hanako-rust [INFO] finished tweaking git repo https://github.com/spiccanelforzo/hanako-rust [INFO] tweaked toml for git repo https://github.com/spiccanelforzo/hanako-rust written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/spiccanelforzo/hanako-rust 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" "+ff2c56344c764af598ad33027e9c7a48881808ef" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tracing-subscriber v0.3.3 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ff2c56344c764af598ad33027e9c7a48881808ef" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 50f0e426dfd394f4e5d1498ddca2a13ee3b46e18f0ddd23ab5b761a1da4787ff [INFO] running `Command { std: "docker" "start" "-a" "50f0e426dfd394f4e5d1498ddca2a13ee3b46e18f0ddd23ab5b761a1da4787ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "50f0e426dfd394f4e5d1498ddca2a13ee3b46e18f0ddd23ab5b761a1da4787ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50f0e426dfd394f4e5d1498ddca2a13ee3b46e18f0ddd23ab5b761a1da4787ff", kill_on_drop: false }` [INFO] [stdout] 50f0e426dfd394f4e5d1498ddca2a13ee3b46e18f0ddd23ab5b761a1da4787ff [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ff2c56344c764af598ad33027e9c7a48881808ef" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ad6bc436d6545f687389dc6243c2012b36c184fd25ef2428edf153135b334cf5 [INFO] running `Command { std: "docker" "start" "-a" "ad6bc436d6545f687389dc6243c2012b36c184fd25ef2428edf153135b334cf5", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling proc-macro2 v1.0.34 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.83 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling serde_derive v1.0.132 [INFO] [stderr] Compiling serde v1.0.132 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling futures-sink v0.3.19 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Compiling pear_codegen v0.1.4 [INFO] [stderr] Compiling futures-io v0.3.19 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pear_codegen-0.1.4/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 favor of `pub(crate)` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling cookie v0.15.1 [INFO] [stdout] error: expected one of `!` or `::`, found keyword `struct` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pear_codegen-0.1.4/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] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stdout] error[E0412]: cannot find type `PResult` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pear_codegen-0.1.4/src/lib.rs:65:39 [INFO] [stdout] | [INFO] [stdout] 65 | fn extract_input_ident(f: &ItemFn) -> PResult { [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-6f17d22bba15001f/syn-0.15.44/src/error.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub type Result = std::result::Result; [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-6f17d22bba15001f/pear_codegen-0.1.4/src/lib.rs:78:44 [INFO] [stdout] | [INFO] [stdout] 78 | fn parser_attribute(input: TokenStream) -> PResult { [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-6f17d22bba15001f/syn-0.15.44/src/error.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub type Result = std::result::Result; [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-6f17d22bba15001f/pear_codegen-0.1.4/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-6f17d22bba15001f/pear_codegen-0.1.4/src/lib.rs:144:38 [INFO] [stdout] | [INFO] [stdout] 144 | where I: Iterator [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-6f17d22bba15001f/pear_codegen-0.1.4/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-6f17d22bba15001f/pear_codegen-0.1.4/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-6f17d22bba15001f/pear_codegen-0.1.4/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-6f17d22bba15001f/pear_codegen-0.1.4/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: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 + use proc_macro::Diagnostic; [INFO] [stdout] | [INFO] [stdout] 13 + use proc_macro::bridge::Diagnostic; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling inlinable_string v0.1.14 [INFO] [stderr] Compiling ref-cast v1.0.6 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Case` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pear_codegen-0.1.4/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] [stderr] Compiling tokio v1.15.0 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Case` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pear_codegen-0.1.4/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-6f17d22bba15001f/pear_codegen-0.1.4/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] [stderr] Compiling httpdate v1.0.2 [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pear_codegen` (lib) due to 14 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "ad6bc436d6545f687389dc6243c2012b36c184fd25ef2428edf153135b334cf5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad6bc436d6545f687389dc6243c2012b36c184fd25ef2428edf153135b334cf5", kill_on_drop: false }` [INFO] [stdout] ad6bc436d6545f687389dc6243c2012b36c184fd25ef2428edf153135b334cf5