[INFO] cloning repository https://github.com/nikomatsakis/rust-metrics [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nikomatsakis/rust-metrics" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnikomatsakis%2Frust-metrics", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnikomatsakis%2Frust-metrics'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3e3250d73c09097d66d52e5af752162150628c8f [INFO] testing nikomatsakis/rust-metrics against 1.73.0 for beta-1.74-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnikomatsakis%2Frust-metrics" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nikomatsakis/rust-metrics on toolchain 1.73.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.73.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nikomatsakis/rust-metrics [INFO] finished tweaking git repo https://github.com/nikomatsakis/rust-metrics [INFO] tweaked toml for git repo https://github.com/nikomatsakis/rust-metrics written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/nikomatsakis/rust-metrics 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" "+1.73.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_ignored v0.1.7 [INFO] [stderr] Downloaded stable-eyre v0.2.2 [INFO] [stderr] Downloaded graphql_query_derive v0.10.0 [INFO] [stderr] Downloaded graphql_client v0.10.0 [INFO] [stderr] Downloaded rust-playground-top-crates v0.1.7 [INFO] [stderr] Downloaded crates-io v0.34.0 [INFO] [stderr] Downloaded rustfix v0.6.1 [INFO] [stderr] Downloaded git2-curl v0.15.0 [INFO] [stderr] Downloaded cargo-util v0.2.2 [INFO] [stderr] Downloaded octocrab v0.12.0 [INFO] [stderr] Downloaded graphql_client_codegen v0.10.0 [INFO] [stderr] Downloaded object v0.30.1 [INFO] [stderr] Downloaded cargo v0.65.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+1.73.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0a65e39f1e1541002915fa62947d0cd7b4bb878d0f6ffc5930d23c32a01c8bc9 [INFO] running `Command { std: "docker" "start" "-a" "0a65e39f1e1541002915fa62947d0cd7b4bb878d0f6ffc5930d23c32a01c8bc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0a65e39f1e1541002915fa62947d0cd7b4bb878d0f6ffc5930d23c32a01c8bc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a65e39f1e1541002915fa62947d0cd7b4bb878d0f6ffc5930d23c32a01c8bc9", kill_on_drop: false }` [INFO] [stdout] 0a65e39f1e1541002915fa62947d0cd7b4bb878d0f6ffc5930d23c32a01c8bc9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+1.73.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed3c05d128f5938f18df1dfb02dfa6a99bf6ac55ee415e507b92799726925939 [INFO] running `Command { std: "docker" "start" "-a" "ed3c05d128f5938f18df1dfb02dfa6a99bf6ac55ee415e507b92799726925939", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling proc-macro2 v1.0.49 [INFO] [stderr] Compiling quote v1.0.23 [INFO] [stderr] Compiling unicode-ident v1.0.6 [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling serde_derive v1.0.152 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling serde v1.0.152 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling once_cell v1.17.0 [INFO] [stderr] Compiling itoa v1.0.5 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling futures-core v0.3.25 [INFO] [stderr] Compiling ryu v1.0.12 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling parking_lot_core v0.9.5 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling futures-task v0.3.25 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling futures-channel v0.3.25 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling openssl v0.10.45 [INFO] [stderr] Compiling gimli v0.27.0 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling futures-sink v0.3.25 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling tokio v1.24.1 [INFO] [stderr] Compiling futures-util v0.3.25 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling futures-io v0.3.25 [INFO] [stderr] Compiling serde_json v1.0.91 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling jobserver v0.1.25 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling cc v1.0.78 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling mio v0.8.5 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling anyhow v1.0.68 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling object v0.30.1 [INFO] [stderr] Compiling filetime v0.2.19 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling curl v0.4.44 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling ascii v0.9.3 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling addr2line v0.19.0 [INFO] [stderr] Compiling tar v0.4.38 [INFO] [stderr] Compiling combine v3.8.1 [INFO] [stderr] Compiling vte_generate_state_changes v0.1.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling openssl-sys v0.9.80 [INFO] [stderr] Compiling libz-sys v1.1.8 [INFO] [stderr] Compiling libnghttp2-sys v0.1.7+1.45.0 [INFO] [stderr] Compiling libssh2-sys v0.2.23 [INFO] [stderr] Compiling curl-sys v0.4.59+curl-7.86.0 [INFO] [stderr] Compiling backtrace v0.3.67 [INFO] [stderr] Compiling libgit2-sys v0.13.4+1.4.2 [INFO] [stderr] Compiling bitmaps v2.1.0 [INFO] [stderr] Compiling bstr v1.1.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling flate2 v1.0.25 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling im-rc v15.1.0 [INFO] [stderr] Compiling os_str_bytes v6.4.1 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling hex v0.3.2 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling utf8parse v0.2.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling fastrand v1.8.0 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.14 [INFO] [stderr] Compiling semver v1.0.16 [INFO] [stderr] Compiling regex v1.7.1 [INFO] [stderr] Compiling unicode-segmentation v1.10.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling cargo v0.65.0 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling rand_xoshiro v0.6.0 [INFO] [stderr] Compiling sized-chunks v0.6.5 [INFO] [stderr] Compiling kstring v2.0.0 [INFO] [stderr] Compiling vte v0.10.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling combine v4.6.6 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling ipnet v2.7.1 [INFO] [stderr] Compiling textwrap v0.16.0 [INFO] [stderr] Compiling shell-escape v0.1.5 [INFO] [stderr] Compiling async-trait v0.1.61 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling hyperx v1.4.0 [INFO] [stderr] Compiling globset v0.4.10 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling eyre v0.6.8 [INFO] [stderr] Compiling strip-ansi-escapes v0.1.1 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling ignore v0.4.19 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling bytesize v1.1.0 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling home v0.5.4 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling pathdiff v0.2.1 [INFO] [stderr] Compiling iana-time-zone v0.1.53 [INFO] [stderr] Compiling rustc-workspace-hack v1.0.0 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling arc-swap v1.6.0 [INFO] [stderr] Compiling stable-eyre v0.2.2 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling futures-macro v0.3.25 [INFO] [stderr] Compiling tokio-macros v1.8.2 [INFO] [stderr] Compiling clap_derive v3.2.18 [INFO] [stderr] Compiling snafu-derive v0.6.10 [INFO] [stderr] Compiling fehler-macros v1.0.0 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling graphql-parser v0.2.3 [INFO] [stderr] Compiling fehler v1.0.0 [INFO] [stderr] Compiling snafu v0.6.10 [INFO] [stderr] Compiling clap v3.2.23 [INFO] [stderr] Compiling crypto-hash v0.3.4 [INFO] [stderr] Compiling cargo-util v0.2.2 [INFO] [stderr] Compiling futures-executor v0.3.25 [INFO] [stderr] Compiling futures v0.3.25 [INFO] [stderr] Compiling tokio-util v0.7.4 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.3.15 [INFO] [stderr] Compiling graphql-introspection-query v0.2.0 [INFO] [stderr] Compiling url v2.3.0 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling toml_edit v0.14.4 [INFO] [stderr] Compiling cargo-platform v0.1.2 [INFO] [stderr] Compiling serde_ignored v0.1.7 [INFO] [stderr] Compiling os_info v3.5.1 [INFO] [stderr] Compiling chrono v0.4.23 [INFO] [stderr] Compiling serde_path_to_error v0.1.9 [INFO] [stderr] Compiling toml v0.5.10 [INFO] [stderr] Compiling opener v0.5.0 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling graphql_client_codegen v0.10.0 [INFO] [stderr] Compiling git2 v0.14.4 [INFO] [stderr] Compiling rustfix v0.6.1 [INFO] [stderr] Compiling crates-io v0.34.0 [INFO] [stderr] Compiling hyper v0.14.23 [INFO] [stderr] Compiling graphql_query_derive v0.10.0 [INFO] [stderr] Compiling git2-curl v0.15.0 [INFO] [stderr] Compiling graphql_client v0.10.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.13 [INFO] [stderr] Compiling octocrab v0.12.0 [INFO] [stderr] Compiling rust-playground-top-crates v0.1.7 [INFO] [stderr] Compiling optopodi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `name` and `id` are never read [INFO] [stdout] --> src/report/top_crates.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub(super) struct TopCrateInfo { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 17 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | version: semver::Version, [INFO] [stdout] 19 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `TopCrateInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/report/top_crates.rs:85:45 [INFO] [stdout] | [INFO] [stdout] 85 | let data = std::fs::read_to_string(&path.clone()) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` 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] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 18s [INFO] running `Command { std: "docker" "inspect" "ed3c05d128f5938f18df1dfb02dfa6a99bf6ac55ee415e507b92799726925939", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed3c05d128f5938f18df1dfb02dfa6a99bf6ac55ee415e507b92799726925939", kill_on_drop: false }` [INFO] [stdout] ed3c05d128f5938f18df1dfb02dfa6a99bf6ac55ee415e507b92799726925939 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+1.73.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f9f01931418ee6d8584fcda229815d65455c26f14507eb6ec523404d72deebde [INFO] running `Command { std: "docker" "start" "-a" "f9f01931418ee6d8584fcda229815d65455c26f14507eb6ec523404d72deebde", kill_on_drop: false }` [INFO] [stderr] Compiling optopodi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `name` and `id` are never read [INFO] [stdout] --> src/report/top_crates.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub(super) struct TopCrateInfo { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 17 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | version: semver::Version, [INFO] [stdout] 19 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `TopCrateInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/report/top_crates.rs:85:45 [INFO] [stdout] | [INFO] [stdout] 85 | let data = std::fs::read_to_string(&path.clone()) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` 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] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.36s [INFO] running `Command { std: "docker" "inspect" "f9f01931418ee6d8584fcda229815d65455c26f14507eb6ec523404d72deebde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9f01931418ee6d8584fcda229815d65455c26f14507eb6ec523404d72deebde", kill_on_drop: false }` [INFO] [stdout] f9f01931418ee6d8584fcda229815d65455c26f14507eb6ec523404d72deebde [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+1.73.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 349457807cbd84b910896b299e72f6c054b0adabc330f9008773d6b906b3f670 [INFO] running `Command { std: "docker" "start" "-a" "349457807cbd84b910896b299e72f6c054b0adabc330f9008773d6b906b3f670", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: fields `name` and `id` are never read [INFO] [stderr] --> src/report/top_crates.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 16 | pub(super) struct TopCrateInfo { [INFO] [stderr] | ------------ fields in this struct [INFO] [stderr] 17 | name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 18 | version: semver::Version, [INFO] [stderr] 19 | id: String, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `TopCrateInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/report/top_crates.rs:85:45 [INFO] [stderr] | [INFO] [stderr] 85 | let data = std::fs::read_to_string(&path.clone()) [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `optopodi` (bin "optopodi" test) generated 2 warnings (run `cargo fix --bin "optopodi" --tests` to apply 1 suggestion) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/optopodi-72248f8011c34c4f) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "349457807cbd84b910896b299e72f6c054b0adabc330f9008773d6b906b3f670", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "349457807cbd84b910896b299e72f6c054b0adabc330f9008773d6b906b3f670", kill_on_drop: false }` [INFO] [stdout] 349457807cbd84b910896b299e72f6c054b0adabc330f9008773d6b906b3f670