[INFO] cloning repository https://github.com/BoxyUwU/Box2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BoxyUwU/Box2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBoxyUwU%2FBox2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBoxyUwU%2FBox2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0f8b325e1b2b58eb251b32ec7423e0b6b747cdc9 [INFO] checking BoxyUwU/Box2/0f8b325e1b2b58eb251b32ec7423e0b6b747cdc9 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBoxyUwU%2FBox2" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/BoxyUwU/Box2 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/BoxyUwU/Box2 [INFO] finished tweaking git repo https://github.com/BoxyUwU/Box2 [INFO] tweaked toml for git repo https://github.com/BoxyUwU/Box2 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/BoxyUwU/Box2 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustfix v0.6.1 [INFO] [stderr] Downloaded yansi-term v0.1.2 [INFO] [stderr] Downloaded comma v1.0.0 [INFO] [stderr] Downloaded ui_test v0.21.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c889b6108288bd11672dcbba3a975ee4d9d95d6de233b8402f60af27d0bd22f4 [INFO] running `Command { std: "docker" "start" "-a" "c889b6108288bd11672dcbba3a975ee4d9d95d6de233b8402f60af27d0bd22f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c889b6108288bd11672dcbba3a975ee4d9d95d6de233b8402f60af27d0bd22f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c889b6108288bd11672dcbba3a975ee4d9d95d6de233b8402f60af27d0bd22f4", kill_on_drop: false }` [INFO] [stdout] c889b6108288bd11672dcbba3a975ee4d9d95d6de233b8402f60af27d0bd22f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c9b644ba5b732f0000013e3f06898a0c54c1c39164eb98f048dbadf696c7b30c [INFO] running `Command { std: "docker" "start" "-a" "c9b644ba5b732f0000013e3f06898a0c54c1c39164eb98f048dbadf696c7b30c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling rustix v0.38.13 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Checking memchr v2.6.3 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling semver v1.0.18 [INFO] [stderr] Checking linux-raw-sys v0.4.7 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling camino v1.1.6 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling portable-atomic v1.4.3 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Compiling thiserror v1.0.48 [INFO] [stderr] Checking gimli v0.28.0 [INFO] [stderr] Compiling eyre v0.6.8 [INFO] [stderr] Checking regex-syntax v0.7.5 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking owo-colors v3.5.0 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Checking pad v0.1.6 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Checking tracing-subscriber v0.3.17 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking object v0.32.1 [INFO] [stderr] Checking fastrand v2.0.0 [INFO] [stderr] Checking yansi-term v0.1.2 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking annotate-snippets v0.9.1 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Checking levenshtein v1.0.5 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Checking prettydiff v0.6.4 [INFO] [stderr] Checking console v0.15.7 [INFO] [stderr] Checking unicode-segmentation v1.10.1 [INFO] [stderr] Checking termcolor v1.3.0 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking comma v1.0.0 [INFO] [stderr] Checking bumpalo v3.14.0 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking indicatif v0.17.6 [INFO] [stderr] Checking heck v0.3.3 [INFO] [stderr] Checking regex-automata v0.3.8 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Checking tracing-error v0.2.0 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking tempfile v3.8.0 [INFO] [stderr] Checking color-spantrace v0.2.0 [INFO] [stderr] Checking colored v2.0.4 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling thiserror-impl v1.0.48 [INFO] [stderr] Checking bstr v1.6.2 [INFO] [stderr] Checking regex v1.9.5 [INFO] [stderr] Checking color-eyre v0.6.2 [INFO] [stderr] Compiling logos-derive v0.12.1 [INFO] [stderr] Checking logos v0.12.1 [INFO] [stderr] Checking box v0.1.0 (/opt/rustwide/workdir/compiler) [INFO] [stdout] warning: unused variable: `graphs` [INFO] [stdout] --> compiler/src/resolve.rs:755:5 [INFO] [stdout] | [INFO] [stdout] 755 | graphs: &mut HashMap>>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_graphs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `graphs` [INFO] [stdout] --> compiler/src/resolve.rs:835:5 [INFO] [stdout] | [INFO] [stdout] 835 | graphs: &mut HashMap>>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_graphs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `graphs` [INFO] [stdout] --> compiler/src/resolve.rs:853:5 [INFO] [stdout] | [INFO] [stdout] 853 | graphs: &mut HashMap>>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_graphs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `graphs` [INFO] [stdout] --> compiler/src/resolve.rs:755:5 [INFO] [stdout] | [INFO] [stdout] 755 | graphs: &mut HashMap>>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_graphs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `graphs` [INFO] [stdout] --> compiler/src/resolve.rs:835:5 [INFO] [stdout] | [INFO] [stdout] 835 | graphs: &mut HashMap>>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_graphs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `graphs` [INFO] [stdout] --> compiler/src/resolve.rs:853:5 [INFO] [stdout] | [INFO] [stdout] 853 | graphs: &mut HashMap>>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_graphs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tcx` [INFO] [stdout] --> compiler/src/tir.rs:308:18 [INFO] [stdout] | [INFO] [stdout] 308 | pub fn dummy(tcx: &'t TirCtx<'t>, value: T) -> Binder<'t, T> [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tcx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tcx` [INFO] [stdout] --> compiler/src/tir.rs:308:18 [INFO] [stdout] | [INFO] [stdout] 308 | pub fn dummy(tcx: &'t TirCtx<'t>, value: T) -> Binder<'t, T> [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tcx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `unwrap_use` is never used [INFO] [stdout] --> compiler/src/ast.rs:196:12 [INFO] [stdout] | [INFO] [stdout] 141 | impl<'a> Node<'a> { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn unwrap_use(&self) -> &Use { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `visibility` is never read [INFO] [stdout] --> compiler/src/ast.rs:349:9 [INFO] [stdout] | [INFO] [stdout] 347 | pub struct Module<'a> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 348 | pub id: NodeId, [INFO] [stdout] 349 | pub visibility: Visibility, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Module` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `visibility` and `name_span` are never read [INFO] [stdout] --> compiler/src/ast.rs:375:9 [INFO] [stdout] | [INFO] [stdout] 373 | pub struct TypeAlias<'a> { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 374 | pub id: NodeId, [INFO] [stdout] 375 | pub visibility: Visibility, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 376 | pub name: &'a str, [INFO] [stdout] 377 | pub name_span: Span, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypeAlias` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `visibility` is never read [INFO] [stdout] --> compiler/src/ast.rs:386:9 [INFO] [stdout] | [INFO] [stdout] 384 | pub struct TypeDef<'a> { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 385 | pub id: NodeId, [INFO] [stdout] 386 | pub visibility: Visibility, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypeDef` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `visibility` is never read [INFO] [stdout] --> compiler/src/ast.rs:408:9 [INFO] [stdout] | [INFO] [stdout] 406 | pub struct VariantDef<'a> { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 407 | pub id: NodeId, [INFO] [stdout] 408 | pub visibility: Visibility, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VariantDef` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `visibility` is never read [INFO] [stdout] --> compiler/src/ast.rs:417:9 [INFO] [stdout] | [INFO] [stdout] 415 | pub struct FieldDef<'a> { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 416 | pub id: NodeId, [INFO] [stdout] 417 | pub visibility: Visibility, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FieldDef` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `visibility` is never read [INFO] [stdout] --> compiler/src/ast.rs:433:9 [INFO] [stdout] | [INFO] [stdout] 431 | pub struct Fn<'a> { [INFO] [stdout] | -- field in this struct [INFO] [stdout] 432 | pub id: NodeId, [INFO] [stdout] 433 | pub visibility: Visibility, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Fn` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `visibility` is never read [INFO] [stdout] --> compiler/src/ast.rs:445:9 [INFO] [stdout] | [INFO] [stdout] 443 | pub struct Use<'a> { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 444 | pub id: NodeId, [INFO] [stdout] 445 | pub visibility: Visibility, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Use` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `span` and `visibility` are never read [INFO] [stdout] --> compiler/src/ast.rs:453:9 [INFO] [stdout] | [INFO] [stdout] 451 | pub struct Trait<'a> { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 452 | pub id: NodeId, [INFO] [stdout] 453 | pub span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] 454 | [INFO] [stdout] 455 | pub visibility: Visibility, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Trait` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `span` is never read [INFO] [stdout] --> compiler/src/ast.rs:471:9 [INFO] [stdout] | [INFO] [stdout] 469 | pub struct Impl<'a> { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 470 | pub id: NodeId, [INFO] [stdout] 471 | pub span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Impl` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> compiler/src/ast.rs:527:10 [INFO] [stdout] | [INFO] [stdout] 527 | UnOp(UnOp, &'a Expr<'a>, Span), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ExprKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 527 | UnOp((), &'a Expr<'a>, Span), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_id` is never used [INFO] [stdout] --> compiler/src/resolve.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl Res { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 31 | pub fn from_id<'a>(id: NodeId, nodes: &'a Nodes<'a>) -> Res { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `in_scope` is never read [INFO] [stdout] --> compiler/src/resolve.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 67 | UnresolvedLexicalIdentifier { [INFO] [stdout] | --------------------------- field in this variant [INFO] [stdout] 68 | ident: String, [INFO] [stdout] 69 | in_scope: (NodeId, SGNodeId), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `in_scope` is never read [INFO] [stdout] --> compiler/src/resolve.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 72 | UnresolvedAssociatedIdentifier { [INFO] [stdout] | ------------------------------ field in this variant [INFO] [stdout] 73 | ident: String, [INFO] [stdout] 74 | in_scope: NodeId, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `on_res` is never read [INFO] [stdout] --> compiler/src/resolve.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 77 | UnresolvedField { [INFO] [stdout] | --------------- field in this variant [INFO] [stdout] 78 | ident: String, [INFO] [stdout] 79 | on_res: NodeId, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `name` are never read [INFO] [stdout] --> compiler/src/scopegraph.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ScopeGraph { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 6 | id: NodeId, [INFO] [stdout] | ^^ [INFO] [stdout] 7 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `graphviz_export` is never used [INFO] [stdout] --> compiler/src/scopegraph.rs:234:8 [INFO] [stdout] | [INFO] [stdout] 234 | pub fn graphviz_export(sg: &HashMap>) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `bounds` and `kind` are never read [INFO] [stdout] --> compiler/src/solve.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Goal<'t> { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 8 | pub bounds: Bounds<'t>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 9 | pub kind: Binder<'t, GoalKind<'t>>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `WellFormed`, `StructurallyNorm`, and `Trait` are never constructed [INFO] [stdout] --> compiler/src/solve.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum GoalKind<'t> { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 13 | WellFormed(&'t Ty<'t>), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 14 | StructurallyNorm(TirId, GenArgs<'t>, &'t Ty<'t>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | Equate(&'t Ty<'t>, &'t Ty<'t>), [INFO] [stdout] 16 | Trait(TirId, GenArgs<'t>), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Canonical` is never constructed [INFO] [stdout] --> compiler/src/solve/canonical.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Canonical<'t, T> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Input` and `Response` are never constructed [INFO] [stdout] --> compiler/src/solve/canonical.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum CanonicalizerMode { [INFO] [stdout] | ----------------- variants in this enum [INFO] [stdout] 20 | Input, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 21 | Response, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CanonicalizerMode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OriginalValues` is never constructed [INFO] [stdout] --> compiler/src/solve/canonical.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct OriginalValues<'t>(pub &'t [&'t Ty<'t>]); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ExistentialTy` and `UniversalTy` are never constructed [INFO] [stdout] --> compiler/src/solve/canonical.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub enum CanonicalVar { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 34 | ExistentialTy(Universe), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 35 | UniversalTy(Universe, BoundVar), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CanonicalVar` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `universe` and `update_universe` are never used [INFO] [stdout] --> compiler/src/solve/canonical.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl CanonicalVar { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 38 | pub fn universe(&self) -> Universe { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn update_universe(&mut self, new_u: Universe) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `instantiate` is never used [INFO] [stdout] --> compiler/src/solve/canonical.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 49 | impl<'t, T: TypeFoldable<'t>> Canonical<'t, T> { [INFO] [stdout] | ---------------------------------------------- method in this implementation [INFO] [stdout] 50 | fn instantiate(self, infcx: &InferCtxt<'t>, var_values: &VarValues<'t>) -> T { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> compiler/src/solve/canonical.rs:57:20 [INFO] [stdout] | [INFO] [stdout] 56 | impl<'a, 't> CanonicalInstantiator<'a, 't> { [INFO] [stdout] | ------------------------------------------ associated function in this implementation [INFO] [stdout] 57 | pub fn new(tcx: &'t TirCtx<'t>, var_values: &'a VarValues<'t>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `canonicalize`, `new_from_canonical`, `create_canonical_response`, and `instantiate_canonical_response` are never used [INFO] [stdout] --> compiler/src/solve/canonical.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 93 | impl<'t> InferCtxt<'t> { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 94 | pub fn canonicalize>( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 276 | pub fn new_from_canonical>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 307 | pub fn create_canonical_response( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 322 | pub fn instantiate_canonical_response( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `canonicalize_placeholder`, and `canonicalize_infer` are never used [INFO] [stdout] --> compiler/src/solve/canonical.rs:113:20 [INFO] [stdout] | [INFO] [stdout] 112 | impl<'a, 't> Canonicalizer<'a, 't> { [INFO] [stdout] | ---------------------------------- associated items in this implementation [INFO] [stdout] 113 | pub fn new(infcx: &'a InferCtxt<'t>, mode: CanonicalizerMode) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn canonicalize_placeholder(&mut self, u: Universe, var: BoundVar) -> &'t Ty<'t> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | pub fn canonicalize_infer(&mut self, id: InferId) -> &'t Ty<'t> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_raw` and `can_name` are never used [INFO] [stdout] --> compiler/src/tir.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 88 | impl Universe { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn new_raw(idx: u32, gen: u32) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn can_name(self, b: Universe, infcx: &InferCtxt<'_>) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dead_universes` is never read [INFO] [stdout] --> compiler/src/tir.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 117 | pub struct UniverseStorage { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 120 | dead_universes: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `enter_new_universe`, `exit_current_universe`, and `is_universe_alive` are never used [INFO] [stdout] --> compiler/src/tir.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 122 | impl UniverseStorage { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 139 | pub fn enter_new_universe(&mut self) -> Universe { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | pub fn exit_current_universe(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | pub fn is_universe_alive(&self, universe: Universe) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `bind_with_vars`, `vars`, `no_bound_vars`, `instantiate_with_infer`, and `enter_forall` are never used [INFO] [stdout] --> compiler/src/tir.rs:287:12 [INFO] [stdout] | [INFO] [stdout] 286 | impl<'t, T> Binder<'t, T> { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] 287 | pub fn bind_with_vars(value: T, vars: &'t [BoundVarKind]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 292 | pub fn vars(&self) -> &'t [BoundVarKind] { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 301 | pub fn no_bound_vars(self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 343 | pub fn instantiate_with_infer(self, infcx: &mut InferCtxt<'t>, span: Span) -> T [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 391 | pub fn enter_forall(self, infcx: &mut InferCtxt<'t>, f: impl FnOnce(T) -> U) -> U [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> compiler/src/tir.rs:353:16 [INFO] [stdout] | [INFO] [stdout] 352 | impl<'a, 't> Folder<'a, 't> { [INFO] [stdout] | --------------------------- associated function in this implementation [INFO] [stdout] 353 | fn new(infcx: &'a mut InferCtxt<'t>, span: Span) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> compiler/src/tir.rs:400:16 [INFO] [stdout] | [INFO] [stdout] 399 | impl<'a, 't> Folder<'a, 't> { [INFO] [stdout] | --------------------------- associated function in this implementation [INFO] [stdout] 400 | fn new(infcx: &'a InferCtxt<'t>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `kind` are never read [INFO] [stdout] --> compiler/src/tir.rs:473:9 [INFO] [stdout] | [INFO] [stdout] 472 | pub struct GenParam<'t> { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 473 | pub name: &'t str, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 476 | pub kind: GenParamKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GenParam` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Path` is never constructed [INFO] [stdout] --> compiler/src/tir.rs:485:12 [INFO] [stdout] | [INFO] [stdout] 485 | pub struct Path<'t> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Path` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `res` is never read [INFO] [stdout] --> compiler/src/tir.rs:494:9 [INFO] [stdout] | [INFO] [stdout] 492 | pub struct PathSeg<'t> { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 493 | pub args: GenArgs<'t>, [INFO] [stdout] 494 | pub res: Res, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PathSeg` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Expr` is never constructed [INFO] [stdout] --> compiler/src/tir.rs:498:12 [INFO] [stdout] | [INFO] [stdout] 498 | pub struct Expr<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `span` is never read [INFO] [stdout] --> compiler/src/tir.rs:505:9 [INFO] [stdout] | [INFO] [stdout] 503 | pub struct Param<'t> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 504 | pub ty: EarlyBinder<&'t Ty<'t>>, [INFO] [stdout] 505 | pub span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Param` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ExprKind` is never used [INFO] [stdout] --> compiler/src/tir.rs:509:10 [INFO] [stdout] | [INFO] [stdout] 509 | pub enum ExprKind<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExprKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FnCall` is never constructed [INFO] [stdout] --> compiler/src/tir.rs:522:12 [INFO] [stdout] | [INFO] [stdout] 522 | pub struct FnCall<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FnCall` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FieldInit` is never constructed [INFO] [stdout] --> compiler/src/tir.rs:529:12 [INFO] [stdout] | [INFO] [stdout] 529 | pub struct FieldInit<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FieldInit` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TypeInit` is never constructed [INFO] [stdout] --> compiler/src/tir.rs:536:12 [INFO] [stdout] | [INFO] [stdout] 536 | pub struct TypeInit<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypeInit` 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: variants `Add`, `Sub`, `Mul`, `Div`, and `Dot` are never constructed [INFO] [stdout] --> compiler/src/tir.rs:544:5 [INFO] [stdout] | [INFO] [stdout] 543 | pub enum BinOp { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 544 | Add, [INFO] [stdout] | ^^^ [INFO] [stdout] 545 | Sub, [INFO] [stdout] | ^^^ [INFO] [stdout] 546 | Mul, [INFO] [stdout] | ^^^ [INFO] [stdout] 547 | Div, [INFO] [stdout] | ^^^ [INFO] [stdout] 548 | Dot, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BinOp` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Neg` and `Call` are never constructed [INFO] [stdout] --> compiler/src/tir.rs:553:5 [INFO] [stdout] | [INFO] [stdout] 552 | pub enum UnOp { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 553 | Neg, [INFO] [stdout] | ^^^ [INFO] [stdout] 554 | Call, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UnOp` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `bounds` are never read [INFO] [stdout] --> compiler/src/tir.rs:618:9 [INFO] [stdout] | [INFO] [stdout] 617 | pub struct Adt<'t> { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 618 | pub id: TirId, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 621 | pub bounds: EarlyBinder>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Adt` 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 `id`, `bounds`, and `ty` are never read [INFO] [stdout] --> compiler/src/tir.rs:642:9 [INFO] [stdout] | [INFO] [stdout] 641 | pub struct TyAlias<'t> { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 642 | pub id: TirId, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 645 | pub bounds: EarlyBinder>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 646 | pub ty: Option>>, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `TyAlias` 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 `id`, `name`, and `bounds` are never read [INFO] [stdout] --> compiler/src/tir.rs:651:9 [INFO] [stdout] | [INFO] [stdout] 650 | pub struct Trait<'t> { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 651 | pub id: TirId, [INFO] [stdout] | ^^ [INFO] [stdout] 652 | pub name: &'t str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 653 | pub generics: &'t Generics<'t>, [INFO] [stdout] 654 | pub bounds: EarlyBinder>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Trait` 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 `id`, `of_trait`, and `bounds` are never read [INFO] [stdout] --> compiler/src/tir.rs:660:9 [INFO] [stdout] | [INFO] [stdout] 659 | pub struct Impl<'t> { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 660 | pub id: TirId, [INFO] [stdout] | ^^ [INFO] [stdout] 661 | pub of_trait: (TirId, EarlyBinder>), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 662 | pub generics: &'t Generics<'t>, [INFO] [stdout] 663 | pub bounds: EarlyBinder>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Impl` 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 `id` and `name` are never read [INFO] [stdout] --> compiler/src/tir.rs:675:9 [INFO] [stdout] | [INFO] [stdout] 674 | pub struct Mod<'t> { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 675 | pub id: TirId, [INFO] [stdout] | ^^ [INFO] [stdout] 676 | pub name: &'t str, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Mod` 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: method `lower_binder` is never used [INFO] [stdout] --> compiler/src/tir/building.rs:244:8 [INFO] [stdout] | [INFO] [stdout] 189 | impl InScopeBinders { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 244 | fn lower_binder<'t, B: TirBuilder<'t>, T, U>( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `visit_expr` is never used [INFO] [stdout] --> compiler/src/tir/visit.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Visitor<'t>: Sized { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 8 | fn visit_expr(&mut self, expr: &Expr<'t>) {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `visit_binder` is never used [INFO] [stdout] --> compiler/src/tir/visit.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait TypeVisitor<'t> { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] 100 | fn visit_ty(&mut self, ty: &'t Ty<'t>); [INFO] [stdout] 101 | fn visit_binder>(&mut self, binder: Binder<'t, T>); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `try_fold_binder` is never used [INFO] [stdout] --> compiler/src/tir/visit.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait FallibleTypeFolder<'t> { [INFO] [stdout] | ------------------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 112 | fn try_fold_binder>( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `unwrap_use` is never used [INFO] [stdout] --> compiler/src/ast.rs:196:12 [INFO] [stdout] | [INFO] [stdout] 141 | impl<'a> Node<'a> { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn unwrap_use(&self) -> &Use { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `visibility` is never read [INFO] [stdout] --> compiler/src/ast.rs:349:9 [INFO] [stdout] | [INFO] [stdout] 347 | pub struct Module<'a> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 348 | pub id: NodeId, [INFO] [stdout] 349 | pub visibility: Visibility, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Module` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `visibility` and `name_span` are never read [INFO] [stdout] --> compiler/src/ast.rs:375:9 [INFO] [stdout] | [INFO] [stdout] 373 | pub struct TypeAlias<'a> { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 374 | pub id: NodeId, [INFO] [stdout] 375 | pub visibility: Visibility, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 376 | pub name: &'a str, [INFO] [stdout] 377 | pub name_span: Span, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypeAlias` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `visibility` is never read [INFO] [stdout] --> compiler/src/ast.rs:386:9 [INFO] [stdout] | [INFO] [stdout] 384 | pub struct TypeDef<'a> { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 385 | pub id: NodeId, [INFO] [stdout] 386 | pub visibility: Visibility, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypeDef` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `visibility` is never read [INFO] [stdout] --> compiler/src/ast.rs:408:9 [INFO] [stdout] | [INFO] [stdout] 406 | pub struct VariantDef<'a> { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 407 | pub id: NodeId, [INFO] [stdout] 408 | pub visibility: Visibility, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VariantDef` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `visibility` is never read [INFO] [stdout] --> compiler/src/ast.rs:417:9 [INFO] [stdout] | [INFO] [stdout] 415 | pub struct FieldDef<'a> { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 416 | pub id: NodeId, [INFO] [stdout] 417 | pub visibility: Visibility, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FieldDef` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `visibility` is never read [INFO] [stdout] --> compiler/src/ast.rs:433:9 [INFO] [stdout] | [INFO] [stdout] 431 | pub struct Fn<'a> { [INFO] [stdout] | -- field in this struct [INFO] [stdout] 432 | pub id: NodeId, [INFO] [stdout] 433 | pub visibility: Visibility, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Fn` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `visibility` is never read [INFO] [stdout] --> compiler/src/ast.rs:445:9 [INFO] [stdout] | [INFO] [stdout] 443 | pub struct Use<'a> { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 444 | pub id: NodeId, [INFO] [stdout] 445 | pub visibility: Visibility, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Use` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `span` and `visibility` are never read [INFO] [stdout] --> compiler/src/ast.rs:453:9 [INFO] [stdout] | [INFO] [stdout] 451 | pub struct Trait<'a> { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 452 | pub id: NodeId, [INFO] [stdout] 453 | pub span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] 454 | [INFO] [stdout] 455 | pub visibility: Visibility, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Trait` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `span` is never read [INFO] [stdout] --> compiler/src/ast.rs:471:9 [INFO] [stdout] | [INFO] [stdout] 469 | pub struct Impl<'a> { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 470 | pub id: NodeId, [INFO] [stdout] 471 | pub span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Impl` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> compiler/src/ast.rs:527:10 [INFO] [stdout] | [INFO] [stdout] 527 | UnOp(UnOp, &'a Expr<'a>, Span), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ExprKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 527 | UnOp((), &'a Expr<'a>, Span), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_id` is never used [INFO] [stdout] --> compiler/src/resolve.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl Res { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 31 | pub fn from_id<'a>(id: NodeId, nodes: &'a Nodes<'a>) -> Res { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `in_scope` is never read [INFO] [stdout] --> compiler/src/resolve.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 67 | UnresolvedLexicalIdentifier { [INFO] [stdout] | --------------------------- field in this variant [INFO] [stdout] 68 | ident: String, [INFO] [stdout] 69 | in_scope: (NodeId, SGNodeId), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `in_scope` is never read [INFO] [stdout] --> compiler/src/resolve.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 72 | UnresolvedAssociatedIdentifier { [INFO] [stdout] | ------------------------------ field in this variant [INFO] [stdout] 73 | ident: String, [INFO] [stdout] 74 | in_scope: NodeId, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `on_res` is never read [INFO] [stdout] --> compiler/src/resolve.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 77 | UnresolvedField { [INFO] [stdout] | --------------- field in this variant [INFO] [stdout] 78 | ident: String, [INFO] [stdout] 79 | on_res: NodeId, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `name` are never read [INFO] [stdout] --> compiler/src/scopegraph.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ScopeGraph { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 6 | id: NodeId, [INFO] [stdout] | ^^ [INFO] [stdout] 7 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `graphviz_export` is never used [INFO] [stdout] --> compiler/src/scopegraph.rs:234:8 [INFO] [stdout] | [INFO] [stdout] 234 | pub fn graphviz_export(sg: &HashMap>) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `references_err` is never used [INFO] [stdout] --> compiler/src/tir/visit.rs:360:8 [INFO] [stdout] | [INFO] [stdout] 359 | pub trait TypeVisitableExt<'t> { [INFO] [stdout] | ---------------- method in this trait [INFO] [stdout] 360 | fn references_err(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> compiler/src/typeck.rs:75:24 [INFO] [stdout] | [INFO] [stdout] 75 | UnconstrainedInfer(NodeId, InferId, Span), [INFO] [stdout] | ------------------ ^^^^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 75 | UnconstrainedInfer((), (), Span), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> compiler/src/typeck.rs:76:28 [INFO] [stdout] | [INFO] [stdout] 76 | NonPlaceExprInMutateOp(NodeId, Span), [INFO] [stdout] | ---------------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 76 | NonPlaceExprInMutateOp((), Span), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> compiler/src/typeck.rs:77:24 [INFO] [stdout] | [INFO] [stdout] 77 | NonIdentRhsOfDotOp(NodeId, Span), [INFO] [stdout] | ------------------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 77 | NonIdentRhsOfDotOp((), Span), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `enter_new_universe`, `exit_current_universe`, `is_universe_alive`, `new_var_in_universe`, and `universe_of_var` are never used [INFO] [stdout] --> compiler/src/typeck.rs:339:12 [INFO] [stdout] | [INFO] [stdout] 322 | impl<'t> InferCtxt<'t> { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 339 | pub fn enter_new_universe(&mut self) -> Universe { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 343 | pub fn exit_current_universe(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 347 | pub fn is_universe_alive(&self, universe: Universe) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 355 | pub fn new_var_in_universe(&mut self, universe: Universe, span: Span) -> InferId { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 368 | pub fn universe_of_var(&self, var: InferId) -> Universe { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `bounds` and `kind` are never read [INFO] [stdout] --> compiler/src/solve.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Goal<'t> { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 8 | pub bounds: Bounds<'t>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 9 | pub kind: Binder<'t, GoalKind<'t>>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `WellFormed`, `StructurallyNorm`, and `Trait` are never constructed [INFO] [stdout] --> compiler/src/solve.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum GoalKind<'t> { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 13 | WellFormed(&'t Ty<'t>), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 14 | StructurallyNorm(TirId, GenArgs<'t>, &'t Ty<'t>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | Equate(&'t Ty<'t>, &'t Ty<'t>), [INFO] [stdout] 16 | Trait(TirId, GenArgs<'t>), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Canonical` is never constructed [INFO] [stdout] --> compiler/src/solve/canonical.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Canonical<'t, T> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Input` and `Response` are never constructed [INFO] [stdout] --> compiler/src/solve/canonical.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum CanonicalizerMode { [INFO] [stdout] | ----------------- variants in this enum [INFO] [stdout] 20 | Input, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 21 | Response, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CanonicalizerMode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OriginalValues` is never constructed [INFO] [stdout] --> compiler/src/solve/canonical.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct OriginalValues<'t>(pub &'t [&'t Ty<'t>]); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ExistentialTy` and `UniversalTy` are never constructed [INFO] [stdout] --> compiler/src/solve/canonical.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub enum CanonicalVar { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 34 | ExistentialTy(Universe), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 35 | UniversalTy(Universe, BoundVar), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CanonicalVar` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `universe` and `update_universe` are never used [INFO] [stdout] --> compiler/src/solve/canonical.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl CanonicalVar { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 38 | pub fn universe(&self) -> Universe { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn update_universe(&mut self, new_u: Universe) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `instantiate` is never used [INFO] [stdout] --> compiler/src/solve/canonical.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 49 | impl<'t, T: TypeFoldable<'t>> Canonical<'t, T> { [INFO] [stdout] | ---------------------------------------------- method in this implementation [INFO] [stdout] 50 | fn instantiate(self, infcx: &InferCtxt<'t>, var_values: &VarValues<'t>) -> T { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> compiler/src/solve/canonical.rs:57:20 [INFO] [stdout] | [INFO] [stdout] 56 | impl<'a, 't> CanonicalInstantiator<'a, 't> { [INFO] [stdout] | ------------------------------------------ associated function in this implementation [INFO] [stdout] 57 | pub fn new(tcx: &'t TirCtx<'t>, var_values: &'a VarValues<'t>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `canonicalize`, `new_from_canonical`, `create_canonical_response`, and `instantiate_canonical_response` are never used [INFO] [stdout] --> compiler/src/solve/canonical.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 93 | impl<'t> InferCtxt<'t> { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 94 | pub fn canonicalize>( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 276 | pub fn new_from_canonical>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 307 | pub fn create_canonical_response( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 322 | pub fn instantiate_canonical_response( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `canonicalize_placeholder`, and `canonicalize_infer` are never used [INFO] [stdout] --> compiler/src/solve/canonical.rs:113:20 [INFO] [stdout] | [INFO] [stdout] 112 | impl<'a, 't> Canonicalizer<'a, 't> { [INFO] [stdout] | ---------------------------------- associated items in this implementation [INFO] [stdout] 113 | pub fn new(infcx: &'a InferCtxt<'t>, mode: CanonicalizerMode) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn canonicalize_placeholder(&mut self, u: Universe, var: BoundVar) -> &'t Ty<'t> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | pub fn canonicalize_infer(&mut self, id: InferId) -> &'t Ty<'t> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_raw` and `can_name` are never used [INFO] [stdout] --> compiler/src/tir.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 88 | impl Universe { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn new_raw(idx: u32, gen: u32) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn can_name(self, b: Universe, infcx: &InferCtxt<'_>) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dead_universes` is never read [INFO] [stdout] --> compiler/src/tir.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 117 | pub struct UniverseStorage { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 120 | dead_universes: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `enter_new_universe`, `exit_current_universe`, and `is_universe_alive` are never used [INFO] [stdout] --> compiler/src/tir.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 122 | impl UniverseStorage { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 139 | pub fn enter_new_universe(&mut self) -> Universe { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | pub fn exit_current_universe(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | pub fn is_universe_alive(&self, universe: Universe) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `bind_with_vars`, `vars`, `no_bound_vars`, `instantiate_with_infer`, and `enter_forall` are never used [INFO] [stdout] --> compiler/src/tir.rs:287:12 [INFO] [stdout] | [INFO] [stdout] 286 | impl<'t, T> Binder<'t, T> { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] 287 | pub fn bind_with_vars(value: T, vars: &'t [BoundVarKind]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 292 | pub fn vars(&self) -> &'t [BoundVarKind] { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 301 | pub fn no_bound_vars(self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 343 | pub fn instantiate_with_infer(self, infcx: &mut InferCtxt<'t>, span: Span) -> T [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 391 | pub fn enter_forall(self, infcx: &mut InferCtxt<'t>, f: impl FnOnce(T) -> U) -> U [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> compiler/src/tir.rs:353:16 [INFO] [stdout] | [INFO] [stdout] 352 | impl<'a, 't> Folder<'a, 't> { [INFO] [stdout] | --------------------------- associated function in this implementation [INFO] [stdout] 353 | fn new(infcx: &'a mut InferCtxt<'t>, span: Span) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> compiler/src/tir.rs:400:16 [INFO] [stdout] | [INFO] [stdout] 399 | impl<'a, 't> Folder<'a, 't> { [INFO] [stdout] | --------------------------- associated function in this implementation [INFO] [stdout] 400 | fn new(infcx: &'a InferCtxt<'t>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `kind` are never read [INFO] [stdout] --> compiler/src/tir.rs:473:9 [INFO] [stdout] | [INFO] [stdout] 472 | pub struct GenParam<'t> { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 473 | pub name: &'t str, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 476 | pub kind: GenParamKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GenParam` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Path` is never constructed [INFO] [stdout] --> compiler/src/tir.rs:485:12 [INFO] [stdout] | [INFO] [stdout] 485 | pub struct Path<'t> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Path` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `res` is never read [INFO] [stdout] --> compiler/src/tir.rs:494:9 [INFO] [stdout] | [INFO] [stdout] 492 | pub struct PathSeg<'t> { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 493 | pub args: GenArgs<'t>, [INFO] [stdout] 494 | pub res: Res, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PathSeg` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Expr` is never constructed [INFO] [stdout] --> compiler/src/tir.rs:498:12 [INFO] [stdout] | [INFO] [stdout] 498 | pub struct Expr<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `span` is never read [INFO] [stdout] --> compiler/src/tir.rs:505:9 [INFO] [stdout] | [INFO] [stdout] 503 | pub struct Param<'t> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 504 | pub ty: EarlyBinder<&'t Ty<'t>>, [INFO] [stdout] 505 | pub span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Param` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ExprKind` is never used [INFO] [stdout] --> compiler/src/tir.rs:509:10 [INFO] [stdout] | [INFO] [stdout] 509 | pub enum ExprKind<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExprKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FnCall` is never constructed [INFO] [stdout] --> compiler/src/tir.rs:522:12 [INFO] [stdout] | [INFO] [stdout] 522 | pub struct FnCall<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FnCall` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FieldInit` is never constructed [INFO] [stdout] --> compiler/src/tir.rs:529:12 [INFO] [stdout] | [INFO] [stdout] 529 | pub struct FieldInit<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FieldInit` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TypeInit` is never constructed [INFO] [stdout] --> compiler/src/tir.rs:536:12 [INFO] [stdout] | [INFO] [stdout] 536 | pub struct TypeInit<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypeInit` 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: variants `Add`, `Sub`, `Mul`, `Div`, and `Dot` are never constructed [INFO] [stdout] --> compiler/src/tir.rs:544:5 [INFO] [stdout] | [INFO] [stdout] 543 | pub enum BinOp { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 544 | Add, [INFO] [stdout] | ^^^ [INFO] [stdout] 545 | Sub, [INFO] [stdout] | ^^^ [INFO] [stdout] 546 | Mul, [INFO] [stdout] | ^^^ [INFO] [stdout] 547 | Div, [INFO] [stdout] | ^^^ [INFO] [stdout] 548 | Dot, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BinOp` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Neg` and `Call` are never constructed [INFO] [stdout] --> compiler/src/tir.rs:553:5 [INFO] [stdout] | [INFO] [stdout] 552 | pub enum UnOp { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 553 | Neg, [INFO] [stdout] | ^^^ [INFO] [stdout] 554 | Call, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UnOp` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `bounds` are never read [INFO] [stdout] --> compiler/src/tir.rs:618:9 [INFO] [stdout] | [INFO] [stdout] 617 | pub struct Adt<'t> { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 618 | pub id: TirId, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 621 | pub bounds: EarlyBinder>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Adt` 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 `id`, `bounds`, and `ty` are never read [INFO] [stdout] --> compiler/src/tir.rs:642:9 [INFO] [stdout] | [INFO] [stdout] 641 | pub struct TyAlias<'t> { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 642 | pub id: TirId, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 645 | pub bounds: EarlyBinder>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 646 | pub ty: Option>>, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `TyAlias` 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 `id`, `name`, and `bounds` are never read [INFO] [stdout] --> compiler/src/tir.rs:651:9 [INFO] [stdout] | [INFO] [stdout] 650 | pub struct Trait<'t> { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 651 | pub id: TirId, [INFO] [stdout] | ^^ [INFO] [stdout] 652 | pub name: &'t str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 653 | pub generics: &'t Generics<'t>, [INFO] [stdout] 654 | pub bounds: EarlyBinder>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Trait` 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 `id`, `of_trait`, and `bounds` are never read [INFO] [stdout] --> compiler/src/tir.rs:660:9 [INFO] [stdout] | [INFO] [stdout] 659 | pub struct Impl<'t> { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 660 | pub id: TirId, [INFO] [stdout] | ^^ [INFO] [stdout] 661 | pub of_trait: (TirId, EarlyBinder>), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 662 | pub generics: &'t Generics<'t>, [INFO] [stdout] 663 | pub bounds: EarlyBinder>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Impl` 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 `id` and `name` are never read [INFO] [stdout] --> compiler/src/tir.rs:675:9 [INFO] [stdout] | [INFO] [stdout] 674 | pub struct Mod<'t> { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 675 | pub id: TirId, [INFO] [stdout] | ^^ [INFO] [stdout] 676 | pub name: &'t str, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Mod` 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: method `lower_binder` is never used [INFO] [stdout] --> compiler/src/tir/building.rs:244:8 [INFO] [stdout] | [INFO] [stdout] 189 | impl InScopeBinders { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 244 | fn lower_binder<'t, B: TirBuilder<'t>, T, U>( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `visit_expr` is never used [INFO] [stdout] --> compiler/src/tir/visit.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Visitor<'t>: Sized { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 8 | fn visit_expr(&mut self, expr: &Expr<'t>) {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `visit_binder` is never used [INFO] [stdout] --> compiler/src/tir/visit.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait TypeVisitor<'t> { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] 100 | fn visit_ty(&mut self, ty: &'t Ty<'t>); [INFO] [stdout] 101 | fn visit_binder>(&mut self, binder: Binder<'t, T>); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `try_fold_binder` is never used [INFO] [stdout] --> compiler/src/tir/visit.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait FallibleTypeFolder<'t> { [INFO] [stdout] | ------------------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 112 | fn try_fold_binder>( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `references_err` is never used [INFO] [stdout] --> compiler/src/tir/visit.rs:360:8 [INFO] [stdout] | [INFO] [stdout] 359 | pub trait TypeVisitableExt<'t> { [INFO] [stdout] | ---------------- method in this trait [INFO] [stdout] 360 | fn references_err(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> compiler/src/typeck.rs:75:24 [INFO] [stdout] | [INFO] [stdout] 75 | UnconstrainedInfer(NodeId, InferId, Span), [INFO] [stdout] | ------------------ ^^^^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 75 | UnconstrainedInfer((), (), Span), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> compiler/src/typeck.rs:76:28 [INFO] [stdout] | [INFO] [stdout] 76 | NonPlaceExprInMutateOp(NodeId, Span), [INFO] [stdout] | ---------------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 76 | NonPlaceExprInMutateOp((), Span), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> compiler/src/typeck.rs:77:24 [INFO] [stdout] | [INFO] [stdout] 77 | NonIdentRhsOfDotOp(NodeId, Span), [INFO] [stdout] | ------------------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 77 | NonIdentRhsOfDotOp((), Span), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `enter_new_universe`, `exit_current_universe`, `is_universe_alive`, `new_var_in_universe`, and `universe_of_var` are never used [INFO] [stdout] --> compiler/src/typeck.rs:339:12 [INFO] [stdout] | [INFO] [stdout] 322 | impl<'t> InferCtxt<'t> { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 339 | pub fn enter_new_universe(&mut self) -> Universe { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 343 | pub fn exit_current_universe(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 347 | pub fn is_universe_alive(&self, universe: Universe) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 355 | pub fn new_var_in_universe(&mut self, universe: Universe, span: Span) -> InferId { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 368 | pub fn universe_of_var(&self, var: InferId) -> Universe { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 63 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 63 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking cargo-platform v0.1.3 [INFO] [stderr] Checking rustc_version v0.4.0 [INFO] [stderr] Checking cargo_metadata v0.15.4 [INFO] [stderr] Checking rustfix v0.6.1 [INFO] [stderr] Checking ui_test v0.21.1 [INFO] [stderr] Checking test_runner v0.1.0 (/opt/rustwide/workdir/test_runner) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.23s [INFO] running `Command { std: "docker" "inspect" "c9b644ba5b732f0000013e3f06898a0c54c1c39164eb98f048dbadf696c7b30c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9b644ba5b732f0000013e3f06898a0c54c1c39164eb98f048dbadf696c7b30c", kill_on_drop: false }` [INFO] [stdout] c9b644ba5b732f0000013e3f06898a0c54c1c39164eb98f048dbadf696c7b30c