[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] 856296355d95406e897a981d0e0f3669119a3f4f [INFO] checking mwja/rove against 3154cc1a3e6424e44f438a95007d043ed5ceaaf6+rustflags=-Znext-solver=coherence for pr-133502-30 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmwja%2Frove" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/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-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mwja/rove on toolchain 3154cc1a3e6424e44f438a95007d043ed5ceaaf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "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" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rust-sitter-tool v0.4.5 [INFO] [stderr] Downloaded tree-sitter-generate v0.25.10 [INFO] [stderr] Downloaded tree-sitter-language v0.1.8 [INFO] [stderr] Downloaded cranelift-bitset v0.135.1 [INFO] [stderr] Downloaded rust-sitter-common v0.4.5 [INFO] [stderr] Downloaded c2rust-bitfields-derive v0.2.1 [INFO] [stderr] Downloaded cranelift-control v0.135.1 [INFO] [stderr] Downloaded rust-sitter-macro v0.4.5 [INFO] [stderr] Downloaded cranelift v0.135.1 [INFO] [stderr] Downloaded cranelift-module v0.135.1 [INFO] [stderr] Downloaded cranelift-entity v0.135.1 [INFO] [stderr] Downloaded cranelift-codegen-shared v0.135.1 [INFO] [stderr] Downloaded cranelift-srcgen v0.135.1 [INFO] [stderr] Downloaded cranelift-native v0.135.1 [INFO] [stderr] Downloaded topological-sort v0.2.2 [INFO] [stderr] Downloaded smallbitvec v2.6.1 [INFO] [stderr] Downloaded syn-inline-mod v0.6.0 [INFO] [stderr] Downloaded rust-sitter v0.4.5 [INFO] [stderr] Downloaded c2rust-bitfields v0.3.0 [INFO] [stderr] Downloaded cranelift-object v0.135.1 [INFO] [stderr] Downloaded find-msvc-tools v0.1.12 [INFO] [stderr] Downloaded cranelift-bforest v0.135.1 [INFO] [stderr] Downloaded cranelift-assembler-x64 v0.135.1 [INFO] [stderr] Downloaded ariadne v0.6.0 [INFO] [stderr] Downloaded console v0.16.6 [INFO] [stderr] Downloaded wasmtime-internal-core v48.0.1 [INFO] [stderr] Downloaded cranelift-assembler-x64-meta v0.135.1 [INFO] [stderr] Downloaded cranelift-isle v0.135.1 [INFO] [stderr] Downloaded cranelift-frontend v0.135.1 [INFO] [stderr] Downloaded cranelift-codegen-meta v0.135.1 [INFO] [stderr] Downloaded cc v1.4.5 [INFO] [stderr] Downloaded tree-sitter v0.25.10 [INFO] [stderr] Downloaded regalloc2 v0.15.2 [INFO] [stderr] Downloaded syn v3.0.5 [INFO] [stderr] Downloaded tree-sitter-c2rust v0.25.2 [INFO] [stderr] Downloaded gimli v0.33.0 [INFO] [stderr] Downloaded object v0.39.1 [INFO] [stderr] Downloaded cranelift-codegen v0.135.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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] 949caa946417b6a38a0c0d7d9679fc13632ba7fc80465ccb55bccbb7a2f224ad [INFO] running `Command { std: "docker" "start" "949caa946417b6a38a0c0d7d9679fc13632ba7fc80465ccb55bccbb7a2f224ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "949caa946417b6a38a0c0d7d9679fc13632ba7fc80465ccb55bccbb7a2f224ad", 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" "949caa946417b6a38a0c0d7d9679fc13632ba7fc80465ccb55bccbb7a2f224ad" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "949caa946417b6a38a0c0d7d9679fc13632ba7fc80465ccb55bccbb7a2f224ad", 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 -Znext-solver=coherence" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "949caa946417b6a38a0c0d7d9679fc13632ba7fc80465ccb55bccbb7a2f224ad" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.107 [INFO] [stderr] Checking foldhash v0.2.0 [INFO] [stderr] Compiling cranelift-srcgen v0.135.1 [INFO] [stderr] Compiling tree-sitter-language v0.1.8 [INFO] [stderr] Compiling wasmtime-internal-core v48.0.1 [INFO] [stderr] Compiling zmij v1.0.23 [INFO] [stderr] Compiling cranelift-isle v0.135.1 [INFO] [stderr] Compiling serde_json v1.0.151 [INFO] [stderr] Checking log v0.4.34 [INFO] [stderr] Compiling serde_core v1.0.229 [INFO] [stderr] Compiling cranelift-codegen-shared v0.135.1 [INFO] [stderr] Compiling hashbrown v0.17.1 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling itoa v1.0.18 [INFO] [stderr] Compiling find-msvc-tools v0.1.12 [INFO] [stderr] Checking bumpalo v3.20.3 [INFO] [stderr] Compiling target-lexicon v0.13.5 [INFO] [stderr] Compiling aho-corasick v1.1.5 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking arbitrary v1.4.2 [INFO] [stderr] Compiling libc v0.2.189 [INFO] [stderr] Compiling cranelift-assembler-x64-meta v0.135.1 [INFO] [stderr] Checking hashbrown v0.16.1 [INFO] [stderr] Checking smallvec v1.16.0 [INFO] [stderr] Compiling regex-syntax v0.8.11 [INFO] [stderr] Compiling cc v1.4.5 [INFO] [stderr] Compiling thiserror v2.0.20 [INFO] [stderr] Checking rustc-hash v2.1.3 [INFO] [stderr] Compiling serde v1.0.229 [INFO] [stderr] Compiling anyhow v1.0.104 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking cranelift-control v0.135.1 [INFO] [stderr] Compiling streaming-iterator v0.1.9 [INFO] [stderr] Compiling crc32fast v1.5.1 [INFO] [stderr] Compiling linux-raw-sys v0.12.1 [INFO] [stderr] Checking indexmap v2.14.2 [INFO] [stderr] Checking regalloc2 v0.15.2 [INFO] [stderr] Compiling quote v1.0.47 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling bitflags v2.13.1 [INFO] [stderr] Checking gimli v0.33.0 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking cranelift-bitset v0.135.1 [INFO] [stderr] Compiling syn v3.0.5 [INFO] [stderr] Compiling cranelift-codegen-meta v0.135.1 [INFO] [stderr] Checking cranelift-entity v0.135.1 [INFO] [stderr] Compiling syn v2.0.119 [INFO] [stderr] Checking cranelift-bforest v0.135.1 [INFO] [stderr] Compiling getrandom v0.4.3 [INFO] [stderr] Compiling fastrand v2.5.0 [INFO] [stderr] Compiling topological-sort v0.2.2 [INFO] [stderr] Compiling object v0.39.1 [INFO] [stderr] Compiling smallbitvec v2.6.1 [INFO] [stderr] Compiling once_cell v1.21.4 [INFO] [stderr] Checking regex-automata v0.4.18 [INFO] [stderr] Checking anstyle-parse v1.0.0 [INFO] [stderr] Checking anstyle v1.0.14 [INFO] [stderr] Checking colorchoice v1.0.5 [INFO] [stderr] Compiling tree-sitter-c2rust v0.25.2 [INFO] [stderr] Checking is_terminal_polyfill v1.70.2 [INFO] [stderr] Checking anstyle-query v1.1.5 [INFO] [stderr] Checking anstream v1.0.0 [INFO] [stderr] Checking clap_lex v1.1.0 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking clap_builder v4.6.6 [INFO] [stderr] Checking vte v0.14.1 [INFO] [stderr] Checking ariadne v0.6.0 [INFO] [stderr] Compiling cranelift-assembler-x64 v0.135.1 [INFO] [stderr] Compiling semver v1.0.28 [INFO] [stderr] Checking bstr v1.13.1 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking walkdir v2.5.0 [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-codegen v0.135.1 [INFO] [stderr] Checking tempfile v3.27.0 [INFO] [stderr] Compiling tree-sitter v0.25.10 [INFO] [stderr] Checking regex v1.13.1 [INFO] [stderr] Checking globset v0.4.20 [INFO] [stderr] Checking insta v1.48.0 [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] Compiling c2rust-bitfields-derive v0.2.1 [INFO] [stderr] Compiling rust-sitter-common v0.4.5 [INFO] [stderr] Compiling syn-inline-mod v0.6.0 [INFO] [stderr] Checking c2rust-bitfields v0.3.0 [INFO] [stderr] Compiling rust-sitter-macro v0.4.5 [INFO] [stderr] Checking clap v4.6.6 [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`, `StackSlotData`, `StackSlotKind`, and `isa::TargetFrontendConfig` [INFO] [stdout] --> src/codegen/mod.rs:11:40 [INFO] [stdout] | [INFO] [stdout] 11 | AbiParam, Block, BlockArg, BlockCall, FuncRef, InstBuilder, JumpTable, JumpTableData, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] 12 | SigRef, Signature, SourceLoc, StackSlotData, StackSlotKind, TrapCode, Type, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | isa::TargetFrontendConfig, [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: `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 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`, `StackSlotData`, `StackSlotKind`, and `isa::TargetFrontendConfig` [INFO] [stdout] --> src/codegen/mod.rs:11:40 [INFO] [stdout] | [INFO] [stdout] 11 | AbiParam, Block, BlockArg, BlockCall, FuncRef, InstBuilder, JumpTable, JumpTableData, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] 12 | SigRef, Signature, SourceLoc, StackSlotData, StackSlotKind, TrapCode, Type, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | isa::TargetFrontendConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AstImplicitPathExpr`, `AstPathExpr`, and `AstPath` [INFO] [stdout] --> src/ty/typeck.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | AstImplicitPathExpr, AstLetDecl, AstPath, AstPathExpr, AstPlace, AstRequireConstraint, [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: `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: `AstImplicitPathExpr`, `AstPathExpr`, and `AstPath` [INFO] [stdout] --> src/ty/typeck.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | AstImplicitPathExpr, AstLetDecl, AstPath, AstPathExpr, AstPlace, AstRequireConstraint, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable `else` clause [INFO] [stdout] --> src/codegen/mod.rs:379:46 [INFO] [stdout] | [INFO] [stdout] 379 | 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: `x_ty` [INFO] [stdout] --> src/codegen/mod.rs:2259:13 [INFO] [stdout] | [INFO] [stdout] 2259 | let x_ty = self [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_x_ty` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable `else` clause [INFO] [stdout] --> src/codegen/mod.rs:379:46 [INFO] [stdout] | [INFO] [stdout] 379 | 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: `x_ty` [INFO] [stdout] --> src/codegen/mod.rs:2259:13 [INFO] [stdout] | [INFO] [stdout] 2259 | let x_ty = self [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_x_ty` [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: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] [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:350:17 [INFO] [stdout] | [INFO] [stdout] 350 | name, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [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] [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: method `else_case` is never used [INFO] [stdout] --> src/ast.rs:377:12 [INFO] [stdout] | [INFO] [stdout] 370 | impl AstSwitchStmt { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 377 | pub fn else_case(&self) -> Option<&AstSwitchElseCase> { [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 `node_id` is never used [INFO] [stdout] --> src/ast.rs:441:12 [INFO] [stdout] | [INFO] [stdout] 440 | impl AstSwitchCase { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 441 | 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:467:9 [INFO] [stdout] | [INFO] [stdout] 466 | pub struct AstSwitchCaseItem { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 467 | 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:118:5 [INFO] [stdout] | [INFO] [stdout] 112 | struct Runtime { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 118 | println_bool: FuncId, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | 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:531:5 [INFO] [stdout] | [INFO] [stdout] 530 | struct ScopeFrame { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 531 | 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:544:5 [INFO] [stdout] | [INFO] [stdout] 542 | struct SwitchInfo { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 543 | scope: ScopeId, [INFO] [stdout] 544 | current_block: Block, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 547 | exit: Block, [INFO] [stdout] | ^^^^ [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:34:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Defs { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | 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:80:8 [INFO] [stdout] | [INFO] [stdout] 69 | impl DefCtxt { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 80 | fn reverse_def_id_to_node_id(&self, def_id: DefId) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DuplicateImpl` is never constructed [INFO] [stdout] --> src/defs.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 128 | pub enum DefError { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 129 | #[error("duplicate definitions of {0}")] [INFO] [stdout] 130 | DuplicateImpl(String, NodeId, 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: field `op` is never read [INFO] [stdout] --> src/syntax.rs:529:13 [INFO] [stdout] | [INFO] [stdout] 526 | LogicalAnd { [INFO] [stdout] | ---------- field in this variant [INFO] [stdout] ... [INFO] [stdout] 529 | op: (), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `op` is never read [INFO] [stdout] --> src/syntax.rs:537:13 [INFO] [stdout] | [INFO] [stdout] 534 | LogicalOr { [INFO] [stdout] | --------- field in this variant [INFO] [stdout] ... [INFO] [stdout] 537 | op: (), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `void`, `int`, and `float` are never used [INFO] [stdout] --> src/ty/mod.rs:138:8 [INFO] [stdout] | [INFO] [stdout] 132 | impl TyCtxt { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 138 | fn void(&self) -> Rc { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | fn int(&self) -> Rc { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | fn float(&self) -> Rc { [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:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | 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:308:5 [INFO] [stdout] | [INFO] [stdout] 304 | pub enum ResolverError { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 308 | 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:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | 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:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | indexable_id!(pub OldId); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `TypeHasNoNamespaceMembers` and `SwitchTargetNotValue` are never constructed [INFO] [stdout] --> src/ty/typeck.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum TypeError { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 75 | TypeHasNoNamespaceMembers(NodeId), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | SwitchTargetNotValue(NodeId, Ty), [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:876:12 [INFO] [stdout] | [INFO] [stdout] 819 | impl BodyInfo { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 876 | 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:902:8 [INFO] [stdout] | [INFO] [stdout] 891 | impl ConstraintType { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 902 | 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:975:1 [INFO] [stdout] | [INFO] [stdout] 975 | 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:1007:8 [INFO] [stdout] | [INFO] [stdout] 980 | impl<'c> TypeckCtxt<'c> { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1007 | fn is_inferrable_ty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/ty/module.rs:350:17 [INFO] [stdout] | [INFO] [stdout] 350 | name, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `else_case` is never used [INFO] [stdout] --> src/ast.rs:377:12 [INFO] [stdout] | [INFO] [stdout] 370 | impl AstSwitchStmt { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 377 | pub fn else_case(&self) -> Option<&AstSwitchElseCase> { [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 `node_id` is never used [INFO] [stdout] --> src/ast.rs:441:12 [INFO] [stdout] | [INFO] [stdout] 440 | impl AstSwitchCase { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 441 | 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:467:9 [INFO] [stdout] | [INFO] [stdout] 466 | pub struct AstSwitchCaseItem { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 467 | 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:118:5 [INFO] [stdout] | [INFO] [stdout] 112 | struct Runtime { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 118 | println_bool: FuncId, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | 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:531:5 [INFO] [stdout] | [INFO] [stdout] 530 | struct ScopeFrame { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 531 | 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:544:5 [INFO] [stdout] | [INFO] [stdout] 542 | struct SwitchInfo { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 543 | scope: ScopeId, [INFO] [stdout] 544 | current_block: Block, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 547 | exit: Block, [INFO] [stdout] | ^^^^ [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:34:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Defs { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | 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:80:8 [INFO] [stdout] | [INFO] [stdout] 69 | impl DefCtxt { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 80 | fn reverse_def_id_to_node_id(&self, def_id: DefId) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DuplicateImpl` is never constructed [INFO] [stdout] --> src/defs.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 128 | pub enum DefError { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 129 | #[error("duplicate definitions of {0}")] [INFO] [stdout] 130 | DuplicateImpl(String, NodeId, 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: field `op` is never read [INFO] [stdout] --> src/syntax.rs:529:13 [INFO] [stdout] | [INFO] [stdout] 526 | LogicalAnd { [INFO] [stdout] | ---------- field in this variant [INFO] [stdout] ... [INFO] [stdout] 529 | op: (), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `op` is never read [INFO] [stdout] --> src/syntax.rs:537:13 [INFO] [stdout] | [INFO] [stdout] 534 | LogicalOr { [INFO] [stdout] | --------- field in this variant [INFO] [stdout] ... [INFO] [stdout] 537 | op: (), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `void`, `int`, and `float` are never used [INFO] [stdout] --> src/ty/mod.rs:138:8 [INFO] [stdout] | [INFO] [stdout] 132 | impl TyCtxt { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 138 | fn void(&self) -> Rc { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | fn int(&self) -> Rc { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | fn float(&self) -> Rc { [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:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | 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:308:5 [INFO] [stdout] | [INFO] [stdout] 304 | pub enum ResolverError { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 308 | 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:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | 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:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | indexable_id!(pub OldId); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `TypeHasNoNamespaceMembers` and `SwitchTargetNotValue` are never constructed [INFO] [stdout] --> src/ty/typeck.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum TypeError { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 75 | TypeHasNoNamespaceMembers(NodeId), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | SwitchTargetNotValue(NodeId, Ty), [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:876:12 [INFO] [stdout] | [INFO] [stdout] 819 | impl BodyInfo { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 876 | 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:902:8 [INFO] [stdout] | [INFO] [stdout] 891 | impl ConstraintType { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 902 | 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:975:1 [INFO] [stdout] | [INFO] [stdout] 975 | 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:1007:8 [INFO] [stdout] | [INFO] [stdout] 980 | impl<'c> TypeckCtxt<'c> { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1007 | fn is_inferrable_ty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 22s [INFO] running `Command { std: "docker" "inspect" "949caa946417b6a38a0c0d7d9679fc13632ba7fc80465ccb55bccbb7a2f224ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "949caa946417b6a38a0c0d7d9679fc13632ba7fc80465ccb55bccbb7a2f224ad", kill_on_drop: false }` [INFO] [stdout] 949caa946417b6a38a0c0d7d9679fc13632ba7fc80465ccb55bccbb7a2f224ad