[INFO] cloning repository https://github.com/Nemo157/cargo-build-tree [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Nemo157/cargo-build-tree" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNemo157%2Fcargo-build-tree", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNemo157%2Fcargo-build-tree'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1861cb088dbd55aa9b1e1cf02f7dd1155fc4228b [INFO] checking Nemo157/cargo-build-tree/1861cb088dbd55aa9b1e1cf02f7dd1155fc4228b against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNemo157%2Fcargo-build-tree" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Nemo157/cargo-build-tree on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Nemo157/cargo-build-tree [INFO] finished tweaking git repo https://github.com/Nemo157/cargo-build-tree [INFO] tweaked toml for git repo https://github.com/Nemo157/cargo-build-tree written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Nemo157/cargo-build-tree 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded codemap-diagnostic v0.1.1 [INFO] [stderr] Downloaded semver v0.10.0 [INFO] [stderr] Downloaded annotate-snippets v0.6.1 [INFO] [stderr] Downloaded codemap v0.1.3 [INFO] [stderr] Downloaded cargo_metadata v0.11.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 89d31f75223fd897134c68523ba402f59bac9c6d1097ab56e8ce431346df04e8 [INFO] running `Command { std: "docker" "start" "-a" "89d31f75223fd897134c68523ba402f59bac9c6d1097ab56e8ce431346df04e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "89d31f75223fd897134c68523ba402f59bac9c6d1097ab56e8ce431346df04e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89d31f75223fd897134c68523ba402f59bac9c6d1097ab56e8ce431346df04e8", kill_on_drop: false }` [INFO] [stdout] 89d31f75223fd897134c68523ba402f59bac9c6d1097ab56e8ce431346df04e8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 51f00def3c6ba791475b5509d225e7cfe6669e4b20b2aef74cf827ce9102e0dc [INFO] running `Command { std: "docker" "start" "-a" "51f00def3c6ba791475b5509d225e7cfe6669e4b20b2aef74cf827ce9102e0dc", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Checking futures-sink v0.3.5 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling anyhow v1.0.32 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Checking semver-parser v0.7.0 [INFO] [stderr] Checking arc-swap v0.4.7 [INFO] [stderr] Checking pin-project-lite v0.1.7 [INFO] [stderr] Checking codemap v0.1.3 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking futures-io v0.3.5 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Checking annotate-snippets v0.6.1 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking signal-hook-registry v1.2.1 [INFO] [stderr] Checking codemap-diagnostic v0.1.1 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Checking tokio v0.2.22 [INFO] [stderr] Checking pin-project v0.4.23 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking futures v0.3.5 [INFO] [stderr] Checking semver v0.10.0 [INFO] [stderr] Checking cargo_metadata v0.11.1 [INFO] [stderr] Checking cargo-build-tree v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `extern_crate_name`, `public`, and `noprelude` are never read [INFO] [stdout] --> src/unit_graph.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Dependency { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 6 | pub index: usize, [INFO] [stdout] 7 | pub extern_crate_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | pub public: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 9 | pub noprelude: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Dependency` 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: fields `crate_types`, `src_path`, `edition`, and `doctest` are never read [INFO] [stdout] --> src/unit_graph.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Target { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 21 | pub kind: Vec, [INFO] [stdout] 22 | pub crate_types: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 23 | pub name: String, [INFO] [stdout] 24 | pub src_path: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 25 | pub edition: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 26 | pub doctest: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Target` 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 `extern_crate_name`, `public`, and `noprelude` are never read [INFO] [stdout] --> src/unit_graph.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Dependency { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 6 | pub index: usize, [INFO] [stdout] 7 | pub extern_crate_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | pub public: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 9 | pub noprelude: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Dependency` 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: multiple fields are never read [INFO] [stdout] --> src/unit_graph.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Profile { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 31 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 32 | pub opt_level: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 33 | pub lto: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 34 | pub codegen_units: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 35 | pub debuginfo: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 36 | pub debug_assertions: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 37 | pub overflow_checks: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 38 | pub rpath: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 39 | pub incremental: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 40 | pub panic: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Profile` 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 `crate_types`, `src_path`, `edition`, and `doctest` are never read [INFO] [stdout] --> src/unit_graph.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Target { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 21 | pub kind: Vec, [INFO] [stdout] 22 | pub crate_types: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 23 | pub name: String, [INFO] [stdout] 24 | pub src_path: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 25 | pub edition: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 26 | pub doctest: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Target` 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 `profile` and `features` are never read [INFO] [stdout] --> src/unit_graph.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Unit { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 99 | pub profile: Profile, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub features: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Unit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `version` is never read [INFO] [stdout] --> src/unit_graph.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 129 | pub struct UnitGraph { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 130 | pub version: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UnitGraph` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/unit_graph.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Profile { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 31 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 32 | pub opt_level: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 33 | pub lto: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 34 | pub codegen_units: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 35 | pub debuginfo: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 36 | pub debug_assertions: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 37 | pub overflow_checks: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 38 | pub rpath: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 39 | pub incremental: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 40 | pub panic: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Profile` 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 `profile` and `features` are never read [INFO] [stdout] --> src/unit_graph.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Unit { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 99 | pub profile: Profile, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub features: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Unit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `version` is never read [INFO] [stdout] --> src/unit_graph.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 129 | pub struct UnitGraph { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 130 | pub version: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UnitGraph` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/print.rs:91:21 [INFO] [stdout] | [INFO] [stdout] 91 | writeln!(self.buffer, "{:1$} ⚠️ {2:?}: {3}", "", indent + 2, diagnostic.level, diagnostic.message); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/print.rs:91:21 [INFO] [stdout] | [INFO] [stdout] 91 | writeln!(self.buffer, "{:1$} ⚠️ {2:?}: {3}", "", indent + 2, diagnostic.level, diagnostic.message); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.95s [INFO] running `Command { std: "docker" "inspect" "51f00def3c6ba791475b5509d225e7cfe6669e4b20b2aef74cf827ce9102e0dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51f00def3c6ba791475b5509d225e7cfe6669e4b20b2aef74cf827ce9102e0dc", kill_on_drop: false }` [INFO] [stdout] 51f00def3c6ba791475b5509d225e7cfe6669e4b20b2aef74cf827ce9102e0dc