[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 try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBoxyUwU%2FBox2" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/BoxyUwU/Box2 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "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-tc2/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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dd6a5e91c67e5ee2032c166296d93eef84f6d9d0c2d11e9ade8b061bdb897ec4 [INFO] running `Command { std: "docker" "start" "-a" "dd6a5e91c67e5ee2032c166296d93eef84f6d9d0c2d11e9ade8b061bdb897ec4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dd6a5e91c67e5ee2032c166296d93eef84f6d9d0c2d11e9ade8b061bdb897ec4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd6a5e91c67e5ee2032c166296d93eef84f6d9d0c2d11e9ade8b061bdb897ec4", kill_on_drop: false }` [INFO] [stdout] dd6a5e91c67e5ee2032c166296d93eef84f6d9d0c2d11e9ade8b061bdb897ec4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f1a6f12ca89470d556f9d96cd66d9b1d33bd331e03c91bf6da94ac10702959c [INFO] running `Command { std: "docker" "start" "-a" "6f1a6f12ca89470d556f9d96cd66d9b1d33bd331e03c91bf6da94ac10702959c", 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 once_cell v1.18.0 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling rustix v0.38.13 [INFO] [stderr] Compiling semver v1.0.18 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Checking memchr v2.6.3 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Checking linux-raw-sys v0.4.7 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling eyre v0.6.8 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Compiling thiserror v1.0.48 [INFO] [stderr] Compiling camino v1.1.6 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking regex-syntax v0.7.5 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Compiling portable-atomic v1.4.3 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking gimli v0.28.0 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking owo-colors v3.5.0 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Checking pad v0.1.6 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking tracing-subscriber v0.3.17 [INFO] [stderr] Checking object v0.32.1 [INFO] [stderr] Checking yansi-term v0.1.2 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Checking fastrand v2.0.0 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking prettydiff v0.6.4 [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] Checking termcolor v1.3.0 [INFO] [stderr] Checking comma v1.0.0 [INFO] [stderr] Checking unicode-segmentation v1.10.1 [INFO] [stderr] Checking console v0.15.7 [INFO] [stderr] Checking bumpalo v3.14.0 [INFO] [stderr] Checking heck v0.3.3 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking indicatif v0.17.6 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Checking tracing-error v0.2.0 [INFO] [stderr] Checking regex-automata v0.3.8 [INFO] [stderr] Checking color-spantrace v0.2.0 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking tempfile v3.8.0 [INFO] [stderr] Checking colored v2.0.4 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling thiserror-impl v1.0.48 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking regex v1.9.5 [INFO] [stderr] Checking bstr v1.6.2 [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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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 `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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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 `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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> compiler/src/ast.rs:43:24 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn push_ty(&'a self, f: impl FnOnce(NodeId) -> Ty<'a>) -> &Ty { [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | self.push_node(|id| Node::Ty(f(id))).unwrap_ty() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> compiler/src/ast.rs:47:24 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn push_expr_with(&'a self, f: impl FnOnce(NodeId) -> ExprKind<'a>) -> &Expr { [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 47 | self.push_node(|id| Node::Expr(Expr { id, kind: f(id) })) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> compiler/src/ast.rs:57:24 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn push_fn(&'a self, f: impl FnOnce(NodeId) -> Fn<'a>) -> &Item { [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 57 | self.push_node(|id| Node::Item(Item::Fn(f(id)))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> compiler/src/ast.rs:62:24 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn push_variant_def(&'a self, f: impl FnOnce(NodeId) -> VariantDef<'a>) -> &VariantDef { [INFO] [stdout] | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | self.push_node(|id| Node::Item(Item::VariantDef(f(id)))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> compiler/src/ast.rs:67:24 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn push_field_def(&'a self, f: impl FnOnce(NodeId) -> FieldDef<'a>) -> &FieldDef { [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 67 | self.push_node(|id| Node::Item(Item::FieldDef(f(id)))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> compiler/src/ast.rs:72:24 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn push_type_def(&'a self, f: impl FnOnce(NodeId) -> TypeDef<'a>) -> &Item { [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 72 | self.push_node(|id| Node::Item(Item::TypeDef(f(id)))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> compiler/src/ast.rs:77:24 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn push_mod_def(&'a self, f: impl FnOnce(NodeId) -> Module<'a>) -> &Item { [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 77 | self.push_node(|id| Node::Item(Item::Mod(f(id)))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> compiler/src/ast.rs:82:24 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn push_use(&'a self, f: impl FnOnce(NodeId) -> Use<'a>) -> &Item { [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 82 | self.push_node(|id| Node::Item(Item::Use(f(id)))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> compiler/src/ast.rs:87:24 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn push_param(&'a self, f: impl FnOnce(NodeId) -> Param<'a>) -> &Param { [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 87 | self.push_node(|id| Node::Param(f(id))).unwrap_param() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> compiler/src/ast.rs:91:24 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn push_ty_alias(&'a self, f: impl FnOnce(NodeId) -> TypeAlias<'a>) -> &Item { [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 91 | self.push_node(|id| Node::Item(Item::TypeAlias(f(id)))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> compiler/src/ast.rs:96:24 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn push_trait(&'a self, f: impl FnOnce(NodeId) -> Trait<'a>) -> &Item { [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 96 | self.push_node(|id| Node::Item(Item::Trait(f(id)))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> compiler/src/ast.rs:101:24 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn push_impl(&'a self, f: impl FnOnce(NodeId) -> Impl<'a>) -> &Item { [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 101 | self.push_node(|id| Node::Item(Item::Impl(f(id)))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> compiler/src/ast.rs:109:24 [INFO] [stdout] | [INFO] [stdout] 107 | f: impl FnOnce(NodeId) -> GenericParam<'a>, [INFO] [stdout] | ------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 108 | ) -> &GenericParam { [INFO] [stdout] 109 | self.push_node(|id| Node::GenericParam(f(id))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> compiler/src/ast.rs:114:24 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn push_path_seg(&'a self, f: impl FnOnce(NodeId) -> PathSeg<'a>) -> &PathSeg<'a> { [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 114 | self.push_node(|id| Node::PathSeg(f(id))).unwrap_path_seg() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> compiler/src/ast.rs:118:24 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn push_clause(&'a self, f: impl FnOnce(NodeId) -> Clause<'a>) -> &Clause<'a> { [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 118 | self.push_node(|id| Node::Clause(f(id))).unwrap_clause() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> compiler/src/ast.rs:43:24 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn push_ty(&'a self, f: impl FnOnce(NodeId) -> Ty<'a>) -> &Ty { [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | self.push_node(|id| Node::Ty(f(id))).unwrap_ty() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> compiler/src/ast.rs:47:24 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn push_expr_with(&'a self, f: impl FnOnce(NodeId) -> ExprKind<'a>) -> &Expr { [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 47 | self.push_node(|id| Node::Expr(Expr { id, kind: f(id) })) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> compiler/src/ast.rs:57:24 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn push_fn(&'a self, f: impl FnOnce(NodeId) -> Fn<'a>) -> &Item { [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 57 | self.push_node(|id| Node::Item(Item::Fn(f(id)))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> compiler/src/ast.rs:62:24 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn push_variant_def(&'a self, f: impl FnOnce(NodeId) -> VariantDef<'a>) -> &VariantDef { [INFO] [stdout] | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | self.push_node(|id| Node::Item(Item::VariantDef(f(id)))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> compiler/src/ast.rs:67:24 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn push_field_def(&'a self, f: impl FnOnce(NodeId) -> FieldDef<'a>) -> &FieldDef { [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 67 | self.push_node(|id| Node::Item(Item::FieldDef(f(id)))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> compiler/src/ast.rs:72:24 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn push_type_def(&'a self, f: impl FnOnce(NodeId) -> TypeDef<'a>) -> &Item { [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 72 | self.push_node(|id| Node::Item(Item::TypeDef(f(id)))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> compiler/src/ast.rs:77:24 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn push_mod_def(&'a self, f: impl FnOnce(NodeId) -> Module<'a>) -> &Item { [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 77 | self.push_node(|id| Node::Item(Item::Mod(f(id)))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> compiler/src/ast.rs:82:24 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn push_use(&'a self, f: impl FnOnce(NodeId) -> Use<'a>) -> &Item { [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 82 | self.push_node(|id| Node::Item(Item::Use(f(id)))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> compiler/src/ast.rs:87:24 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn push_param(&'a self, f: impl FnOnce(NodeId) -> Param<'a>) -> &Param { [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 87 | self.push_node(|id| Node::Param(f(id))).unwrap_param() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> compiler/src/ast.rs:91:24 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn push_ty_alias(&'a self, f: impl FnOnce(NodeId) -> TypeAlias<'a>) -> &Item { [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 91 | self.push_node(|id| Node::Item(Item::TypeAlias(f(id)))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> compiler/src/ast.rs:96:24 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn push_trait(&'a self, f: impl FnOnce(NodeId) -> Trait<'a>) -> &Item { [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 96 | self.push_node(|id| Node::Item(Item::Trait(f(id)))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> compiler/src/ast.rs:101:24 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn push_impl(&'a self, f: impl FnOnce(NodeId) -> Impl<'a>) -> &Item { [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 101 | self.push_node(|id| Node::Item(Item::Impl(f(id)))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> compiler/src/ast.rs:109:24 [INFO] [stdout] | [INFO] [stdout] 107 | f: impl FnOnce(NodeId) -> GenericParam<'a>, [INFO] [stdout] | ------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 108 | ) -> &GenericParam { [INFO] [stdout] 109 | self.push_node(|id| Node::GenericParam(f(id))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> compiler/src/ast.rs:114:24 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn push_path_seg(&'a self, f: impl FnOnce(NodeId) -> PathSeg<'a>) -> &PathSeg<'a> { [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 114 | self.push_node(|id| Node::PathSeg(f(id))).unwrap_path_seg() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> compiler/src/ast.rs:118:24 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn push_clause(&'a self, f: impl FnOnce(NodeId) -> Clause<'a>) -> &Clause<'a> { [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 118 | self.push_node(|id| Node::Clause(f(id))).unwrap_clause() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> compiler/src/scopegraph.rs:220:20 [INFO] [stdout] | [INFO] [stdout] 213 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 220 | nodes: self [INFO] [stdout] | ____________________^ [INFO] [stdout] 221 | | .wip_nodes [INFO] [stdout] 222 | | .into_iter() [INFO] [stdout] 223 | | .map(|wip_sgnode| SGNode { [INFO] [stdout] ... | [INFO] [stdout] 226 | | }) [INFO] [stdout] 227 | | .collect(), [INFO] [stdout] | |__________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> compiler/src/solve/canonical.rs:265:13 [INFO] [stdout] | [INFO] [stdout] 96 | value: T, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 203 | let value = value.fold_with(&mut canonicalizer); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 265 | / Canonical { [INFO] [stdout] 266 | | value, [INFO] [stdout] 267 | | vars: self [INFO] [stdout] 268 | | .tcx [INFO] [stdout] ... | [INFO] [stdout] 271 | | highest_universe: max_universe, [INFO] [stdout] 272 | | }, [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> compiler/src/tir.rs:388:9 [INFO] [stdout] | [INFO] [stdout] 343 | pub fn instantiate_with_infer(self, infcx: &mut InferCtxt<'t>, span: Span) -> T [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 388 | Folder::new(infcx, span).fold_binder(self).skip_binder() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> compiler/src/tir/building.rs:192:27 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn new<'a, 't: 'a>(item_generics: impl IntoIterator>) -> Self { [INFO] [stdout] | --------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 191 | Self { [INFO] [stdout] 192 | early_params: item_generics [INFO] [stdout] | ___________________________^ [INFO] [stdout] 193 | | .into_iter() [INFO] [stdout] 194 | | .map(|generics| generics.param_id_to_var.clone()) [INFO] [stdout] | |_________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> compiler/src/tir/building.rs:234:14 [INFO] [stdout] | [INFO] [stdout] 218 | ast_binder: ast::Binder<'_, T>, [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 219 | f: impl FnOnce(&mut InScopeBinders, &mut B, T) -> Option, [INFO] [stdout] | ----------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 230 | let lowered_value = f(self, tcx, ast_binder.value); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 234 | Some(Binder { [INFO] [stdout] | ______________^ [INFO] [stdout] 235 | | value: lowered_value?, [INFO] [stdout] 236 | | vars: tcx [INFO] [stdout] 237 | | .arena() [INFO] [stdout] ... | [INFO] [stdout] 240 | | })), [INFO] [stdout] 241 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> compiler/src/scopegraph.rs:220:20 [INFO] [stdout] | [INFO] [stdout] 213 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 220 | nodes: self [INFO] [stdout] | ____________________^ [INFO] [stdout] 221 | | .wip_nodes [INFO] [stdout] 222 | | .into_iter() [INFO] [stdout] 223 | | .map(|wip_sgnode| SGNode { [INFO] [stdout] ... | [INFO] [stdout] 226 | | }) [INFO] [stdout] 227 | | .collect(), [INFO] [stdout] | |__________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> compiler/src/tir/building.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 247 | ast_binder: ast::Binder<'_, T>, [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 248 | f: impl FnOnce(&mut InScopeBinders, &mut B, T) -> U, [INFO] [stdout] | --------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 249 | ) -> Binder<'t, U> { [INFO] [stdout] 250 | self.try_lower_binder(tcx, ast_binder, |a, b, c| Some(f(a, b, c))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> compiler/src/tir/building.rs:250:63 [INFO] [stdout] | [INFO] [stdout] 248 | f: impl FnOnce(&mut InScopeBinders, &mut B, T) -> U, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 249 | ) -> Binder<'t, U> { [INFO] [stdout] 250 | self.try_lower_binder(tcx, ast_binder, |a, b, c| Some(f(a, b, c))) [INFO] [stdout] | - ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> compiler/src/solve/canonical.rs:265:13 [INFO] [stdout] | [INFO] [stdout] 96 | value: T, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 203 | let value = value.fold_with(&mut canonicalizer); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 265 | / Canonical { [INFO] [stdout] 266 | | value, [INFO] [stdout] 267 | | vars: self [INFO] [stdout] 268 | | .tcx [INFO] [stdout] ... | [INFO] [stdout] 271 | | highest_universe: max_universe, [INFO] [stdout] 272 | | }, [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> compiler/src/tir/visit.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 131 | binder: Binder<'t, T>, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 132 | ) -> Result, Self::Error> { [INFO] [stdout] 133 | Ok(TypeFolder::fold_binder(self, binder)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> compiler/src/tir/visit.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 145 | fn fold_with>(self, v: &mut V) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 146 | self.try_fold_with(v).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> compiler/src/tir/visit.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 151 | fn super_fold_with>(self, v: &mut V) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 152 | self.try_super_fold_with(v).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> compiler/src/tir/visit.rs:337:13 [INFO] [stdout] | [INFO] [stdout] 337 | v.tcx().arena.alloc_slice_fill_iter(tys.into_iter()), [INFO] [stdout] | ^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> compiler/src/tokenize.rs:154:21 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn new(iter: I) -> Self { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 154 | peeked: [None, None], [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> compiler/src/tir.rs:388:9 [INFO] [stdout] | [INFO] [stdout] 343 | pub fn instantiate_with_infer(self, infcx: &mut InferCtxt<'t>, span: Span) -> T [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 388 | Folder::new(infcx, span).fold_binder(self).skip_binder() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> compiler/src/tir/building.rs:192:27 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn new<'a, 't: 'a>(item_generics: impl IntoIterator>) -> Self { [INFO] [stdout] | --------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 191 | Self { [INFO] [stdout] 192 | early_params: item_generics [INFO] [stdout] | ___________________________^ [INFO] [stdout] 193 | | .into_iter() [INFO] [stdout] 194 | | .map(|generics| generics.param_id_to_var.clone()) [INFO] [stdout] | |_________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> compiler/src/tir/building.rs:234:14 [INFO] [stdout] | [INFO] [stdout] 218 | ast_binder: ast::Binder<'_, T>, [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 219 | f: impl FnOnce(&mut InScopeBinders, &mut B, T) -> Option, [INFO] [stdout] | ----------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 230 | let lowered_value = f(self, tcx, ast_binder.value); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 234 | Some(Binder { [INFO] [stdout] | ______________^ [INFO] [stdout] 235 | | value: lowered_value?, [INFO] [stdout] 236 | | vars: tcx [INFO] [stdout] 237 | | .arena() [INFO] [stdout] ... | [INFO] [stdout] 240 | | })), [INFO] [stdout] 241 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> compiler/src/tir/building.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 247 | ast_binder: ast::Binder<'_, T>, [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 248 | f: impl FnOnce(&mut InScopeBinders, &mut B, T) -> U, [INFO] [stdout] | --------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 249 | ) -> Binder<'t, U> { [INFO] [stdout] 250 | self.try_lower_binder(tcx, ast_binder, |a, b, c| Some(f(a, b, c))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> compiler/src/tir/building.rs:250:63 [INFO] [stdout] | [INFO] [stdout] 248 | f: impl FnOnce(&mut InScopeBinders, &mut B, T) -> U, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 249 | ) -> Binder<'t, U> { [INFO] [stdout] 250 | self.try_lower_binder(tcx, ast_binder, |a, b, c| Some(f(a, b, c))) [INFO] [stdout] | - ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> compiler/src/tir/visit.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 131 | binder: Binder<'t, T>, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 132 | ) -> Result, Self::Error> { [INFO] [stdout] 133 | Ok(TypeFolder::fold_binder(self, binder)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> compiler/src/tir/visit.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 145 | fn fold_with>(self, v: &mut V) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 146 | self.try_fold_with(v).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> compiler/src/tir/visit.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 151 | fn super_fold_with>(self, v: &mut V) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 152 | self.try_super_fold_with(v).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> compiler/src/tir/visit.rs:337:13 [INFO] [stdout] | [INFO] [stdout] 337 | v.tcx().arena.alloc_slice_fill_iter(tys.into_iter()), [INFO] [stdout] | ^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> compiler/src/tokenize.rs:154:21 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn new(iter: I) -> Self { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 154 | peeked: [None, None], [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 27 previous errors; 63 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `box` (bin "box") due to 28 previous errors; 63 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 27 previous errors; 63 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `box` (bin "box" test) due to 28 previous errors; 63 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6f1a6f12ca89470d556f9d96cd66d9b1d33bd331e03c91bf6da94ac10702959c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f1a6f12ca89470d556f9d96cd66d9b1d33bd331e03c91bf6da94ac10702959c", kill_on_drop: false }` [INFO] [stdout] 6f1a6f12ca89470d556f9d96cd66d9b1d33bd331e03c91bf6da94ac10702959c