[INFO] updating cached repository https://github.com/rust-corpus/top-crates [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3022cc1d58fbee3d7cb2dc9fe40cd33d8ed90e6e [INFO] testing rust-corpus/top-crates against 1.63.0 for beta-1.64-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frust-corpus%2Ftop-crates" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rust-corpus/top-crates on toolchain 1.63.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.63.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rust-corpus/top-crates [INFO] finished tweaking git repo https://github.com/rust-corpus/top-crates [INFO] tweaked toml for git repo https://github.com/rust-corpus/top-crates written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/rust-corpus/top-crates already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.63.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+1.63.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 996dd861a640d6409faeaa436481da406887fdc59ef69a491187beffc66d6e32 [INFO] running `Command { std: "docker" "start" "-a" "996dd861a640d6409faeaa436481da406887fdc59ef69a491187beffc66d6e32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "996dd861a640d6409faeaa436481da406887fdc59ef69a491187beffc66d6e32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "996dd861a640d6409faeaa436481da406887fdc59ef69a491187beffc66d6e32", kill_on_drop: false }` [INFO] [stdout] 996dd861a640d6409faeaa436481da406887fdc59ef69a491187beffc66d6e32 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+1.63.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] adf2906b893e5f7f267cc2ee59499620f6db5d2cfb77dae0bc086a4f339fffdb [INFO] running `Command { std: "docker" "start" "-a" "adf2906b893e5f7f267cc2ee59499620f6db5d2cfb77dae0bc086a4f339fffdb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.45 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling serde v1.0.82 [INFO] [stderr] Compiling cc v1.0.27 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling rand_core v0.3.0 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling futures v0.1.25 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling byteorder v1.2.7 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling arrayvec v0.4.9 [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Compiling slab v0.4.1 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling autocfg v0.1.1 [INFO] [stderr] Compiling unicode-normalization v0.1.7 [INFO] [stderr] Compiling openssl v0.10.16 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling failure_derive v0.1.3 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Compiling crc32fast v1.1.2 [INFO] [stderr] Compiling rustc-demangle v0.1.11 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling httparse v1.3.3 [INFO] [stderr] Compiling native-tls v0.2.2 [INFO] [stderr] Compiling indexmap v1.0.2 [INFO] [stderr] Compiling string v0.1.2 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling encoding_rs v0.8.13 [INFO] [stderr] Compiling same-file v1.0.4 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling dtoa v0.4.3 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling remove_dir_all v0.5.1 [INFO] [stderr] Compiling hex v0.3.2 [INFO] [stderr] Compiling safemem v0.3.0 [INFO] [stderr] Compiling termcolor v1.0.4 [INFO] [stderr] Compiling adler32 v1.0.3 [INFO] [stderr] Compiling shell-escape v0.1.4 [INFO] [stderr] Compiling rustc-workspace-hack v1.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.5.0 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling home v0.3.3 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling crossbeam-utils v0.6.3 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling rand_core v0.2.2 [INFO] [stderr] Compiling rand_xorshift v0.1.0 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling memchr v2.1.2 [INFO] [stderr] Compiling unicase v2.2.0 [INFO] [stderr] Compiling owning_ref v0.4.0 [INFO] [stderr] Compiling backtrace v0.3.13 [INFO] [stderr] Compiling regex-syntax v0.6.4 [INFO] [stderr] Compiling openssl-sys v0.9.40 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling curl-sys v0.4.15 [INFO] [stderr] Compiling backtrace-sys v0.1.26 [INFO] [stderr] Compiling libssh2-sys v0.2.11 [INFO] [stderr] Compiling libgit2-sys v0.7.11 [INFO] [stderr] Compiling miniz-sys v0.1.11 [INFO] [stderr] Compiling tokio-executor v0.1.5 [INFO] [stderr] Compiling humantime v1.2.0 [INFO] [stderr] Compiling walkdir v2.2.7 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling want v0.0.6 [INFO] [stderr] Compiling smallvec v0.6.7 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling tokio-current-thread v0.1.4 [INFO] [stderr] Compiling tokio-timer v0.2.8 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling num_cpus v1.9.0 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling socket2 v0.3.8 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling time v0.1.41 [INFO] [stderr] Compiling filetime v0.2.4 [INFO] [stderr] Compiling jobserver v0.1.12 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling crossbeam-epoch v0.7.0 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling libflate v0.1.19 [INFO] [stderr] Compiling phf_shared v0.7.23 [INFO] [stderr] Compiling bytes v0.4.11 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling tar v0.4.20 [INFO] [stderr] Compiling mime v0.3.12 [INFO] [stderr] Compiling uuid v0.7.1 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling syn v0.15.23 [INFO] [stderr] Compiling crossbeam-deque v0.6.3 [INFO] [stderr] Compiling flate2 v1.0.6 [INFO] [stderr] Compiling phf_generator v0.7.23 [INFO] [stderr] Compiling phf v0.7.23 [INFO] [stderr] Compiling tokio-io v0.1.10 [INFO] [stderr] Compiling http v0.1.14 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling serde_json v1.0.33 [INFO] [stderr] Compiling serde_urlencoded v0.5.4 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling serde_ignored v0.0.4 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling phf_codegen v0.7.23 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling crypto-hash v0.3.1 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Compiling h2 v0.1.14 [INFO] [stderr] Compiling mime_guess v2.0.0-alpha.6 [INFO] [stderr] Compiling globset v0.4.2 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling rand_chacha v0.1.0 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling rand v0.6.1 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling serde_derive v1.0.82 [INFO] [stderr] Compiling curl v0.4.19 [INFO] [stderr] Compiling parking_lot v0.6.4 [INFO] [stderr] Compiling failure v0.1.3 [INFO] [stderr] Compiling tokio-reactor v0.1.7 [INFO] [stderr] Compiling opener v0.3.2 [INFO] [stderr] Compiling tokio-uds v0.2.4 [INFO] [stderr] Compiling tokio-tcp v0.1.2 [INFO] [stderr] Compiling tokio-udp v0.1.3 [INFO] [stderr] Compiling tokio-threadpool v0.1.9 [INFO] [stderr] Compiling tempfile v3.0.5 [INFO] [stderr] Compiling parking_lot v0.7.0 [INFO] [stderr] Compiling crossbeam-channel v0.3.4 [INFO] [stderr] Compiling tokio-fs v0.1.4 [INFO] [stderr] Compiling tokio v0.1.13 [INFO] [stderr] Compiling ignore v0.4.5 [INFO] [stderr] Compiling hyper v0.12.19 [INFO] [stderr] Compiling rustfix v0.4.4 [INFO] [stderr] Compiling crates-io v0.19.0 [INFO] [stderr] Compiling hyper-tls v0.3.1 [INFO] [stderr] Compiling reqwest v0.9.5 [INFO] [stderr] Compiling git2 v0.7.5 [INFO] [stderr] Compiling git2-curl v0.8.2 [INFO] [stderr] Compiling cargo v0.31.0 [INFO] [stderr] Compiling top-crates v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/main.rs:11:44 [INFO] [stdout] | [INFO] [stdout] 11 | use std::collections::{BTreeMap, BTreeSet, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cargo::core::registry::PackageRegistry` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use cargo::core::registry::PackageRegistry; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Method`, `self` [INFO] [stdout] --> src/main.rs:18:29 [INFO] [stdout] | [INFO] [stdout] 18 | use cargo::core::resolver::{self, Method, Resolve}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `krate` is never read [INFO] [stdout] --> src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 32 | struct OneCrate { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 33 | #[serde(rename="crate")] [INFO] [stdout] 34 | krate: Crate, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `OneCrate` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `blacklist` and `additions` are never read [INFO] [stdout] --> src/main.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 71 | struct Modifications { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 72 | #[serde(default)] [INFO] [stdout] 73 | blacklist: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 74 | #[serde(default)] [INFO] [stdout] 75 | additions: BTreeSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Modifications` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `String` and `Explicit` are never constructed [INFO] [stdout] --> src/main.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 96 | enum DependencySpec { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 97 | #[serde(serialize_with = "exact_version")] [INFO] [stdout] 98 | String(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 99 | #[serde(rename_all = "kebab-case")] [INFO] [stdout] 100 | / Explicit { [INFO] [stdout] 101 | | #[serde(serialize_with = "exact_version")] [INFO] [stdout] 102 | | version: String, [INFO] [stdout] 103 | | #[serde(skip_serializing_if = "Vec::is_empty")] [INFO] [stdout] ... | [INFO] [stdout] 106 | | default_features: bool, [INFO] [stdout] 107 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `DependencySpec` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `version` is never used [INFO] [stdout] --> src/main.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | fn version(&self) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `blacklisted` is never used [INFO] [stdout] --> src/main.rs:131:8 [INFO] [stdout] | [INFO] [stdout] 131 | fn blacklisted(&self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unique_latest_crates` is never used [INFO] [stdout] --> src/main.rs:178:4 [INFO] [stdout] | [INFO] [stdout] 178 | fn unique_latest_crates(resolve: Resolve) -> BTreeMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fill_playground_metadata_features` is never used [INFO] [stdout] --> src/main.rs:217:4 [INFO] [stdout] | [INFO] [stdout] 217 | fn fill_playground_metadata_features(dep: &mut DependencySpec, pkg: &Package) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_manifest` is never used [INFO] [stdout] --> src/main.rs:285:4 [INFO] [stdout] | [INFO] [stdout] 285 | fn write_manifest(manifest: TomlManifest, path: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4m 14s [INFO] running `Command { std: "docker" "inspect" "adf2906b893e5f7f267cc2ee59499620f6db5d2cfb77dae0bc086a4f339fffdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "adf2906b893e5f7f267cc2ee59499620f6db5d2cfb77dae0bc086a4f339fffdb", kill_on_drop: false }` [INFO] [stdout] adf2906b893e5f7f267cc2ee59499620f6db5d2cfb77dae0bc086a4f339fffdb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+1.63.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 99802e48d28d568a71901bc9c817be9bf93bf680ad9ece231e57e45e7942d033 [INFO] running `Command { std: "docker" "start" "-a" "99802e48d28d568a71901bc9c817be9bf93bf680ad9ece231e57e45e7942d033", kill_on_drop: false }` [INFO] [stderr] Compiling top-crates v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/main.rs:11:44 [INFO] [stdout] | [INFO] [stdout] 11 | use std::collections::{BTreeMap, BTreeSet, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cargo::core::registry::PackageRegistry` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use cargo::core::registry::PackageRegistry; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Method`, `self` [INFO] [stdout] --> src/main.rs:18:29 [INFO] [stdout] | [INFO] [stdout] 18 | use cargo::core::resolver::{self, Method, Resolve}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `krate` is never read [INFO] [stdout] --> src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 32 | struct OneCrate { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 33 | #[serde(rename="crate")] [INFO] [stdout] 34 | krate: Crate, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `OneCrate` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `blacklist` and `additions` are never read [INFO] [stdout] --> src/main.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 71 | struct Modifications { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 72 | #[serde(default)] [INFO] [stdout] 73 | blacklist: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 74 | #[serde(default)] [INFO] [stdout] 75 | additions: BTreeSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Modifications` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `String` and `Explicit` are never constructed [INFO] [stdout] --> src/main.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 96 | enum DependencySpec { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 97 | #[serde(serialize_with = "exact_version")] [INFO] [stdout] 98 | String(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 99 | #[serde(rename_all = "kebab-case")] [INFO] [stdout] 100 | / Explicit { [INFO] [stdout] 101 | | #[serde(serialize_with = "exact_version")] [INFO] [stdout] 102 | | version: String, [INFO] [stdout] 103 | | #[serde(skip_serializing_if = "Vec::is_empty")] [INFO] [stdout] ... | [INFO] [stdout] 106 | | default_features: bool, [INFO] [stdout] 107 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `DependencySpec` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `version` is never used [INFO] [stdout] --> src/main.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | fn version(&self) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `blacklisted` is never used [INFO] [stdout] --> src/main.rs:131:8 [INFO] [stdout] | [INFO] [stdout] 131 | fn blacklisted(&self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unique_latest_crates` is never used [INFO] [stdout] --> src/main.rs:178:4 [INFO] [stdout] | [INFO] [stdout] 178 | fn unique_latest_crates(resolve: Resolve) -> BTreeMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fill_playground_metadata_features` is never used [INFO] [stdout] --> src/main.rs:217:4 [INFO] [stdout] | [INFO] [stdout] 217 | fn fill_playground_metadata_features(dep: &mut DependencySpec, pkg: &Package) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_manifest` is never used [INFO] [stdout] --> src/main.rs:285:4 [INFO] [stdout] | [INFO] [stdout] 285 | fn write_manifest(manifest: TomlManifest, path: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 5.72s [INFO] running `Command { std: "docker" "inspect" "99802e48d28d568a71901bc9c817be9bf93bf680ad9ece231e57e45e7942d033", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99802e48d28d568a71901bc9c817be9bf93bf680ad9ece231e57e45e7942d033", kill_on_drop: false }` [INFO] [stdout] 99802e48d28d568a71901bc9c817be9bf93bf680ad9ece231e57e45e7942d033 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+1.63.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 548e8ab48cd6edf84543de21cceab16ad546b2b64bc352a23bd8f21c3f003845 [INFO] running `Command { std: "docker" "start" "-a" "548e8ab48cd6edf84543de21cceab16ad546b2b64bc352a23bd8f21c3f003845", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `HashSet` [INFO] [stderr] --> src/main.rs:11:44 [INFO] [stderr] | [INFO] [stderr] 11 | use std::collections::{BTreeMap, BTreeSet, HashSet}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `cargo::core::registry::PackageRegistry` [INFO] [stderr] --> src/main.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | use cargo::core::registry::PackageRegistry; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Method`, `self` [INFO] [stderr] --> src/main.rs:18:29 [INFO] [stderr] | [INFO] [stderr] 18 | use cargo::core::resolver::{self, Method, Resolve}; [INFO] [stderr] | ^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `krate` is never read [INFO] [stderr] --> src/main.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 32 | struct OneCrate { [INFO] [stderr] | -------- field in this struct [INFO] [stderr] 33 | #[serde(rename="crate")] [INFO] [stderr] 34 | krate: Crate, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] = note: `OneCrate` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `blacklist` and `additions` are never read [INFO] [stderr] --> src/main.rs:73:5 [INFO] [stderr] | [INFO] [stderr] 71 | struct Modifications { [INFO] [stderr] | ------------- fields in this struct [INFO] [stderr] 72 | #[serde(default)] [INFO] [stderr] 73 | blacklist: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 74 | #[serde(default)] [INFO] [stderr] 75 | additions: BTreeSet, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Modifications` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: variants `String` and `Explicit` are never constructed [INFO] [stderr] --> src/main.rs:98:5 [INFO] [stderr] | [INFO] [stderr] 96 | enum DependencySpec { [INFO] [stderr] | -------------- variants in this enum [INFO] [stderr] 97 | #[serde(serialize_with = "exact_version")] [INFO] [stderr] 98 | String(String), [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 99 | #[serde(rename_all = "kebab-case")] [INFO] [stderr] 100 | / Explicit { [INFO] [stderr] 101 | | #[serde(serialize_with = "exact_version")] [INFO] [stderr] 102 | | version: String, [INFO] [stderr] 103 | | #[serde(skip_serializing_if = "Vec::is_empty")] [INFO] [stderr] ... | [INFO] [stderr] 106 | | default_features: bool, [INFO] [stderr] 107 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: `DependencySpec` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated function `version` is never used [INFO] [stderr] --> src/main.rs:111:8 [INFO] [stderr] | [INFO] [stderr] 111 | fn version(&self) -> String { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `blacklisted` is never used [INFO] [stderr] --> src/main.rs:131:8 [INFO] [stderr] | [INFO] [stderr] 131 | fn blacklisted(&self, name: &str) -> bool { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `unique_latest_crates` is never used [INFO] [stderr] --> src/main.rs:178:4 [INFO] [stderr] | [INFO] [stderr] 178 | fn unique_latest_crates(resolve: Resolve) -> BTreeMap { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `fill_playground_metadata_features` is never used [INFO] [stderr] --> src/main.rs:217:4 [INFO] [stderr] | [INFO] [stderr] 217 | fn fill_playground_metadata_features(dep: &mut DependencySpec, pkg: &Package) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `write_manifest` is never used [INFO] [stderr] --> src/main.rs:285:4 [INFO] [stderr] | [INFO] [stderr] 285 | fn write_manifest(manifest: TomlManifest, path: &str) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `top-crates` (bin "top-crates" test) generated 11 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.26s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/top_crates-642aa2c6c728e88b) [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" "548e8ab48cd6edf84543de21cceab16ad546b2b64bc352a23bd8f21c3f003845", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "548e8ab48cd6edf84543de21cceab16ad546b2b64bc352a23bd8f21c3f003845", kill_on_drop: false }` [INFO] [stdout] 548e8ab48cd6edf84543de21cceab16ad546b2b64bc352a23bd8f21c3f003845