[INFO] cloning repository https://github.com/funnyboy-roks/jvm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/funnyboy-roks/jvm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffunnyboy-roks%2Fjvm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffunnyboy-roks%2Fjvm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 30deb182739c53427ef3d8d2c0d82657d13f2d13 [INFO] checking funnyboy-roks/jvm against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffunnyboy-roks%2Fjvm" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/funnyboy-roks/jvm on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/funnyboy-roks/jvm [INFO] finished tweaking git repo https://github.com/funnyboy-roks/jvm [INFO] tweaked toml for git repo https://github.com/funnyboy-roks/jvm written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/funnyboy-roks/jvm 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 611c196ab850bdf841956d0b5a2206a784867bd1dfad4a194b1d3c511b940832 [INFO] running `Command { std: "docker" "start" "-a" "611c196ab850bdf841956d0b5a2206a784867bd1dfad4a194b1d3c511b940832", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "611c196ab850bdf841956d0b5a2206a784867bd1dfad4a194b1d3c511b940832", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "611c196ab850bdf841956d0b5a2206a784867bd1dfad4a194b1d3c511b940832", kill_on_drop: false }` [INFO] [stdout] 611c196ab850bdf841956d0b5a2206a784867bd1dfad4a194b1d3c511b940832 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 178563f3856736ebbaea2d3a0b06ffe558fdadc32a0ec3f84a7b0c12d0453960 [INFO] running `Command { std: "docker" "start" "-a" "178563f3856736ebbaea2d3a0b06ffe558fdadc32a0ec3f84a7b0c12d0453960", kill_on_drop: false }` [INFO] [stderr] Compiling anyhow v1.0.76 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking cesu8 v1.1.0 [INFO] [stderr] Checking class-files v0.1.0 (/opt/rustwide/workdir/class-files) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> class-files/src/lib.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{self, Read, Seek}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> class-files/src/lib.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{self, Read, Seek}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `inner_class_info`, `outer_class_info`, `inner_name`, and `inner_class_access_flags` are never read [INFO] [stdout] --> class-files/src/types/resolved.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct InnerClassInfo<'a> { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 79 | inner_class_info: &'a RawConstant, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 80 | outer_class_info: &'a RawConstant, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 81 | inner_name: &'a str, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 82 | inner_class_access_flags: NestedClassAccessFlags, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InnerClassInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start_pc` and `line_number` are never read [INFO] [stdout] --> class-files/src/types/resolved.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct LineNumber { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 87 | start_pc: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 88 | line_number: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LineNumber` 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 `start_pc`, `length`, `name`, `descriptor`, and `index` are never read [INFO] [stdout] --> class-files/src/types/resolved.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct LocalVariable<'a> { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 93 | start_pc: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 94 | length: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 95 | name: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 96 | descriptor: &'a str, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 97 | index: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LocalVariable` 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 `start_pc`, `length`, `name`, `signature`, and `index` are never read [INFO] [stdout] --> class-files/src/types/resolved.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct LocalVariableType<'a> { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 102 | start_pc: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 103 | length: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 104 | name: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 105 | signature: &'a str, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 106 | index: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LocalVariableType` 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 `name` is never read [INFO] [stdout] --> class-files/src/types/resolved.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct AnnotationElement<'a> { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 111 | name: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AnnotationElement` 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 `ty` and `elements` are never read [INFO] [stdout] --> class-files/src/types/resolved.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct Annotation<'a> { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 121 | ty: &'a str, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 124 | elements: Vec>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Annotation` 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 `method_ref` and `arguments` are never read [INFO] [stdout] --> class-files/src/types/resolved.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 128 | pub struct BootstrapMethod<'a> { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 129 | method_ref: &'a RawConstant, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 130 | arguments: Vec<&'a RawConstant>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BootstrapMethod` 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 `inner_class_info`, `outer_class_info`, `inner_name`, and `inner_class_access_flags` are never read [INFO] [stdout] --> class-files/src/types/resolved.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct InnerClassInfo<'a> { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 79 | inner_class_info: &'a RawConstant, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 80 | outer_class_info: &'a RawConstant, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 81 | inner_name: &'a str, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 82 | inner_class_access_flags: NestedClassAccessFlags, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InnerClassInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start_pc` and `line_number` are never read [INFO] [stdout] --> class-files/src/types/resolved.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct LineNumber { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 87 | start_pc: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 88 | line_number: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LineNumber` 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 `start_pc`, `length`, `name`, `descriptor`, and `index` are never read [INFO] [stdout] --> class-files/src/types/resolved.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct LocalVariable<'a> { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 93 | start_pc: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 94 | length: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 95 | name: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 96 | descriptor: &'a str, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 97 | index: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LocalVariable` 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 `start_pc`, `length`, `name`, `signature`, and `index` are never read [INFO] [stdout] --> class-files/src/types/resolved.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct LocalVariableType<'a> { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 102 | start_pc: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 103 | length: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 104 | name: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 105 | signature: &'a str, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 106 | index: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LocalVariableType` 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 `name` is never read [INFO] [stdout] --> class-files/src/types/resolved.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct AnnotationElement<'a> { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 111 | name: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AnnotationElement` 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 `ty` and `elements` are never read [INFO] [stdout] --> class-files/src/types/resolved.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct Annotation<'a> { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 121 | ty: &'a str, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 124 | elements: Vec>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Annotation` 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 `method_ref` and `arguments` are never read [INFO] [stdout] --> class-files/src/types/resolved.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 128 | pub struct BootstrapMethod<'a> { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 129 | method_ref: &'a RawConstant, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 130 | arguments: Vec<&'a RawConstant>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BootstrapMethod` 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: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking jvm v0.1.0 (/opt/rustwide/workdir/jvm) [INFO] [stdout] warning: unused import: `ensure` [INFO] [stdout] --> jvm/src/op_code.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::{bail, ensure, Context}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ensure` [INFO] [stdout] --> jvm/src/op_code.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::{bail, ensure, Context}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exception_table` [INFO] [stdout] --> jvm/src/op_code.rs:620:17 [INFO] [stdout] | [INFO] [stdout] 620 | exception_table, [INFO] [stdout] | ^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: try removing the field [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attributes` [INFO] [stdout] --> jvm/src/op_code.rs:621:17 [INFO] [stdout] | [INFO] [stdout] 621 | attributes, [INFO] [stdout] | ^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: try removing the field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code` [INFO] [stdout] --> jvm/src/types.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | code, [INFO] [stdout] | ^^^^ help: try ignoring the field: `code: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exception_table` [INFO] [stdout] --> jvm/src/types.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | exception_table, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try ignoring the field: `exception_table: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exception_table` [INFO] [stdout] --> jvm/src/op_code.rs:620:17 [INFO] [stdout] | [INFO] [stdout] 620 | exception_table, [INFO] [stdout] | ^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: try removing the field [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attributes` [INFO] [stdout] --> jvm/src/op_code.rs:621:17 [INFO] [stdout] | [INFO] [stdout] 621 | attributes, [INFO] [stdout] | ^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: try removing the field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attributes` [INFO] [stdout] --> jvm/src/types.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | attributes, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `attributes: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code` [INFO] [stdout] --> jvm/src/types.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | code, [INFO] [stdout] | ^^^^ help: try ignoring the field: `code: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exception_table` [INFO] [stdout] --> jvm/src/types.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | exception_table, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try ignoring the field: `exception_table: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attributes` [INFO] [stdout] --> jvm/src/types.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | attributes, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `attributes: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Object`, `Primitive`, `Null`, and `Empty` are never constructed [INFO] [stdout] --> jvm/src/main.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 107 | pub(crate) enum HeapItem { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 108 | Object { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | Primitive( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | Null, [INFO] [stdout] | ^^^^ [INFO] [stdout] 116 | Empty, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HeapItem` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `collect_garbage`, `is_valid_reference`, and `remove` are never used [INFO] [stdout] --> jvm/src/main.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 140 | impl Heap { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 141 | pub fn collect_garbage(&mut self) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | pub fn is_valid_reference(&self, index: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | pub fn remove(&mut self, index: usize) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Object`, `Primitive`, `Null`, and `Empty` are never constructed [INFO] [stdout] --> jvm/src/main.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 107 | pub(crate) enum HeapItem { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 108 | Object { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | Primitive( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | Null, [INFO] [stdout] | ^^^^ [INFO] [stdout] 116 | Empty, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HeapItem` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `collect_garbage`, `is_valid_reference`, and `remove` are never used [INFO] [stdout] --> jvm/src/main.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 140 | impl Heap { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 141 | pub fn collect_garbage(&mut self) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | pub fn is_valid_reference(&self, index: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | pub fn remove(&mut self, index: usize) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.16s [INFO] running `Command { std: "docker" "inspect" "178563f3856736ebbaea2d3a0b06ffe558fdadc32a0ec3f84a7b0c12d0453960", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "178563f3856736ebbaea2d3a0b06ffe558fdadc32a0ec3f84a7b0c12d0453960", kill_on_drop: false }` [INFO] [stdout] 178563f3856736ebbaea2d3a0b06ffe558fdadc32a0ec3f84a7b0c12d0453960 [INFO] checking funnyboy-roks/jvm against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffunnyboy-roks%2Fjvm" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/funnyboy-roks/jvm on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/funnyboy-roks/jvm [INFO] finished tweaking git repo https://github.com/funnyboy-roks/jvm [INFO] tweaked toml for git repo https://github.com/funnyboy-roks/jvm written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/funnyboy-roks/jvm 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0ea57b9d9620fd57788a874df22e78c64e7697b39a2a9bf332c4d40ad3e60f1a [INFO] running `Command { std: "docker" "start" "-a" "0ea57b9d9620fd57788a874df22e78c64e7697b39a2a9bf332c4d40ad3e60f1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0ea57b9d9620fd57788a874df22e78c64e7697b39a2a9bf332c4d40ad3e60f1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ea57b9d9620fd57788a874df22e78c64e7697b39a2a9bf332c4d40ad3e60f1a", kill_on_drop: false }` [INFO] [stdout] 0ea57b9d9620fd57788a874df22e78c64e7697b39a2a9bf332c4d40ad3e60f1a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5b2647aa5655185ecdf9160e83a6e8cf755047be3fa9a7a9592d30268dbcda82 [INFO] running `Command { std: "docker" "start" "-a" "5b2647aa5655185ecdf9160e83a6e8cf755047be3fa9a7a9592d30268dbcda82", kill_on_drop: false }` [INFO] [stderr] Compiling anyhow v1.0.76 [INFO] [stderr] Checking cesu8 v1.1.0 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking class-files v0.1.0 (/opt/rustwide/workdir/class-files) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> class-files/src/lib.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{self, Read, Seek}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> class-files/src/lib.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{self, Read, Seek}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `inner_class_info`, `outer_class_info`, `inner_name`, and `inner_class_access_flags` are never read [INFO] [stdout] --> class-files/src/types/resolved.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct InnerClassInfo<'a> { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 79 | inner_class_info: &'a RawConstant, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 80 | outer_class_info: &'a RawConstant, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 81 | inner_name: &'a str, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 82 | inner_class_access_flags: NestedClassAccessFlags, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InnerClassInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start_pc` and `line_number` are never read [INFO] [stdout] --> class-files/src/types/resolved.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct LineNumber { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 87 | start_pc: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 88 | line_number: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LineNumber` 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 `start_pc`, `length`, `name`, `descriptor`, and `index` are never read [INFO] [stdout] --> class-files/src/types/resolved.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct LocalVariable<'a> { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 93 | start_pc: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 94 | length: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 95 | name: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 96 | descriptor: &'a str, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 97 | index: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LocalVariable` 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 `start_pc`, `length`, `name`, `signature`, and `index` are never read [INFO] [stdout] --> class-files/src/types/resolved.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct LocalVariableType<'a> { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 102 | start_pc: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 103 | length: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 104 | name: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 105 | signature: &'a str, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 106 | index: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LocalVariableType` 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 `name` is never read [INFO] [stdout] --> class-files/src/types/resolved.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct AnnotationElement<'a> { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 111 | name: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AnnotationElement` 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 `ty` and `elements` are never read [INFO] [stdout] --> class-files/src/types/resolved.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct Annotation<'a> { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 121 | ty: &'a str, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 124 | elements: Vec>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Annotation` 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 `method_ref` and `arguments` are never read [INFO] [stdout] --> class-files/src/types/resolved.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 128 | pub struct BootstrapMethod<'a> { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 129 | method_ref: &'a RawConstant, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 130 | arguments: Vec<&'a RawConstant>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BootstrapMethod` 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] --> class-files/src/descriptors.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 123 | let mut params = Vec::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 135 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 136 | | params, [INFO] [stdout] 137 | | return_value: ReturnDescriptor::from_chars(id, &mut chars)?, [INFO] [stdout] 138 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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] --> class-files/src/types/resolved.rs:254:30 [INFO] [stdout] | [INFO] [stdout] 254 | .map(|_| cursor.read_u16().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] --> class-files/src/types/resolved.rs:298:35 [INFO] [stdout] | [INFO] [stdout] 298 | start_pc: cursor.read_u16().unwrap().into(), [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] --> class-files/src/types/resolved.rs:299:38 [INFO] [stdout] | [INFO] [stdout] 299 | line_number: cursor.read_u16().unwrap().into(), [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] --> class-files/src/types/resolved.rs:306:35 [INFO] [stdout] | [INFO] [stdout] 306 | start_pc: cursor.read_u16().unwrap().into(), [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] --> class-files/src/types/resolved.rs:307:33 [INFO] [stdout] | [INFO] [stdout] 307 | length: cursor.read_u16().unwrap().into(), [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] --> class-files/src/types/resolved.rs:308:43 [INFO] [stdout] | [INFO] [stdout] 308 | name: &const_pool[cursor.read_u16().unwrap() as usize - 1].unwrap_utf8(), [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] --> class-files/src/types/resolved.rs:309:49 [INFO] [stdout] | [INFO] [stdout] 309 | descriptor: &const_pool[cursor.read_u16().unwrap() as usize - 1] [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] --> class-files/src/types/resolved.rs:311:32 [INFO] [stdout] | [INFO] [stdout] 311 | index: cursor.read_u16().unwrap().into(), [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] --> class-files/src/types/resolved.rs:318:35 [INFO] [stdout] | [INFO] [stdout] 318 | start_pc: cursor.read_u16().unwrap().into(), [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] --> class-files/src/types/resolved.rs:319:33 [INFO] [stdout] | [INFO] [stdout] 319 | length: cursor.read_u16().unwrap().into(), [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] --> class-files/src/types/resolved.rs:320:43 [INFO] [stdout] | [INFO] [stdout] 320 | name: &const_pool[cursor.read_u16().unwrap() as usize - 1].unwrap_utf8(), [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] --> class-files/src/types/resolved.rs:321:48 [INFO] [stdout] | [INFO] [stdout] 321 | signature: &const_pool[cursor.read_u16().unwrap() as usize - 1] [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] --> class-files/src/types/resolved.rs:323:32 [INFO] [stdout] | [INFO] [stdout] 323 | index: cursor.read_u16().unwrap().into(), [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] --> class-files/src/types/resolved.rs:339:49 [INFO] [stdout] | [INFO] [stdout] 339 | method_ref: &const_pool[cursor.read_u16().unwrap() as usize - 1], [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] --> class-files/src/types/resolved.rs:340:40 [INFO] [stdout] | [INFO] [stdout] 340 | arguments: (0..cursor.read_u16().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] --> class-files/src/types/resolved.rs:341:50 [INFO] [stdout] | [INFO] [stdout] 341 | ... .map(|_| &const_pool[cursor.read_u16().unwrap() as usize - 1]) [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 `inner_class_info`, `outer_class_info`, `inner_name`, and `inner_class_access_flags` are never read [INFO] [stdout] --> class-files/src/types/resolved.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct InnerClassInfo<'a> { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 79 | inner_class_info: &'a RawConstant, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 80 | outer_class_info: &'a RawConstant, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 81 | inner_name: &'a str, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 82 | inner_class_access_flags: NestedClassAccessFlags, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InnerClassInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start_pc` and `line_number` are never read [INFO] [stdout] --> class-files/src/types/resolved.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct LineNumber { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 87 | start_pc: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 88 | line_number: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LineNumber` 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 `start_pc`, `length`, `name`, `descriptor`, and `index` are never read [INFO] [stdout] --> class-files/src/types/resolved.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct LocalVariable<'a> { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 93 | start_pc: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 94 | length: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 95 | name: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 96 | descriptor: &'a str, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 97 | index: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LocalVariable` 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 `start_pc`, `length`, `name`, `signature`, and `index` are never read [INFO] [stdout] --> class-files/src/types/resolved.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct LocalVariableType<'a> { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 102 | start_pc: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 103 | length: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 104 | name: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 105 | signature: &'a str, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 106 | index: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LocalVariableType` 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 `name` is never read [INFO] [stdout] --> class-files/src/types/resolved.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct AnnotationElement<'a> { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 111 | name: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AnnotationElement` 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 `ty` and `elements` are never read [INFO] [stdout] --> class-files/src/types/resolved.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct Annotation<'a> { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 121 | ty: &'a str, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 124 | elements: Vec>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Annotation` 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 `method_ref` and `arguments` are never read [INFO] [stdout] --> class-files/src/types/resolved.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 128 | pub struct BootstrapMethod<'a> { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 129 | method_ref: &'a RawConstant, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 130 | arguments: Vec<&'a RawConstant>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BootstrapMethod` 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] --> class-files/src/descriptors.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 123 | let mut params = Vec::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 135 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 136 | | params, [INFO] [stdout] 137 | | return_value: ReturnDescriptor::from_chars(id, &mut chars)?, [INFO] [stdout] 138 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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] --> class-files/src/types/resolved.rs:254:30 [INFO] [stdout] | [INFO] [stdout] 254 | .map(|_| cursor.read_u16().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] --> class-files/src/types/resolved.rs:298:35 [INFO] [stdout] | [INFO] [stdout] 298 | start_pc: cursor.read_u16().unwrap().into(), [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] --> class-files/src/types/resolved.rs:299:38 [INFO] [stdout] | [INFO] [stdout] 299 | line_number: cursor.read_u16().unwrap().into(), [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] --> class-files/src/types/resolved.rs:306:35 [INFO] [stdout] | [INFO] [stdout] 306 | start_pc: cursor.read_u16().unwrap().into(), [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] --> class-files/src/types/resolved.rs:307:33 [INFO] [stdout] | [INFO] [stdout] 307 | length: cursor.read_u16().unwrap().into(), [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] --> class-files/src/types/resolved.rs:308:43 [INFO] [stdout] | [INFO] [stdout] 308 | name: &const_pool[cursor.read_u16().unwrap() as usize - 1].unwrap_utf8(), [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] --> class-files/src/types/resolved.rs:309:49 [INFO] [stdout] | [INFO] [stdout] 309 | descriptor: &const_pool[cursor.read_u16().unwrap() as usize - 1] [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] --> class-files/src/types/resolved.rs:311:32 [INFO] [stdout] | [INFO] [stdout] 311 | index: cursor.read_u16().unwrap().into(), [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] --> class-files/src/types/resolved.rs:318:35 [INFO] [stdout] | [INFO] [stdout] 318 | start_pc: cursor.read_u16().unwrap().into(), [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] --> class-files/src/types/resolved.rs:319:33 [INFO] [stdout] | [INFO] [stdout] 319 | length: cursor.read_u16().unwrap().into(), [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] --> class-files/src/types/resolved.rs:320:43 [INFO] [stdout] | [INFO] [stdout] 320 | name: &const_pool[cursor.read_u16().unwrap() as usize - 1].unwrap_utf8(), [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] --> class-files/src/types/resolved.rs:321:48 [INFO] [stdout] | [INFO] [stdout] 321 | signature: &const_pool[cursor.read_u16().unwrap() as usize - 1] [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] --> class-files/src/types/resolved.rs:323:32 [INFO] [stdout] | [INFO] [stdout] 323 | index: cursor.read_u16().unwrap().into(), [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] --> class-files/src/types/resolved.rs:339:49 [INFO] [stdout] | [INFO] [stdout] 339 | method_ref: &const_pool[cursor.read_u16().unwrap() as usize - 1], [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] --> class-files/src/types/resolved.rs:340:40 [INFO] [stdout] | [INFO] [stdout] 340 | arguments: (0..cursor.read_u16().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] --> class-files/src/types/resolved.rs:341:50 [INFO] [stdout] | [INFO] [stdout] 341 | ... .map(|_| &const_pool[cursor.read_u16().unwrap() as usize - 1]) [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 17 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `class-files` (lib test) due to 18 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `class-files` (lib) due to 18 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5b2647aa5655185ecdf9160e83a6e8cf755047be3fa9a7a9592d30268dbcda82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b2647aa5655185ecdf9160e83a6e8cf755047be3fa9a7a9592d30268dbcda82", kill_on_drop: false }` [INFO] [stdout] 5b2647aa5655185ecdf9160e83a6e8cf755047be3fa9a7a9592d30268dbcda82