[INFO] cloning repository https://github.com/tigregalis/wittier [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tigregalis/wittier" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftigregalis%2Fwittier", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftigregalis%2Fwittier'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0a59dee2f4c7922fd2a2d373150deb7da778c368 [INFO] testing tigregalis/wittier against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftigregalis%2Fwittier" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tigregalis/wittier [INFO] finished tweaking git repo https://github.com/tigregalis/wittier [INFO] tweaked toml for git repo https://github.com/tigregalis/wittier written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tigregalis/wittier on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tigregalis/wittier 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] deb499747feabec8ac86b302e92cf7a08ae90f24a685e4fa44264f0a9e237606 [INFO] running `Command { std: "docker" "start" "-a" "deb499747feabec8ac86b302e92cf7a08ae90f24a685e4fa44264f0a9e237606", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "deb499747feabec8ac86b302e92cf7a08ae90f24a685e4fa44264f0a9e237606", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "deb499747feabec8ac86b302e92cf7a08ae90f24a685e4fa44264f0a9e237606", kill_on_drop: false }` [INFO] [stdout] deb499747feabec8ac86b302e92cf7a08ae90f24a685e4fa44264f0a9e237606 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 548a8a193e5f372e21ed4bca9d71f96604774d781b3fdf8c406fad45c2be90c7 [INFO] running `Command { std: "docker" "start" "-a" "548a8a193e5f372e21ed4bca9d71f96604774d781b3fdf8c406fad45c2be90c7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling anstyle v1.0.4 [INFO] [stderr] Compiling serde_json v1.0.111 [INFO] [stderr] Compiling clap_lex v0.6.0 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling io-adapters v0.3.0 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling colored v2.1.0 [INFO] [stderr] Compiling anstream v0.6.5 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling clap_builder v4.4.14 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling serde_derive v1.0.195 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling clap v4.4.14 [INFO] [stderr] Compiling rustdoc-types v0.23.0 [INFO] [stderr] Compiling wittier v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/lib.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | collections::{HashMap, HashSet}, [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: `id` [INFO] [stdout] --> src/query.rs:412:46 [INFO] [stdout] | [INFO] [stdout] 412 | self.krate.index.iter().filter_map(|(id, item)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:420:46 [INFO] [stdout] | [INFO] [stdout] 420 | self.krate.index.iter().filter_map(|(id, item)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:428:46 [INFO] [stdout] | [INFO] [stdout] 428 | self.krate.index.iter().filter_map(|(id, item)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:436:46 [INFO] [stdout] | [INFO] [stdout] 436 | self.krate.index.iter().filter_map(|(id, item)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:444:46 [INFO] [stdout] | [INFO] [stdout] 444 | self.krate.index.iter().filter_map(|(id, item)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:456:46 [INFO] [stdout] | [INFO] [stdout] 456 | self.krate.index.iter().filter_map(|(id, item)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:468:46 [INFO] [stdout] | [INFO] [stdout] 468 | self.krate.index.iter().filter_map(|(id, item)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:480:46 [INFO] [stdout] | [INFO] [stdout] 480 | self.krate.index.iter().filter_map(|(id, item)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:488:46 [INFO] [stdout] | [INFO] [stdout] 488 | self.krate.index.iter().filter_map(|(id, item)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:496:46 [INFO] [stdout] | [INFO] [stdout] 496 | self.krate.index.iter().filter_map(|(id, item)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:504:46 [INFO] [stdout] | [INFO] [stdout] 504 | self.krate.index.iter().filter_map(|(id, item)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:512:46 [INFO] [stdout] | [INFO] [stdout] 512 | self.krate.index.iter().filter_map(|(id, item)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:520:46 [INFO] [stdout] | [INFO] [stdout] 520 | self.krate.index.iter().filter_map(|(id, item)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:528:46 [INFO] [stdout] | [INFO] [stdout] 528 | self.krate.index.iter().filter_map(|(id, item)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:536:46 [INFO] [stdout] | [INFO] [stdout] 536 | self.krate.index.iter().filter_map(|(id, item)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:545:46 [INFO] [stdout] | [INFO] [stdout] 545 | self.krate.index.iter().filter_map(|(id, item)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:554:46 [INFO] [stdout] | [INFO] [stdout] 554 | self.krate.index.iter().filter_map(|(id, item)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:562:46 [INFO] [stdout] | [INFO] [stdout] 562 | self.krate.index.iter().filter_map(|(id, item)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:570:46 [INFO] [stdout] | [INFO] [stdout] 570 | self.krate.index.iter().filter_map(|(id, item)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:772:32 [INFO] [stdout] | [INFO] [stdout] 772 | self.raw_items().map(|(id, item)| match &item.inner { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:822:27 [INFO] [stdout] | [INFO] [stdout] 822 | .filter_map(|(id, item)| item.inner.as_module().map(|inner| self.edge(item, inner))) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:827:27 [INFO] [stdout] | [INFO] [stdout] 827 | .filter_map(|(id, item)| item.inner.as_import().map(|inner| self.edge(item, inner))) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:832:27 [INFO] [stdout] | [INFO] [stdout] 832 | .filter_map(|(id, item)| item.inner.as_union().map(|inner| self.edge(item, inner))) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:837:27 [INFO] [stdout] | [INFO] [stdout] 837 | .filter_map(|(id, item)| item.inner.as_struct().map(|inner| self.edge(item, inner))) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:842:39 [INFO] [stdout] | [INFO] [stdout] 842 | self.raw_items().filter_map(|(id, item)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:855:39 [INFO] [stdout] | [INFO] [stdout] 855 | self.raw_items().filter_map(|(id, item)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:868:39 [INFO] [stdout] | [INFO] [stdout] 868 | self.raw_items().filter_map(|(id, item)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:881:27 [INFO] [stdout] | [INFO] [stdout] 881 | .filter_map(|(id, item)| item.inner.as_enum().map(|inner| self.edge(item, inner))) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:887:27 [INFO] [stdout] | [INFO] [stdout] 887 | .filter_map(|(id, item)| item.inner.as_variant().map(|inner| self.edge(item, inner))) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:892:27 [INFO] [stdout] | [INFO] [stdout] 892 | .filter_map(|(id, item)| item.inner.as_function().map(|inner| self.edge(item, inner))) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:897:27 [INFO] [stdout] | [INFO] [stdout] 897 | .filter_map(|(id, item)| item.inner.as_trait().map(|inner| self.edge(item, inner))) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:901:39 [INFO] [stdout] | [INFO] [stdout] 901 | self.raw_items().filter_map(|(id, item)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:911:27 [INFO] [stdout] | [INFO] [stdout] 911 | .filter_map(|(id, item)| item.inner.as_impl().map(|inner| self.edge(item, inner))) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:915:39 [INFO] [stdout] | [INFO] [stdout] 915 | self.raw_items().filter_map(|(id, item)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:923:39 [INFO] [stdout] | [INFO] [stdout] 923 | self.raw_items().filter_map(|(id, item)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:932:27 [INFO] [stdout] | [INFO] [stdout] 932 | .filter_map(|(id, item)| item.inner.as_constant().map(|inner| self.edge(item, inner))) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:937:27 [INFO] [stdout] | [INFO] [stdout] 937 | .filter_map(|(id, item)| item.inner.as_static().map(|inner| self.edge(item, inner))) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:942:27 [INFO] [stdout] | [INFO] [stdout] 942 | .filter_map(|(id, item)| item.inner.as_macro().map(|inner| self.edge(item, inner))) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:946:39 [INFO] [stdout] | [INFO] [stdout] 946 | self.raw_items().filter_map(|(id, item)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:954:39 [INFO] [stdout] | [INFO] [stdout] 954 | self.raw_items().filter_map(|(id, item)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:1039:27 [INFO] [stdout] | [INFO] [stdout] 1039 | .filter_map(|(id, item)| match &item.inner { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:1059:27 [INFO] [stdout] | [INFO] [stdout] 1059 | .filter_map(|(id, item)| match &item.inner { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:1082:17 [INFO] [stdout] | [INFO] [stdout] 1082 | id, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:1268:27 [INFO] [stdout] | [INFO] [stdout] 1268 | .filter_map(|(id, item)| match &item.inner { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:1280:27 [INFO] [stdout] | [INFO] [stdout] 1280 | .filter_map(|(id, item)| match &item.inner { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:1294:27 [INFO] [stdout] | [INFO] [stdout] 1294 | .filter_map(|(id, item)| match &item.inner { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:1375:25 [INFO] [stdout] | [INFO] [stdout] 1375 | id, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:1399:31 [INFO] [stdout] | [INFO] [stdout] 1399 | .filter_map(|(id, item)| match &item.inner { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/lib.rs:98:60 [INFO] [stdout] | [INFO] [stdout] 97 | ... kind: todo!("depends on the path"), [INFO] [stdout] | ---------------------------- any code following this expression is unreachable [INFO] [stdout] 98 | ... functions: (), [INFO] [stdout] | ^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/lib.rs:115:60 [INFO] [stdout] | [INFO] [stdout] 114 | ... kind: todo!(), [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 115 | ... functions: todo!(), [INFO] [stdout] | ^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/lib.rs:162:44 [INFO] [stdout] | [INFO] [stdout] 162 | ... break 'wit WitType { [INFO] [stdout] | __________________________________^ [INFO] [stdout] 163 | | ... kind: WitTypeKind::Resource(struct_name), [INFO] [stdout] 164 | | ... functions: (), [INFO] [stdout] 165 | | ... source: todo!(), [INFO] [stdout] | | ------- any code following this expression is unreachable [INFO] [stdout] 166 | | ... }; [INFO] [stdout] | |_______________________^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/lib.rs:207:60 [INFO] [stdout] | [INFO] [stdout] 206 | ... kind: todo!("depends on the path"), [INFO] [stdout] | ---------------------------- any code following this expression is unreachable [INFO] [stdout] 207 | ... functions: (), [INFO] [stdout] | ^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/lib.rs:217:60 [INFO] [stdout] | [INFO] [stdout] 216 | ... kind: todo!(), [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 217 | ... functions: todo!(), [INFO] [stdout] | ^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/lib.rs:257:48 [INFO] [stdout] | [INFO] [stdout] 257 | ... break 'wit WitType { [INFO] [stdout] | __________________________________^ [INFO] [stdout] 258 | | ... kind: WitTypeKind::Resource(struct_name), [INFO] [stdout] 259 | | ... functions: (), [INFO] [stdout] 260 | | ... source: todo!(), [INFO] [stdout] | | ------- any code following this expression is unreachable [INFO] [stdout] 261 | | ... }; [INFO] [stdout] | |_______________________^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/lib.rs:270:44 [INFO] [stdout] | [INFO] [stdout] 269 | ... kind: todo!(), [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 270 | ... functions: todo!(), [INFO] [stdout] | ^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:402:14 [INFO] [stdout] | [INFO] [stdout] 402 | let (id, item) = self [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unit` [INFO] [stdout] --> src/lib.rs:187:44 [INFO] [stdout] | [INFO] [stdout] 187 | StructItemKind::StructUnit(unit) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `variant` [INFO] [stdout] --> src/lib.rs:647:31 [INFO] [stdout] | [INFO] [stdout] 647 | ItemEnum::Variant(variant) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variant` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bindings` [INFO] [stdout] --> src/lib.rs:863:57 [INFO] [stdout] | [INFO] [stdout] 863 | GenericArgs::AngleBracketed { args, bindings } => { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `bindings: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inputs` [INFO] [stdout] --> src/lib.rs:881:50 [INFO] [stdout] | [INFO] [stdout] 881 | GenericArgs::Parenthesized { inputs, output } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `inputs: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/lib.rs:881:58 [INFO] [stdout] | [INFO] [stdout] 881 | GenericArgs::Parenthesized { inputs, output } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `output: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bindings` [INFO] [stdout] --> src/lib.rs:972:57 [INFO] [stdout] | [INFO] [stdout] 972 | GenericArgs::AngleBracketed { args, bindings } => { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `bindings: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inputs` [INFO] [stdout] --> src/lib.rs:990:50 [INFO] [stdout] | [INFO] [stdout] 990 | GenericArgs::Parenthesized { inputs, output } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `inputs: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/lib.rs:990:58 [INFO] [stdout] | [INFO] [stdout] 990 | GenericArgs::Parenthesized { inputs, output } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `output: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WitFunction` is never constructed [INFO] [stdout] --> src/lib.rs:309:8 [INFO] [stdout] | [INFO] [stdout] 309 | struct WitFunction { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print` is never used [INFO] [stdout] --> src/lib.rs:316:8 [INFO] [stdout] | [INFO] [stdout] 315 | impl WitFunction { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 316 | fn print(&self) -> impl std::fmt::Display { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `functions` and `source` are never read [INFO] [stdout] --> src/lib.rs:336:5 [INFO] [stdout] | [INFO] [stdout] 334 | struct WitType { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 335 | kind: WitTypeKind, [INFO] [stdout] 336 | functions: (), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 337 | source: Source, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:341:11 [INFO] [stdout] | [INFO] [stdout] 341 | Local(Id), [INFO] [stdout] | ----- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 341 - Local(Id), [INFO] [stdout] 341 + Local(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:342:13 [INFO] [stdout] | [INFO] [stdout] 342 | Foreign(Option), [INFO] [stdout] | ------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 342 - Foreign(Option), [INFO] [stdout] 342 + Foreign(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Resource` is never constructed [INFO] [stdout] --> src/lib.rs:374:8 [INFO] [stdout] | [INFO] [stdout] 374 | struct Resource { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main_old` is never used [INFO] [stdout] --> src/lib.rs:458:4 [INFO] [stdout] | [INFO] [stdout] 458 | fn main_old(_args: Args) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_func_print` is never used [INFO] [stdout] --> src/lib.rs:676:4 [INFO] [stdout] | [INFO] [stdout] 676 | fn handle_func_print( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_struct_print` is never used [INFO] [stdout] --> src/lib.rs:708:4 [INFO] [stdout] | [INFO] [stdout] 708 | fn handle_struct_print< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_struct_rust` is never used [INFO] [stdout] --> src/lib.rs:757:4 [INFO] [stdout] | [INFO] [stdout] 757 | fn print_struct_rust< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_struct_wit` is never used [INFO] [stdout] --> src/lib.rs:787:4 [INFO] [stdout] | [INFO] [stdout] 787 | fn print_struct_wit< [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_struct_field_rust` is never used [INFO] [stdout] --> src/lib.rs:817:4 [INFO] [stdout] | [INFO] [stdout] 817 | fn print_struct_field_rust( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_struct_field_wit` is never used [INFO] [stdout] --> src/lib.rs:827:4 [INFO] [stdout] | [INFO] [stdout] 827 | fn print_struct_field_wit( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_func_rust` is never used [INFO] [stdout] --> src/lib.rs:837:4 [INFO] [stdout] | [INFO] [stdout] 837 | fn print_func_rust(buffer: &mut W, key: &str, path: &str, inputs: &str, outputs: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_func_wit` is never used [INFO] [stdout] --> src/lib.rs:841:4 [INFO] [stdout] | [INFO] [stdout] 841 | fn print_func_wit(buffer: &mut W, key: &str, path: &str, inputs: &str, outputs: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `path_join_rust` is never used [INFO] [stdout] --> src/lib.rs:845:4 [INFO] [stdout] | [INFO] [stdout] 845 | fn path_join_rust(path: &[String]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `path_join_wit` is never used [INFO] [stdout] --> src/lib.rs:849:4 [INFO] [stdout] | [INFO] [stdout] 849 | fn path_join_wit(path: &[String]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_type_rust` is never used [INFO] [stdout] --> src/lib.rs:856:4 [INFO] [stdout] | [INFO] [stdout] 856 | fn print_type_rust(krate: &Crate, typ: &Type) -> ColoredString { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `push_colored_str` is never used [INFO] [stdout] --> src/lib.rs:946:4 [INFO] [stdout] | [INFO] [stdout] 946 | fn push_colored_str(s: ColoredString, add: &str) -> ColoredString { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `join_colored_str` is never used [INFO] [stdout] --> src/lib.rs:950:4 [INFO] [stdout] | [INFO] [stdout] 950 | fn join_colored_str(items: &[ColoredString], delimiter: &str) -> ColoredString { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_type_wit` is never used [INFO] [stdout] --> src/lib.rs:962:4 [INFO] [stdout] | [INFO] [stdout] 962 | fn print_type_wit(krate: &Crate, typ: &Type) -> ColoredString { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `map_rust_primitive_to_wit` is never used [INFO] [stdout] --> src/lib.rs:1098:4 [INFO] [stdout] | [INFO] [stdout] 1098 | fn map_rust_primitive_to_wit(ty: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/query.rs:365:22 [INFO] [stdout] | [INFO] [stdout] 365 | pub struct Macro<'c>(&'c str); [INFO] [stdout] | ----- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `type_` and `default` are never read [INFO] [stdout] --> src/query.rs:368:5 [INFO] [stdout] | [INFO] [stdout] 367 | pub struct AssocConst<'c> { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 368 | type_: &'c rustdoc_types::Type, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 369 | /// e.g. `const X: usize = 5;` [INFO] [stdout] 370 | default: Option<&'c str>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `generics`, `bounds`, and `default` are never read [INFO] [stdout] --> src/query.rs:374:5 [INFO] [stdout] | [INFO] [stdout] 373 | pub struct AssocType<'c> { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 374 | generics: &'c rustdoc_types::Generics, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 375 | bounds: &'c [rustdoc_types::GenericBound], [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 376 | /// e.g. `type X = usize;` [INFO] [stdout] 377 | default: Option<&'c rustdoc_types::Type>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `type_` and `len` are never read [INFO] [stdout] --> src/query.rs:1230:5 [INFO] [stdout] | [INFO] [stdout] 1229 | pub struct Array<'c> { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 1230 | type_: &'c rustdoc_types::Type, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 1231 | len: &'c str, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mutable` and `type_` are never read [INFO] [stdout] --> src/query.rs:1236:5 [INFO] [stdout] | [INFO] [stdout] 1235 | pub struct RawPointer<'c> { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 1236 | mutable: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 1237 | type_: &'c rustdoc_types::Type, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lifetime`, `mutable`, and `type_` are never read [INFO] [stdout] --> src/query.rs:1241:5 [INFO] [stdout] | [INFO] [stdout] 1240 | pub struct BorrowedRef<'c> { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 1241 | lifetime: Option<&'c str>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 1242 | mutable: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 1243 | type_: &'c rustdoc_types::Type, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `args`, `self_type`, and `trait_` are never read [INFO] [stdout] --> src/query.rs:1248:5 [INFO] [stdout] | [INFO] [stdout] 1247 | pub struct QualifiedPath<'c> { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 1248 | name: &'c str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1249 | args: &'c rustdoc_types::GenericArgs, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1250 | self_type: &'c rustdoc_types::Type, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 1251 | /// `None` iff this is an *inherent* associated type. [INFO] [stdout] 1252 | trait_: Option<&'c rustdoc_types::Path>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | fn as_macro(&self) -> Option; [INFO] [stdout] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 77 | fn as_macro(&self) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:80:23 [INFO] [stdout] | [INFO] [stdout] 80 | fn as_assoc_const(&self) -> Option; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 80 | fn as_assoc_const(&self) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:81:22 [INFO] [stdout] | [INFO] [stdout] 81 | fn as_assoc_type(&self) -> Option; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 81 | fn as_assoc_type(&self) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:204:17 [INFO] [stdout] | [INFO] [stdout] 204 | fn as_macro(&self) -> Option { [INFO] [stdout] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 204 | fn as_macro(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:228:23 [INFO] [stdout] | [INFO] [stdout] 228 | fn as_assoc_const(&self) -> Option { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 228 | fn as_assoc_const(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:239:22 [INFO] [stdout] | [INFO] [stdout] 239 | fn as_assoc_type(&self) -> Option { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 239 | fn as_assoc_type(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:443:30 [INFO] [stdout] | [INFO] [stdout] 443 | pub fn all_plain_structs(&self) -> impl Iterator>> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 443 | pub fn all_plain_structs(&self) -> impl Iterator>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:455:29 [INFO] [stdout] | [INFO] [stdout] 455 | pub fn all_unit_structs(&self) -> impl Iterator>> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 455 | pub fn all_unit_structs(&self) -> impl Iterator>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:467:30 [INFO] [stdout] | [INFO] [stdout] 467 | pub fn all_tuple_structs(&self) -> impl Iterator>> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 467 | pub fn all_tuple_structs(&self) -> impl Iterator>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:553:23 [INFO] [stdout] | [INFO] [stdout] 553 | pub fn all_macros(&self) -> impl Iterator> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 553 | pub fn all_macros(&self) -> impl Iterator>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:667:17 [INFO] [stdout] | [INFO] [stdout] 667 | pub fn kind(&self) -> ItemKind { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 667 | pub fn kind(&self) -> ItemKind<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:771:18 [INFO] [stdout] | [INFO] [stdout] 771 | pub fn items(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 771 | pub fn items(&self) -> impl Iterator> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:841:26 [INFO] [stdout] | [INFO] [stdout] 841 | pub fn plain_structs(&self) -> impl Iterator>> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 841 | pub fn plain_structs(&self) -> impl Iterator>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:854:25 [INFO] [stdout] | [INFO] [stdout] 854 | pub fn unit_structs(&self) -> impl Iterator>> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 854 | pub fn unit_structs(&self) -> impl Iterator>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:867:26 [INFO] [stdout] | [INFO] [stdout] 867 | pub fn tuple_structs(&self) -> impl Iterator>> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 867 | pub fn tuple_structs(&self) -> impl Iterator>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:940:19 [INFO] [stdout] | [INFO] [stdout] 940 | pub fn macros(&self) -> impl Iterator> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 940 | pub fn macros(&self) -> impl Iterator>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:1008:24 [INFO] [stdout] | [INFO] [stdout] 1008 | pub fn struct_kind(&self) -> StructItemKind { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1008 | pub fn struct_kind(&self) -> StructItemKind<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:1034:18 [INFO] [stdout] | [INFO] [stdout] 1034 | pub fn impls(&self) -> impl Iterator> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1034 | pub fn impls(&self) -> impl Iterator> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:1149:22 [INFO] [stdout] | [INFO] [stdout] 1149 | pub fn type_kind(&self) -> TypeKind { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1149 | pub fn type_kind(&self) -> TypeKind<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:1314:24 [INFO] [stdout] | [INFO] [stdout] 1314 | pub fn variantkind(&self) -> VariantItemKind { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1314 | pub fn variantkind(&self) -> VariantItemKind<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.44s [INFO] running `Command { std: "docker" "inspect" "548a8a193e5f372e21ed4bca9d71f96604774d781b3fdf8c406fad45c2be90c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "548a8a193e5f372e21ed4bca9d71f96604774d781b3fdf8c406fad45c2be90c7", kill_on_drop: false }` [INFO] [stdout] 548a8a193e5f372e21ed4bca9d71f96604774d781b3fdf8c406fad45c2be90c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 453ceb5f3956207b1d3a4eebcab5d674e718ccdba01b3c3bf6ba97f394857ede [INFO] running `Command { std: "docker" "start" "-a" "453ceb5f3956207b1d3a4eebcab5d674e718ccdba01b3c3bf6ba97f394857ede", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/lib.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | collections::{HashMap, HashSet}, [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: `id` [INFO] [stdout] --> src/query.rs:412:46 [INFO] [stdout] | [INFO] [stdout] 412 | self.krate.index.iter().filter_map(|(id, item)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:420:46 [INFO] [stdout] | [INFO] [stdout] 420 | self.krate.index.iter().filter_map(|(id, item)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:428:46 [INFO] [stdout] | [INFO] [stdout] 428 | self.krate.index.iter().filter_map(|(id, item)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:436:46 [INFO] [stdout] | [INFO] [stdout] 436 | self.krate.index.iter().filter_map(|(id, item)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:444:46 [INFO] [stdout] | [INFO] [stdout] 444 | self.krate.index.iter().filter_map(|(id, item)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:456:46 [INFO] [stdout] | [INFO] [stdout] 456 | self.krate.index.iter().filter_map(|(id, item)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:468:46 [INFO] [stdout] | [INFO] [stdout] 468 | self.krate.index.iter().filter_map(|(id, item)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:480:46 [INFO] [stdout] | [INFO] [stdout] 480 | self.krate.index.iter().filter_map(|(id, item)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:488:46 [INFO] [stdout] | [INFO] [stdout] 488 | self.krate.index.iter().filter_map(|(id, item)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:496:46 [INFO] [stdout] | [INFO] [stdout] 496 | self.krate.index.iter().filter_map(|(id, item)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:504:46 [INFO] [stdout] | [INFO] [stdout] 504 | self.krate.index.iter().filter_map(|(id, item)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:512:46 [INFO] [stdout] | [INFO] [stdout] 512 | self.krate.index.iter().filter_map(|(id, item)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:520:46 [INFO] [stdout] | [INFO] [stdout] 520 | self.krate.index.iter().filter_map(|(id, item)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:528:46 [INFO] [stdout] | [INFO] [stdout] 528 | self.krate.index.iter().filter_map(|(id, item)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:536:46 [INFO] [stdout] | [INFO] [stdout] 536 | self.krate.index.iter().filter_map(|(id, item)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:545:46 [INFO] [stdout] | [INFO] [stdout] 545 | self.krate.index.iter().filter_map(|(id, item)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:554:46 [INFO] [stdout] | [INFO] [stdout] 554 | self.krate.index.iter().filter_map(|(id, item)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:562:46 [INFO] [stdout] | [INFO] [stdout] 562 | self.krate.index.iter().filter_map(|(id, item)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:570:46 [INFO] [stdout] | [INFO] [stdout] 570 | self.krate.index.iter().filter_map(|(id, item)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:772:32 [INFO] [stdout] | [INFO] [stdout] 772 | self.raw_items().map(|(id, item)| match &item.inner { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:822:27 [INFO] [stdout] | [INFO] [stdout] 822 | .filter_map(|(id, item)| item.inner.as_module().map(|inner| self.edge(item, inner))) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:827:27 [INFO] [stdout] | [INFO] [stdout] 827 | .filter_map(|(id, item)| item.inner.as_import().map(|inner| self.edge(item, inner))) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:832:27 [INFO] [stdout] | [INFO] [stdout] 832 | .filter_map(|(id, item)| item.inner.as_union().map(|inner| self.edge(item, inner))) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:837:27 [INFO] [stdout] | [INFO] [stdout] 837 | .filter_map(|(id, item)| item.inner.as_struct().map(|inner| self.edge(item, inner))) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:842:39 [INFO] [stdout] | [INFO] [stdout] 842 | self.raw_items().filter_map(|(id, item)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:855:39 [INFO] [stdout] | [INFO] [stdout] 855 | self.raw_items().filter_map(|(id, item)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:868:39 [INFO] [stdout] | [INFO] [stdout] 868 | self.raw_items().filter_map(|(id, item)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:881:27 [INFO] [stdout] | [INFO] [stdout] 881 | .filter_map(|(id, item)| item.inner.as_enum().map(|inner| self.edge(item, inner))) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:887:27 [INFO] [stdout] | [INFO] [stdout] 887 | .filter_map(|(id, item)| item.inner.as_variant().map(|inner| self.edge(item, inner))) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:892:27 [INFO] [stdout] | [INFO] [stdout] 892 | .filter_map(|(id, item)| item.inner.as_function().map(|inner| self.edge(item, inner))) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:897:27 [INFO] [stdout] | [INFO] [stdout] 897 | .filter_map(|(id, item)| item.inner.as_trait().map(|inner| self.edge(item, inner))) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:901:39 [INFO] [stdout] | [INFO] [stdout] 901 | self.raw_items().filter_map(|(id, item)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:911:27 [INFO] [stdout] | [INFO] [stdout] 911 | .filter_map(|(id, item)| item.inner.as_impl().map(|inner| self.edge(item, inner))) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:915:39 [INFO] [stdout] | [INFO] [stdout] 915 | self.raw_items().filter_map(|(id, item)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:923:39 [INFO] [stdout] | [INFO] [stdout] 923 | self.raw_items().filter_map(|(id, item)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:932:27 [INFO] [stdout] | [INFO] [stdout] 932 | .filter_map(|(id, item)| item.inner.as_constant().map(|inner| self.edge(item, inner))) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:937:27 [INFO] [stdout] | [INFO] [stdout] 937 | .filter_map(|(id, item)| item.inner.as_static().map(|inner| self.edge(item, inner))) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:942:27 [INFO] [stdout] | [INFO] [stdout] 942 | .filter_map(|(id, item)| item.inner.as_macro().map(|inner| self.edge(item, inner))) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:946:39 [INFO] [stdout] | [INFO] [stdout] 946 | self.raw_items().filter_map(|(id, item)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:954:39 [INFO] [stdout] | [INFO] [stdout] 954 | self.raw_items().filter_map(|(id, item)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:1039:27 [INFO] [stdout] | [INFO] [stdout] 1039 | .filter_map(|(id, item)| match &item.inner { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:1059:27 [INFO] [stdout] | [INFO] [stdout] 1059 | .filter_map(|(id, item)| match &item.inner { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:1082:17 [INFO] [stdout] | [INFO] [stdout] 1082 | id, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:1268:27 [INFO] [stdout] | [INFO] [stdout] 1268 | .filter_map(|(id, item)| match &item.inner { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:1280:27 [INFO] [stdout] | [INFO] [stdout] 1280 | .filter_map(|(id, item)| match &item.inner { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:1294:27 [INFO] [stdout] | [INFO] [stdout] 1294 | .filter_map(|(id, item)| match &item.inner { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:1375:25 [INFO] [stdout] | [INFO] [stdout] 1375 | id, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:1399:31 [INFO] [stdout] | [INFO] [stdout] 1399 | .filter_map(|(id, item)| match &item.inner { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/lib.rs:98:60 [INFO] [stdout] | [INFO] [stdout] 97 | ... kind: todo!("depends on the path"), [INFO] [stdout] | ---------------------------- any code following this expression is unreachable [INFO] [stdout] 98 | ... functions: (), [INFO] [stdout] | ^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/lib.rs:115:60 [INFO] [stdout] | [INFO] [stdout] 114 | ... kind: todo!(), [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 115 | ... functions: todo!(), [INFO] [stdout] | ^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/lib.rs:162:44 [INFO] [stdout] | [INFO] [stdout] 162 | ... break 'wit WitType { [INFO] [stdout] | __________________________________^ [INFO] [stdout] 163 | | ... kind: WitTypeKind::Resource(struct_name), [INFO] [stdout] 164 | | ... functions: (), [INFO] [stdout] 165 | | ... source: todo!(), [INFO] [stdout] | | ------- any code following this expression is unreachable [INFO] [stdout] 166 | | ... }; [INFO] [stdout] | |_______________________^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/lib.rs:207:60 [INFO] [stdout] | [INFO] [stdout] 206 | ... kind: todo!("depends on the path"), [INFO] [stdout] | ---------------------------- any code following this expression is unreachable [INFO] [stdout] 207 | ... functions: (), [INFO] [stdout] | ^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/lib.rs:217:60 [INFO] [stdout] | [INFO] [stdout] 216 | ... kind: todo!(), [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 217 | ... functions: todo!(), [INFO] [stdout] | ^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/lib.rs:257:48 [INFO] [stdout] | [INFO] [stdout] 257 | ... break 'wit WitType { [INFO] [stdout] | __________________________________^ [INFO] [stdout] 258 | | ... kind: WitTypeKind::Resource(struct_name), [INFO] [stdout] 259 | | ... functions: (), [INFO] [stdout] 260 | | ... source: todo!(), [INFO] [stdout] | | ------- any code following this expression is unreachable [INFO] [stdout] 261 | | ... }; [INFO] [stdout] | |_______________________^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/lib.rs:270:44 [INFO] [stdout] | [INFO] [stdout] 269 | ... kind: todo!(), [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 270 | ... functions: todo!(), [INFO] [stdout] | ^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:402:14 [INFO] [stdout] | [INFO] [stdout] 402 | let (id, item) = self [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unit` [INFO] [stdout] --> src/lib.rs:187:44 [INFO] [stdout] | [INFO] [stdout] 187 | StructItemKind::StructUnit(unit) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `variant` [INFO] [stdout] --> src/lib.rs:647:31 [INFO] [stdout] | [INFO] [stdout] 647 | ItemEnum::Variant(variant) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variant` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bindings` [INFO] [stdout] --> src/lib.rs:863:57 [INFO] [stdout] | [INFO] [stdout] 863 | GenericArgs::AngleBracketed { args, bindings } => { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `bindings: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inputs` [INFO] [stdout] --> src/lib.rs:881:50 [INFO] [stdout] | [INFO] [stdout] 881 | GenericArgs::Parenthesized { inputs, output } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `inputs: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/lib.rs:881:58 [INFO] [stdout] | [INFO] [stdout] 881 | GenericArgs::Parenthesized { inputs, output } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `output: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bindings` [INFO] [stdout] --> src/lib.rs:972:57 [INFO] [stdout] | [INFO] [stdout] 972 | GenericArgs::AngleBracketed { args, bindings } => { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `bindings: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inputs` [INFO] [stdout] --> src/lib.rs:990:50 [INFO] [stdout] | [INFO] [stdout] 990 | GenericArgs::Parenthesized { inputs, output } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `inputs: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/lib.rs:990:58 [INFO] [stdout] | [INFO] [stdout] 990 | GenericArgs::Parenthesized { inputs, output } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `output: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WitFunction` is never constructed [INFO] [stdout] --> src/lib.rs:309:8 [INFO] [stdout] | [INFO] [stdout] 309 | struct WitFunction { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print` is never used [INFO] [stdout] --> src/lib.rs:316:8 [INFO] [stdout] | [INFO] [stdout] 315 | impl WitFunction { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 316 | fn print(&self) -> impl std::fmt::Display { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `functions` and `source` are never read [INFO] [stdout] --> src/lib.rs:336:5 [INFO] [stdout] | [INFO] [stdout] 334 | struct WitType { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 335 | kind: WitTypeKind, [INFO] [stdout] 336 | functions: (), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 337 | source: Source, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:341:11 [INFO] [stdout] | [INFO] [stdout] 341 | Local(Id), [INFO] [stdout] | ----- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 341 - Local(Id), [INFO] [stdout] 341 + Local(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:342:13 [INFO] [stdout] | [INFO] [stdout] 342 | Foreign(Option), [INFO] [stdout] | ------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 342 - Foreign(Option), [INFO] [stdout] 342 + Foreign(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Resource` is never constructed [INFO] [stdout] --> src/lib.rs:374:8 [INFO] [stdout] | [INFO] [stdout] 374 | struct Resource { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main_old` is never used [INFO] [stdout] --> src/lib.rs:458:4 [INFO] [stdout] | [INFO] [stdout] 458 | fn main_old(_args: Args) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_func_print` is never used [INFO] [stdout] --> src/lib.rs:676:4 [INFO] [stdout] | [INFO] [stdout] 676 | fn handle_func_print( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_struct_print` is never used [INFO] [stdout] --> src/lib.rs:708:4 [INFO] [stdout] | [INFO] [stdout] 708 | fn handle_struct_print< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_struct_rust` is never used [INFO] [stdout] --> src/lib.rs:757:4 [INFO] [stdout] | [INFO] [stdout] 757 | fn print_struct_rust< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_struct_wit` is never used [INFO] [stdout] --> src/lib.rs:787:4 [INFO] [stdout] | [INFO] [stdout] 787 | fn print_struct_wit< [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_struct_field_rust` is never used [INFO] [stdout] --> src/lib.rs:817:4 [INFO] [stdout] | [INFO] [stdout] 817 | fn print_struct_field_rust( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_struct_field_wit` is never used [INFO] [stdout] --> src/lib.rs:827:4 [INFO] [stdout] | [INFO] [stdout] 827 | fn print_struct_field_wit( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_func_rust` is never used [INFO] [stdout] --> src/lib.rs:837:4 [INFO] [stdout] | [INFO] [stdout] 837 | fn print_func_rust(buffer: &mut W, key: &str, path: &str, inputs: &str, outputs: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_func_wit` is never used [INFO] [stdout] --> src/lib.rs:841:4 [INFO] [stdout] | [INFO] [stdout] 841 | fn print_func_wit(buffer: &mut W, key: &str, path: &str, inputs: &str, outputs: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `path_join_rust` is never used [INFO] [stdout] --> src/lib.rs:845:4 [INFO] [stdout] | [INFO] [stdout] 845 | fn path_join_rust(path: &[String]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `path_join_wit` is never used [INFO] [stdout] --> src/lib.rs:849:4 [INFO] [stdout] | [INFO] [stdout] 849 | fn path_join_wit(path: &[String]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_type_rust` is never used [INFO] [stdout] --> src/lib.rs:856:4 [INFO] [stdout] | [INFO] [stdout] 856 | fn print_type_rust(krate: &Crate, typ: &Type) -> ColoredString { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `push_colored_str` is never used [INFO] [stdout] --> src/lib.rs:946:4 [INFO] [stdout] | [INFO] [stdout] 946 | fn push_colored_str(s: ColoredString, add: &str) -> ColoredString { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `join_colored_str` is never used [INFO] [stdout] --> src/lib.rs:950:4 [INFO] [stdout] | [INFO] [stdout] 950 | fn join_colored_str(items: &[ColoredString], delimiter: &str) -> ColoredString { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_type_wit` is never used [INFO] [stdout] --> src/lib.rs:962:4 [INFO] [stdout] | [INFO] [stdout] 962 | fn print_type_wit(krate: &Crate, typ: &Type) -> ColoredString { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `map_rust_primitive_to_wit` is never used [INFO] [stdout] --> src/lib.rs:1098:4 [INFO] [stdout] | [INFO] [stdout] 1098 | fn map_rust_primitive_to_wit(ty: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wittier v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/query.rs:365:22 [INFO] [stdout] | [INFO] [stdout] 365 | pub struct Macro<'c>(&'c str); [INFO] [stdout] | ----- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `type_` and `default` are never read [INFO] [stdout] --> src/query.rs:368:5 [INFO] [stdout] | [INFO] [stdout] 367 | pub struct AssocConst<'c> { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 368 | type_: &'c rustdoc_types::Type, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 369 | /// e.g. `const X: usize = 5;` [INFO] [stdout] 370 | default: Option<&'c str>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `generics`, `bounds`, and `default` are never read [INFO] [stdout] --> src/query.rs:374:5 [INFO] [stdout] | [INFO] [stdout] 373 | pub struct AssocType<'c> { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 374 | generics: &'c rustdoc_types::Generics, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 375 | bounds: &'c [rustdoc_types::GenericBound], [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 376 | /// e.g. `type X = usize;` [INFO] [stdout] 377 | default: Option<&'c rustdoc_types::Type>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `type_` and `len` are never read [INFO] [stdout] --> src/query.rs:1230:5 [INFO] [stdout] | [INFO] [stdout] 1229 | pub struct Array<'c> { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 1230 | type_: &'c rustdoc_types::Type, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 1231 | len: &'c str, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mutable` and `type_` are never read [INFO] [stdout] --> src/query.rs:1236:5 [INFO] [stdout] | [INFO] [stdout] 1235 | pub struct RawPointer<'c> { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 1236 | mutable: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 1237 | type_: &'c rustdoc_types::Type, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lifetime`, `mutable`, and `type_` are never read [INFO] [stdout] --> src/query.rs:1241:5 [INFO] [stdout] | [INFO] [stdout] 1240 | pub struct BorrowedRef<'c> { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 1241 | lifetime: Option<&'c str>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 1242 | mutable: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 1243 | type_: &'c rustdoc_types::Type, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `args`, `self_type`, and `trait_` are never read [INFO] [stdout] --> src/query.rs:1248:5 [INFO] [stdout] | [INFO] [stdout] 1247 | pub struct QualifiedPath<'c> { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 1248 | name: &'c str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1249 | args: &'c rustdoc_types::GenericArgs, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1250 | self_type: &'c rustdoc_types::Type, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 1251 | /// `None` iff this is an *inherent* associated type. [INFO] [stdout] 1252 | trait_: Option<&'c rustdoc_types::Path>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | fn as_macro(&self) -> Option; [INFO] [stdout] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 77 | fn as_macro(&self) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:80:23 [INFO] [stdout] | [INFO] [stdout] 80 | fn as_assoc_const(&self) -> Option; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 80 | fn as_assoc_const(&self) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:81:22 [INFO] [stdout] | [INFO] [stdout] 81 | fn as_assoc_type(&self) -> Option; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 81 | fn as_assoc_type(&self) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:204:17 [INFO] [stdout] | [INFO] [stdout] 204 | fn as_macro(&self) -> Option { [INFO] [stdout] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 204 | fn as_macro(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:228:23 [INFO] [stdout] | [INFO] [stdout] 228 | fn as_assoc_const(&self) -> Option { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 228 | fn as_assoc_const(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:239:22 [INFO] [stdout] | [INFO] [stdout] 239 | fn as_assoc_type(&self) -> Option { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 239 | fn as_assoc_type(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:443:30 [INFO] [stdout] | [INFO] [stdout] 443 | pub fn all_plain_structs(&self) -> impl Iterator>> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 443 | pub fn all_plain_structs(&self) -> impl Iterator>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:455:29 [INFO] [stdout] | [INFO] [stdout] 455 | pub fn all_unit_structs(&self) -> impl Iterator>> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 455 | pub fn all_unit_structs(&self) -> impl Iterator>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:467:30 [INFO] [stdout] | [INFO] [stdout] 467 | pub fn all_tuple_structs(&self) -> impl Iterator>> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 467 | pub fn all_tuple_structs(&self) -> impl Iterator>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:553:23 [INFO] [stdout] | [INFO] [stdout] 553 | pub fn all_macros(&self) -> impl Iterator> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 553 | pub fn all_macros(&self) -> impl Iterator>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:667:17 [INFO] [stdout] | [INFO] [stdout] 667 | pub fn kind(&self) -> ItemKind { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 667 | pub fn kind(&self) -> ItemKind<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:771:18 [INFO] [stdout] | [INFO] [stdout] 771 | pub fn items(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 771 | pub fn items(&self) -> impl Iterator> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:841:26 [INFO] [stdout] | [INFO] [stdout] 841 | pub fn plain_structs(&self) -> impl Iterator>> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 841 | pub fn plain_structs(&self) -> impl Iterator>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:854:25 [INFO] [stdout] | [INFO] [stdout] 854 | pub fn unit_structs(&self) -> impl Iterator>> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 854 | pub fn unit_structs(&self) -> impl Iterator>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:867:26 [INFO] [stdout] | [INFO] [stdout] 867 | pub fn tuple_structs(&self) -> impl Iterator>> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 867 | pub fn tuple_structs(&self) -> impl Iterator>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:940:19 [INFO] [stdout] | [INFO] [stdout] 940 | pub fn macros(&self) -> impl Iterator> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 940 | pub fn macros(&self) -> impl Iterator>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:1008:24 [INFO] [stdout] | [INFO] [stdout] 1008 | pub fn struct_kind(&self) -> StructItemKind { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1008 | pub fn struct_kind(&self) -> StructItemKind<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:1034:18 [INFO] [stdout] | [INFO] [stdout] 1034 | pub fn impls(&self) -> impl Iterator> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1034 | pub fn impls(&self) -> impl Iterator> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:1149:22 [INFO] [stdout] | [INFO] [stdout] 1149 | pub fn type_kind(&self) -> TypeKind { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1149 | pub fn type_kind(&self) -> TypeKind<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:1314:24 [INFO] [stdout] | [INFO] [stdout] 1314 | pub fn variantkind(&self) -> VariantItemKind { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1314 | pub fn variantkind(&self) -> VariantItemKind<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/lib.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | collections::{HashMap, HashSet}, [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: `id` [INFO] [stdout] --> src/query.rs:412:46 [INFO] [stdout] | [INFO] [stdout] 412 | self.krate.index.iter().filter_map(|(id, item)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:420:46 [INFO] [stdout] | [INFO] [stdout] 420 | self.krate.index.iter().filter_map(|(id, item)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:428:46 [INFO] [stdout] | [INFO] [stdout] 428 | self.krate.index.iter().filter_map(|(id, item)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:436:46 [INFO] [stdout] | [INFO] [stdout] 436 | self.krate.index.iter().filter_map(|(id, item)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:444:46 [INFO] [stdout] | [INFO] [stdout] 444 | self.krate.index.iter().filter_map(|(id, item)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:456:46 [INFO] [stdout] | [INFO] [stdout] 456 | self.krate.index.iter().filter_map(|(id, item)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:468:46 [INFO] [stdout] | [INFO] [stdout] 468 | self.krate.index.iter().filter_map(|(id, item)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:480:46 [INFO] [stdout] | [INFO] [stdout] 480 | self.krate.index.iter().filter_map(|(id, item)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:488:46 [INFO] [stdout] | [INFO] [stdout] 488 | self.krate.index.iter().filter_map(|(id, item)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:496:46 [INFO] [stdout] | [INFO] [stdout] 496 | self.krate.index.iter().filter_map(|(id, item)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:504:46 [INFO] [stdout] | [INFO] [stdout] 504 | self.krate.index.iter().filter_map(|(id, item)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:512:46 [INFO] [stdout] | [INFO] [stdout] 512 | self.krate.index.iter().filter_map(|(id, item)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:520:46 [INFO] [stdout] | [INFO] [stdout] 520 | self.krate.index.iter().filter_map(|(id, item)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:528:46 [INFO] [stdout] | [INFO] [stdout] 528 | self.krate.index.iter().filter_map(|(id, item)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:536:46 [INFO] [stdout] | [INFO] [stdout] 536 | self.krate.index.iter().filter_map(|(id, item)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:545:46 [INFO] [stdout] | [INFO] [stdout] 545 | self.krate.index.iter().filter_map(|(id, item)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:554:46 [INFO] [stdout] | [INFO] [stdout] 554 | self.krate.index.iter().filter_map(|(id, item)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:562:46 [INFO] [stdout] | [INFO] [stdout] 562 | self.krate.index.iter().filter_map(|(id, item)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:570:46 [INFO] [stdout] | [INFO] [stdout] 570 | self.krate.index.iter().filter_map(|(id, item)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:772:32 [INFO] [stdout] | [INFO] [stdout] 772 | self.raw_items().map(|(id, item)| match &item.inner { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:822:27 [INFO] [stdout] | [INFO] [stdout] 822 | .filter_map(|(id, item)| item.inner.as_module().map(|inner| self.edge(item, inner))) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:827:27 [INFO] [stdout] | [INFO] [stdout] 827 | .filter_map(|(id, item)| item.inner.as_import().map(|inner| self.edge(item, inner))) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:832:27 [INFO] [stdout] | [INFO] [stdout] 832 | .filter_map(|(id, item)| item.inner.as_union().map(|inner| self.edge(item, inner))) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:837:27 [INFO] [stdout] | [INFO] [stdout] 837 | .filter_map(|(id, item)| item.inner.as_struct().map(|inner| self.edge(item, inner))) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:842:39 [INFO] [stdout] | [INFO] [stdout] 842 | self.raw_items().filter_map(|(id, item)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:855:39 [INFO] [stdout] | [INFO] [stdout] 855 | self.raw_items().filter_map(|(id, item)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:868:39 [INFO] [stdout] | [INFO] [stdout] 868 | self.raw_items().filter_map(|(id, item)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:881:27 [INFO] [stdout] | [INFO] [stdout] 881 | .filter_map(|(id, item)| item.inner.as_enum().map(|inner| self.edge(item, inner))) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:887:27 [INFO] [stdout] | [INFO] [stdout] 887 | .filter_map(|(id, item)| item.inner.as_variant().map(|inner| self.edge(item, inner))) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:892:27 [INFO] [stdout] | [INFO] [stdout] 892 | .filter_map(|(id, item)| item.inner.as_function().map(|inner| self.edge(item, inner))) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:897:27 [INFO] [stdout] | [INFO] [stdout] 897 | .filter_map(|(id, item)| item.inner.as_trait().map(|inner| self.edge(item, inner))) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:901:39 [INFO] [stdout] | [INFO] [stdout] 901 | self.raw_items().filter_map(|(id, item)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:911:27 [INFO] [stdout] | [INFO] [stdout] 911 | .filter_map(|(id, item)| item.inner.as_impl().map(|inner| self.edge(item, inner))) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:915:39 [INFO] [stdout] | [INFO] [stdout] 915 | self.raw_items().filter_map(|(id, item)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:923:39 [INFO] [stdout] | [INFO] [stdout] 923 | self.raw_items().filter_map(|(id, item)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:932:27 [INFO] [stdout] | [INFO] [stdout] 932 | .filter_map(|(id, item)| item.inner.as_constant().map(|inner| self.edge(item, inner))) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:937:27 [INFO] [stdout] | [INFO] [stdout] 937 | .filter_map(|(id, item)| item.inner.as_static().map(|inner| self.edge(item, inner))) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:942:27 [INFO] [stdout] | [INFO] [stdout] 942 | .filter_map(|(id, item)| item.inner.as_macro().map(|inner| self.edge(item, inner))) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:946:39 [INFO] [stdout] | [INFO] [stdout] 946 | self.raw_items().filter_map(|(id, item)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:954:39 [INFO] [stdout] | [INFO] [stdout] 954 | self.raw_items().filter_map(|(id, item)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:1039:27 [INFO] [stdout] | [INFO] [stdout] 1039 | .filter_map(|(id, item)| match &item.inner { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:1059:27 [INFO] [stdout] | [INFO] [stdout] 1059 | .filter_map(|(id, item)| match &item.inner { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:1082:17 [INFO] [stdout] | [INFO] [stdout] 1082 | id, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:1268:27 [INFO] [stdout] | [INFO] [stdout] 1268 | .filter_map(|(id, item)| match &item.inner { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:1280:27 [INFO] [stdout] | [INFO] [stdout] 1280 | .filter_map(|(id, item)| match &item.inner { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:1294:27 [INFO] [stdout] | [INFO] [stdout] 1294 | .filter_map(|(id, item)| match &item.inner { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:1375:25 [INFO] [stdout] | [INFO] [stdout] 1375 | id, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:1399:31 [INFO] [stdout] | [INFO] [stdout] 1399 | .filter_map(|(id, item)| match &item.inner { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/lib.rs:98:60 [INFO] [stdout] | [INFO] [stdout] 97 | ... kind: todo!("depends on the path"), [INFO] [stdout] | ---------------------------- any code following this expression is unreachable [INFO] [stdout] 98 | ... functions: (), [INFO] [stdout] | ^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/lib.rs:115:60 [INFO] [stdout] | [INFO] [stdout] 114 | ... kind: todo!(), [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 115 | ... functions: todo!(), [INFO] [stdout] | ^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/lib.rs:162:44 [INFO] [stdout] | [INFO] [stdout] 162 | ... break 'wit WitType { [INFO] [stdout] | __________________________________^ [INFO] [stdout] 163 | | ... kind: WitTypeKind::Resource(struct_name), [INFO] [stdout] 164 | | ... functions: (), [INFO] [stdout] 165 | | ... source: todo!(), [INFO] [stdout] | | ------- any code following this expression is unreachable [INFO] [stdout] 166 | | ... }; [INFO] [stdout] | |_______________________^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/lib.rs:207:60 [INFO] [stdout] | [INFO] [stdout] 206 | ... kind: todo!("depends on the path"), [INFO] [stdout] | ---------------------------- any code following this expression is unreachable [INFO] [stdout] 207 | ... functions: (), [INFO] [stdout] | ^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/lib.rs:217:60 [INFO] [stdout] | [INFO] [stdout] 216 | ... kind: todo!(), [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 217 | ... functions: todo!(), [INFO] [stdout] | ^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/lib.rs:257:48 [INFO] [stdout] | [INFO] [stdout] 257 | ... break 'wit WitType { [INFO] [stdout] | __________________________________^ [INFO] [stdout] 258 | | ... kind: WitTypeKind::Resource(struct_name), [INFO] [stdout] 259 | | ... functions: (), [INFO] [stdout] 260 | | ... source: todo!(), [INFO] [stdout] | | ------- any code following this expression is unreachable [INFO] [stdout] 261 | | ... }; [INFO] [stdout] | |_______________________^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/lib.rs:270:44 [INFO] [stdout] | [INFO] [stdout] 269 | ... kind: todo!(), [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 270 | ... functions: todo!(), [INFO] [stdout] | ^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/query.rs:402:14 [INFO] [stdout] | [INFO] [stdout] 402 | let (id, item) = self [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bindings` [INFO] [stdout] --> src/query.rs:1562:76 [INFO] [stdout] | [INFO] [stdout] 1562 | rustdoc_types::GenericArgs::AngleBracketed { args, bindings } => { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `bindings: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inputs` [INFO] [stdout] --> src/query.rs:1582:69 [INFO] [stdout] | [INFO] [stdout] 1582 | rustdoc_types::GenericArgs::Parenthesized { inputs, output } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `inputs: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/query.rs:1582:77 [INFO] [stdout] | [INFO] [stdout] 1582 | rustdoc_types::GenericArgs::Parenthesized { inputs, output } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `output: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unit` [INFO] [stdout] --> src/lib.rs:187:44 [INFO] [stdout] | [INFO] [stdout] 187 | StructItemKind::StructUnit(unit) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `variant` [INFO] [stdout] --> src/lib.rs:647:31 [INFO] [stdout] | [INFO] [stdout] 647 | ItemEnum::Variant(variant) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variant` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bindings` [INFO] [stdout] --> src/lib.rs:863:57 [INFO] [stdout] | [INFO] [stdout] 863 | GenericArgs::AngleBracketed { args, bindings } => { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `bindings: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inputs` [INFO] [stdout] --> src/lib.rs:881:50 [INFO] [stdout] | [INFO] [stdout] 881 | GenericArgs::Parenthesized { inputs, output } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `inputs: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/lib.rs:881:58 [INFO] [stdout] | [INFO] [stdout] 881 | GenericArgs::Parenthesized { inputs, output } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `output: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bindings` [INFO] [stdout] --> src/lib.rs:972:57 [INFO] [stdout] | [INFO] [stdout] 972 | GenericArgs::AngleBracketed { args, bindings } => { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `bindings: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inputs` [INFO] [stdout] --> src/lib.rs:990:50 [INFO] [stdout] | [INFO] [stdout] 990 | GenericArgs::Parenthesized { inputs, output } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `inputs: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/lib.rs:990:58 [INFO] [stdout] | [INFO] [stdout] 990 | GenericArgs::Parenthesized { inputs, output } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `output: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WitFunction` is never constructed [INFO] [stdout] --> src/lib.rs:309:8 [INFO] [stdout] | [INFO] [stdout] 309 | struct WitFunction { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print` is never used [INFO] [stdout] --> src/lib.rs:316:8 [INFO] [stdout] | [INFO] [stdout] 315 | impl WitFunction { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 316 | fn print(&self) -> impl std::fmt::Display { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `functions` and `source` are never read [INFO] [stdout] --> src/lib.rs:336:5 [INFO] [stdout] | [INFO] [stdout] 334 | struct WitType { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 335 | kind: WitTypeKind, [INFO] [stdout] 336 | functions: (), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 337 | source: Source, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:341:11 [INFO] [stdout] | [INFO] [stdout] 341 | Local(Id), [INFO] [stdout] | ----- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 341 - Local(Id), [INFO] [stdout] 341 + Local(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:342:13 [INFO] [stdout] | [INFO] [stdout] 342 | Foreign(Option), [INFO] [stdout] | ------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 342 - Foreign(Option), [INFO] [stdout] 342 + Foreign(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Resource` is never constructed [INFO] [stdout] --> src/lib.rs:374:8 [INFO] [stdout] | [INFO] [stdout] 374 | struct Resource { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main_old` is never used [INFO] [stdout] --> src/lib.rs:458:4 [INFO] [stdout] | [INFO] [stdout] 458 | fn main_old(_args: Args) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_func_print` is never used [INFO] [stdout] --> src/lib.rs:676:4 [INFO] [stdout] | [INFO] [stdout] 676 | fn handle_func_print( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_struct_print` is never used [INFO] [stdout] --> src/lib.rs:708:4 [INFO] [stdout] | [INFO] [stdout] 708 | fn handle_struct_print< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_struct_rust` is never used [INFO] [stdout] --> src/lib.rs:757:4 [INFO] [stdout] | [INFO] [stdout] 757 | fn print_struct_rust< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_struct_wit` is never used [INFO] [stdout] --> src/lib.rs:787:4 [INFO] [stdout] | [INFO] [stdout] 787 | fn print_struct_wit< [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_struct_field_rust` is never used [INFO] [stdout] --> src/lib.rs:817:4 [INFO] [stdout] | [INFO] [stdout] 817 | fn print_struct_field_rust( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_struct_field_wit` is never used [INFO] [stdout] --> src/lib.rs:827:4 [INFO] [stdout] | [INFO] [stdout] 827 | fn print_struct_field_wit( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_func_rust` is never used [INFO] [stdout] --> src/lib.rs:837:4 [INFO] [stdout] | [INFO] [stdout] 837 | fn print_func_rust(buffer: &mut W, key: &str, path: &str, inputs: &str, outputs: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_func_wit` is never used [INFO] [stdout] --> src/lib.rs:841:4 [INFO] [stdout] | [INFO] [stdout] 841 | fn print_func_wit(buffer: &mut W, key: &str, path: &str, inputs: &str, outputs: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `path_join_rust` is never used [INFO] [stdout] --> src/lib.rs:845:4 [INFO] [stdout] | [INFO] [stdout] 845 | fn path_join_rust(path: &[String]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `path_join_wit` is never used [INFO] [stdout] --> src/lib.rs:849:4 [INFO] [stdout] | [INFO] [stdout] 849 | fn path_join_wit(path: &[String]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_type_rust` is never used [INFO] [stdout] --> src/lib.rs:856:4 [INFO] [stdout] | [INFO] [stdout] 856 | fn print_type_rust(krate: &Crate, typ: &Type) -> ColoredString { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `push_colored_str` is never used [INFO] [stdout] --> src/lib.rs:946:4 [INFO] [stdout] | [INFO] [stdout] 946 | fn push_colored_str(s: ColoredString, add: &str) -> ColoredString { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `join_colored_str` is never used [INFO] [stdout] --> src/lib.rs:950:4 [INFO] [stdout] | [INFO] [stdout] 950 | fn join_colored_str(items: &[ColoredString], delimiter: &str) -> ColoredString { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_type_wit` is never used [INFO] [stdout] --> src/lib.rs:962:4 [INFO] [stdout] | [INFO] [stdout] 962 | fn print_type_wit(krate: &Crate, typ: &Type) -> ColoredString { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `map_rust_primitive_to_wit` is never used [INFO] [stdout] --> src/lib.rs:1098:4 [INFO] [stdout] | [INFO] [stdout] 1098 | fn map_rust_primitive_to_wit(ty: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/query.rs:365:22 [INFO] [stdout] | [INFO] [stdout] 365 | pub struct Macro<'c>(&'c str); [INFO] [stdout] | ----- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `type_` and `default` are never read [INFO] [stdout] --> src/query.rs:368:5 [INFO] [stdout] | [INFO] [stdout] 367 | pub struct AssocConst<'c> { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 368 | type_: &'c rustdoc_types::Type, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 369 | /// e.g. `const X: usize = 5;` [INFO] [stdout] 370 | default: Option<&'c str>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `generics`, `bounds`, and `default` are never read [INFO] [stdout] --> src/query.rs:374:5 [INFO] [stdout] | [INFO] [stdout] 373 | pub struct AssocType<'c> { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 374 | generics: &'c rustdoc_types::Generics, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 375 | bounds: &'c [rustdoc_types::GenericBound], [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 376 | /// e.g. `type X = usize;` [INFO] [stdout] 377 | default: Option<&'c rustdoc_types::Type>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `type_` and `len` are never read [INFO] [stdout] --> src/query.rs:1230:5 [INFO] [stdout] | [INFO] [stdout] 1229 | pub struct Array<'c> { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 1230 | type_: &'c rustdoc_types::Type, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 1231 | len: &'c str, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mutable` and `type_` are never read [INFO] [stdout] --> src/query.rs:1236:5 [INFO] [stdout] | [INFO] [stdout] 1235 | pub struct RawPointer<'c> { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 1236 | mutable: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 1237 | type_: &'c rustdoc_types::Type, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lifetime`, `mutable`, and `type_` are never read [INFO] [stdout] --> src/query.rs:1241:5 [INFO] [stdout] | [INFO] [stdout] 1240 | pub struct BorrowedRef<'c> { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 1241 | lifetime: Option<&'c str>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 1242 | mutable: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 1243 | type_: &'c rustdoc_types::Type, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `args`, `self_type`, and `trait_` are never read [INFO] [stdout] --> src/query.rs:1248:5 [INFO] [stdout] | [INFO] [stdout] 1247 | pub struct QualifiedPath<'c> { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 1248 | name: &'c str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1249 | args: &'c rustdoc_types::GenericArgs, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1250 | self_type: &'c rustdoc_types::Type, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 1251 | /// `None` iff this is an *inherent* associated type. [INFO] [stdout] 1252 | trait_: Option<&'c rustdoc_types::Path>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | fn as_macro(&self) -> Option; [INFO] [stdout] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 77 | fn as_macro(&self) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:80:23 [INFO] [stdout] | [INFO] [stdout] 80 | fn as_assoc_const(&self) -> Option; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 80 | fn as_assoc_const(&self) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:81:22 [INFO] [stdout] | [INFO] [stdout] 81 | fn as_assoc_type(&self) -> Option; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 81 | fn as_assoc_type(&self) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:204:17 [INFO] [stdout] | [INFO] [stdout] 204 | fn as_macro(&self) -> Option { [INFO] [stdout] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 204 | fn as_macro(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:228:23 [INFO] [stdout] | [INFO] [stdout] 228 | fn as_assoc_const(&self) -> Option { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 228 | fn as_assoc_const(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:239:22 [INFO] [stdout] | [INFO] [stdout] 239 | fn as_assoc_type(&self) -> Option { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 239 | fn as_assoc_type(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:443:30 [INFO] [stdout] | [INFO] [stdout] 443 | pub fn all_plain_structs(&self) -> impl Iterator>> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 443 | pub fn all_plain_structs(&self) -> impl Iterator>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:455:29 [INFO] [stdout] | [INFO] [stdout] 455 | pub fn all_unit_structs(&self) -> impl Iterator>> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 455 | pub fn all_unit_structs(&self) -> impl Iterator>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:467:30 [INFO] [stdout] | [INFO] [stdout] 467 | pub fn all_tuple_structs(&self) -> impl Iterator>> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 467 | pub fn all_tuple_structs(&self) -> impl Iterator>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:553:23 [INFO] [stdout] | [INFO] [stdout] 553 | pub fn all_macros(&self) -> impl Iterator> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 553 | pub fn all_macros(&self) -> impl Iterator>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:667:17 [INFO] [stdout] | [INFO] [stdout] 667 | pub fn kind(&self) -> ItemKind { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 667 | pub fn kind(&self) -> ItemKind<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:771:18 [INFO] [stdout] | [INFO] [stdout] 771 | pub fn items(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 771 | pub fn items(&self) -> impl Iterator> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:841:26 [INFO] [stdout] | [INFO] [stdout] 841 | pub fn plain_structs(&self) -> impl Iterator>> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 841 | pub fn plain_structs(&self) -> impl Iterator>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:854:25 [INFO] [stdout] | [INFO] [stdout] 854 | pub fn unit_structs(&self) -> impl Iterator>> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 854 | pub fn unit_structs(&self) -> impl Iterator>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:867:26 [INFO] [stdout] | [INFO] [stdout] 867 | pub fn tuple_structs(&self) -> impl Iterator>> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 867 | pub fn tuple_structs(&self) -> impl Iterator>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:940:19 [INFO] [stdout] | [INFO] [stdout] 940 | pub fn macros(&self) -> impl Iterator> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 940 | pub fn macros(&self) -> impl Iterator>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:1008:24 [INFO] [stdout] | [INFO] [stdout] 1008 | pub fn struct_kind(&self) -> StructItemKind { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1008 | pub fn struct_kind(&self) -> StructItemKind<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:1034:18 [INFO] [stdout] | [INFO] [stdout] 1034 | pub fn impls(&self) -> impl Iterator> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1034 | pub fn impls(&self) -> impl Iterator> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:1149:22 [INFO] [stdout] | [INFO] [stdout] 1149 | pub fn type_kind(&self) -> TypeKind { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1149 | pub fn type_kind(&self) -> TypeKind<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:1314:24 [INFO] [stdout] | [INFO] [stdout] 1314 | pub fn variantkind(&self) -> VariantItemKind { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1314 | pub fn variantkind(&self) -> VariantItemKind<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.31s [INFO] running `Command { std: "docker" "inspect" "453ceb5f3956207b1d3a4eebcab5d674e718ccdba01b3c3bf6ba97f394857ede", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "453ceb5f3956207b1d3a4eebcab5d674e718ccdba01b3c3bf6ba97f394857ede", kill_on_drop: false }` [INFO] [stdout] 453ceb5f3956207b1d3a4eebcab5d674e718ccdba01b3c3bf6ba97f394857ede [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2e1a9946b4b78d353e94f6f814e9a5a9ab2981b2d6f3d7418d1b9861f150835c [INFO] running `Command { std: "docker" "start" "-a" "2e1a9946b4b78d353e94f6f814e9a5a9ab2981b2d6f3d7418d1b9861f150835c", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `HashMap` [INFO] [stderr] --> src/lib.rs:2:19 [INFO] [stderr] | [INFO] [stderr] 2 | collections::{HashMap, HashSet}, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/query.rs:412:46 [INFO] [stderr] | [INFO] [stderr] 412 | self.krate.index.iter().filter_map(|(id, item)| { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/query.rs:420:46 [INFO] [stderr] | [INFO] [stderr] 420 | self.krate.index.iter().filter_map(|(id, item)| { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/query.rs:428:46 [INFO] [stderr] | [INFO] [stderr] 428 | self.krate.index.iter().filter_map(|(id, item)| { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/query.rs:436:46 [INFO] [stderr] | [INFO] [stderr] 436 | self.krate.index.iter().filter_map(|(id, item)| { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/query.rs:444:46 [INFO] [stderr] | [INFO] [stderr] 444 | self.krate.index.iter().filter_map(|(id, item)| { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/query.rs:456:46 [INFO] [stderr] | [INFO] [stderr] 456 | self.krate.index.iter().filter_map(|(id, item)| { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/query.rs:468:46 [INFO] [stderr] | [INFO] [stderr] 468 | self.krate.index.iter().filter_map(|(id, item)| { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/query.rs:480:46 [INFO] [stderr] | [INFO] [stderr] 480 | self.krate.index.iter().filter_map(|(id, item)| { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/query.rs:488:46 [INFO] [stderr] | [INFO] [stderr] 488 | self.krate.index.iter().filter_map(|(id, item)| { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/query.rs:496:46 [INFO] [stderr] | [INFO] [stderr] 496 | self.krate.index.iter().filter_map(|(id, item)| { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/query.rs:504:46 [INFO] [stderr] | [INFO] [stderr] 504 | self.krate.index.iter().filter_map(|(id, item)| { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/query.rs:512:46 [INFO] [stderr] | [INFO] [stderr] 512 | self.krate.index.iter().filter_map(|(id, item)| { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/query.rs:520:46 [INFO] [stderr] | [INFO] [stderr] 520 | self.krate.index.iter().filter_map(|(id, item)| { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/query.rs:528:46 [INFO] [stderr] | [INFO] [stderr] 528 | self.krate.index.iter().filter_map(|(id, item)| { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/query.rs:536:46 [INFO] [stderr] | [INFO] [stderr] 536 | self.krate.index.iter().filter_map(|(id, item)| { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/query.rs:545:46 [INFO] [stderr] | [INFO] [stderr] 545 | self.krate.index.iter().filter_map(|(id, item)| { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/query.rs:554:46 [INFO] [stderr] | [INFO] [stderr] 554 | self.krate.index.iter().filter_map(|(id, item)| { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/query.rs:562:46 [INFO] [stderr] | [INFO] [stderr] 562 | self.krate.index.iter().filter_map(|(id, item)| { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/query.rs:570:46 [INFO] [stderr] | [INFO] [stderr] 570 | self.krate.index.iter().filter_map(|(id, item)| { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/query.rs:772:32 [INFO] [stderr] | [INFO] [stderr] 772 | self.raw_items().map(|(id, item)| match &item.inner { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/query.rs:822:27 [INFO] [stderr] | [INFO] [stderr] 822 | .filter_map(|(id, item)| item.inner.as_module().map(|inner| self.edge(item, inner))) [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/query.rs:827:27 [INFO] [stderr] | [INFO] [stderr] 827 | .filter_map(|(id, item)| item.inner.as_import().map(|inner| self.edge(item, inner))) [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/query.rs:832:27 [INFO] [stderr] | [INFO] [stderr] 832 | .filter_map(|(id, item)| item.inner.as_union().map(|inner| self.edge(item, inner))) [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/query.rs:837:27 [INFO] [stderr] | [INFO] [stderr] 837 | .filter_map(|(id, item)| item.inner.as_struct().map(|inner| self.edge(item, inner))) [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/query.rs:842:39 [INFO] [stderr] | [INFO] [stderr] 842 | self.raw_items().filter_map(|(id, item)| { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/query.rs:855:39 [INFO] [stderr] | [INFO] [stderr] 855 | self.raw_items().filter_map(|(id, item)| { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/query.rs:868:39 [INFO] [stderr] | [INFO] [stderr] 868 | self.raw_items().filter_map(|(id, item)| { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/query.rs:881:27 [INFO] [stderr] | [INFO] [stderr] 881 | .filter_map(|(id, item)| item.inner.as_enum().map(|inner| self.edge(item, inner))) [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/query.rs:887:27 [INFO] [stderr] | [INFO] [stderr] 887 | .filter_map(|(id, item)| item.inner.as_variant().map(|inner| self.edge(item, inner))) [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/query.rs:892:27 [INFO] [stderr] | [INFO] [stderr] 892 | .filter_map(|(id, item)| item.inner.as_function().map(|inner| self.edge(item, inner))) [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/query.rs:897:27 [INFO] [stderr] | [INFO] [stderr] 897 | .filter_map(|(id, item)| item.inner.as_trait().map(|inner| self.edge(item, inner))) [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/query.rs:901:39 [INFO] [stderr] | [INFO] [stderr] 901 | self.raw_items().filter_map(|(id, item)| { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/query.rs:911:27 [INFO] [stderr] | [INFO] [stderr] 911 | .filter_map(|(id, item)| item.inner.as_impl().map(|inner| self.edge(item, inner))) [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/query.rs:915:39 [INFO] [stderr] | [INFO] [stderr] 915 | self.raw_items().filter_map(|(id, item)| { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/query.rs:923:39 [INFO] [stderr] | [INFO] [stderr] 923 | self.raw_items().filter_map(|(id, item)| { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/query.rs:932:27 [INFO] [stderr] | [INFO] [stderr] 932 | .filter_map(|(id, item)| item.inner.as_constant().map(|inner| self.edge(item, inner))) [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/query.rs:937:27 [INFO] [stderr] | [INFO] [stderr] 937 | .filter_map(|(id, item)| item.inner.as_static().map(|inner| self.edge(item, inner))) [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/query.rs:942:27 [INFO] [stderr] | [INFO] [stderr] 942 | .filter_map(|(id, item)| item.inner.as_macro().map(|inner| self.edge(item, inner))) [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/query.rs:946:39 [INFO] [stderr] | [INFO] [stderr] 946 | self.raw_items().filter_map(|(id, item)| { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/query.rs:954:39 [INFO] [stderr] | [INFO] [stderr] 954 | self.raw_items().filter_map(|(id, item)| { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/query.rs:1039:27 [INFO] [stderr] | [INFO] [stderr] 1039 | .filter_map(|(id, item)| match &item.inner { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/query.rs:1059:27 [INFO] [stderr] | [INFO] [stderr] 1059 | .filter_map(|(id, item)| match &item.inner { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/query.rs:1082:17 [INFO] [stderr] | [INFO] [stderr] 1082 | id, [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/query.rs:1268:27 [INFO] [stderr] | [INFO] [stderr] 1268 | .filter_map(|(id, item)| match &item.inner { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/query.rs:1280:27 [INFO] [stderr] | [INFO] [stderr] 1280 | .filter_map(|(id, item)| match &item.inner { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/query.rs:1294:27 [INFO] [stderr] | [INFO] [stderr] 1294 | .filter_map(|(id, item)| match &item.inner { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/query.rs:1375:25 [INFO] [stderr] | [INFO] [stderr] 1375 | id, [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/query.rs:1399:31 [INFO] [stderr] | [INFO] [stderr] 1399 | .filter_map(|(id, item)| match &item.inner { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/lib.rs:98:60 [INFO] [stderr] | [INFO] [stderr] 97 | ... kind: todo!("depends on the path"), [INFO] [stderr] | ---------------------------- any code following this expression is unreachable [INFO] [stderr] 98 | ... functions: (), [INFO] [stderr] | ^^ unreachable expression [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/lib.rs:115:60 [INFO] [stderr] | [INFO] [stderr] 114 | ... kind: todo!(), [INFO] [stderr] | ------- any code following this expression is unreachable [INFO] [stderr] 115 | ... functions: todo!(), [INFO] [stderr] | ^^^^^^^ unreachable expression [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/lib.rs:162:44 [INFO] [stderr] | [INFO] [stderr] 162 | ... break 'wit WitType { [INFO] [stderr] | __________________________________^ [INFO] [stderr] 163 | | ... kind: WitTypeKind::Resource(struct_name), [INFO] [stderr] 164 | | ... functions: (), [INFO] [stderr] 165 | | ... source: todo!(), [INFO] [stderr] | | ------- any code following this expression is unreachable [INFO] [stderr] 166 | | ... }; [INFO] [stderr] | |_______________________^ unreachable expression [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/lib.rs:207:60 [INFO] [stderr] | [INFO] [stderr] 206 | ... kind: todo!("depends on the path"), [INFO] [stderr] | ---------------------------- any code following this expression is unreachable [INFO] [stderr] 207 | ... functions: (), [INFO] [stderr] | ^^ unreachable expression [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/lib.rs:217:60 [INFO] [stderr] | [INFO] [stderr] 216 | ... kind: todo!(), [INFO] [stderr] | ------- any code following this expression is unreachable [INFO] [stderr] 217 | ... functions: todo!(), [INFO] [stderr] | ^^^^^^^ unreachable expression [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/lib.rs:257:48 [INFO] [stderr] | [INFO] [stderr] 257 | ... break 'wit WitType { [INFO] [stderr] | __________________________________^ [INFO] [stderr] 258 | | ... kind: WitTypeKind::Resource(struct_name), [INFO] [stderr] 259 | | ... functions: (), [INFO] [stderr] 260 | | ... source: todo!(), [INFO] [stderr] | | ------- any code following this expression is unreachable [INFO] [stderr] 261 | | ... }; [INFO] [stderr] | |_______________________^ unreachable expression [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/lib.rs:270:44 [INFO] [stderr] | [INFO] [stderr] 269 | ... kind: todo!(), [INFO] [stderr] | ------- any code following this expression is unreachable [INFO] [stderr] 270 | ... functions: todo!(), [INFO] [stderr] | ^^^^^^^ unreachable expression [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/query.rs:402:14 [INFO] [stderr] | [INFO] [stderr] 402 | let (id, item) = self [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `unit` [INFO] [stderr] --> src/lib.rs:187:44 [INFO] [stderr] | [INFO] [stderr] 187 | StructItemKind::StructUnit(unit) => { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_unit` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `variant` [INFO] [stderr] --> src/lib.rs:647:31 [INFO] [stderr] | [INFO] [stderr] 647 | ItemEnum::Variant(variant) => { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variant` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `bindings` [INFO] [stderr] --> src/lib.rs:863:57 [INFO] [stderr] | [INFO] [stderr] 863 | GenericArgs::AngleBracketed { args, bindings } => { [INFO] [stderr] | ^^^^^^^^ help: try ignoring the field: `bindings: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `inputs` [INFO] [stderr] --> src/lib.rs:881:50 [INFO] [stderr] | [INFO] [stderr] 881 | GenericArgs::Parenthesized { inputs, output } => { [INFO] [stderr] | ^^^^^^ help: try ignoring the field: `inputs: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `output` [INFO] [stderr] --> src/lib.rs:881:58 [INFO] [stderr] | [INFO] [stderr] 881 | GenericArgs::Parenthesized { inputs, output } => { [INFO] [stderr] | ^^^^^^ help: try ignoring the field: `output: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `bindings` [INFO] [stderr] --> src/lib.rs:972:57 [INFO] [stderr] | [INFO] [stderr] 972 | GenericArgs::AngleBracketed { args, bindings } => { [INFO] [stderr] | ^^^^^^^^ help: try ignoring the field: `bindings: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `inputs` [INFO] [stderr] --> src/lib.rs:990:50 [INFO] [stderr] | [INFO] [stderr] 990 | GenericArgs::Parenthesized { inputs, output } => { [INFO] [stderr] | ^^^^^^ help: try ignoring the field: `inputs: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `output` [INFO] [stderr] --> src/lib.rs:990:58 [INFO] [stderr] | [INFO] [stderr] 990 | GenericArgs::Parenthesized { inputs, output } => { [INFO] [stderr] | ^^^^^^ help: try ignoring the field: `output: _` [INFO] [stderr] [INFO] [stderr] warning: struct `WitFunction` is never constructed [INFO] [stderr] --> src/lib.rs:309:8 [INFO] [stderr] | [INFO] [stderr] 309 | struct WitFunction { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: method `print` is never used [INFO] [stderr] --> src/lib.rs:316:8 [INFO] [stderr] | [INFO] [stderr] 315 | impl WitFunction { [INFO] [stderr] | ---------------- method in this implementation [INFO] [stderr] 316 | fn print(&self) -> impl std::fmt::Display { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `functions` and `source` are never read [INFO] [stderr] --> src/lib.rs:336:5 [INFO] [stderr] | [INFO] [stderr] 334 | struct WitType { [INFO] [stderr] | ------- fields in this struct [INFO] [stderr] 335 | kind: WitTypeKind, [INFO] [stderr] 336 | functions: (), [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 337 | source: Source, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/lib.rs:341:11 [INFO] [stderr] | [INFO] [stderr] 341 | Local(Id), [INFO] [stderr] | ----- ^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 341 - Local(Id), [INFO] [stderr] 341 + Local(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/lib.rs:342:13 [INFO] [stderr] | [INFO] [stderr] 342 | Foreign(Option), [INFO] [stderr] | ------- ^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 342 - Foreign(Option), [INFO] [stderr] 342 + Foreign(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: struct `Resource` is never constructed [INFO] [stderr] --> src/lib.rs:374:8 [INFO] [stderr] | [INFO] [stderr] 374 | struct Resource { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `main_old` is never used [INFO] [stderr] --> src/lib.rs:458:4 [INFO] [stderr] | [INFO] [stderr] 458 | fn main_old(_args: Args) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `handle_func_print` is never used [INFO] [stderr] --> src/lib.rs:676:4 [INFO] [stderr] | [INFO] [stderr] 676 | fn handle_func_print( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `handle_struct_print` is never used [INFO] [stderr] --> src/lib.rs:708:4 [INFO] [stderr] | [INFO] [stderr] 708 | fn handle_struct_print< [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `print_struct_rust` is never used [INFO] [stderr] --> src/lib.rs:757:4 [INFO] [stderr] | [INFO] [stderr] 757 | fn print_struct_rust< [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `print_struct_wit` is never used [INFO] [stderr] --> src/lib.rs:787:4 [INFO] [stderr] | [INFO] [stderr] 787 | fn print_struct_wit< [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `print_struct_field_rust` is never used [INFO] [stderr] --> src/lib.rs:817:4 [INFO] [stderr] | [INFO] [stderr] 817 | fn print_struct_field_rust( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `print_struct_field_wit` is never used [INFO] [stderr] --> src/lib.rs:827:4 [INFO] [stderr] | [INFO] [stderr] 827 | fn print_struct_field_wit( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `print_func_rust` is never used [INFO] [stderr] --> src/lib.rs:837:4 [INFO] [stderr] | [INFO] [stderr] 837 | fn print_func_rust(buffer: &mut W, key: &str, path: &str, inputs: &str, outputs: &str) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `print_func_wit` is never used [INFO] [stderr] --> src/lib.rs:841:4 [INFO] [stderr] | [INFO] [stderr] 841 | fn print_func_wit(buffer: &mut W, key: &str, path: &str, inputs: &str, outputs: &str) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `path_join_rust` is never used [INFO] [stderr] --> src/lib.rs:845:4 [INFO] [stderr] | [INFO] [stderr] 845 | fn path_join_rust(path: &[String]) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `path_join_wit` is never used [INFO] [stderr] --> src/lib.rs:849:4 [INFO] [stderr] | [INFO] [stderr] 849 | fn path_join_wit(path: &[String]) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `print_type_rust` is never used [INFO] [stderr] --> src/lib.rs:856:4 [INFO] [stderr] | [INFO] [stderr] 856 | fn print_type_rust(krate: &Crate, typ: &Type) -> ColoredString { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `push_colored_str` is never used [INFO] [stderr] --> src/lib.rs:946:4 [INFO] [stderr] | [INFO] [stderr] 946 | fn push_colored_str(s: ColoredString, add: &str) -> ColoredString { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `join_colored_str` is never used [INFO] [stderr] --> src/lib.rs:950:4 [INFO] [stderr] | [INFO] [stderr] 950 | fn join_colored_str(items: &[ColoredString], delimiter: &str) -> ColoredString { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `print_type_wit` is never used [INFO] [stderr] --> src/lib.rs:962:4 [INFO] [stderr] | [INFO] [stderr] 962 | fn print_type_wit(krate: &Crate, typ: &Type) -> ColoredString { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `map_rust_primitive_to_wit` is never used [INFO] [stderr] --> src/lib.rs:1098:4 [INFO] [stderr] | [INFO] [stderr] 1098 | fn map_rust_primitive_to_wit(ty: &str) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/query.rs:365:22 [INFO] [stderr] | [INFO] [stderr] 365 | pub struct Macro<'c>(&'c str); [INFO] [stderr] | ----- ^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] [INFO] [stderr] warning: fields `type_` and `default` are never read [INFO] [stderr] --> src/query.rs:368:5 [INFO] [stderr] | [INFO] [stderr] 367 | pub struct AssocConst<'c> { [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] 368 | type_: &'c rustdoc_types::Type, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 369 | /// e.g. `const X: usize = 5;` [INFO] [stderr] 370 | default: Option<&'c str>, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `generics`, `bounds`, and `default` are never read [INFO] [stderr] --> src/query.rs:374:5 [INFO] [stderr] | [INFO] [stderr] 373 | pub struct AssocType<'c> { [INFO] [stderr] | --------- fields in this struct [INFO] [stderr] 374 | generics: &'c rustdoc_types::Generics, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 375 | bounds: &'c [rustdoc_types::GenericBound], [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 376 | /// e.g. `type X = usize;` [INFO] [stderr] 377 | default: Option<&'c rustdoc_types::Type>, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `type_` and `len` are never read [INFO] [stderr] --> src/query.rs:1230:5 [INFO] [stderr] | [INFO] [stderr] 1229 | pub struct Array<'c> { [INFO] [stderr] | ----- fields in this struct [INFO] [stderr] 1230 | type_: &'c rustdoc_types::Type, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 1231 | len: &'c str, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `mutable` and `type_` are never read [INFO] [stderr] --> src/query.rs:1236:5 [INFO] [stderr] | [INFO] [stderr] 1235 | pub struct RawPointer<'c> { [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] 1236 | mutable: bool, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 1237 | type_: &'c rustdoc_types::Type, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `lifetime`, `mutable`, and `type_` are never read [INFO] [stderr] --> src/query.rs:1241:5 [INFO] [stderr] | [INFO] [stderr] 1240 | pub struct BorrowedRef<'c> { [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] 1241 | lifetime: Option<&'c str>, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 1242 | mutable: bool, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 1243 | type_: &'c rustdoc_types::Type, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `name`, `args`, `self_type`, and `trait_` are never read [INFO] [stderr] --> src/query.rs:1248:5 [INFO] [stderr] | [INFO] [stderr] 1247 | pub struct QualifiedPath<'c> { [INFO] [stderr] | ------------- fields in this struct [INFO] [stderr] 1248 | name: &'c str, [INFO] [stderr] | ^^^^ [INFO] [stderr] 1249 | args: &'c rustdoc_types::GenericArgs, [INFO] [stderr] | ^^^^ [INFO] [stderr] 1250 | self_type: &'c rustdoc_types::Type, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 1251 | /// `None` iff this is an *inherent* associated type. [INFO] [stderr] 1252 | trait_: Option<&'c rustdoc_types::Path>, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/query.rs:77:17 [INFO] [stderr] | [INFO] [stderr] 77 | fn as_macro(&self) -> Option; [INFO] [stderr] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 77 | fn as_macro(&self) -> Option>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/query.rs:80:23 [INFO] [stderr] | [INFO] [stderr] 80 | fn as_assoc_const(&self) -> Option; [INFO] [stderr] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 80 | fn as_assoc_const(&self) -> Option>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/query.rs:81:22 [INFO] [stderr] | [INFO] [stderr] 81 | fn as_assoc_type(&self) -> Option; [INFO] [stderr] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 81 | fn as_assoc_type(&self) -> Option>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/query.rs:204:17 [INFO] [stderr] | [INFO] [stderr] 204 | fn as_macro(&self) -> Option { [INFO] [stderr] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 204 | fn as_macro(&self) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/query.rs:228:23 [INFO] [stderr] | [INFO] [stderr] 228 | fn as_assoc_const(&self) -> Option { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 228 | fn as_assoc_const(&self) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/query.rs:239:22 [INFO] [stderr] | [INFO] [stderr] 239 | fn as_assoc_type(&self) -> Option { [INFO] [stderr] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 239 | fn as_assoc_type(&self) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/query.rs:443:30 [INFO] [stderr] | [INFO] [stderr] 443 | pub fn all_plain_structs(&self) -> impl Iterator>> { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 443 | pub fn all_plain_structs(&self) -> impl Iterator>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/query.rs:455:29 [INFO] [stderr] | [INFO] [stderr] 455 | pub fn all_unit_structs(&self) -> impl Iterator>> { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 455 | pub fn all_unit_structs(&self) -> impl Iterator>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/query.rs:467:30 [INFO] [stderr] | [INFO] [stderr] 467 | pub fn all_tuple_structs(&self) -> impl Iterator>> { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 467 | pub fn all_tuple_structs(&self) -> impl Iterator>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/query.rs:553:23 [INFO] [stderr] | [INFO] [stderr] 553 | pub fn all_macros(&self) -> impl Iterator> { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 553 | pub fn all_macros(&self) -> impl Iterator>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/query.rs:667:17 [INFO] [stderr] | [INFO] [stderr] 667 | pub fn kind(&self) -> ItemKind { [INFO] [stderr] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 667 | pub fn kind(&self) -> ItemKind<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/query.rs:771:18 [INFO] [stderr] | [INFO] [stderr] 771 | pub fn items(&self) -> impl Iterator { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 771 | pub fn items(&self) -> impl Iterator> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/query.rs:841:26 [INFO] [stderr] | [INFO] [stderr] 841 | pub fn plain_structs(&self) -> impl Iterator>> { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 841 | pub fn plain_structs(&self) -> impl Iterator>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/query.rs:854:25 [INFO] [stderr] | [INFO] [stderr] 854 | pub fn unit_structs(&self) -> impl Iterator>> { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 854 | pub fn unit_structs(&self) -> impl Iterator>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/query.rs:867:26 [INFO] [stderr] | [INFO] [stderr] 867 | pub fn tuple_structs(&self) -> impl Iterator>> { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] running 1 test [INFO] [stderr] 867 | pub fn tuple_structs(&self) -> impl Iterator>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/query.rs:940:19 [INFO] [stderr] | [INFO] [stderr] 940 | pub fn macros(&self) -> impl Iterator> { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 940 | pub fn macros(&self) -> impl Iterator>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/query.rs:1008:24 [INFO] [stderr] | [INFO] [stderr] 1008 | pub fn struct_kind(&self) -> StructItemKind { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 1008 | pub fn struct_kind(&self) -> StructItemKind<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/query.rs:1034:18 [INFO] [stderr] | [INFO] [stderr] 1034 | pub fn impls(&self) -> impl Iterator> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | | | [INFO] [stderr] | | | the same lifetime is elided here [INFO] [stderr] | | the same lifetime is hidden here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 1034 | pub fn impls(&self) -> impl Iterator> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/query.rs:1149:22 [INFO] [stderr] | [INFO] [stderr] 1149 | pub fn type_kind(&self) -> TypeKind { [INFO] [stderr] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 1149 | pub fn type_kind(&self) -> TypeKind<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/query.rs:1314:24 [INFO] [stderr] | [INFO] [stderr] 1314 | pub fn variantkind(&self) -> VariantItemKind { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 1314 | pub fn variantkind(&self) -> VariantItemKind<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `bindings` [INFO] [stderr] --> src/query.rs:1562:76 [INFO] [stderr] | [INFO] [stderr] 1562 | rustdoc_types::GenericArgs::AngleBracketed { args, bindings } => { [INFO] [stderr] | ^^^^^^^^ help: try ignoring the field: `bindings: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `inputs` [INFO] [stderr] --> src/query.rs:1582:69 [INFO] [stderr] | [INFO] [stderr] 1582 | rustdoc_types::GenericArgs::Parenthesized { inputs, output } => { [INFO] [stderr] | ^^^^^^ help: try ignoring the field: `inputs: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `output` [INFO] [stderr] --> src/query.rs:1582:77 [INFO] [stderr] | [INFO] [stderr] 1582 | rustdoc_types::GenericArgs::Parenthesized { inputs, output } => { [INFO] [stderr] | ^^^^^^ help: try ignoring the field: `output: _` [INFO] [stderr] [INFO] [stderr] warning: `wittier` (lib) generated 114 warnings (run `cargo fix --lib -p wittier` to apply 21 suggestions) [INFO] [stderr] warning: `wittier` (lib test) generated 117 warnings (114 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/wittier-aaa486a8a4c0b1bd) [INFO] [stdout] test query::tests::test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.61s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/wittier-173e8cf4e9bcecc0) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests wittier [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2e1a9946b4b78d353e94f6f814e9a5a9ab2981b2d6f3d7418d1b9861f150835c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e1a9946b4b78d353e94f6f814e9a5a9ab2981b2d6f3d7418d1b9861f150835c", kill_on_drop: false }` [INFO] [stdout] 2e1a9946b4b78d353e94f6f814e9a5a9ab2981b2d6f3d7418d1b9861f150835c