[INFO] fetching crate prost-shadown 0.5.0... [INFO] checking prost-shadown-0.5.0 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate prost-shadown 0.5.0 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate prost-shadown 0.5.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 prost-shadown 0.5.0 [INFO] finished tweaking crates.io crate prost-shadown 0.5.0 [INFO] tweaked toml for crates.io crate prost-shadown 0.5.0 written to /workspace/builds/worker-3/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] 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] 181567c91e65ef707bb561a5b675dbdc99e712dded58a1c1be3deb350227e28a [INFO] running `Command { std: "docker" "start" "-a" "181567c91e65ef707bb561a5b675dbdc99e712dded58a1c1be3deb350227e28a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "181567c91e65ef707bb561a5b675dbdc99e712dded58a1c1be3deb350227e28a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "181567c91e65ef707bb561a5b675dbdc99e712dded58a1c1be3deb350227e28a", kill_on_drop: false }` [INFO] [stdout] 181567c91e65ef707bb561a5b675dbdc99e712dded58a1c1be3deb350227e28a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] 0f6b1f2f849f701487e912379b3e62301aad0f3555506cad0f113bf0912a194b [INFO] running `Command { std: "docker" "start" "-a" "0f6b1f2f849f701487e912379b3e62301aad0f3555506cad0f113bf0912a194b", 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] libc v0.2.100 (as host dependency): default, std [INFO] [stderr] memchr v2.4.1 (as host dependency): default, std [INFO] [stderr] [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling serde v1.0.128 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Checking plotters-backend v0.3.2 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling serde_derive v1.0.128 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Checking crossbeam-utils v0.8.5 [INFO] [stderr] Compiling libc v0.2.100 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Checking plotters-svg v0.3.1 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.5 [INFO] [stderr] Checking plotters v0.3.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling object v0.26.1 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rayon-core v1.9.1 [INFO] [stderr] Compiling backtrace v0.3.61 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking criterion-plot v0.4.4 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking bstr v0.2.16 [INFO] [stderr] Checking serde_json v1.0.66 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking quickcheck v0.9.2 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling prost-derive v0.5.0 [INFO] [stderr] Checking prost-shadown v0.5.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:102:35 [INFO] [stdout] | [INFO] [stdout] 102 | f.write_str(error::Error::description(self))?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking criterion v0.3.5 [INFO] [stderr] Migrating benches/varint.rs from 2018 edition to 2021 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `prost` [INFO] [stdout] --> benches/varint.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use prost::encoding::{decode_varint, encode_varint, encoded_len_varint}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `prost` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `encoded_len_varint` in this scope [INFO] [stdout] --> benches/varint.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | .map(encoded_len_varint) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use prost_shadown::encoding::encoded_len_varint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `encode_varint` in this scope [INFO] [stdout] --> benches/varint.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | encode_varint(value, &mut buf); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 25 | encode_values(value, &mut buf); [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use prost_shadown::encoding::encode_varint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `encode_varint` in this scope [INFO] [stdout] --> benches/varint.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | encode_varint(value, &mut buf); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 36 | encode_values(value, &mut buf); [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use prost_shadown::encoding::encode_varint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `decode_varint` in this scope [INFO] [stdout] --> benches/varint.rs:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | let value = decode_varint(&mut buf).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 43 | let value = decode_values(&mut buf).unwrap(); [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use prost_shadown::encoding::decode_varint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `encoded_len_varint` in this scope [INFO] [stdout] --> benches/varint.rs:56:24 [INFO] [stdout] | [INFO] [stdout] 56 | sum += encoded_len_varint(value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 56 | sum += encoded_len_values(value); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use prost_shadown::encoding::encoded_len_varint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `criterion::Benchmark`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/varint.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use criterion::{Benchmark, Criterion, Throughput}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `criterion::Benchmark`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/varint.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | let encode = Benchmark::new("encode", move |b| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `criterion::Benchmark`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/varint.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 33 | let decode = Benchmark::new("decode", move |b| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `criterion::Benchmark`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/varint.rs:52:23 [INFO] [stdout] | [INFO] [stdout] 52 | let encoded_len = Benchmark::new("encoded_len", move |b| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `criterion::Criterion::::bench`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/varint.rs:65:10 [INFO] [stdout] | [INFO] [stdout] 65 | .bench(&name, encode) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `criterion::Criterion::::bench`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/varint.rs:66:10 [INFO] [stdout] | [INFO] [stdout] 66 | .bench(&name, decode) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `criterion::Criterion::::bench`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/varint.rs:67:10 [INFO] [stdout] | [INFO] [stdout] 67 | .bench(&name, encoded_len); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `prost-shadown` due to 7 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:102:35 [INFO] [stdout] | [INFO] [stdout] 102 | f.write_str(error::Error::description(self))?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [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" "0f6b1f2f849f701487e912379b3e62301aad0f3555506cad0f113bf0912a194b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f6b1f2f849f701487e912379b3e62301aad0f3555506cad0f113bf0912a194b", kill_on_drop: false }` [INFO] [stdout] 0f6b1f2f849f701487e912379b3e62301aad0f3555506cad0f113bf0912a194b