[INFO] fetching crate lone-ranger 1.1.3... [INFO] checking lone-ranger-1.1.3 against master#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577 [INFO] extracting crate lone-ranger 1.1.3 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate lone-ranger 1.1.3 [INFO] finished tweaking crates.io crate lone-ranger 1.1.3 [INFO] tweaked toml for crates.io crate lone-ranger 1.1.3 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate lone-ranger 1.1.3 on toolchain 642c19bfc3a5c1de985bf5d0cc8207ac9d22708a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate lone-ranger 1.1.3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro-error-attr v1.0.2 [INFO] [stderr] Downloaded smallvec v1.3.0 [INFO] [stderr] Downloaded structopt-derive v0.4.6 [INFO] [stderr] Downloaded hermit-abi v0.1.11 [INFO] [stderr] Downloaded tokio-socks v0.2.2 [INFO] [stderr] Downloaded anyhow v1.0.28 [INFO] [stderr] Downloaded once_cell v1.3.1 [INFO] [stderr] Downloaded structopt v0.3.13 [INFO] [stderr] Downloaded async-compression v0.3.2 [INFO] [stderr] Downloaded pin-project v0.4.9 [INFO] [stderr] Downloaded thiserror v1.0.15 [INFO] [stderr] Downloaded pin-project-internal v0.4.9 [INFO] [stderr] Downloaded thiserror-impl v1.0.15 [INFO] [stderr] Downloaded proc-macro-error v1.0.2 [INFO] [stderr] Downloaded brotli-decompressor v2.3.0 [INFO] [stderr] Downloaded tokio v0.2.18 [INFO] [stderr] Downloaded libc v0.2.69 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 56cd374ee09eb7c2ce632c437c18019b58d2deca8dfa80e848dc69b18e3c9f21 [INFO] running `Command { std: "docker" "start" "-a" "56cd374ee09eb7c2ce632c437c18019b58d2deca8dfa80e848dc69b18e3c9f21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "56cd374ee09eb7c2ce632c437c18019b58d2deca8dfa80e848dc69b18e3c9f21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56cd374ee09eb7c2ce632c437c18019b58d2deca8dfa80e848dc69b18e3c9f21", kill_on_drop: false }` [INFO] [stdout] 56cd374ee09eb7c2ce632c437c18019b58d2deca8dfa80e848dc69b18e3c9f21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d216101183ecf1a63ebb36ab6b7dd1dd86d6cb277f76e11f8ea3b5412eb533aa [INFO] running `Command { std: "docker" "start" "-a" "d216101183ecf1a63ebb36ab6b7dd1dd86d6cb277f76e11f8ea3b5412eb533aa", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking futures-core v0.3.4 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Checking bytes v0.5.4 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Checking untrusted v0.7.0 [INFO] [stderr] Checking futures-sink v0.3.4 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking pin-project-lite v0.1.4 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Checking arc-swap v0.4.5 [INFO] [stderr] Checking futures-channel v0.3.4 [INFO] [stderr] Checking futures-task v0.3.4 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking futures-io v0.3.4 [INFO] [stderr] Checking pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking smallvec v1.3.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.2 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Checking alloc-no-stdlib v2.0.1 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Compiling proc-macro-error v1.0.2 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking alloc-stdlib v0.2.1 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Checking try-lock v0.2.2 [INFO] [stderr] Checking miniz_oxide v0.3.6 [INFO] [stderr] Checking brotli-decompressor v2.3.0 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking unicode-normalization v0.1.12 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling encoding_rs v0.8.22 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Compiling ring v0.16.12 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking tower-service v0.3.0 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking flate2 v1.0.14 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking dtoa v0.4.5 [INFO] [stderr] Compiling anyhow v1.0.28 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Checking brotli v3.3.0 [INFO] [stderr] Checking once_cell v1.3.1 [INFO] [stderr] Checking sha1 v0.6.0 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking fern v0.6.0 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking webpki v0.21.2 [INFO] [stderr] Checking sct v0.6.0 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Checking ct-logs v0.6.0 [INFO] [stderr] Checking rustls v0.17.0 [INFO] [stderr] Checking webpki-roots v0.18.0 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling pin-project-internal v0.4.9 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling thiserror-impl v1.0.15 [INFO] [stderr] Checking async-compression v0.3.2 [INFO] [stderr] Checking futures-util v0.3.4 [INFO] [stderr] Checking tokio v0.2.18 [INFO] [stderr] Compiling structopt-derive v0.4.6 [INFO] [stderr] Checking thiserror v1.0.15 [INFO] [stderr] Checking pin-project v0.4.9 [INFO] [stderr] Checking rustls-native-certs v0.3.0 [INFO] [stderr] Checking structopt v0.3.13 [INFO] [stderr] Checking futures-executor v0.3.4 [INFO] [stderr] Checking futures v0.3.4 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-rustls v0.13.0 [INFO] [stderr] Checking tokio-socks v0.2.2 [INFO] [stderr] Checking h2 v0.2.4 [INFO] [stderr] Checking hyper v0.13.5 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking serde_json v1.0.51 [INFO] [stderr] Checking hyper-rustls v0.20.0 [INFO] [stderr] Checking reqwest v0.10.4 [INFO] [stderr] Checking lone-ranger v1.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/fetch.rs:52:21 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(Debug, Deserialize, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/fetch.rs:52:21 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(Debug, Deserialize, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `language`, `rate`, and `svote` are never read [INFO] [stdout] --> src/fetch.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 53 | struct SubInfo { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 54 | surl: String, [INFO] [stdout] 55 | language: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 56 | rate: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 57 | svote: i64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SubInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/fetch.rs:52:21 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(Debug, Deserialize, Clone)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_SubInfo` and up 3 bodies [INFO] [stdout] 53 | struct SubInfo { [INFO] [stdout] | ------- `SubInfo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `language`, `rate`, and `svote` are never read [INFO] [stdout] --> src/fetch.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 53 | struct SubInfo { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 54 | surl: String, [INFO] [stdout] 55 | language: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 56 | rate: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 57 | svote: i64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SubInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/fetch.rs:52:21 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(Debug, Deserialize, Clone)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_SubInfo` and up 3 bodies [INFO] [stdout] 53 | struct SubInfo { [INFO] [stdout] | ------- `SubInfo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.69s [INFO] running `Command { std: "docker" "inspect" "d216101183ecf1a63ebb36ab6b7dd1dd86d6cb277f76e11f8ea3b5412eb533aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d216101183ecf1a63ebb36ab6b7dd1dd86d6cb277f76e11f8ea3b5412eb533aa", kill_on_drop: false }` [INFO] [stdout] d216101183ecf1a63ebb36ab6b7dd1dd86d6cb277f76e11f8ea3b5412eb533aa