[INFO] fetching crate cargo 0.55.0... [INFO] checking cargo-0.55.0 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate cargo 0.55.0 into /workspace/builds/worker-48/source [INFO] validating manifest of crates.io crate cargo 0.55.0 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 crates.io crate cargo 0.55.0 [INFO] finished tweaking crates.io crate cargo 0.55.0 [INFO] tweaked toml for crates.io crate cargo 0.55.0 written to /workspace/builds/worker-48/source/Cargo.toml [INFO] crate crates.io crate cargo 0.55.0 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] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_json v1.0.65 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-48/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-48/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] 5b7cc3b5e4c8cb077e798f10e66283477911d93ccb41106e0075b0340bf966cb [INFO] running `Command { std: "docker" "start" "-a" "5b7cc3b5e4c8cb077e798f10e66283477911d93ccb41106e0075b0340bf966cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5b7cc3b5e4c8cb077e798f10e66283477911d93ccb41106e0075b0340bf966cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b7cc3b5e4c8cb077e798f10e66283477911d93ccb41106e0075b0340bf966cb", kill_on_drop: false }` [INFO] [stdout] 5b7cc3b5e4c8cb077e798f10e66283477911d93ccb41106e0075b0340bf966cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-48/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-48/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] 78d7f13fec3962d768c1aec629368ce86c1cea3be565f473954c0aaf5436ff0a [INFO] running `Command { std: "docker" "start" "-a" "78d7f13fec3962d768c1aec629368ce86c1cea3be565f473954c0aaf5436ff0a", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [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] libz-sys v1.1.3 (as host dependency): libc [INFO] [stderr] [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling anyhow v1.0.42 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling curl v0.4.38 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking openssl-probe v0.1.4 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.35 [INFO] [stderr] Compiling serde_json v1.0.65 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Compiling semver v1.0.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking utf8parse v0.1.1 [INFO] [stderr] Checking hex v0.3.2 [INFO] [stderr] Checking shell-escape v0.1.5 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking opener v0.4.1 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking bytesize v1.0.1 [INFO] [stderr] Checking home v0.5.3 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking rustc-workspace-hack v1.0.0 [INFO] [stderr] Checking unicode-bidi v0.3.5 [INFO] [stderr] Checking tinyvec v1.3.1 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking vte v0.3.3 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking rand_xoshiro v0.4.0 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking strip-ansi-escapes v0.1.0 [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Compiling im-rc v15.0.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking bstr v0.2.16 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling jobserver v0.1.22 [INFO] [stderr] Compiling filetime v0.2.14 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking socket2 v0.4.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Checking bitmaps v2.1.0 [INFO] [stderr] Compiling tar v0.4.35 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Compiling libz-sys v1.1.3 [INFO] [stderr] Compiling openssl-sys v0.9.65 [INFO] [stderr] Compiling libnghttp2-sys v0.1.6+1.43.0 [INFO] [stderr] Compiling curl-sys v0.4.45+curl-7.78.0 [INFO] [stderr] Compiling libssh2-sys v0.2.21 [INFO] [stderr] Compiling libgit2-sys v0.12.21+1.1.0 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking globset v0.4.8 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Compiling flate2 v1.0.20 [INFO] [stderr] Checking ignore v0.4.18 [INFO] [stderr] Compiling cargo v0.55.0 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2018 edition to 2021 [INFO] [stderr] Checking sized-chunks v0.6.5 [INFO] [stderr] Checking git2 v0.13.20 [INFO] [stderr] Checking crypto-hash v0.3.4 [INFO] [stderr] Checking cargo-util v0.1.0 [INFO] [stderr] Checking git2-curl v0.14.1 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking serde_ignored v0.1.2 [INFO] [stderr] Checking cargo-platform v0.1.1 [INFO] [stderr] Checking crates-io v0.33.0 [INFO] [stderr] Checking rustfix v0.5.1 [INFO] [stderr] Migrating src/cargo/lib.rs from 2018 edition to 2021 [INFO] [stdout] error[E0432]: unresolved import `cargo_util::registry` [INFO] [stdout] --> src/cargo/sources/registry/index.rs:75:25 [INFO] [stdout] | [INFO] [stdout] 75 | use cargo_util::{paths, registry::make_dep_path}; [INFO] [stdout] | ^^^^^^^^ could not find `registry` in `cargo_util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cargo_util::registry` [INFO] [stdout] --> src/cargo/sources/registry/remote.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | use cargo_util::{paths, registry::make_dep_path, Sha256}; [INFO] [stdout] | ^^^^^^^^ could not find `registry` in `cargo_util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo` due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `cargo_util::registry` [INFO] [stdout] --> src/cargo/sources/registry/index.rs:75:25 [INFO] [stdout] | [INFO] [stdout] 75 | use cargo_util::{paths, registry::make_dep_path}; [INFO] [stdout] | ^^^^^^^^ could not find `registry` in `cargo_util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cargo_util::registry` [INFO] [stdout] --> src/cargo/sources/registry/remote.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | use cargo_util::{paths, registry::make_dep_path, Sha256}; [INFO] [stdout] | ^^^^^^^^ could not find `registry` in `cargo_util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "78d7f13fec3962d768c1aec629368ce86c1cea3be565f473954c0aaf5436ff0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78d7f13fec3962d768c1aec629368ce86c1cea3be565f473954c0aaf5436ff0a", kill_on_drop: false }` [INFO] [stdout] 78d7f13fec3962d768c1aec629368ce86c1cea3be565f473954c0aaf5436ff0a