[INFO] fetching crate lone-ranger 1.1.3... [INFO] checking lone-ranger-1.1.3 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate lone-ranger 1.1.3 into /workspace/builds/worker-7-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate lone-ranger 1.1.3 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2c3b6c7b6a6da9ecd69398ca915a6df2373a288b48096ed665edb232f0988cee [INFO] running `Command { std: "docker" "start" "-a" "2c3b6c7b6a6da9ecd69398ca915a6df2373a288b48096ed665edb232f0988cee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2c3b6c7b6a6da9ecd69398ca915a6df2373a288b48096ed665edb232f0988cee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c3b6c7b6a6da9ecd69398ca915a6df2373a288b48096ed665edb232f0988cee", kill_on_drop: false }` [INFO] [stdout] 2c3b6c7b6a6da9ecd69398ca915a6df2373a288b48096ed665edb232f0988cee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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 -Dunmustuse_in_always_ok" "-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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3800bf1f4b6a4294235addd6f7dff4926f020a0def6b8d575a43c711e0c6e123 [INFO] running `Command { std: "docker" "start" "-a" "3800bf1f4b6a4294235addd6f7dff4926f020a0def6b8d575a43c711e0c6e123", 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 log v0.4.8 [INFO] [stderr] Compiling version_check v0.9.1 [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] Checking futures-sink v0.3.4 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Checking untrusted v0.7.0 [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 itoa v0.4.5 [INFO] [stderr] Checking futures-task v0.3.4 [INFO] [stderr] Checking pin-utils v0.1.0-alpha.4 [INFO] [stderr] Checking futures-io v0.3.4 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking alloc-no-stdlib v2.0.1 [INFO] [stderr] Checking smallvec v1.3.0 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.2 [INFO] [stderr] Compiling proc-macro-error v1.0.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Checking try-lock v0.2.2 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Checking alloc-stdlib v0.2.1 [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 quote v1.0.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking unicode-normalization v0.1.12 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking brotli-decompressor v2.3.0 [INFO] [stderr] Checking miniz_oxide v0.3.6 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking tower-service v0.3.0 [INFO] [stderr] Compiling encoding_rs v0.8.22 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking flate2 v1.0.14 [INFO] [stderr] Compiling anyhow v1.0.28 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking dtoa v0.4.5 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Compiling ring v0.16.12 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Checking once_cell v1.3.1 [INFO] [stderr] Checking sha1 v0.6.0 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking fern v0.6.0 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking brotli v3.3.0 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Checking webpki v0.21.2 [INFO] [stderr] Checking sct v0.6.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 tokio v0.2.18 [INFO] [stderr] Checking thiserror v1.0.15 [INFO] [stderr] Compiling structopt-derive v0.4.6 [INFO] [stderr] Checking futures-util v0.3.4 [INFO] [stderr] Checking pin-project v0.4.9 [INFO] [stderr] Checking async-compression v0.3.2 [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_json v1.0.51 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [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] error: this type will no longer be must used: Result [INFO] [stdout] --> src/options.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / /// 电影文件目录或所在文件夹 [INFO] [stdout] 19 | | #[structopt(default_value = ".")] [INFO] [stdout] 20 | | pub path: PathBuf, [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [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] error: could not compile `lone-ranger` (bin "ranger") due to 1 previous error; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/options.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / /// 电影文件目录或所在文件夹 [INFO] [stdout] 19 | | #[structopt(default_value = ".")] [INFO] [stdout] 20 | | pub path: PathBuf, [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lone-ranger` (bin "ranger" test) due to 1 previous error; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3800bf1f4b6a4294235addd6f7dff4926f020a0def6b8d575a43c711e0c6e123", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3800bf1f4b6a4294235addd6f7dff4926f020a0def6b8d575a43c711e0c6e123", kill_on_drop: false }` [INFO] [stdout] 3800bf1f4b6a4294235addd6f7dff4926f020a0def6b8d575a43c711e0c6e123