[INFO] cloning repository https://github.com/Achtuur/scope-graph [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Achtuur/scope-graph" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAchtuur%2Fscope-graph", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAchtuur%2Fscope-graph'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9e66b5226b951d59d8caa7b70629dbd768158413 [INFO] checking Achtuur/scope-graph against master#377656d3dd3f9c23a9c8713e163f4365a5261a84 for pr-146470-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAchtuur%2Fscope-graph" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Achtuur/scope-graph [INFO] finished tweaking git repo https://github.com/Achtuur/scope-graph [INFO] tweaked toml for git repo https://github.com/Achtuur/scope-graph written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Achtuur/scope-graph on toolchain 377656d3dd3f9c23a9c8713e163f4365a5261a84 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+377656d3dd3f9c23a9c8713e163f4365a5261a84" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+377656d3dd3f9c23a9c8713e163f4365a5261a84" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 124 packages to latest compatible versions [INFO] [stderr] Adding criterion v0.6.0 (available: v0.8.1) [INFO] [stderr] Adding hashbrown v0.15.5 (available: v0.16.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+377656d3dd3f9c23a9c8713e163f4365a5261a84" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded vf2 v1.0.1 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.106 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.106 [INFO] [stderr] Downloaded js-sys v0.3.83 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.106 [INFO] [stderr] Downloaded deepsize_derive v0.1.2 [INFO] [stderr] Downloaded scopegraphs-macros v0.3.3 [INFO] [stderr] Downloaded foldhash v0.2.0 [INFO] [stderr] Downloaded scopegraphs-regular-expressions v0.3.3 [INFO] [stderr] Downloaded scopegraphs-prust-lib v0.1.0 [INFO] [stderr] Downloaded unit-prefix v0.5.2 [INFO] [stderr] Downloaded convert_case v0.10.0 [INFO] [stderr] Downloaded scopegraphs v0.3.3 [INFO] [stderr] Downloaded console v0.16.2 [INFO] [stderr] Downloaded indicatif v0.18.3 [INFO] [stderr] Downloaded derive_more-impl v2.1.0 [INFO] [stderr] Downloaded criterion v0.6.0 [INFO] [stderr] Downloaded derive_more v2.1.0 [INFO] [stderr] Downloaded portable-atomic v1.12.0 [INFO] [stderr] Downloaded bumpalo v3.19.1 [INFO] [stderr] Downloaded wasm-bindgen v0.2.106 [INFO] [stderr] Downloaded deepsize v0.2.0 [INFO] [stderr] Downloaded web-sys v0.3.83 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+377656d3dd3f9c23a9c8713e163f4365a5261a84" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e6b055ae6db5c8efebc5d81029cc062b790e7aa06022ecc4be11912d1fb93982 [INFO] running `Command { std: "docker" "start" "-a" "e6b055ae6db5c8efebc5d81029cc062b790e7aa06022ecc4be11912d1fb93982", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e6b055ae6db5c8efebc5d81029cc062b790e7aa06022ecc4be11912d1fb93982", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6b055ae6db5c8efebc5d81029cc062b790e7aa06022ecc4be11912d1fb93982", kill_on_drop: false }` [INFO] [stdout] e6b055ae6db5c8efebc5d81029cc062b790e7aa06022ecc4be11912d1fb93982 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+377656d3dd3f9c23a9c8713e163f4365a5261a84" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d0178943062f09e8227418408a2d829c48b4eb13baf6580759d3f8afccb217da [INFO] running `Command { std: "docker" "start" "-a" "d0178943062f09e8227418408a2d829c48b4eb13baf6580759d3f8afccb217da", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Checking ryu v1.0.21 [INFO] [stderr] Checking itoa v1.0.16 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling zerocopy v0.8.31 [INFO] [stderr] Compiling portable-atomic v1.12.0 [INFO] [stderr] Checking unicode-ident v1.0.22 [INFO] [stderr] Checking unit-prefix v0.5.2 [INFO] [stderr] Compiling convert_case v0.10.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking log v0.4.29 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking regex-syntax v0.8.8 [INFO] [stderr] Checking scopegraphs-prust-lib v0.1.0 [INFO] [stderr] Checking foldhash v0.2.0 [INFO] [stderr] Checking console v0.16.2 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking bumpalo v3.19.1 [INFO] [stderr] Checking indicatif v0.18.3 [INFO] [stderr] Checking hashbrown v0.16.1 [INFO] [stderr] Checking clap_builder v4.5.53 [INFO] [stderr] Checking tracing-subscriber v0.3.22 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking indexmap v2.12.1 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Compiling deepsize_derive v0.1.2 [INFO] [stderr] Checking deepsize v0.2.0 [INFO] [stderr] Checking petgraph v0.6.5 [INFO] [stderr] Checking clap v4.5.53 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Checking vf2 v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling derive_more-impl v2.1.0 [INFO] [stderr] Compiling zerocopy-derive v0.8.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling scopegraphs-regular-expressions v0.3.3 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Compiling scopegraphs-macros v0.3.3 [INFO] [stderr] Checking scopegraphs v0.3.3 [INFO] [stderr] Checking derive_more v2.1.0 [INFO] [stderr] Checking graphing v0.1.0 (/opt/rustwide/workdir/graphing) [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking half v2.7.1 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking data-parse v0.1.0 (/opt/rustwide/workdir/data-parse) [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking criterion v0.6.0 [INFO] [stdout] warning: unused variable: `d` [INFO] [stdout] --> data-parse/src/parsed/mod.rs:365:17 [INFO] [stdout] | [INFO] [stdout] 365 | for (s, d) in &self.scopes { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d` [INFO] [stdout] --> data-parse/src/parsed/mod.rs:365:17 [INFO] [stdout] | [INFO] [stdout] 365 | for (s, d) in &self.scopes { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking scope-graph v0.1.0 (/opt/rustwide/workdir/scope-graph) [INFO] [stdout] warning: unused variable: `common` [INFO] [stdout] --> data-parse/src/raw/query.rs:70:52 [INFO] [stdout] | [INFO] [stdout] 70 | if let DataWfParams::Arr(ArrParams { args, common }) = self { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `common: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ignored` is never read [INFO] [stdout] --> data-parse/src/raw/graph.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct RawLabel { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 62 | ignored: IgnoredFields, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RawLabel` 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: unused variable: `common` [INFO] [stdout] --> data-parse/src/raw/query.rs:70:52 [INFO] [stdout] | [INFO] [stdout] 70 | if let DataWfParams::Arr(ArrParams { args, common }) = self { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `common: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ignored` is never read [INFO] [stdout] --> data-parse/src/raw/java.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct TypedData { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 114 | ignored: IgnoredFields, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypedData` 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: fields `vars`, `name`, and `message` are never read [INFO] [stdout] --> data-parse/src/raw/query.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct DataOrdBody { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 36 | vars: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 37 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 38 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DataOrdBody` 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: fields `name` and `resource` are never read [INFO] [stdout] --> data-parse/src/raw/query.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct DataOrdVar { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 43 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 44 | resource: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DataOrdVar` 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: fields `accepting`, `empty`, and `is_final` are never read [INFO] [stdout] --> data-parse/src/raw/query.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct PathWf { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 49 | accepting: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 50 | empty: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 51 | #[serde(rename = "final")] [INFO] [stdout] 52 | is_final: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PathWf` 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: fields `constructed` and `op` are never read [INFO] [stdout] --> data-parse/src/raw/query.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 86 | struct DataWfCommon { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 87 | constructed: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 88 | op: Option, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `DataWfCommon` 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: fields `value` and `common` are never read [INFO] [stdout] --> data-parse/src/raw/query.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct IdMatchWf { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 100 | value: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | common: DataWfCommon, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IdMatchWf` 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: fields `var`, `wildcard`, and `common` are never read [INFO] [stdout] --> data-parse/src/raw/query.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 107 | pub struct RawData { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 108 | var: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 109 | wildcard: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | common: DataWfCommon, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RawData` 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: fields `name` and `resource` are never read [INFO] [stdout] --> data-parse/src/raw/query.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 116 | pub struct RawDataVar { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 117 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 118 | resource: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RawDataVar` 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: structure field `isGround` should have a snake case name [INFO] [stdout] --> data-parse/src/raw/java.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | isGround: i32, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `is_ground` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `hashCode` should have a snake case name [INFO] [stdout] --> data-parse/src/raw/java.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | hashCode: i32, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `hash_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `dataOrd` should have a snake case name [INFO] [stdout] --> data-parse/src/raw/query.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub dataOrd: serde_json::Value, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `data_ord` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `dataWf` should have a snake case name [INFO] [stdout] --> data-parse/src/raw/query.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub dataWf: RawDataWf, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `data_wf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `labelOrd` should have a snake case name [INFO] [stdout] --> data-parse/src/raw/query.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub labelOrd: serde_json::Value, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `label_ord` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `pathWf` should have a snake case name [INFO] [stdout] --> data-parse/src/raw/query.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub pathWf: PathWf, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `path_wf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `bodyCriticalEdges` should have a snake case name [INFO] [stdout] --> data-parse/src/raw/query.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub bodyCriticalEdges: serde_json::Value, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `body_critical_edges` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `freeVars` should have a snake case name [INFO] [stdout] --> data-parse/src/raw/query.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub freeVars: serde_json::Value, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `free_vars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `bodyCriticalEdges` should have a snake case name [INFO] [stdout] --> data-parse/src/raw/query.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub bodyCriticalEdges: serde_json::Value, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `body_critical_edges` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `freeVars` should have a snake case name [INFO] [stdout] --> data-parse/src/raw/query.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub freeVars: serde_json::Value, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `free_vars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ignored` is never read [INFO] [stdout] --> data-parse/src/raw/graph.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct RawLabel { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 62 | ignored: IgnoredFields, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RawLabel` 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 `ignored` is never read [INFO] [stdout] --> data-parse/src/raw/java.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct TypedData { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 114 | ignored: IgnoredFields, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypedData` 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: fields `vars`, `name`, and `message` are never read [INFO] [stdout] --> data-parse/src/raw/query.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct DataOrdBody { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 36 | vars: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 37 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 38 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DataOrdBody` 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: fields `name` and `resource` are never read [INFO] [stdout] --> data-parse/src/raw/query.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct DataOrdVar { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 43 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 44 | resource: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DataOrdVar` 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: fields `accepting`, `empty`, and `is_final` are never read [INFO] [stdout] --> data-parse/src/raw/query.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct PathWf { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 49 | accepting: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 50 | empty: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 51 | #[serde(rename = "final")] [INFO] [stdout] 52 | is_final: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PathWf` 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: fields `constructed` and `op` are never read [INFO] [stdout] --> data-parse/src/raw/query.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 86 | struct DataWfCommon { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 87 | constructed: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 88 | op: Option, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `DataWfCommon` 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: fields `value` and `common` are never read [INFO] [stdout] --> data-parse/src/raw/query.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct IdMatchWf { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 100 | value: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | common: DataWfCommon, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IdMatchWf` 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: fields `var`, `wildcard`, and `common` are never read [INFO] [stdout] --> data-parse/src/raw/query.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 107 | pub struct RawData { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 108 | var: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 109 | wildcard: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | common: DataWfCommon, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RawData` 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: fields `name` and `resource` are never read [INFO] [stdout] --> data-parse/src/raw/query.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 116 | pub struct RawDataVar { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 117 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 118 | resource: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RawDataVar` 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: structure field `isGround` should have a snake case name [INFO] [stdout] --> data-parse/src/raw/java.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | isGround: i32, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `is_ground` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `hashCode` should have a snake case name [INFO] [stdout] --> data-parse/src/raw/java.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | hashCode: i32, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `hash_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `dataOrd` should have a snake case name [INFO] [stdout] --> data-parse/src/raw/query.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub dataOrd: serde_json::Value, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `data_ord` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `dataWf` should have a snake case name [INFO] [stdout] --> data-parse/src/raw/query.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub dataWf: RawDataWf, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `data_wf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `labelOrd` should have a snake case name [INFO] [stdout] --> data-parse/src/raw/query.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub labelOrd: serde_json::Value, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `label_ord` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `pathWf` should have a snake case name [INFO] [stdout] --> data-parse/src/raw/query.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub pathWf: PathWf, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `path_wf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `bodyCriticalEdges` should have a snake case name [INFO] [stdout] --> data-parse/src/raw/query.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub bodyCriticalEdges: serde_json::Value, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `body_critical_edges` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `freeVars` should have a snake case name [INFO] [stdout] --> data-parse/src/raw/query.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub freeVars: serde_json::Value, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `free_vars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `bodyCriticalEdges` should have a snake case name [INFO] [stdout] --> data-parse/src/raw/query.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub bodyCriticalEdges: serde_json::Value, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `body_critical_edges` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `freeVars` should have a snake case name [INFO] [stdout] --> data-parse/src/raw/query.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub freeVars: serde_json::Value, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `free_vars` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking pattern-recog v0.1.0 (/opt/rustwide/workdir/pattern-recog) [INFO] [stdout] warning: unused import: `io::Write` [INFO] [stdout] --> pattern-recog/src/pattern/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | io::Write, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io::Write` [INFO] [stdout] --> pattern-recog/src/pattern/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | io::Write, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> scope-graph/src/graph/circle.rs:278:9 [INFO] [stdout] | [INFO] [stdout] 276 | return false; [INFO] [stdout] | ------------ any code following this expression is unreachable [INFO] [stdout] 277 | // let cache = self.cache.borrow(); [INFO] [stdout] 278 | / if !self.cache.borrow().contains_key(&scope) { [INFO] [stdout] 279 | | self.populate_cache(); [INFO] [stdout] 280 | | } [INFO] [stdout] | |_________^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test` is never used [INFO] [stdout] --> pattern-recog/src/main.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn test() { [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 `test` is never used [INFO] [stdout] --> pattern-recog/src/main.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn test() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt::Write` [INFO] [stdout] --> scope-graph/src/order.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | fmt::Write, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ScopeGraph` [INFO] [stdout] --> scope-graph/src/graph/circle.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | graph::{ScopeGraph, ScopeMap}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> scope-graph/src/bench_util/bench.rs:72:30 [INFO] [stdout] | [INFO] [stdout] 72 | HeadKind::Linear(len) => self.pattern().len(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> scope-graph/src/bench_util/bench.rs:500:13 [INFO] [stdout] | [INFO] [stdout] 500 | for i in 0..num_queries { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `profiler` [INFO] [stdout] --> scope-graph/src/graph/cached/cache.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 208 | profiler: &QueryProfiler, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_profiler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scope_num` [INFO] [stdout] --> scope-graph/src/graph/cached/mod.rs:286:34 [INFO] [stdout] | [INFO] [stdout] 286 | pub fn cache_path_uml(&self, scope_num: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scope_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scope_num` [INFO] [stdout] --> scope-graph/src/graph/cached/mod.rs:304:34 [INFO] [stdout] | [INFO] [stdout] 304 | pub fn cache_path_mmd(&self, scope_num: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scope_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scope` [INFO] [stdout] --> scope-graph/src/graph/circle.rs:275:28 [INFO] [stdout] | [INFO] [stdout] 275 | pub fn contains(&self, scope: Scope) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scope` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scope` [INFO] [stdout] --> scope-graph/src/graph/mod.rs:229:38 [INFO] [stdout] | [INFO] [stdout] 229 | fn scope_is_part_of_cycle(&self, scope: Scope) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scope` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `QueryProfiler` is more private than the item `cache::QueryCache::::get_envs` [INFO] [stdout] --> scope-graph/src/graph/cached/cache.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | / pub fn get_envs( [INFO] [stdout] 110 | | &self, [INFO] [stdout] 111 | | reg: &RegexState<'_, Lbl>, [INFO] [stdout] 112 | | path: &Path, [INFO] [stdout] 113 | | profiler: &QueryProfiler, [INFO] [stdout] 114 | | ) -> Option> { [INFO] [stdout] | |____________________________________^ method `cache::QueryCache::::get_envs` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `QueryProfiler` is only usable at visibility `pub(crate)` [INFO] [stdout] --> scope-graph/src/graph/resolve.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | pub(crate) struct QueryProfiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `cache::ProjEnvs` is more private than the item `cache::QueryCache::::get_envs` [INFO] [stdout] --> scope-graph/src/graph/cached/cache.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | / pub fn get_envs( [INFO] [stdout] 110 | | &self, [INFO] [stdout] 111 | | reg: &RegexState<'_, Lbl>, [INFO] [stdout] 112 | | path: &Path, [INFO] [stdout] 113 | | profiler: &QueryProfiler, [INFO] [stdout] 114 | | ) -> Option> { [INFO] [stdout] | |____________________________________^ method `cache::QueryCache::::get_envs` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `cache::ProjEnvs` is only usable at visibility `pub(crate)` [INFO] [stdout] --> scope-graph/src/graph/cached/cache.rs:223:1 [INFO] [stdout] | [INFO] [stdout] 223 | pub(crate) struct ProjEnvs { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `cache::ProjEnvs` is more private than the item `cache::QueryCache::::insert` [INFO] [stdout] --> scope-graph/src/graph/cached/cache.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn insert(&self, reg: &RegexState<'_, Lbl>, path: &Path, envs: ProjEnvs) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `cache::QueryCache::::insert` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `cache::ProjEnvs` is only usable at visibility `pub(crate)` [INFO] [stdout] --> scope-graph/src/graph/cached/cache.rs:223:1 [INFO] [stdout] | [INFO] [stdout] 223 | pub(crate) struct ProjEnvs { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `QueryProfiler` is more private than the item `EnvCache::::get_env` [INFO] [stdout] --> scope-graph/src/graph/cached/cache.rs:205:5 [INFO] [stdout] | [INFO] [stdout] 205 | / pub fn get_env( [INFO] [stdout] 206 | | &self, [INFO] [stdout] 207 | | path: &Path, [INFO] [stdout] 208 | | profiler: &QueryProfiler, [INFO] [stdout] 209 | | ) -> Option> { [INFO] [stdout] | |____________________________________^ method `EnvCache::::get_env` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `QueryProfiler` is only usable at visibility `pub(crate)` [INFO] [stdout] --> scope-graph/src/graph/resolve.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | pub(crate) struct QueryProfiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `cache::ProjEnvs` is more private than the item `EnvCache::::get_env` [INFO] [stdout] --> scope-graph/src/graph/cached/cache.rs:205:5 [INFO] [stdout] | [INFO] [stdout] 205 | / pub fn get_env( [INFO] [stdout] 206 | | &self, [INFO] [stdout] 207 | | path: &Path, [INFO] [stdout] 208 | | profiler: &QueryProfiler, [INFO] [stdout] 209 | | ) -> Option> { [INFO] [stdout] | |____________________________________^ method `EnvCache::::get_env` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `cache::ProjEnvs` is only usable at visibility `pub(crate)` [INFO] [stdout] --> scope-graph/src/graph/cached/cache.rs:223:1 [INFO] [stdout] | [INFO] [stdout] 223 | pub(crate) struct ProjEnvs { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `cache::ProjEnvs` is more private than the item `EnvCache::::insert` [INFO] [stdout] --> scope-graph/src/graph/cached/cache.rs:214:5 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn insert(&mut self, path: Path, env: ProjEnvs) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `EnvCache::::insert` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `cache::ProjEnvs` is only usable at visibility `pub(crate)` [INFO] [stdout] --> scope-graph/src/graph/cached/cache.rs:223:1 [INFO] [stdout] | [INFO] [stdout] 223 | pub(crate) struct ProjEnvs { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `contains` is never used [INFO] [stdout] --> scope-graph/src/path/mod.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 36 | / impl Path [INFO] [stdout] 37 | | where [INFO] [stdout] 38 | | Lbl: ScopeGraphLabel, [INFO] [stdout] | |_________________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 130 | fn contains<'a>(&self, other: &Self) -> bool [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PathSegment` is never used [INFO] [stdout] --> scope-graph/src/path/segment.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum PathSegment<'a, Lbl> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> scope-graph/src/path/segment.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 40 | impl<'a, Lbl: ScopeGraphLabel> PathSegment<'a, Lbl> { [INFO] [stdout] | --------------------------------------------------- associated items in this implementation [INFO] [stdout] 41 | #[inline] [INFO] [stdout] 42 | fn new(path: &'a Path) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn from_path(path: &'a Path) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn from_path_with_offset( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn source(&self) -> &Scope { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn target(&self) -> &Scope { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn automaton_idx(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn equals(&self, other: &Self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `scope_is_part_of_cycle` is never used [INFO] [stdout] --> scope-graph/src/graph/mod.rs:134:15 [INFO] [stdout] | [INFO] [stdout] 134 | pub(crate) fn scope_is_part_of_cycle(map: &ScopeMap, scope: Scope) -> bool [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `map` is never used [INFO] [stdout] --> scope-graph/src/graph/cached/mod.rs:116:19 [INFO] [stdout] | [INFO] [stdout] 46 | / impl CachedScopeGraph [INFO] [stdout] 47 | | where [INFO] [stdout] 48 | | Lbl: ScopeGraphLabel, [INFO] [stdout] 49 | | Data: ScopeGraphData, [INFO] [stdout] | |_________________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 116 | pub(crate) fn map(&self) -> &ScopeMap { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `proj_wfd` is never read [INFO] [stdout] --> scope-graph/src/graph/cached/resolve.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct CachedResolver<'r, Lbl, Data, Proj> [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 55 | proj_wfd: Proj::Output, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChainScope` is never constructed [INFO] [stdout] --> scope-graph/src/graph/circle.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) struct ChainScope { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `scopes` is never used [INFO] [stdout] --> scope-graph/src/graph/circle.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 22 | impl ChainScope { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 23 | fn scopes(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChainScopeIter` is never constructed [INFO] [stdout] --> scope-graph/src/graph/circle.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 30 | pub(crate) struct ChainScopeIter<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CircleMatch` is never constructed [INFO] [stdout] --> scope-graph/src/graph/circle.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct CircleMatch { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> scope-graph/src/graph/circle.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl CircleMatch { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 54 | pub fn from_scope(scope: Scope) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn tail(&self) -> Scope { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn scopes(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn contains(&self, c: &Scope) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn step(self, scope: Scope) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn is_circular(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `scope_is_in_cycle` and `scopes_in_cycle` are never used [INFO] [stdout] --> scope-graph/src/graph/circle.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 99 | impl CircleMatcher { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] 100 | pub fn scope_is_in_cycle(map: &ScopeMap, scope: Scope) -> bool [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn scopes_in_cycle( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io::Write` [INFO] [stdout] --> scope-graph/src/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io::Write, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mem::MaybeUninit` [INFO] [stdout] --> scope-graph/benches/contains.rs:1:40 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{hash::Hash, hint::black_box, mem::MaybeUninit}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> scope-graph/src/main.rs:436:9 [INFO] [stdout] | [INFO] [stdout] 436 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Label` is never used [INFO] [stdout] --> scope-graph/benches/contains.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum Label { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io::Write` [INFO] [stdout] --> scope-graph/src/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io::Write, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res_mmd` [INFO] [stdout] --> scope-graph/src/main.rs:109:23 [INFO] [stdout] | [INFO] [stdout] 109 | let (res_uml, res_mmd) = start_scopes [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_res_mmd` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s4` [INFO] [stdout] --> scope-graph/src/main.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | let s4 = graph.add_decl(s1, SgLabel::Declaration, SgData::var("x", "int")); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s5` [INFO] [stdout] --> scope-graph/src/main.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | let s5 = graph.add_decl(s2, SgLabel::Declaration, SgData::var("y", "int")); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sd0` [INFO] [stdout] --> scope-graph/src/main.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | let sd0 = graph.add_decl(s0, SgLabel::Declaration, SgData::var("x", "int")); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sd0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> scope-graph/src/main.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | let env = graph.query_proj(s3, ®, &label_order, SgProjection::VarName, wfd.clone()); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> scope-graph/src/main.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | let env = graph.query_proj(s4, ®, &label_order, SgProjection::VarName, wfd.clone()); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res_mmd` [INFO] [stdout] --> scope-graph/src/main.rs:109:23 [INFO] [stdout] | [INFO] [stdout] 109 | let (res_uml, res_mmd) = start_scopes [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_res_mmd` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s4` [INFO] [stdout] --> scope-graph/src/main.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | let s4 = graph.add_decl(s1, SgLabel::Declaration, SgData::var("x", "int")); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s5` [INFO] [stdout] --> scope-graph/src/main.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | let s5 = graph.add_decl(s2, SgLabel::Declaration, SgData::var("y", "int")); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sd0` [INFO] [stdout] --> scope-graph/src/main.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | let sd0 = graph.add_decl(s0, SgLabel::Declaration, SgData::var("x", "int")); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sd0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `graph_builder` is never used [INFO] [stdout] --> scope-graph/src/main.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn graph_builder() -> UsedScopeGraph { [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 `query_test` is never used [INFO] [stdout] --> scope-graph/src/main.rs:80:4 [INFO] [stdout] | [INFO] [stdout] 80 | fn query_test(graph: &mut UsedScopeGraph) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `circular_graph` is never used [INFO] [stdout] --> scope-graph/src/main.rs:156:4 [INFO] [stdout] | [INFO] [stdout] 156 | fn circular_graph() -> UsedScopeGraph { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `diamond_example` is never used [INFO] [stdout] --> scope-graph/src/main.rs:173:4 [INFO] [stdout] | [INFO] [stdout] 173 | fn diamond_example() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_graph` is never used [INFO] [stdout] --> scope-graph/src/main.rs:418:4 [INFO] [stdout] | [INFO] [stdout] 418 | fn save_graph(graph: &UsedScopeGraph, fname: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> scope-graph/src/main.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | let env = graph.query_proj(s3, ®, &label_order, SgProjection::VarName, wfd.clone()); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> scope-graph/src/main.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | let env = graph.query_proj(s4, ®, &label_order, SgProjection::VarName, wfd.clone()); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `graph_builder` is never used [INFO] [stdout] --> scope-graph/src/main.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn graph_builder() -> UsedScopeGraph { [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 `query_test` is never used [INFO] [stdout] --> scope-graph/src/main.rs:80:4 [INFO] [stdout] | [INFO] [stdout] 80 | fn query_test(graph: &mut UsedScopeGraph) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `circular_graph` is never used [INFO] [stdout] --> scope-graph/src/main.rs:156:4 [INFO] [stdout] | [INFO] [stdout] 156 | fn circular_graph() -> UsedScopeGraph { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `diamond_example` is never used [INFO] [stdout] --> scope-graph/src/main.rs:173:4 [INFO] [stdout] | [INFO] [stdout] 173 | fn diamond_example() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_graph` is never used [INFO] [stdout] --> scope-graph/src/main.rs:418:4 [INFO] [stdout] | [INFO] [stdout] 418 | fn save_graph(graph: &UsedScopeGraph, fname: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `None` is never constructed [INFO] [stdout] --> scope-graph/tests/spoofax.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 105 | enum TestProjection { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] 106 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestProjection` has derived impls for the traits `Debug` and `Clone`, but these are 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: unreachable statement [INFO] [stdout] --> scope-graph/src/graph/circle.rs:278:9 [INFO] [stdout] | [INFO] [stdout] 276 | return false; [INFO] [stdout] | ------------ any code following this expression is unreachable [INFO] [stdout] 277 | // let cache = self.cache.borrow(); [INFO] [stdout] 278 | / if !self.cache.borrow().contains_key(&scope) { [INFO] [stdout] 279 | | self.populate_cache(); [INFO] [stdout] 280 | | } [INFO] [stdout] | |_________^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt::Write` [INFO] [stdout] --> scope-graph/src/order.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | fmt::Write, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> scope-graph/src/bench_util/bench.rs:72:30 [INFO] [stdout] | [INFO] [stdout] 72 | HeadKind::Linear(len) => self.pattern().len(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> scope-graph/src/bench_util/bench.rs:500:13 [INFO] [stdout] | [INFO] [stdout] 500 | for i in 0..num_queries { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `profiler` [INFO] [stdout] --> scope-graph/src/graph/cached/cache.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 208 | profiler: &QueryProfiler, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_profiler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scope_num` [INFO] [stdout] --> scope-graph/src/graph/cached/mod.rs:286:34 [INFO] [stdout] | [INFO] [stdout] 286 | pub fn cache_path_uml(&self, scope_num: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scope_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scope_num` [INFO] [stdout] --> scope-graph/src/graph/cached/mod.rs:304:34 [INFO] [stdout] | [INFO] [stdout] 304 | pub fn cache_path_mmd(&self, scope_num: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scope_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scope` [INFO] [stdout] --> scope-graph/src/graph/circle.rs:275:28 [INFO] [stdout] | [INFO] [stdout] 275 | pub fn contains(&self, scope: Scope) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scope` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scope` [INFO] [stdout] --> scope-graph/src/graph/mod.rs:229:38 [INFO] [stdout] | [INFO] [stdout] 229 | fn scope_is_part_of_cycle(&self, scope: Scope) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scope` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `regex` [INFO] [stdout] --> scope-graph/src/regex/dfs.rs:252:13 [INFO] [stdout] | [INFO] [stdout] 252 | let regex: Regex = Regex::kleene(Regex::or('p', 'q')); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_regex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `regex` [INFO] [stdout] --> scope-graph/src/regex/dfs.rs:254:13 [INFO] [stdout] | [INFO] [stdout] 254 | let regex: Regex = Regex::concat( [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_regex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `QueryProfiler` is more private than the item `cache::QueryCache::::get_envs` [INFO] [stdout] --> scope-graph/src/graph/cached/cache.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | / pub fn get_envs( [INFO] [stdout] 110 | | &self, [INFO] [stdout] 111 | | reg: &RegexState<'_, Lbl>, [INFO] [stdout] 112 | | path: &Path, [INFO] [stdout] 113 | | profiler: &QueryProfiler, [INFO] [stdout] 114 | | ) -> Option> { [INFO] [stdout] | |____________________________________^ method `cache::QueryCache::::get_envs` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `QueryProfiler` is only usable at visibility `pub(crate)` [INFO] [stdout] --> scope-graph/src/graph/resolve.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | pub(crate) struct QueryProfiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `cache::ProjEnvs` is more private than the item `cache::QueryCache::::get_envs` [INFO] [stdout] --> scope-graph/src/graph/cached/cache.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | / pub fn get_envs( [INFO] [stdout] 110 | | &self, [INFO] [stdout] 111 | | reg: &RegexState<'_, Lbl>, [INFO] [stdout] 112 | | path: &Path, [INFO] [stdout] 113 | | profiler: &QueryProfiler, [INFO] [stdout] 114 | | ) -> Option> { [INFO] [stdout] | |____________________________________^ method `cache::QueryCache::::get_envs` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `cache::ProjEnvs` is only usable at visibility `pub(crate)` [INFO] [stdout] --> scope-graph/src/graph/cached/cache.rs:223:1 [INFO] [stdout] | [INFO] [stdout] 223 | pub(crate) struct ProjEnvs { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `cache::ProjEnvs` is more private than the item `cache::QueryCache::::insert` [INFO] [stdout] --> scope-graph/src/graph/cached/cache.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn insert(&self, reg: &RegexState<'_, Lbl>, path: &Path, envs: ProjEnvs) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `cache::QueryCache::::insert` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `cache::ProjEnvs` is only usable at visibility `pub(crate)` [INFO] [stdout] --> scope-graph/src/graph/cached/cache.rs:223:1 [INFO] [stdout] | [INFO] [stdout] 223 | pub(crate) struct ProjEnvs { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `QueryProfiler` is more private than the item `EnvCache::::get_env` [INFO] [stdout] --> scope-graph/src/graph/cached/cache.rs:205:5 [INFO] [stdout] | [INFO] [stdout] 205 | / pub fn get_env( [INFO] [stdout] 206 | | &self, [INFO] [stdout] 207 | | path: &Path, [INFO] [stdout] 208 | | profiler: &QueryProfiler, [INFO] [stdout] 209 | | ) -> Option> { [INFO] [stdout] | |____________________________________^ method `EnvCache::::get_env` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `QueryProfiler` is only usable at visibility `pub(crate)` [INFO] [stdout] --> scope-graph/src/graph/resolve.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | pub(crate) struct QueryProfiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `cache::ProjEnvs` is more private than the item `EnvCache::::get_env` [INFO] [stdout] --> scope-graph/src/graph/cached/cache.rs:205:5 [INFO] [stdout] | [INFO] [stdout] 205 | / pub fn get_env( [INFO] [stdout] 206 | | &self, [INFO] [stdout] 207 | | path: &Path, [INFO] [stdout] 208 | | profiler: &QueryProfiler, [INFO] [stdout] 209 | | ) -> Option> { [INFO] [stdout] | |____________________________________^ method `EnvCache::::get_env` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `cache::ProjEnvs` is only usable at visibility `pub(crate)` [INFO] [stdout] --> scope-graph/src/graph/cached/cache.rs:223:1 [INFO] [stdout] | [INFO] [stdout] 223 | pub(crate) struct ProjEnvs { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `cache::ProjEnvs` is more private than the item `EnvCache::::insert` [INFO] [stdout] --> scope-graph/src/graph/cached/cache.rs:214:5 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn insert(&mut self, path: Path, env: ProjEnvs) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `EnvCache::::insert` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `cache::ProjEnvs` is only usable at visibility `pub(crate)` [INFO] [stdout] --> scope-graph/src/graph/cached/cache.rs:223:1 [INFO] [stdout] | [INFO] [stdout] 223 | pub(crate) struct ProjEnvs { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `source`, `target`, and `automaton_idx` are never used [INFO] [stdout] --> scope-graph/src/path/segment.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl<'a, Lbl: ScopeGraphLabel> PathSegment<'a, Lbl> { [INFO] [stdout] | --------------------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn source(&self) -> &Scope { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn target(&self) -> &Scope { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn automaton_idx(&self) -> usize { [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 `scope_is_part_of_cycle` is never used [INFO] [stdout] --> scope-graph/src/graph/mod.rs:134:15 [INFO] [stdout] | [INFO] [stdout] 134 | pub(crate) fn scope_is_part_of_cycle(map: &ScopeMap, scope: Scope) -> bool [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `proj_wfd` is never read [INFO] [stdout] --> scope-graph/src/graph/cached/resolve.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct CachedResolver<'r, Lbl, Data, Proj> [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 55 | proj_wfd: Proj::Output, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `size` and `scopes` are never used [INFO] [stdout] --> scope-graph/src/graph/circle.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl CircleMatch { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn scopes(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `scopes_in_cycle` is never used [INFO] [stdout] --> scope-graph/src/graph/circle.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 99 | impl CircleMatcher { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn scopes_in_cycle( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 49.66s [INFO] running `Command { std: "docker" "inspect" "d0178943062f09e8227418408a2d829c48b4eb13baf6580759d3f8afccb217da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0178943062f09e8227418408a2d829c48b4eb13baf6580759d3f8afccb217da", kill_on_drop: false }` [INFO] [stdout] d0178943062f09e8227418408a2d829c48b4eb13baf6580759d3f8afccb217da