[INFO] cloning repository https://github.com/mwja/rove [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mwja/rove" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmwja%2Frove", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmwja%2Frove'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 530b04b1995310ce5b0d8dc796298153c8e01351 [INFO] checking mwja/rove against 8773d2c75a8e90130dcce745a7ec4e66bb9963db+rustflags=-Aunfulfilled-lint-expectations for pr-163637 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmwja%2Frove" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mwja/rove [INFO] finished tweaking git repo https://github.com/mwja/rove [INFO] tweaked toml for git repo https://github.com/mwja/rove written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mwja/rove on toolchain 8773d2c75a8e90130dcce745a7ec4e66bb9963db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8773d2c75a8e90130dcce745a7ec4e66bb9963db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mwja/rove 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" "+8773d2c75a8e90130dcce745a7ec4e66bb9963db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 4f3384706a008383c1526d671d3121011d48028052e4ce3bb6583347ea34cf08 [INFO] running `Command { std: "docker" "start" "4f3384706a008383c1526d671d3121011d48028052e4ce3bb6583347ea34cf08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4f3384706a008383c1526d671d3121011d48028052e4ce3bb6583347ea34cf08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4f3384706a008383c1526d671d3121011d48028052e4ce3bb6583347ea34cf08" "/opt/rustwide/cargo-home/bin/cargo" "+8773d2c75a8e90130dcce745a7ec4e66bb9963db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4f3384706a008383c1526d671d3121011d48028052e4ce3bb6583347ea34cf08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Aunfulfilled-lint-expectations" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4f3384706a008383c1526d671d3121011d48028052e4ce3bb6583347ea34cf08" "/opt/rustwide/cargo-home/bin/cargo" "+8773d2c75a8e90130dcce745a7ec4e66bb9963db" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling cranelift-srcgen v0.135.1 [INFO] [stderr] Compiling serde_core v1.0.229 [INFO] [stderr] Compiling tree-sitter-language v0.1.8 [INFO] [stderr] Compiling wasmtime-internal-core v48.0.1 [INFO] [stderr] Compiling cranelift-isle v0.135.1 [INFO] [stderr] Compiling zmij v1.0.23 [INFO] [stderr] Compiling cranelift-codegen-shared v0.135.1 [INFO] [stderr] Compiling quote v1.0.47 [INFO] [stderr] Compiling indexmap v2.14.2 [INFO] [stderr] Compiling serde_json v1.0.151 [INFO] [stderr] Compiling find-msvc-tools v0.1.12 [INFO] [stderr] Checking rustc-hash v2.1.3 [INFO] [stderr] Compiling libc v0.2.189 [INFO] [stderr] Checking smallvec v1.16.0 [INFO] [stderr] Checking cranelift-control v0.135.1 [INFO] [stderr] Checking aho-corasick v1.1.5 [INFO] [stderr] Compiling cc v1.4.5 [INFO] [stderr] Compiling anyhow v1.0.104 [INFO] [stderr] Compiling serde v1.0.229 [INFO] [stderr] Compiling streaming-iterator v0.1.9 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Checking regalloc2 v0.15.2 [INFO] [stderr] Compiling cranelift-assembler-x64-meta v0.135.1 [INFO] [stderr] Compiling syn v3.0.5 [INFO] [stderr] Compiling syn v2.0.119 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling smallbitvec v2.6.1 [INFO] [stderr] Compiling fastrand v2.5.0 [INFO] [stderr] Compiling topological-sort v0.2.2 [INFO] [stderr] Compiling log v0.4.34 [INFO] [stderr] Compiling object v0.39.1 [INFO] [stderr] Checking cranelift-bitset v0.135.1 [INFO] [stderr] Checking cranelift-entity v0.135.1 [INFO] [stderr] Compiling tree-sitter-c2rust v0.25.2 [INFO] [stderr] Checking gimli v0.33.0 [INFO] [stderr] Checking cranelift-bforest v0.135.1 [INFO] [stderr] Checking ariadne v0.6.0 [INFO] [stderr] Compiling cranelift-codegen-meta v0.135.1 [INFO] [stderr] Checking regex-automata v0.4.18 [INFO] [stderr] Checking vte v0.14.1 [INFO] [stderr] Checking bstr v1.13.1 [INFO] [stderr] Checking tempfile v3.27.0 [INFO] [stderr] Compiling getrandom v0.4.3 [INFO] [stderr] Checking strip-ansi-escapes v0.2.1 [INFO] [stderr] Checking console v0.16.6 [INFO] [stderr] Checking similar v2.7.0 [INFO] [stderr] Compiling cranelift-assembler-x64 v0.135.1 [INFO] [stderr] Compiling semver v1.0.28 [INFO] [stderr] Checking regex v1.13.1 [INFO] [stderr] Checking globset v0.4.20 [INFO] [stderr] Compiling thiserror-impl v2.0.20 [INFO] [stderr] Compiling serde_derive v1.0.229 [INFO] [stderr] Compiling clap_derive v4.6.4 [INFO] [stderr] Checking insta v1.48.0 [INFO] [stderr] Compiling cranelift-codegen v0.135.1 [INFO] [stderr] Compiling tree-sitter v0.25.10 [INFO] [stderr] Compiling thiserror v2.0.20 [INFO] [stderr] Compiling c2rust-bitfields-derive v0.2.1 [INFO] [stderr] Checking clap v4.6.6 [INFO] [stderr] Checking c2rust-bitfields v0.3.0 [INFO] [stderr] Compiling rust-sitter-common v0.4.5 [INFO] [stderr] Compiling syn-inline-mod v0.6.0 [INFO] [stderr] Compiling rust-sitter-macro v0.4.5 [INFO] [stderr] Checking rust-sitter v0.4.5 [INFO] [stderr] Compiling tree-sitter-generate v0.25.10 [INFO] [stderr] Compiling rust-sitter-tool v0.4.5 [INFO] [stderr] Compiling rove v0.0.4 (/opt/rustwide/workdir) [INFO] [stderr] Checking cranelift-module v0.135.1 [INFO] [stderr] Checking cranelift-native v0.135.1 [INFO] [stderr] Checking cranelift-frontend v0.135.1 [INFO] [stderr] Checking cranelift-object v0.135.1 [INFO] [stderr] Checking cranelift v0.135.1 [INFO] [stdout] warning: unused import: `DiagnoseWith` [INFO] [stdout] --> src/lib.rs:4:40 [INFO] [stdout] | [INFO] [stdout] 4 | sourcemap::{DiagnoseManyWith as _, DiagnoseWith, report::Diagnostic}, [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 imports: `BlockCall`, `JumpTable`, `MemFlags`, `StackSlotData`, `StackSlotKind`, and `isa::TargetFrontendConfig` [INFO] [stdout] --> src/codegen/mod.rs:12:40 [INFO] [stdout] | [INFO] [stdout] 12 | AbiParam, Block, BlockArg, BlockCall, FuncRef, GlobalValue, InstBuilder, JumpTable, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] 13 | JumpTableData, MemFlags, MemFlagsData, SigRef, Signature, SourceLoc, StackSlotData, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 14 | StackSlotKind, TrapCode, Type, UserExternalName, Value, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | isa::TargetFrontendConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DiagnoseWith` [INFO] [stdout] --> src/lib.rs:4:40 [INFO] [stdout] | [INFO] [stdout] 4 | sourcemap::{DiagnoseManyWith as _, DiagnoseWith, report::Diagnostic}, [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 imports: `BlockCall`, `JumpTable`, `MemFlags`, `StackSlotData`, `StackSlotKind`, and `isa::TargetFrontendConfig` [INFO] [stdout] --> src/codegen/mod.rs:12:40 [INFO] [stdout] | [INFO] [stdout] 12 | AbiParam, Block, BlockArg, BlockCall, FuncRef, GlobalValue, InstBuilder, JumpTable, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] 13 | JumpTableData, MemFlags, MemFlagsData, SigRef, Signature, SourceLoc, StackSlotData, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 14 | StackSlotKind, TrapCode, Type, UserExternalName, Value, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | isa::TargetFrontendConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Res` and `TyKind` [INFO] [stdout] --> src/defs.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | Ty, TyCtxt, TyKind, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | module::ModuleId, [INFO] [stdout] 13 | res::{ModuleContext, Res, TyResolutionError, resolve_type}, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `range::Range` and `rc::Rc` [INFO] [stdout] --> src/sourcemap/map.rs:1:62 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, hash::Hash, ops, path::Path, range::Range, rc::Rc}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt::Display` [INFO] [stdout] --> src/sourcemap/report.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, fmt::Display, hash::Hash, ops, path::Path}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ModuleContext` [INFO] [stdout] --> src/structs.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | res::{ModuleContext, TyResolutionError, resolve_type}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::HashMap` [INFO] [stdout] --> src/syntax.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, path::PathBuf}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Res` and `TyKind` [INFO] [stdout] --> src/defs.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | Ty, TyCtxt, TyKind, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | module::ModuleId, [INFO] [stdout] 13 | res::{ModuleContext, Res, TyResolutionError, resolve_type}, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AstPathExpr` [INFO] [stdout] --> src/syntax.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | ast::{self, AstPathExpr, NodeId}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `range::Range` and `rc::Rc` [INFO] [stdout] --> src/sourcemap/map.rs:1:62 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, hash::Hash, ops, path::Path, range::Range, rc::Rc}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt::Display` [INFO] [stdout] --> src/sourcemap/report.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, fmt::Display, hash::Hash, ops, path::Path}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ModuleContext` [INFO] [stdout] --> src/structs.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | res::{ModuleContext, TyResolutionError, resolve_type}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::HashMap` [INFO] [stdout] --> src/syntax.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, path::PathBuf}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AstPathExpr` [INFO] [stdout] --> src/syntax.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | ast::{self, AstPathExpr, NodeId}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AstSwitchCase` [INFO] [stdout] --> src/ty/debug.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | ast::{self, AstSwitchCase, AstSwitchCaseItem, AstSwitchElseCase}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DefCtxt`, `DefError`, and `UnwrapBug` [INFO] [stdout] --> src/ty/res.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | UnwrapBug, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | ast::{self, NodeId}, [INFO] [stdout] 8 | defs::{DefCtxt, DefError, DefId}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AstImplicitPathExpr`, `AstPathExpr`, `AstPath`, `resolve_type`, and `structs::Struct` [INFO] [stdout] --> src/ty/typeck.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | AstImplicitPathExpr, AstLetDecl, AstPath, AstPathExpr, AstPlace, AstRequireConstraint, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | structs::Struct, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | res::{LocalId, OldId, ParamId, Res, resolve_type}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AstSwitchCase` [INFO] [stdout] --> src/ty/debug.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | ast::{self, AstSwitchCase, AstSwitchCaseItem, AstSwitchElseCase}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DefCtxt`, `DefError`, and `UnwrapBug` [INFO] [stdout] --> src/ty/res.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | UnwrapBug, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | ast::{self, NodeId}, [INFO] [stdout] 8 | defs::{DefCtxt, DefError, DefId}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AstImplicitPathExpr`, `AstPathExpr`, `AstPath`, `resolve_type`, and `structs::Struct` [INFO] [stdout] --> src/ty/typeck.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | AstImplicitPathExpr, AstLetDecl, AstPath, AstPathExpr, AstPlace, AstRequireConstraint, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | structs::Struct, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | res::{LocalId, OldId, ParamId, Res, resolve_type}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable `else` clause [INFO] [stdout] --> src/codegen/mod.rs:426:46 [INFO] [stdout] | [INFO] [stdout] 426 | let AstDef::Function(func_def) = def else { [INFO] [stdout] | ------------------------------------ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | assigning to binding pattern will always succeed [INFO] [stdout] | [INFO] [stdout] = note: this pattern always matches, so the else clause is unreachable [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable `else` clause [INFO] [stdout] --> src/codegen/mod.rs:426:46 [INFO] [stdout] | [INFO] [stdout] 426 | let AstDef::Function(func_def) = def else { [INFO] [stdout] | ------------------------------------ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | assigning to binding pattern will always succeed [INFO] [stdout] | [INFO] [stdout] = note: this pattern always matches, so the else clause is unreachable [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/ty/debug.rs:184:18 [INFO] [stdout] | [INFO] [stdout] 184 | fn display_break(body: &BodyInfo, break_stmt: &ast::AstBreakStmt) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/ty/debug.rs:188:24 [INFO] [stdout] | [INFO] [stdout] 188 | fn display_fallthrough(body: &BodyInfo, fallthrough_stmt: &ast::AstFallthroughStmt) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/ty/debug.rs:192:21 [INFO] [stdout] | [INFO] [stdout] 192 | fn display_continue(body: &BodyInfo, continue_stmt: &ast::AstContinueStmt) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/ty/module.rs:366:17 [INFO] [stdout] | [INFO] [stdout] 366 | name, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base` [INFO] [stdout] --> src/ty/res.rs:199:21 [INFO] [stdout] | [INFO] [stdout] 199 | base, [INFO] [stdout] | ^^^^ help: try ignoring the field: `base: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/ty/debug.rs:184:18 [INFO] [stdout] | [INFO] [stdout] 184 | fn display_break(body: &BodyInfo, break_stmt: &ast::AstBreakStmt) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/ty/debug.rs:188:24 [INFO] [stdout] | [INFO] [stdout] 188 | fn display_fallthrough(body: &BodyInfo, fallthrough_stmt: &ast::AstFallthroughStmt) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/ty/debug.rs:192:21 [INFO] [stdout] | [INFO] [stdout] 192 | fn display_continue(body: &BodyInfo, continue_stmt: &ast::AstContinueStmt) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/ty/module.rs:366:17 [INFO] [stdout] | [INFO] [stdout] 366 | name, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base` [INFO] [stdout] --> src/ty/res.rs:199:21 [INFO] [stdout] | [INFO] [stdout] 199 | base, [INFO] [stdout] | ^^^^ help: try ignoring the field: `base: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `node_id` is never read [INFO] [stdout] --> src/ast.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct AstStructField { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 42 | pub node_id: NodeId, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AstStructField` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `else_case` is never used [INFO] [stdout] --> src/ast.rs:420:12 [INFO] [stdout] | [INFO] [stdout] 413 | impl AstSwitchStmt { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 420 | pub fn else_case(&self) -> Option<&AstSwitchElseCase> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `node_id` is never used [INFO] [stdout] --> src/ast.rs:484:12 [INFO] [stdout] | [INFO] [stdout] 483 | impl AstSwitchCase { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 484 | pub fn node_id(&self) -> NodeId { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `node_id` is never read [INFO] [stdout] --> src/ast.rs:510:9 [INFO] [stdout] | [INFO] [stdout] 509 | pub struct AstSwitchCaseItem { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 510 | pub node_id: NodeId, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AstSwitchCaseItem` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `println_bool` and `start` are never read [INFO] [stdout] --> src/codegen/mod.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 138 | struct Runtime { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 144 | println_bool: FuncId, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | start: FuncId, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Runtime` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `scope` is never read [INFO] [stdout] --> src/codegen/mod.rs:591:5 [INFO] [stdout] | [INFO] [stdout] 590 | struct ScopeFrame { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 591 | scope: ScopeId, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `current_block` and `exit` are never read [INFO] [stdout] --> src/codegen/mod.rs:604:5 [INFO] [stdout] | [INFO] [stdout] 602 | struct SwitchInfo { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 603 | scope: ScopeId, [INFO] [stdout] 604 | current_block: Block, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 607 | exit: Block, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `size` and `align` are never read [INFO] [stdout] --> src/codegen/layout.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct CalculatedField { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 8 | pub offset: u32, [INFO] [stdout] 9 | pub size: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | pub align: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CalculatedField` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `width` and `tag_type` are never used [INFO] [stdout] --> src/codegen/repr.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Repr { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn width(self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn tag_type(self) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `resolve_def_for_node_id` is never used [INFO] [stdout] --> src/defs.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl Defs { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn resolve_def_for_node_id(&self, node_id: NodeId) -> Option<&Def> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `reverse_def_id_to_node_id` is never used [INFO] [stdout] --> src/defs.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 74 | impl DefCtxt { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 85 | fn reverse_def_id_to_node_id(&self, def_id: DefId) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `DuplicateImpl`, `PathNotFound`, and `InvalidNamedType` are never constructed [INFO] [stdout] --> src/defs.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 139 | pub enum DefError { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 140 | #[error("duplicate definitions of {0}")] [INFO] [stdout] 141 | DuplicateImpl(String, NodeId, NodeId), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | PathNotFound(ast::AstPath, NodeId), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 146 | #[error("the given named type is invalid as a type: {0}")] [INFO] [stdout] 147 | InvalidNamedType(String, NodeId), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DefError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_same_enum` is never used [INFO] [stdout] --> src/enums.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl EnumVariant { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn is_same_enum(&self, other: &Self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/enums.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct Enum { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 45 | pub id: EnumId, [INFO] [stdout] 46 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Enum` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `variant_count` and `get_variant_by_name_as_u32` are never used [INFO] [stdout] --> src/enums.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl Enum { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn variant_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn get_variant_by_name_as_u32(&self, name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/enums.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 102 | impl Enums { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 103 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DuplicateEnum` is never constructed [INFO] [stdout] --> src/enums.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 131 | pub enum EnumError { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 132 | #[error("duplicate definitions of enum {0}")] [INFO] [stdout] 133 | DuplicateEnum(String, NodeId, NodeId), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EnumError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Spanned` is never constructed [INFO] [stdout] --> src/sourcemap/map.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Spanned { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/sourcemap/map.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl Spanned { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 59 | pub fn new(value: T, span: Span) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `AsDiagnostic` is never used [INFO] [stdout] --> src/sourcemap/report.rs:75:11 [INFO] [stdout] | [INFO] [stdout] 75 | pub trait AsDiagnostic { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Diagnosable` is never used [INFO] [stdout] --> src/sourcemap/report.rs:79:11 [INFO] [stdout] | [INFO] [stdout] 79 | pub trait Diagnosable { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Severity` is never used [INFO] [stdout] --> src/sourcemap/report.rs:89:10 [INFO] [stdout] | [INFO] [stdout] 89 | pub enum Severity { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RecursiveStruct` is never constructed [INFO] [stdout] --> src/structs.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 73 | pub enum StructError { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 77 | RecursiveStruct(NodeId, NodeId), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StructError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `op` is never read [INFO] [stdout] --> src/syntax.rs:584:13 [INFO] [stdout] | [INFO] [stdout] 581 | LogicalAnd { [INFO] [stdout] | ---------- field in this variant [INFO] [stdout] ... [INFO] [stdout] 584 | op: (), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `void`, `int`, `float`, and `struct_ty` are never used [INFO] [stdout] --> src/ty/mod.rs:157:8 [INFO] [stdout] | [INFO] [stdout] 151 | impl TyCtxt { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 157 | fn void(&self) -> Rc { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 169 | fn int(&self) -> Rc { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | fn float(&self) -> Rc { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | pub fn struct_ty(&self, struct_id: StructId) -> Ty { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `index` is never used [INFO] [stdout] --> src/id.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 1 | macro_rules! indexable_id { [INFO] [stdout] ... [INFO] [stdout] 6 | impl $name { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 11 | pub fn index(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ty/module.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | indexable_id!(pub ModuleId); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CannotImplyTypeFrom` is never constructed [INFO] [stdout] --> src/ty/module.rs:324:5 [INFO] [stdout] | [INFO] [stdout] 320 | pub enum ResolverError { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 324 | CannotImplyTypeFrom(Path), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ResolverError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `index` is never used [INFO] [stdout] --> src/id.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 1 | macro_rules! indexable_id { [INFO] [stdout] ... [INFO] [stdout] 6 | impl $name { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 11 | pub fn index(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ty/res.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | indexable_id!(pub LocalId); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `index` is never used [INFO] [stdout] --> src/id.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 1 | macro_rules! indexable_id { [INFO] [stdout] ... [INFO] [stdout] 6 | impl $name { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 11 | pub fn index(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ty/res.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | indexable_id!(pub OldId); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ExpressionOnVoid`, `ExpressionOnFunc`, `TypeHasNoNamespaceMembers`, `SwitchTargetNotValue`, and `AttemptedToUseNonStructAsConstructor` are never constructed [INFO] [stdout] --> src/ty/typeck.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum TypeError { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 32 | ExpressionOnVoid(ast::AstBinaryOperator, NodeId), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | #[error("it is not possible to perform operations on functions")] [INFO] [stdout] 34 | ExpressionOnFunc(Ty, ast::AstBinaryOperator, NodeId), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | TypeHasNoNamespaceMembers(NodeId), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | SwitchTargetNotValue(NodeId, Ty), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | AttemptedToUseNonStructAsConstructor(NodeId), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypeError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_scope_loop` is never used [INFO] [stdout] --> src/ty/typeck.rs:961:12 [INFO] [stdout] | [INFO] [stdout] 904 | impl BodyInfo { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 961 | pub fn is_scope_loop(&self, scope_id: ScopeId) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_post` is never used [INFO] [stdout] --> src/ty/typeck.rs:987:8 [INFO] [stdout] | [INFO] [stdout] 976 | impl ConstraintType { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 987 | fn is_post(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `index` is never used [INFO] [stdout] --> src/id.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 1 | macro_rules! indexable_id { [INFO] [stdout] ... [INFO] [stdout] 6 | impl $name { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 11 | pub fn index(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ty/typeck.rs:1060:1 [INFO] [stdout] | [INFO] [stdout] 1060 | indexable_id!(pub ScopeId); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_inferrable_ty` is never used [INFO] [stdout] --> src/ty/typeck.rs:1092:8 [INFO] [stdout] | [INFO] [stdout] 1065 | impl<'c> TypeckCtxt<'c> { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1092 | fn is_inferrable_ty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `node_id` is never read [INFO] [stdout] --> src/ast.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct AstStructField { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 42 | pub node_id: NodeId, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AstStructField` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `else_case` is never used [INFO] [stdout] --> src/ast.rs:420:12 [INFO] [stdout] | [INFO] [stdout] 413 | impl AstSwitchStmt { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 420 | pub fn else_case(&self) -> Option<&AstSwitchElseCase> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `node_id` is never used [INFO] [stdout] --> src/ast.rs:484:12 [INFO] [stdout] | [INFO] [stdout] 483 | impl AstSwitchCase { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 484 | pub fn node_id(&self) -> NodeId { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `node_id` is never read [INFO] [stdout] --> src/ast.rs:510:9 [INFO] [stdout] | [INFO] [stdout] 509 | pub struct AstSwitchCaseItem { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 510 | pub node_id: NodeId, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AstSwitchCaseItem` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `println_bool` and `start` are never read [INFO] [stdout] --> src/codegen/mod.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 138 | struct Runtime { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 144 | println_bool: FuncId, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | start: FuncId, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Runtime` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `scope` is never read [INFO] [stdout] --> src/codegen/mod.rs:591:5 [INFO] [stdout] | [INFO] [stdout] 590 | struct ScopeFrame { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 591 | scope: ScopeId, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `current_block` and `exit` are never read [INFO] [stdout] --> src/codegen/mod.rs:604:5 [INFO] [stdout] | [INFO] [stdout] 602 | struct SwitchInfo { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 603 | scope: ScopeId, [INFO] [stdout] 604 | current_block: Block, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 607 | exit: Block, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `size` and `align` are never read [INFO] [stdout] --> src/codegen/layout.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct CalculatedField { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 8 | pub offset: u32, [INFO] [stdout] 9 | pub size: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | pub align: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CalculatedField` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `width` and `tag_type` are never used [INFO] [stdout] --> src/codegen/repr.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Repr { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn width(self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn tag_type(self) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `resolve_def_for_node_id` is never used [INFO] [stdout] --> src/defs.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl Defs { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn resolve_def_for_node_id(&self, node_id: NodeId) -> Option<&Def> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `reverse_def_id_to_node_id` is never used [INFO] [stdout] --> src/defs.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 74 | impl DefCtxt { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 85 | fn reverse_def_id_to_node_id(&self, def_id: DefId) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `DuplicateImpl`, `PathNotFound`, and `InvalidNamedType` are never constructed [INFO] [stdout] --> src/defs.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 139 | pub enum DefError { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 140 | #[error("duplicate definitions of {0}")] [INFO] [stdout] 141 | DuplicateImpl(String, NodeId, NodeId), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | PathNotFound(ast::AstPath, NodeId), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 146 | #[error("the given named type is invalid as a type: {0}")] [INFO] [stdout] 147 | InvalidNamedType(String, NodeId), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DefError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_same_enum` is never used [INFO] [stdout] --> src/enums.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl EnumVariant { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn is_same_enum(&self, other: &Self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/enums.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct Enum { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 45 | pub id: EnumId, [INFO] [stdout] 46 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Enum` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `variant_count` and `get_variant_by_name_as_u32` are never used [INFO] [stdout] --> src/enums.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl Enum { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn variant_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn get_variant_by_name_as_u32(&self, name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/enums.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 102 | impl Enums { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 103 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DuplicateEnum` is never constructed [INFO] [stdout] --> src/enums.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 131 | pub enum EnumError { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 132 | #[error("duplicate definitions of enum {0}")] [INFO] [stdout] 133 | DuplicateEnum(String, NodeId, NodeId), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EnumError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Spanned` is never constructed [INFO] [stdout] --> src/sourcemap/map.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Spanned { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/sourcemap/map.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl Spanned { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 59 | pub fn new(value: T, span: Span) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `AsDiagnostic` is never used [INFO] [stdout] --> src/sourcemap/report.rs:75:11 [INFO] [stdout] | [INFO] [stdout] 75 | pub trait AsDiagnostic { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Diagnosable` is never used [INFO] [stdout] --> src/sourcemap/report.rs:79:11 [INFO] [stdout] | [INFO] [stdout] 79 | pub trait Diagnosable { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Severity` is never used [INFO] [stdout] --> src/sourcemap/report.rs:89:10 [INFO] [stdout] | [INFO] [stdout] 89 | pub enum Severity { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RecursiveStruct` is never constructed [INFO] [stdout] --> src/structs.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 73 | pub enum StructError { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 77 | RecursiveStruct(NodeId, NodeId), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StructError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `op` is never read [INFO] [stdout] --> src/syntax.rs:584:13 [INFO] [stdout] | [INFO] [stdout] 581 | LogicalAnd { [INFO] [stdout] | ---------- field in this variant [INFO] [stdout] ... [INFO] [stdout] 584 | op: (), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `void`, `int`, `float`, and `struct_ty` are never used [INFO] [stdout] --> src/ty/mod.rs:157:8 [INFO] [stdout] | [INFO] [stdout] 151 | impl TyCtxt { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 157 | fn void(&self) -> Rc { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 169 | fn int(&self) -> Rc { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | fn float(&self) -> Rc { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | pub fn struct_ty(&self, struct_id: StructId) -> Ty { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `index` is never used [INFO] [stdout] --> src/id.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 1 | macro_rules! indexable_id { [INFO] [stdout] ... [INFO] [stdout] 6 | impl $name { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 11 | pub fn index(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ty/module.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | indexable_id!(pub ModuleId); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CannotImplyTypeFrom` is never constructed [INFO] [stdout] --> src/ty/module.rs:324:5 [INFO] [stdout] | [INFO] [stdout] 320 | pub enum ResolverError { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 324 | CannotImplyTypeFrom(Path), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ResolverError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `index` is never used [INFO] [stdout] --> src/id.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 1 | macro_rules! indexable_id { [INFO] [stdout] ... [INFO] [stdout] 6 | impl $name { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 11 | pub fn index(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ty/res.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | indexable_id!(pub LocalId); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `index` is never used [INFO] [stdout] --> src/id.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 1 | macro_rules! indexable_id { [INFO] [stdout] ... [INFO] [stdout] 6 | impl $name { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 11 | pub fn index(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ty/res.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | indexable_id!(pub OldId); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ExpressionOnVoid`, `ExpressionOnFunc`, `TypeHasNoNamespaceMembers`, `SwitchTargetNotValue`, and `AttemptedToUseNonStructAsConstructor` are never constructed [INFO] [stdout] --> src/ty/typeck.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum TypeError { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 32 | ExpressionOnVoid(ast::AstBinaryOperator, NodeId), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | #[error("it is not possible to perform operations on functions")] [INFO] [stdout] 34 | ExpressionOnFunc(Ty, ast::AstBinaryOperator, NodeId), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | TypeHasNoNamespaceMembers(NodeId), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | SwitchTargetNotValue(NodeId, Ty), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | AttemptedToUseNonStructAsConstructor(NodeId), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypeError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_scope_loop` is never used [INFO] [stdout] --> src/ty/typeck.rs:961:12 [INFO] [stdout] | [INFO] [stdout] 904 | impl BodyInfo { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 961 | pub fn is_scope_loop(&self, scope_id: ScopeId) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_post` is never used [INFO] [stdout] --> src/ty/typeck.rs:987:8 [INFO] [stdout] | [INFO] [stdout] 976 | impl ConstraintType { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 987 | fn is_post(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `index` is never used [INFO] [stdout] --> src/id.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 1 | macro_rules! indexable_id { [INFO] [stdout] ... [INFO] [stdout] 6 | impl $name { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 11 | pub fn index(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ty/typeck.rs:1060:1 [INFO] [stdout] | [INFO] [stdout] 1060 | indexable_id!(pub ScopeId); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_inferrable_ty` is never used [INFO] [stdout] --> src/ty/typeck.rs:1092:8 [INFO] [stdout] | [INFO] [stdout] 1065 | impl<'c> TypeckCtxt<'c> { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1092 | fn is_inferrable_ty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 10s [INFO] running `Command { std: "docker" "inspect" "4f3384706a008383c1526d671d3121011d48028052e4ce3bb6583347ea34cf08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f3384706a008383c1526d671d3121011d48028052e4ce3bb6583347ea34cf08", kill_on_drop: false }` [INFO] [stdout] 4f3384706a008383c1526d671d3121011d48028052e4ce3bb6583347ea34cf08