[INFO] fetching crate prost-bytes05 0.0.2... [INFO] checking prost-bytes05-0.0.2 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate prost-bytes05 0.0.2 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate prost-bytes05 0.0.2 [INFO] finished tweaking crates.io crate prost-bytes05 0.0.2 [INFO] tweaked toml for crates.io crate prost-bytes05 0.0.2 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate prost-bytes05 0.0.2 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 107 packages to latest compatible versions [INFO] [stderr] Adding bytes v0.5.6 (available: v1.10.1) [INFO] [stderr] Adding criterion v0.3.6 (available: v0.7.0) [INFO] [stderr] Adding env_logger v0.7.1 (available: v0.11.8) [INFO] [stderr] Adding prost-derive v0.5.0 (available: v0.14.1) [INFO] [stderr] Adding quickcheck v0.9.2 (available: v1.0.3) [INFO] [stderr] Adding rand v0.7.3 (available: v0.9.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 747979945c530995a0cf3b5647ad8fef59663d78eb214126d401670b605c67ae [INFO] running `Command { std: "docker" "start" "-a" "747979945c530995a0cf3b5647ad8fef59663d78eb214126d401670b605c67ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "747979945c530995a0cf3b5647ad8fef59663d78eb214126d401670b605c67ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "747979945c530995a0cf3b5647ad8fef59663d78eb214126d401670b605c67ae", kill_on_drop: false }` [INFO] [stdout] 747979945c530995a0cf3b5647ad8fef59663d78eb214126d401670b605c67ae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3f536441d55b5e11181c3f589d2f7578b18a189ed15f94588949e70af43db8be [INFO] running `Command { std: "docker" "start" "-a" "3f536441d55b5e11181c3f589d2f7578b18a189ed15f94588949e70af43db8be", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking csv-core v0.1.12 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking half v1.8.3 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking criterion-plot v0.4.5 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Checking csv v1.3.1 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking quickcheck v0.9.2 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling prost-derive v0.5.0 [INFO] [stderr] Checking prost-bytes05 v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `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] [stderr] Checking criterion v0.3.6 [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `prost` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `prost`, use `cargo add prost` to add it to your `Cargo.toml` [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 method `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 method `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 method `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] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `prost-bytes05` (bench "varint") due to 1 previous error; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: use of deprecated method `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: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/encoding.rs:1443:61 [INFO] [stdout] | [INFO] [stdout] 1443 | let roundtrip_value = decode_varint(&mut encoded.clone()).expect("decoding failed"); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3f536441d55b5e11181c3f589d2f7578b18a189ed15f94588949e70af43db8be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f536441d55b5e11181c3f589d2f7578b18a189ed15f94588949e70af43db8be", kill_on_drop: false }` [INFO] [stdout] 3f536441d55b5e11181c3f589d2f7578b18a189ed15f94588949e70af43db8be