[INFO] cloning repository https://github.com/phaazon/cargo-sync-readme [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/phaazon/cargo-sync-readme" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphaazon%2Fcargo-sync-readme", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphaazon%2Fcargo-sync-readme'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5f125edd2546bc765e86c41317a4a9dee36f1835 [INFO] checking phaazon/cargo-sync-readme against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphaazon%2Fcargo-sync-readme" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/phaazon/cargo-sync-readme on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/phaazon/cargo-sync-readme [INFO] finished tweaking git repo https://github.com/phaazon/cargo-sync-readme [INFO] tweaked toml for git repo https://github.com/phaazon/cargo-sync-readme written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/phaazon/cargo-sync-readme already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded regex-syntax v0.6.24 [INFO] [stderr] Downloaded regex v1.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 808f0907e98f8fd78105a371abb0dabe26b1c0fc78f1787e4beb21a67d131aaf [INFO] running `Command { std: "docker" "start" "-a" "808f0907e98f8fd78105a371abb0dabe26b1c0fc78f1787e4beb21a67d131aaf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "808f0907e98f8fd78105a371abb0dabe26b1c0fc78f1787e4beb21a67d131aaf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "808f0907e98f8fd78105a371abb0dabe26b1c0fc78f1787e4beb21a67d131aaf", kill_on_drop: false }` [INFO] [stdout] 808f0907e98f8fd78105a371abb0dabe26b1c0fc78f1787e4beb21a67d131aaf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cc12c94328ae1068b63f76757fbea7ca564c6b7be37b7822c1680ff77588b159 [INFO] running `Command { std: "docker" "start" "-a" "cc12c94328ae1068b63f76757fbea7ca564c6b7be37b7822c1680ff77588b159", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] proc-macro2 v1.0.26: default [INFO] [stderr] quote v1.0.8: default [INFO] [stderr] syn v1.0.70: full [INFO] [stderr] syn v1.0.70 (as host dependency): extra-traits [INFO] [stderr] [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling syn v1.0.70 [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking unicode-xid v0.2.1 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling serde v1.0.119 [INFO] [stderr] Checking regex-syntax v0.6.24 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking quote v1.0.8 [INFO] [stderr] Checking pulldown-cmark v0.8.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking regex v1.5.1 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Checking structopt v0.3.21 [INFO] [stderr] Checking cargo-sync-readme v1.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/tests.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 24.73s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Compiling syn v1.0.70 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Checking quote v1.0.8 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Checking structopt v0.3.21 [INFO] [stderr] Checking cargo-sync-readme v1.1.0 (/tmp/fixit) [INFO] [stdout] error[E0432]: unresolved import `syn::Item` [INFO] [stdout] --> src/intralinks.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use syn::Item; [INFO] [stdout] | ^^^^^^^^^ no `Item` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `syn::Item` [INFO] [stdout] --> src/intralinks.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use syn::Item; [INFO] [stdout] | ^^^^^^^^^ no `Item` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `File` in crate `syn` [INFO] [stdout] --> src/intralinks.rs:43:57 [INFO] [stdout] | [INFO] [stdout] 43 | fn file_ast>(filepath: P) -> Result { [INFO] [stdout] | ^^^^ not found in `syn` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use crate::File; [INFO] [stdout] | [INFO] [stdout] 3 | use std::fs::File; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_file` in crate `syn` [INFO] [stdout] --> src/intralinks.rs:46:11 [INFO] [stdout] | [INFO] [stdout] 46 | Ok(syn::parse_file(&src)?) [INFO] [stdout] | ^^^^^^^^^^ not found in `syn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `File` in crate `syn` [INFO] [stdout] --> src/intralinks.rs:271:17 [INFO] [stdout] | [INFO] [stdout] 271 | let ast: syn::File = file_ast(&file)?; [INFO] [stdout] | ^^^^ not found in `syn` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use crate::File; [INFO] [stdout] | [INFO] [stdout] 3 | use std::fs::File; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ItemMacro` in crate `syn` [INFO] [stdout] --> src/intralinks.rs:324:26 [INFO] [stdout] | [INFO] [stdout] 324 | Item::Macro(syn::ItemMacro { [INFO] [stdout] | ^^^^^^^^^ not found in `syn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `File` in crate `syn` [INFO] [stdout] --> src/intralinks.rs:43:57 [INFO] [stdout] | [INFO] [stdout] 43 | fn file_ast>(filepath: P) -> Result { [INFO] [stdout] | ^^^^ not found in `syn` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use crate::File; [INFO] [stdout] | [INFO] [stdout] 3 | use std::fs::File; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_file` in crate `syn` [INFO] [stdout] --> src/intralinks.rs:46:11 [INFO] [stdout] | [INFO] [stdout] 46 | Ok(syn::parse_file(&src)?) [INFO] [stdout] | ^^^^^^^^^^ not found in `syn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `File` in crate `syn` [INFO] [stdout] --> src/intralinks.rs:271:17 [INFO] [stdout] | [INFO] [stdout] 271 | let ast: syn::File = file_ast(&file)?; [INFO] [stdout] | ^^^^ not found in `syn` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use crate::File; [INFO] [stdout] | [INFO] [stdout] 3 | use std::fs::File; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ItemMacro` in crate `syn` [INFO] [stdout] --> src/intralinks.rs:324:26 [INFO] [stdout] | [INFO] [stdout] 324 | Item::Macro(syn::ItemMacro { [INFO] [stdout] | ^^^^^^^^^ not found in `syn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_file` in crate `syn` [INFO] [stdout] --> src/intralinks.rs:787:13 [INFO] [stdout] | [INFO] [stdout] 787 | &syn::parse_file(&source).unwrap().items, [INFO] [stdout] | ^^^^^^^^^^ not found in `syn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_file` in crate `syn` [INFO] [stdout] --> src/intralinks.rs:863:13 [INFO] [stdout] | [INFO] [stdout] 863 | &syn::parse_file(&source).unwrap().items, [INFO] [stdout] | ^^^^^^^^^^ not found in `syn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_file` in crate `syn` [INFO] [stdout] --> src/intralinks.rs:921:13 [INFO] [stdout] | [INFO] [stdout] 921 | &syn::parse_file(&source).unwrap().items, [INFO] [stdout] | ^^^^^^^^^^ not found in `syn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_file` in crate `syn` [INFO] [stdout] --> src/intralinks.rs:971:13 [INFO] [stdout] | [INFO] [stdout] 971 | &syn::parse_file(&source).unwrap().items, [INFO] [stdout] | ^^^^^^^^^^ not found in `syn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-sync-readme` due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to check after updating to 2021 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "cc12c94328ae1068b63f76757fbea7ca564c6b7be37b7822c1680ff77588b159", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc12c94328ae1068b63f76757fbea7ca564c6b7be37b7822c1680ff77588b159", kill_on_drop: false }` [INFO] [stdout] cc12c94328ae1068b63f76757fbea7ca564c6b7be37b7822c1680ff77588b159