[INFO] cloning repository https://github.com/ojuschugh1/ghostdep [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ojuschugh1/ghostdep" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fojuschugh1%2Fghostdep", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fojuschugh1%2Fghostdep'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2dba8cff57b6fd61b268371da23ca024e3849d68 [INFO] checking ojuschugh1/ghostdep against try#88b8a1c6e3a6f6f8a2ed6b6a9a74e0ef1862f72c for pr-154887 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fojuschugh1%2Fghostdep" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ojuschugh1/ghostdep [INFO] removed 0 missing tests [INFO] finished tweaking git repo https://github.com/ojuschugh1/ghostdep [INFO] tweaked toml for git repo https://github.com/ojuschugh1/ghostdep written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ojuschugh1/ghostdep on toolchain 88b8a1c6e3a6f6f8a2ed6b6a9a74e0ef1862f72c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+88b8a1c6e3a6f6f8a2ed6b6a9a74e0ef1862f72c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ojuschugh1/ghostdep 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" "+88b8a1c6e3a6f6f8a2ed6b6a9a74e0ef1862f72c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+88b8a1c6e3a6f6f8a2ed6b6a9a74e0ef1862f72c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 702bca1ef489e5fef907cc3abc171929e2ad67e7c4c1f3ed2c0d2652e3c2d4bb [INFO] running `Command { std: "docker" "start" "-a" "702bca1ef489e5fef907cc3abc171929e2ad67e7c4c1f3ed2c0d2652e3c2d4bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "702bca1ef489e5fef907cc3abc171929e2ad67e7c4c1f3ed2c0d2652e3c2d4bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "702bca1ef489e5fef907cc3abc171929e2ad67e7c4c1f3ed2c0d2652e3c2d4bb", kill_on_drop: false }` [INFO] [stdout] 702bca1ef489e5fef907cc3abc171929e2ad67e7c4c1f3ed2c0d2652e3c2d4bb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+88b8a1c6e3a6f6f8a2ed6b6a9a74e0ef1862f72c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5f92166fa96b7719edbd53b8eb6bb52356dcef8efc38330d5480afcbdbc5b431 [INFO] running `Command { std: "docker" "start" "-a" "5f92166fa96b7719edbd53b8eb6bb52356dcef8efc38330d5480afcbdbc5b431", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.184 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Checking rustc-hash v2.1.2 [INFO] [stderr] Compiling tree-sitter-language v0.1.7 [INFO] [stderr] Compiling owo-colors v4.3.0 [INFO] [stderr] Checking smawk v0.3.2 [INFO] [stderr] Checking indexmap v2.13.0 [INFO] [stderr] Compiling cranelift-isle v0.116.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling oxc-miette-derive v1.0.2 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling wasmtime-versioned-export-macros v29.0.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Compiling cranelift-codegen-shared v0.116.1 [INFO] [stderr] Compiling target-lexicon v0.13.5 [INFO] [stderr] Compiling cranelift-codegen-meta v0.116.1 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Checking textwrap v0.16.2 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Checking bumpalo v3.17.0 [INFO] [stderr] Checking simdutf8 v0.1.5 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Checking compact_str v0.8.1 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Compiling oxc_ast_macros v0.56.5 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Checking oxc_allocator v0.56.5 [INFO] [stderr] Compiling wasmparser v0.221.3 [INFO] [stderr] Checking arbitrary v1.4.2 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Checking oxc_estree v0.56.5 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking cow-utils v0.1.3 [INFO] [stderr] Compiling cc v1.2.58 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Checking rustix v1.1.4 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking cobs v0.3.0 [INFO] [stderr] Checking phf v0.11.3 [INFO] [stderr] Checking cranelift-control v0.116.1 [INFO] [stderr] Checking semver v1.0.27 [INFO] [stderr] Compiling itoa v1.0.18 [INFO] [stderr] Checking unicode-id-start v1.4.0 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Checking str_indices v0.4.4 [INFO] [stderr] Checking assert-unchecked v0.1.2 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Compiling cpp_demangle v0.4.5 [INFO] [stderr] Compiling anyhow v1.0.102 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking leb128 v0.2.5 [INFO] [stderr] Checking oxc-miette v1.0.2 [INFO] [stderr] Checking leb128fmt v0.1.0 [INFO] [stderr] Checking oxc_index v3.1.0 [INFO] [stderr] Checking ryu-js v1.0.2 [INFO] [stderr] Compiling id-arena v2.3.0 [INFO] [stderr] Checking wasm-encoder v0.246.1 [INFO] [stderr] Checking wasm-encoder v0.221.3 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Checking oxc_span v0.56.5 [INFO] [stderr] Checking oxc_diagnostics v0.56.5 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking wasmtime-component-util v29.0.1 [INFO] [stderr] Checking uuid v1.23.0 [INFO] [stderr] Checking oxc_syntax v0.56.5 [INFO] [stderr] Checking oxc_regular_expression v0.56.5 [INFO] [stderr] Compiling wasmtime-cache v29.0.1 [INFO] [stderr] Compiling wasmtime-component-macro v29.0.1 [INFO] [stderr] Checking rustc-demangle v0.1.27 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking wast v246.0.1 [INFO] [stderr] Checking debugid v0.8.0 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking rand_core v0.9.5 [INFO] [stderr] Checking directories-next v2.0.0 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling ittapi-sys v0.4.0 [INFO] [stderr] Compiling wasmtime-fiber v29.0.1 [INFO] [stderr] Compiling wasmtime v29.0.1 [INFO] [stderr] Compiling tree-sitter-go v0.23.4 [INFO] [stderr] Compiling cranelift-codegen v0.116.1 [INFO] [stderr] Compiling tree-sitter-python v0.23.6 [INFO] [stderr] Compiling blake3 v1.8.4 [INFO] [stderr] Compiling tree-sitter v0.24.7 [INFO] [stderr] Compiling tree-sitter-rust v0.23.3 [INFO] [stderr] Compiling tree-sitter-java v0.23.5 [INFO] [stderr] Checking wasmtime-asm-macros v29.0.1 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Checking bstr v1.12.1 [INFO] [stderr] Checking wasmtime-math v29.0.1 [INFO] [stderr] Checking ittapi v0.4.0 [INFO] [stderr] Checking globset v0.4.18 [INFO] [stderr] Checking getrandom v0.4.2 [INFO] [stderr] Checking memfd v0.6.5 [INFO] [stderr] Checking addr2line v0.24.2 [INFO] [stderr] Compiling clap_derive v4.6.0 [INFO] [stderr] Checking wasmtime-jit-icache-coherence v29.0.1 [INFO] [stderr] Checking wait-timeout v0.2.1 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling trait-variant v0.1.2 [INFO] [stderr] Checking wasmtime-slab v29.0.1 [INFO] [stderr] Checking sptr v0.3.2 [INFO] [stderr] Compiling seq-macro v0.3.6 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking cranelift-bitset v0.116.1 [INFO] [stderr] Checking postcard v1.1.3 [INFO] [stderr] Checking cranelift-entity v0.116.1 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking regalloc2 v0.11.2 [INFO] [stderr] Checking ropey v1.6.1 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking fxprof-processed-profile v0.6.0 [INFO] [stderr] Checking cpufeatures v0.3.0 [INFO] [stderr] Checking cranelift-bforest v0.116.1 [INFO] [stderr] Checking streaming-iterator v0.1.9 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking tempfile v3.27.0 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking oxc_data_structures v0.56.5 [INFO] [stderr] Checking oxc_ast v0.56.5 [INFO] [stderr] Checking ignore v0.4.25 [INFO] [stderr] Checking float-cmp v0.10.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking quick-xml v0.37.5 [INFO] [stderr] Checking predicates v3.1.4 [INFO] [stderr] Checking rusty-fork v0.3.1 [INFO] [stderr] Checking wasmtime-jit-debug v29.0.1 [INFO] [stderr] Checking rand_xorshift v0.4.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking assert_cmd v2.2.0 [INFO] [stderr] Checking clap v4.6.0 [INFO] [stderr] Checking proptest v1.11.0 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking wat v1.246.1 [INFO] [stderr] Compiling wit-parser v0.221.3 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Checking oxc_ecmascript v0.56.5 [INFO] [stderr] Checking oxc_parser v0.56.5 [INFO] [stderr] Checking wasmprinter v0.221.3 [INFO] [stderr] Compiling wasmtime-wit-bindgen v29.0.1 [INFO] [stderr] Checking wasmtime-environ v29.0.1 [INFO] [stderr] Checking cranelift-native v0.116.1 [INFO] [stderr] Checking cranelift-frontend v0.116.1 [INFO] [stderr] Checking wasmtime-cranelift v29.0.1 [INFO] [stderr] Checking ghostdep v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `arb_confidence` is never used [INFO] [stdout] --> tests/property/matching_properties.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn arb_confidence() -> impl Strategy { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `arb_import` is never used [INFO] [stdout] --> tests/property/matching_properties.rs:60:4 [INFO] [stdout] | [INFO] [stdout] 60 | fn arb_import(name: impl Strategy) -> impl Strategy { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `arb_declared` is never used [INFO] [stdout] --> tests/property/matching_properties.rs:70:4 [INFO] [stdout] | [INFO] [stdout] 70 | fn arb_declared(name: impl Strategy) -> impl Strategy { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dry_run` [INFO] [stdout] --> src/cli.rs:252:23 [INFO] [stdout] | [INFO] [stdout] 252 | fn run_fix(cli: &Cli, dry_run: bool, apply: bool) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dry_run` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CACHE_DIR` is never used [INFO] [stdout] --> src/cache.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const CACHE_DIR: &str = ".ghostdep-cache"; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CACHE_FILE` is never used [INFO] [stdout] --> src/cache.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const CACHE_FILE: &str = "scan.json"; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CACHE_VERSION` is never used [INFO] [stdout] --> src/cache.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const CACHE_VERSION: u32 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ScanCacheStore` is never constructed [INFO] [stdout] --> src/cache.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct ScanCacheStore { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `load`, `get`, `put`, and `flush` are never used [INFO] [stdout] --> src/cache.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl ScanCacheStore { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 23 | pub fn load(root: &Path) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn get(&self, path: &Path, content: &str) -> Option> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn put(&self, path: &Path, content: &str, imports: Vec) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn flush(&self) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ManifestParseError`, `SourceParseError`, `UnsupportedLanguage`, `WasmPluginError`, `CacheError`, and `FixCommandFailed` are never constructed [INFO] [stdout] --> src/errors.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum GhostdepError { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 9 | ManifestParseError { path: PathBuf, reason: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | SourceParseError { path: PathBuf, reason: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | UnsupportedLanguage { language: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | WasmPluginError { plugin: String, reason: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | CacheError { reason: String }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | FixCommandFailed { command: String, code: i32 }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GhostdepError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `load_wasm_plugins` is never used [INFO] [stdout] --> src/plugin/registry.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl PluginRegistry { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn load_wasm_plugins(&mut self, dirs: &[PathBuf]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `load_aliases_from_manifest` is never used [INFO] [stdout] --> src/plugin/rust_lang.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl RustPlugin { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn load_aliases_from_manifest(&mut self, content: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WasmLanguagePlugin` is never constructed [INFO] [stdout] --> src/plugin/wasm_host.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct WasmLanguagePlugin { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WasmState` is never constructed [INFO] [stdout] --> src/plugin/wasm_host.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | struct WasmState { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/plugin/wasm_host.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl WasmLanguagePlugin { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 32 | fn new(path: &Path, engine: &Engine) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_memory` is never used [INFO] [stdout] --> src/plugin/wasm_host.rs:132:4 [INFO] [stdout] | [INFO] [stdout] 132 | fn get_memory(store: &mut Store<()>, instance: &Instance) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_to_wasm` is never used [INFO] [stdout] --> src/plugin/wasm_host.rs:139:4 [INFO] [stdout] | [INFO] [stdout] 139 | fn write_to_wasm(store: &mut Store<()>, instance: &Instance, s: &str) -> Result<(i32, i32)> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_from_wasm` is never used [INFO] [stdout] --> src/plugin/wasm_host.rs:156:4 [INFO] [stdout] | [INFO] [stdout] 156 | fn read_from_wasm(store: &mut Store<()>, instance: &Instance, ptr: i32, len: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `call_string_fn` is never used [INFO] [stdout] --> src/plugin/wasm_host.rs:163:4 [INFO] [stdout] | [INFO] [stdout] 163 | fn call_string_fn(store: &mut Store<()>, instance: &Instance, name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `call_string_with_arg_fn` is never used [INFO] [stdout] --> src/plugin/wasm_host.rs:175:4 [INFO] [stdout] | [INFO] [stdout] 175 | fn call_string_with_arg_fn(store: &mut Store<()>, instance: &Instance, name: &str, arg: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `call_json_fn` is never used [INFO] [stdout] --> src/plugin/wasm_host.rs:188:4 [INFO] [stdout] | [INFO] [stdout] 188 | fn call_json_fn(store: &mut Store<()>, instance: &Instance, name: &str, json: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `call_bool_fn` is never used [INFO] [stdout] --> src/plugin/wasm_host.rs:193:4 [INFO] [stdout] | [INFO] [stdout] 193 | fn call_bool_fn(store: &mut Store<()>, instance: &Instance, name: &str, arg: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `call_string_list_fn` is never used [INFO] [stdout] --> src/plugin/wasm_host.rs:203:4 [INFO] [stdout] | [INFO] [stdout] 203 | fn call_string_list_fn(store: &mut Store<()>, instance: &Instance, name: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `call_aliases_fn` is never used [INFO] [stdout] --> src/plugin/wasm_host.rs:209:4 [INFO] [stdout] | [INFO] [stdout] 209 | fn call_aliases_fn(store: &mut Store<()>, instance: &Instance) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `static_str_slice` is never used [INFO] [stdout] --> src/plugin/wasm_host.rs:218:4 [INFO] [stdout] | [INFO] [stdout] 218 | fn static_str_slice(v: &[String]) -> &'static [&'static str] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RawDeclaredDep` is never constructed [INFO] [stdout] --> src/plugin/wasm_host.rs:227:8 [INFO] [stdout] | [INFO] [stdout] 227 | struct RawDeclaredDep { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_group` is never used [INFO] [stdout] --> src/plugin/wasm_host.rs:235:4 [INFO] [stdout] | [INFO] [stdout] 235 | fn default_group() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_declared` is never used [INFO] [stdout] --> src/plugin/wasm_host.rs:240:8 [INFO] [stdout] | [INFO] [stdout] 239 | impl RawDeclaredDep { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 240 | fn into_declared(self, manifest: &Path) -> DeclaredDep { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RawImport` is never constructed [INFO] [stdout] --> src/plugin/wasm_host.rs:259:8 [INFO] [stdout] | [INFO] [stdout] 259 | struct RawImport { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_confidence` is never used [INFO] [stdout] --> src/plugin/wasm_host.rs:269:4 [INFO] [stdout] | [INFO] [stdout] 269 | fn default_confidence() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_import` is never used [INFO] [stdout] --> src/plugin/wasm_host.rs:274:8 [INFO] [stdout] | [INFO] [stdout] 273 | impl RawImport { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 274 | fn into_import(self, file: &Path) -> Import { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `discover_wasm_plugins` is never used [INFO] [stdout] --> src/plugin/wasm_host.rs:293:8 [INFO] [stdout] | [INFO] [stdout] 293 | pub fn discover_wasm_plugins(dirs: &[PathBuf]) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `plugin_index` is never read [INFO] [stdout] --> src/types.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct ProjectScope { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 70 | pub plugin_index: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProjectScope` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CacheEntry` is never constructed [INFO] [stdout] --> src/types.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 104 | pub struct CacheEntry { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ScanCache` is never constructed [INFO] [stdout] --> src/types.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 112 | pub struct ScanCache { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `root` and `scopes` are never read [INFO] [stdout] --> src/types.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct MonorepoInfo { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 119 | pub root: PathBuf, [INFO] [stdout] | ^^^^ [INFO] [stdout] 120 | pub scopes: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MonorepoInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dry_run` [INFO] [stdout] --> src/cli.rs:252:23 [INFO] [stdout] | [INFO] [stdout] 252 | fn run_fix(cli: &Cli, dry_run: bool, apply: bool) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dry_run` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ManifestParseError`, `SourceParseError`, `UnsupportedLanguage`, `WasmPluginError`, `CacheError`, and `FixCommandFailed` are never constructed [INFO] [stdout] --> src/errors.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum GhostdepError { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 9 | ManifestParseError { path: PathBuf, reason: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | SourceParseError { path: PathBuf, reason: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | UnsupportedLanguage { language: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | WasmPluginError { plugin: String, reason: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | CacheError { reason: String }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | FixCommandFailed { command: String, code: i32 }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GhostdepError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `plugin_index` is never read [INFO] [stdout] --> src/types.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct ProjectScope { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 70 | pub plugin_index: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProjectScope` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `root` is never read [INFO] [stdout] --> src/types.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct MonorepoInfo { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 119 | pub root: PathBuf, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MonorepoInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 26s [INFO] running `Command { std: "docker" "inspect" "5f92166fa96b7719edbd53b8eb6bb52356dcef8efc38330d5480afcbdbc5b431", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f92166fa96b7719edbd53b8eb6bb52356dcef8efc38330d5480afcbdbc5b431", kill_on_drop: false }` [INFO] [stdout] 5f92166fa96b7719edbd53b8eb6bb52356dcef8efc38330d5480afcbdbc5b431