[INFO] cloning repository https://github.com/colin353/cbs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/colin353/cbs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcolin353%2Fcbs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcolin353%2Fcbs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ec12da8f80b4ced632100470436898fe835888f5 [INFO] building colin353/cbs against try#8b8eff55bd72abbb57167bc42222a7f91d41cb0d for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcolin353%2Fcbs" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/colin353/cbs on toolchain 8b8eff55bd72abbb57167bc42222a7f91d41cb0d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/colin353/cbs [INFO] finished tweaking git repo https://github.com/colin353/cbs [INFO] tweaked toml for git repo https://github.com/colin353/cbs written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/colin353/cbs 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" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 270fb351f7ee0775614046a581ce62362b563ea4eb35a9507defc1249625b31e [INFO] running `Command { std: "docker" "start" "-a" "270fb351f7ee0775614046a581ce62362b563ea4eb35a9507defc1249625b31e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "270fb351f7ee0775614046a581ce62362b563ea4eb35a9507defc1249625b31e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "270fb351f7ee0775614046a581ce62362b563ea4eb35a9507defc1249625b31e", kill_on_drop: false }` [INFO] [stdout] 270fb351f7ee0775614046a581ce62362b563ea4eb35a9507defc1249625b31e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9b6eb4892f78816748599b07fe613398709e173a5689065d7b6ebc1482d35bf9 [INFO] running `Command { std: "docker" "start" "-a" "9b6eb4892f78816748599b07fe613398709e173a5689065d7b6ebc1482d35bf9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.71 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling pkg-config v0.3.28 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling syn v2.0.43 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling openssl v0.10.62 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling http v0.2.11 [INFO] [stderr] Compiling openssl-sys v0.9.98 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling winnow v0.5.31 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling cpufeatures v0.2.11 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_spanned v0.6.5 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling toml_edit v0.21.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling pin-project v1.1.3 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling toml v0.8.8 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling hyper v0.13.10 [INFO] [stderr] Compiling hyper-tls v0.4.3 [INFO] [stderr] Compiling cbs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `download` is never used [INFO] [stdout] --> src/actions.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | async fn download(mut url: hyper::Uri, dest: std::path::PathBuf) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `run_process`, and `download` are never used [INFO] [stdout] --> src/actions.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl BuildActions { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 55 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn run_process, S>( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn download, P: Into>( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CargoResolver` is never constructed [INFO] [stdout] --> src/cargo.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct CargoResolver {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CargoResolver` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/cargo.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl CargoResolver { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 10 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_rust_files` is never used [INFO] [stdout] --> src/cargo.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn get_rust_files( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_lockstring` is never used [INFO] [stdout] --> src/cargo.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn parse_lockstring(l: &str) -> (&str, Vec<&str>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CargoToml` is never constructed [INFO] [stdout] --> src/cargo.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | struct CargoToml { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CargoToml` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_cargo_toml` is never used [INFO] [stdout] --> src/cargo.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn parse_cargo_toml( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `resolve_cfg_directive` is never used [INFO] [stdout] --> src/cargo.rs:158:4 [INFO] [stdout] | [INFO] [stdout] 158 | fn resolve_cfg_directive(context: &Context, directive: &str) -> std::io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/context.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Context { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 8 | pub fn new>( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn get_config(&self, key: BuildConfigKey) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn calculate_hash(&mut self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn with_target(&self, target: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn with_task(&self, task: &Task) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn get_locked_version(&self, target: &str) -> std::io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn log>(&self, message: S) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn scratch_dir(&self) -> std::path::PathBuf { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn working_directory(&self) -> std::path::PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_dir` is never used [INFO] [stdout] --> src/context.rs:135:4 [INFO] [stdout] | [INFO] [stdout] 135 | fn to_dir(name: &str) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Context` is never constructed [INFO] [stdout] --> src/core.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Context { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Context` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BuildConfigKey` is never used [INFO] [stdout] --> src/core.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum BuildConfigKey { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BuildConfigKey` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BuildActions` is never constructed [INFO] [stdout] --> src/core.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct BuildActions {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BuildActions` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Task` is never constructed [INFO] [stdout] --> src/core.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Task { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Task` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BuildResult` is never used [INFO] [stdout] --> src/core.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | pub enum BuildResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BuildResult` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/core.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl BuildOutput { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 57 | pub fn get(&self, key: u32) -> &[String] { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `noop` and `merged` are never used [INFO] [stdout] --> src/core.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl BuildResult { [INFO] [stdout] | ---------------- associated functions in this implementation [INFO] [stdout] 63 | pub fn noop() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn merged<'a, I: Iterator>(results: I) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/core.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 89 | pub dependencies: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 90 | pub build_plugin: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 91 | pub location: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 92 | pub sources: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 93 | pub build_dependencies: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 94 | pub kind: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 95 | pub extras: HashMap>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 96 | pub hash: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `dependencies`, `calculate_hash`, and `get` are never used [INFO] [stdout] --> src/core.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 103 | impl Config { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 104 | pub fn dependencies(&self) -> Vec<&str> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn calculate_hash(&mut self, context_hash: u64, deps_hash: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | pub fn get(&self, key: u32) -> &[String] { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TaskStatus` is never used [INFO] [stdout] --> src/core.rs:156:10 [INFO] [stdout] | [INFO] [stdout] 156 | pub enum TaskStatus { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TaskStatus` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `failure_stage`, and `status` are never used [INFO] [stdout] --> src/core.rs:164:12 [INFO] [stdout] | [INFO] [stdout] 163 | impl Task { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 164 | pub fn new(id: usize, target: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | pub fn failure_stage(&self) -> TaskStatus { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | pub fn status(&self) -> TaskStatus { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ResolverPlugin` is never used [INFO] [stdout] --> src/core.rs:204:11 [INFO] [stdout] | [INFO] [stdout] 204 | pub trait ResolverPlugin: std::fmt::Debug { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `BuildPlugin` is never used [INFO] [stdout] --> src/core.rs:209:11 [INFO] [stdout] | [INFO] [stdout] 209 | pub trait BuildPlugin: std::fmt::Debug { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FakeBuilder` is never constructed [INFO] [stdout] --> src/core.rs:219:12 [INFO] [stdout] | [INFO] [stdout] 219 | pub struct FakeBuilder {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FakeBuilder` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FakeResolver` is never constructed [INFO] [stdout] --> src/core.rs:233:12 [INFO] [stdout] | [INFO] [stdout] 233 | pub struct FakeResolver { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FakeResolver` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `with_configs` are never used [INFO] [stdout] --> src/core.rs:238:12 [INFO] [stdout] | [INFO] [stdout] 237 | impl FakeResolver { [INFO] [stdout] | ----------------- associated functions in this implementation [INFO] [stdout] 238 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | pub fn with_configs(configs: Vec<(&str, std::io::Result)>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FilesystemBuilder` is never constructed [INFO] [stdout] --> src/core.rs:272:12 [INFO] [stdout] | [INFO] [stdout] 272 | pub struct FilesystemBuilder {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FilesystemBuilder` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `target_shortname` is never used [INFO] [stdout] --> src/core.rs:301:8 [INFO] [stdout] | [INFO] [stdout] 301 | pub fn target_shortname(target: &str) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TRANSITIVE_PRODUCTS` is never used [INFO] [stdout] --> src/core.rs:47:15 [INFO] [stdout] | [INFO] [stdout] 47 | pub const TRANSITIVE_PRODUCTS: u32 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FEATURES` is never used [INFO] [stdout] --> src/core.rs:100:15 [INFO] [stdout] | [INFO] [stdout] 100 | pub const FEATURES: u32 = 0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Executor` is never constructed [INFO] [stdout] --> src/exec.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Executor { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Executor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TaskGraph` is never constructed [INFO] [stdout] --> src/exec.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct TaskGraph { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TaskGraph` 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 associated items are never used [INFO] [stdout] --> src/exec.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Executor { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 25 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn with_config>(config: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn add_task>(&self, target: T, rdep: Option) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn next_task(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn run(&self, roots: &[usize]) -> BuildResult { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn resolve(&self, task: Task) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | pub fn build(&self, mut task: Task) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 246 | pub fn mark_task_failure(&self, id: usize, result: BuildResult) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 271 | pub fn print_all_logs(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 280 | pub fn mark_build_success(&self, id: usize, result: BuildResult, hash: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_task`, `mark_task_failure`, and `mark_build_success` are never used [INFO] [stdout] --> src/exec.rs:289:12 [INFO] [stdout] | [INFO] [stdout] 288 | impl TaskGraph { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 289 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 297 | pub fn add_task>(&mut self, target: T, rdep: Option) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 319 | pub fn mark_task_failure(&mut self, id: usize, root_cause: usize, result: BuildResult) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 334 | pub fn mark_build_success(&mut self, id: usize, result: BuildResult, hash: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_plugin` is never used [INFO] [stdout] --> src/exec.rs:346:4 [INFO] [stdout] | [INFO] [stdout] 346 | fn load_plugin(path: &std::path::Path) -> Arc { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RustPlugin` is never constructed [INFO] [stdout] --> src/plugins.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct RustPlugin {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RustPlugin` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `build_library` and `build_binary` are never used [INFO] [stdout] --> src/plugins.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 13 | impl RustPlugin { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 14 | fn build_library( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | fn build_binary( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rust_name` is never used [INFO] [stdout] --> src/plugins.rs:277:4 [INFO] [stdout] | [INFO] [stdout] 277 | fn rust_name(target: &str) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RUST_LIBRARY` is never used [INFO] [stdout] --> src/plugins.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | pub const RUST_LIBRARY: &str = "rust_library"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RUST_BINARY` is never used [INFO] [stdout] --> src/plugins.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | pub const RUST_BINARY: &str = "rust_binary"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.90s [INFO] running `Command { std: "docker" "inspect" "9b6eb4892f78816748599b07fe613398709e173a5689065d7b6ebc1482d35bf9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b6eb4892f78816748599b07fe613398709e173a5689065d7b6ebc1482d35bf9", kill_on_drop: false }` [INFO] [stdout] 9b6eb4892f78816748599b07fe613398709e173a5689065d7b6ebc1482d35bf9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5c4ecc0a87f379605f36e02d3d4802080fecca4fe4e8a92c495980486f11cbda [INFO] running `Command { std: "docker" "start" "-a" "5c4ecc0a87f379605f36e02d3d4802080fecca4fe4e8a92c495980486f11cbda", kill_on_drop: false }` [INFO] [stderr] Compiling cbs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `scratch_dir` is never used [INFO] [stdout] --> src/context.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Context { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn scratch_dir(&self) -> std::path::PathBuf { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `start_time` is never read [INFO] [stdout] --> src/core.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Context { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 8 | pub start_time: std::time::Instant, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Context` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/core.rs:238:12 [INFO] [stdout] | [INFO] [stdout] 237 | impl FakeResolver { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 238 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print_all_logs` is never used [INFO] [stdout] --> src/exec.rs:271:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Executor { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 271 | pub fn print_all_logs(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.04s [INFO] running `Command { std: "docker" "inspect" "5c4ecc0a87f379605f36e02d3d4802080fecca4fe4e8a92c495980486f11cbda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c4ecc0a87f379605f36e02d3d4802080fecca4fe4e8a92c495980486f11cbda", kill_on_drop: false }` [INFO] [stdout] 5c4ecc0a87f379605f36e02d3d4802080fecca4fe4e8a92c495980486f11cbda