[INFO] fetching crate cid 0.7.0... [INFO] checking cid-0.7.0 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate cid 0.7.0 into /workspace/builds/worker-29/source [INFO] validating manifest of crates.io crate cid 0.7.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 cid 0.7.0 [INFO] finished tweaking crates.io crate cid 0.7.0 [INFO] tweaked toml for crates.io crate cid 0.7.0 written to /workspace/builds/worker-29/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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] ff22aa3823bebfc8330555e70bf411c4bb8126f5e6b896a887c025383370175b [INFO] running `Command { std: "docker" "start" "-a" "ff22aa3823bebfc8330555e70bf411c4bb8126f5e6b896a887c025383370175b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff22aa3823bebfc8330555e70bf411c4bb8126f5e6b896a887c025383370175b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff22aa3823bebfc8330555e70bf411c4bb8126f5e6b896a887c025383370175b", kill_on_drop: false }` [INFO] [stdout] ff22aa3823bebfc8330555e70bf411c4bb8126f5e6b896a887c025383370175b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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] 70be546205a164edc83623bffb9c0925a7c7147e50200706e818490d4560dad1 [INFO] running `Command { std: "docker" "start" "-a" "70be546205a164edc83623bffb9c0925a7c7147e50200706e818490d4560dad1", 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] data-encoding v2.3.2 (as host dependency): std [INFO] [stderr] [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling data-encoding v2.3.2 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking cpufeatures v0.1.5 [INFO] [stderr] Checking unsigned-varint v0.7.0 [INFO] [stderr] Checking base-x v0.2.8 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking blake2s_simd v0.5.11 [INFO] [stderr] Checking blake2b_simd v0.5.11 [INFO] [stderr] Compiling serde v1.0.128 [INFO] [stderr] Checking serde_json v1.0.66 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Compiling blake3 v0.3.8 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking sha2 v0.9.5 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.10 [INFO] [stderr] Checking data-encoding-macro v0.1.12 [INFO] [stderr] Checking multibase v0.9.1 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling proc-macro-crate v1.0.0 [INFO] [stderr] Compiling multihash-derive v0.7.2 [INFO] [stderr] Checking multihash v0.14.0 [INFO] [stderr] Checking cid v0.7.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand` [INFO] [stdout] --> src/arb.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::{ [INFO] [stdout] | ^^^^ use of undeclared crate or module `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `quickcheck` [INFO] [stdout] --> src/arb.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use quickcheck::{Arbitrary, Gen}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `quickcheck` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rand` [INFO] [stdout] --> src/arb.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::{ [INFO] [stdout] | ^^^^ use of undeclared crate or module `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WeightedIndex` [INFO] [stdout] --> src/arb.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 30 | let dist = WeightedIndex::new(weights.iter()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `WeightedIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cid` due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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" "70be546205a164edc83623bffb9c0925a7c7147e50200706e818490d4560dad1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70be546205a164edc83623bffb9c0925a7c7147e50200706e818490d4560dad1", kill_on_drop: false }` [INFO] [stdout] 70be546205a164edc83623bffb9c0925a7c7147e50200706e818490d4560dad1