[INFO] cloning repository https://github.com/edward-shen/linkr [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/edward-shen/linkr" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fedward-shen%2Flinkr", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fedward-shen%2Flinkr'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 41becc206aa04ad6f044a9e81a8ee79eb95c6d43 [INFO] checking edward-shen/linkr against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fedward-shen%2Flinkr" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/edward-shen/linkr on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/edward-shen/linkr [INFO] finished tweaking git repo https://github.com/edward-shen/linkr [INFO] tweaked toml for git repo https://github.com/edward-shen/linkr written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/edward-shen/linkr 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded notify v4.0.14 [INFO] [stderr] Downloaded scheduled-thread-pool v0.2.2 [INFO] [stderr] Downloaded rocket_contrib_codegen v0.4.2 [INFO] [stderr] Downloaded r2d2 v0.8.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 76e649850d3d5d8c16da00e9d74bb3f37dd36521829d71784a197f2acdf9abdf [INFO] running `Command { std: "docker" "start" "-a" "76e649850d3d5d8c16da00e9d74bb3f37dd36521829d71784a197f2acdf9abdf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "76e649850d3d5d8c16da00e9d74bb3f37dd36521829d71784a197f2acdf9abdf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76e649850d3d5d8c16da00e9d74bb3f37dd36521829d71784a197f2acdf9abdf", kill_on_drop: false }` [INFO] [stdout] 76e649850d3d5d8c16da00e9d74bb3f37dd36521829d71784a197f2acdf9abdf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9effcfaaebe4c8b9915f2b65f710c75cf3408fcb56c162b9c57f42619ab01f9f [INFO] running `Command { std: "docker" "start" "-a" "9effcfaaebe4c8b9915f2b65f710c75cf3408fcb56c162b9c57f42619ab01f9f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling syn v1.0.7 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling cc v1.0.46 [INFO] [stderr] Compiling smallvec v0.6.10 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Compiling ring v0.13.5 [INFO] [stderr] Compiling indexmap v1.3.0 [INFO] [stderr] Compiling unicode-normalization v0.1.8 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Compiling lock_api v0.3.1 [INFO] [stderr] Compiling pear_codegen v0.1.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.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 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-6f17d22bba15001f/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-6f17d22bba15001f/pear_codegen-0.1.2/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.2/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.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-6f17d22bba15001f/pear_codegen-0.1.2/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.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-6f17d22bba15001f/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-6f17d22bba15001f/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-6f17d22bba15001f/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: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use proc_macro::Diagnostic; [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-6f17d22bba15001f/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-6f17d22bba15001f/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-6f17d22bba15001f/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: 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" "9effcfaaebe4c8b9915f2b65f710c75cf3408fcb56c162b9c57f42619ab01f9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9effcfaaebe4c8b9915f2b65f710c75cf3408fcb56c162b9c57f42619ab01f9f", kill_on_drop: false }` [INFO] [stdout] 9effcfaaebe4c8b9915f2b65f710c75cf3408fcb56c162b9c57f42619ab01f9f [INFO] checking edward-shen/linkr against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fedward-shen%2Flinkr" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/edward-shen/linkr on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/edward-shen/linkr [INFO] finished tweaking git repo https://github.com/edward-shen/linkr [INFO] tweaked toml for git repo https://github.com/edward-shen/linkr written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/edward-shen/linkr 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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 06d0bec2a17e2d5e9dae96a1d5e5322c8cfba49c559f9a006a8a18b71b416880 [INFO] running `Command { std: "docker" "start" "-a" "06d0bec2a17e2d5e9dae96a1d5e5322c8cfba49c559f9a006a8a18b71b416880", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "06d0bec2a17e2d5e9dae96a1d5e5322c8cfba49c559f9a006a8a18b71b416880", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06d0bec2a17e2d5e9dae96a1d5e5322c8cfba49c559f9a006a8a18b71b416880", kill_on_drop: false }` [INFO] [stdout] 06d0bec2a17e2d5e9dae96a1d5e5322c8cfba49c559f9a006a8a18b71b416880 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d37988392357bee170532548d69f361e31e50f006ef1e0e3f54620b8afa0fde4 [INFO] running `Command { std: "docker" "start" "-a" "d37988392357bee170532548d69f361e31e50f006ef1e0e3f54620b8afa0fde4", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "d37988392357bee170532548d69f361e31e50f006ef1e0e3f54620b8afa0fde4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d37988392357bee170532548d69f361e31e50f006ef1e0e3f54620b8afa0fde4", kill_on_drop: false }` [INFO] [stdout] d37988392357bee170532548d69f361e31e50f006ef1e0e3f54620b8afa0fde4