[INFO] fetching crate sg-prost 0.11.3... [INFO] checking sg-prost-0.11.3 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate sg-prost 0.11.3 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate sg-prost 0.11.3 [INFO] finished tweaking crates.io crate sg-prost 0.11.3 [INFO] tweaked toml for crates.io crate sg-prost 0.11.3 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate sg-prost 0.11.3 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 116 packages to latest compatible versions [INFO] [stderr] Adding criterion v0.3.6 (available: v0.6.0) [INFO] [stderr] Adding env_logger v0.8.4 (available: v0.11.8) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sg-prost-derive v0.11.2 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dfcb0c5f6e3bb9e7b057e0fff6b52910f0bdfe1bca0f4158ba1b4940533ce1de [INFO] running `Command { std: "docker" "start" "-a" "dfcb0c5f6e3bb9e7b057e0fff6b52910f0bdfe1bca0f4158ba1b4940533ce1de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dfcb0c5f6e3bb9e7b057e0fff6b52910f0bdfe1bca0f4158ba1b4940533ce1de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfcb0c5f6e3bb9e7b057e0fff6b52910f0bdfe1bca0f4158ba1b4940533ce1de", kill_on_drop: false }` [INFO] [stdout] dfcb0c5f6e3bb9e7b057e0fff6b52910f0bdfe1bca0f4158ba1b4940533ce1de [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e9b28982b09736cc06b7ebd11b953055c73b62ee1aa6e22abaf34265e28c634a [INFO] running `Command { std: "docker" "start" "-a" "e9b28982b09736cc06b7ebd11b953055c73b62ee1aa6e22abaf34265e28c634a", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking wait-timeout v0.2.1 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking csv-core v0.1.12 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking half v1.8.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking bit-vec v0.8.0 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking csv v1.3.1 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking tempfile v3.20.0 [INFO] [stderr] Checking bit-set v0.8.0 [INFO] [stderr] Checking rand_xorshift v0.4.0 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking criterion-plot v0.4.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking proptest v1.7.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling sg-prost-derive v0.11.2 [INFO] [stderr] Checking sg-prost v0.11.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `prost-derive` [INFO] [stdout] --> src/lib.rs:87:7 [INFO] [stdout] | [INFO] [stdout] 87 | #[cfg(feature = "prost-derive")] [INFO] [stdout] | ^^^^^^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"sg-prost-derive"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `no-recursion-limit`, `sg-prost-derive`, and `std` [INFO] [stdout] = help: consider adding `prost-derive` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `prost-derive` [INFO] [stdout] --> src/lib.rs:91:7 [INFO] [stdout] | [INFO] [stdout] 91 | #[cfg(feature = "prost-derive")] [INFO] [stdout] | ^^^^^^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"sg-prost-derive"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `no-recursion-limit`, `sg-prost-derive`, and `std` [INFO] [stdout] = help: consider adding `prost-derive` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [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] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sg-prost` (bench "varint") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unexpected `cfg` condition value: `prost-derive` [INFO] [stdout] --> src/lib.rs:87:7 [INFO] [stdout] | [INFO] [stdout] 87 | #[cfg(feature = "prost-derive")] [INFO] [stdout] | ^^^^^^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"sg-prost-derive"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `no-recursion-limit`, `sg-prost-derive`, and `std` [INFO] [stdout] = help: consider adding `prost-derive` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `prost-derive` [INFO] [stdout] --> src/lib.rs:91:7 [INFO] [stdout] | [INFO] [stdout] 91 | #[cfg(feature = "prost-derive")] [INFO] [stdout] | ^^^^^^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"sg-prost-derive"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `no-recursion-limit`, `sg-prost-derive`, and `std` [INFO] [stdout] = help: consider adding `prost-derive` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/encoding.rs:1618:61 [INFO] [stdout] | [INFO] [stdout] 1618 | 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" "e9b28982b09736cc06b7ebd11b953055c73b62ee1aa6e22abaf34265e28c634a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9b28982b09736cc06b7ebd11b953055c73b62ee1aa6e22abaf34265e28c634a", kill_on_drop: false }` [INFO] [stdout] e9b28982b09736cc06b7ebd11b953055c73b62ee1aa6e22abaf34265e28c634a