[INFO] cloning repository https://github.com/gaultier/kotlin-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gaultier/kotlin-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgaultier%2Fkotlin-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgaultier%2Fkotlin-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b568946392d79e8be359c4abb9b0212805532239 [INFO] checking gaultier/kotlin-rs against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgaultier%2Fkotlin-rs" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gaultier/kotlin-rs 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/gaultier/kotlin-rs [INFO] finished tweaking git repo https://github.com/gaultier/kotlin-rs [INFO] tweaked toml for git repo https://github.com/gaultier/kotlin-rs written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/gaultier/kotlin-rs 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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded aho-corasick v0.7.9 [INFO] [stderr] Downloaded pretty_env_logger v0.3.1 [INFO] [stderr] Downloaded regex-syntax v0.6.16 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 5a0c582612fa1bd1f3c4b579caecd4e1e5144438bafd46c8a13fe7db1b1915df [INFO] running `Command { std: "docker" "start" "-a" "5a0c582612fa1bd1f3c4b579caecd4e1e5144438bafd46c8a13fe7db1b1915df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5a0c582612fa1bd1f3c4b579caecd4e1e5144438bafd46c8a13fe7db1b1915df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a0c582612fa1bd1f3c4b579caecd4e1e5144438bafd46c8a13fe7db1b1915df", kill_on_drop: false }` [INFO] [stdout] 5a0c582612fa1bd1f3c4b579caecd4e1e5144438bafd46c8a13fe7db1b1915df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 4cafbbe8bfb774e91f71e69f2499adab588a8fb91dd31739e36a3d20d4365d02 [INFO] running `Command { std: "docker" "start" "-a" "4cafbbe8bfb774e91f71e69f2499adab588a8fb91dd31739e36a3d20d4365d02", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking regex-syntax v0.6.16 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Checking unicode-segmentation v1.6.0 [INFO] [stderr] Checking aho-corasick v0.7.9 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking heck v0.3.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking chrono v0.4.10 [INFO] [stderr] Checking regex v1.3.4 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking pretty_env_logger v0.3.1 [INFO] [stderr] Checking kotlin v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::jvm_stack_map_frame::VerificationTypeInfo` [INFO] [stdout] --> src/jvm_emitter.rs:1219:9 [INFO] [stdout] | [INFO] [stdout] 1219 | use crate::jvm_stack_map_frame::VerificationTypeInfo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attributes` [INFO] [stdout] --> src/jvm_emitter.rs:1271:24 [INFO] [stdout] | [INFO] [stdout] 1271 | let (code, attributes) = match &main.attributes[0] { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attributes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `unique_labels` is never read [INFO] [stdout] --> src/asm_constants.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) struct Constants { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 10 | unique_value_to_label: BTreeMap, [INFO] [stdout] 11 | unique_labels: BTreeSet, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Constants` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `If` and `Goto` are never constructed [INFO] [stdout] --> src/jvm_code.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) enum JumpTarget { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 13 | If { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 19 | Goto { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JumpTarget` 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 `attributes` and `jump_targets` are never read [INFO] [stdout] --> src/jvm_code.rs:194:16 [INFO] [stdout] | [INFO] [stdout] 192 | pub(crate) struct Code { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 193 | pub(crate) code: Vec, [INFO] [stdout] 194 | pub(crate) attributes: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | pub(crate) jump_targets: BTreeMap, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Code` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `obj_str` and `class_name` are never read [INFO] [stdout] --> src/jvm_emitter.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) struct JvmEmitter<'a> { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | pub(crate) obj_str: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | class_name: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JvmEmitter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Class` is never constructed [INFO] [stdout] --> src/jvm_emitter.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 45 | pub(crate) struct Class { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start_pc`, `end_pc`, `handler_pc`, and `catch_type` are never read [INFO] [stdout] --> src/jvm_emitter.rs:90:16 [INFO] [stdout] | [INFO] [stdout] 89 | pub(crate) struct Exception { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 90 | pub(crate) start_pc: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 91 | pub(crate) end_pc: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 92 | pub(crate) handler_pc: u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 93 | pub(crate) catch_type: u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Exception` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `len` and `count_max` are never used [INFO] [stdout] --> src/jvm_locals.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 15 | impl Locals { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub(crate) fn len(&self) -> u16 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub(crate) fn count_max(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `count_max` is never used [INFO] [stdout] --> src/jvm_stack.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 12 | impl Stack { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub(crate) fn count_max(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Int` and `Object` are never constructed [INFO] [stdout] --> src/jvm_stack_map_frame.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) enum VerificationTypeInfo { [INFO] [stdout] | -------------------- variants in this enum [INFO] [stdout] 7 | Int, [INFO] [stdout] | ^^^ [INFO] [stdout] 8 | Object(u16), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VerificationTypeInfo` 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 `Same`, `SameLocalsOneStackItem`, and `Full` are never constructed [INFO] [stdout] --> src/jvm_stack_map_frame.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) enum StackMapFrame { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 13 | Same { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | SameLocalsOneStackItem { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | Full { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StackMapFrame` 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 `class_definitions` is never read [INFO] [stdout] --> src/resolver.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 59 | pub(crate) struct Resolver<'a> { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 65 | class_definitions: BTreeMap<(Id, &'a str), Definition<'a>>, // Key=(block_id, identifier) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `status` is never read [INFO] [stdout] --> src/resolver.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 75 | struct Var { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 76 | id: Id, [INFO] [stdout] 77 | status: VarStatus, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Var` 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 `fn_statuses` is never read [INFO] [stdout] --> src/resolver.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 82 | struct Scope<'a> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 83 | var_statuses: BTreeMap<&'a str, Var>, [INFO] [stdout] 84 | fn_statuses: BTreeMap<&'a str, Var>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Scope` 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 `scope_depth`, `node_ref_flags`, and `block_id_ref` are never read [INFO] [stdout] --> src/resolver.rs:102:16 [INFO] [stdout] | [INFO] [stdout] 101 | pub(crate) struct VarUsageRef { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 102 | pub(crate) scope_depth: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 103 | pub(crate) node_ref_id: Id, [INFO] [stdout] 104 | pub(crate) node_ref_flags: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 105 | pub(crate) block_id_ref: Id, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VarUsageRef` 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: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `unique_labels` is never read [INFO] [stdout] --> src/asm_constants.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) struct Constants { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 10 | unique_value_to_label: BTreeMap, [INFO] [stdout] 11 | unique_labels: BTreeSet, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Constants` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `If` and `Goto` are never constructed [INFO] [stdout] --> src/jvm_code.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) enum JumpTarget { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 13 | If { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 19 | Goto { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JumpTarget` 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 `attributes` and `jump_targets` are never read [INFO] [stdout] --> src/jvm_code.rs:194:16 [INFO] [stdout] | [INFO] [stdout] 192 | pub(crate) struct Code { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 193 | pub(crate) code: Vec, [INFO] [stdout] 194 | pub(crate) attributes: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | pub(crate) jump_targets: BTreeMap, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Code` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `obj_str` and `class_name` are never read [INFO] [stdout] --> src/jvm_emitter.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) struct JvmEmitter<'a> { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | pub(crate) obj_str: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | class_name: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JvmEmitter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Class` is never constructed [INFO] [stdout] --> src/jvm_emitter.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 45 | pub(crate) struct Class { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start_pc`, `end_pc`, `handler_pc`, and `catch_type` are never read [INFO] [stdout] --> src/jvm_emitter.rs:90:16 [INFO] [stdout] | [INFO] [stdout] 89 | pub(crate) struct Exception { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 90 | pub(crate) start_pc: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 91 | pub(crate) end_pc: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 92 | pub(crate) handler_pc: u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 93 | pub(crate) catch_type: u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Exception` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `len` and `count_max` are never used [INFO] [stdout] --> src/jvm_locals.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 15 | impl Locals { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub(crate) fn len(&self) -> u16 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub(crate) fn count_max(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `count_max` is never used [INFO] [stdout] --> src/jvm_stack.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 12 | impl Stack { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub(crate) fn count_max(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Int` and `Object` are never constructed [INFO] [stdout] --> src/jvm_stack_map_frame.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) enum VerificationTypeInfo { [INFO] [stdout] | -------------------- variants in this enum [INFO] [stdout] 7 | Int, [INFO] [stdout] | ^^^ [INFO] [stdout] 8 | Object(u16), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VerificationTypeInfo` 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 `Same`, `SameLocalsOneStackItem`, and `Full` are never constructed [INFO] [stdout] --> src/jvm_stack_map_frame.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) enum StackMapFrame { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 13 | Same { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | SameLocalsOneStackItem { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | Full { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StackMapFrame` 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 `class_definitions` is never read [INFO] [stdout] --> src/resolver.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 59 | pub(crate) struct Resolver<'a> { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 65 | class_definitions: BTreeMap<(Id, &'a str), Definition<'a>>, // Key=(block_id, identifier) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `status` is never read [INFO] [stdout] --> src/resolver.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 75 | struct Var { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 76 | id: Id, [INFO] [stdout] 77 | status: VarStatus, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Var` 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 `fn_statuses` is never read [INFO] [stdout] --> src/resolver.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 82 | struct Scope<'a> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 83 | var_statuses: BTreeMap<&'a str, Var>, [INFO] [stdout] 84 | fn_statuses: BTreeMap<&'a str, Var>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Scope` 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 `scope_depth`, `node_ref_flags`, and `block_id_ref` are never read [INFO] [stdout] --> src/resolver.rs:102:16 [INFO] [stdout] | [INFO] [stdout] 101 | pub(crate) struct VarUsageRef { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 102 | pub(crate) scope_depth: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 103 | pub(crate) node_ref_id: Id, [INFO] [stdout] 104 | pub(crate) node_ref_flags: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 105 | pub(crate) block_id_ref: Id, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VarUsageRef` 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: panic message is not a string literal [INFO] [stdout] --> src/lex.rs:1559:29 [INFO] [stdout] | [INFO] [stdout] 1559 | other => panic!(format!("Should be an error: {:?}", other)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 1559 - other => panic!(format!("Should be an error: {:?}", other)), [INFO] [stdout] 1559 + other => panic!("Should be an error: {:?}", other), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.59s [INFO] running `Command { std: "docker" "inspect" "4cafbbe8bfb774e91f71e69f2499adab588a8fb91dd31739e36a3d20d4365d02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4cafbbe8bfb774e91f71e69f2499adab588a8fb91dd31739e36a3d20d4365d02", kill_on_drop: false }` [INFO] [stdout] 4cafbbe8bfb774e91f71e69f2499adab588a8fb91dd31739e36a3d20d4365d02 [INFO] checking gaultier/kotlin-rs 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%2Fgaultier%2Fkotlin-rs" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gaultier/kotlin-rs 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/gaultier/kotlin-rs [INFO] finished tweaking git repo https://github.com/gaultier/kotlin-rs [INFO] tweaked toml for git repo https://github.com/gaultier/kotlin-rs written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/gaultier/kotlin-rs 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] e67e17ba5f123af4a366382ce9483c77b3d0622b89458c061539ada4fcfee249 [INFO] running `Command { std: "docker" "start" "-a" "e67e17ba5f123af4a366382ce9483c77b3d0622b89458c061539ada4fcfee249", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e67e17ba5f123af4a366382ce9483c77b3d0622b89458c061539ada4fcfee249", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e67e17ba5f123af4a366382ce9483c77b3d0622b89458c061539ada4fcfee249", kill_on_drop: false }` [INFO] [stdout] e67e17ba5f123af4a366382ce9483c77b3d0622b89458c061539ada4fcfee249 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 61c29a39577ade0bc51e31fafa5944ddc51c7b3ee195840e34fc6ffef2236e45 [INFO] running `Command { std: "docker" "start" "-a" "61c29a39577ade0bc51e31fafa5944ddc51c7b3ee195840e34fc6ffef2236e45", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking regex-syntax v0.6.16 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking aho-corasick v0.7.9 [INFO] [stderr] Checking unicode-segmentation v1.6.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking heck v0.3.1 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking chrono v0.4.10 [INFO] [stderr] Checking regex v1.3.4 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking pretty_env_logger v0.3.1 [INFO] [stderr] Checking kotlin v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::jvm_stack_map_frame::VerificationTypeInfo` [INFO] [stdout] --> src/jvm_emitter.rs:1219:9 [INFO] [stdout] | [INFO] [stdout] 1219 | use crate::jvm_stack_map_frame::VerificationTypeInfo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attributes` [INFO] [stdout] --> src/jvm_emitter.rs:1271:24 [INFO] [stdout] | [INFO] [stdout] 1271 | let (code, attributes) = match &main.attributes[0] { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attributes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `unique_labels` is never read [INFO] [stdout] --> src/asm_constants.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) struct Constants { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 10 | unique_value_to_label: BTreeMap, [INFO] [stdout] 11 | unique_labels: BTreeSet, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Constants` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `If` and `Goto` are never constructed [INFO] [stdout] --> src/jvm_code.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) enum JumpTarget { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 13 | If { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 19 | Goto { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JumpTarget` 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 `attributes` and `jump_targets` are never read [INFO] [stdout] --> src/jvm_code.rs:194:16 [INFO] [stdout] | [INFO] [stdout] 192 | pub(crate) struct Code { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 193 | pub(crate) code: Vec, [INFO] [stdout] 194 | pub(crate) attributes: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | pub(crate) jump_targets: BTreeMap, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Code` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `obj_str` and `class_name` are never read [INFO] [stdout] --> src/jvm_emitter.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) struct JvmEmitter<'a> { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | pub(crate) obj_str: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | class_name: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JvmEmitter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Class` is never constructed [INFO] [stdout] --> src/jvm_emitter.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 45 | pub(crate) struct Class { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start_pc`, `end_pc`, `handler_pc`, and `catch_type` are never read [INFO] [stdout] --> src/jvm_emitter.rs:90:16 [INFO] [stdout] | [INFO] [stdout] 89 | pub(crate) struct Exception { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 90 | pub(crate) start_pc: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 91 | pub(crate) end_pc: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 92 | pub(crate) handler_pc: u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 93 | pub(crate) catch_type: u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Exception` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `len` and `count_max` are never used [INFO] [stdout] --> src/jvm_locals.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 15 | impl Locals { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub(crate) fn len(&self) -> u16 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub(crate) fn count_max(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `count_max` is never used [INFO] [stdout] --> src/jvm_stack.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 12 | impl Stack { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub(crate) fn count_max(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Int` and `Object` are never constructed [INFO] [stdout] --> src/jvm_stack_map_frame.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) enum VerificationTypeInfo { [INFO] [stdout] | -------------------- variants in this enum [INFO] [stdout] 7 | Int, [INFO] [stdout] | ^^^ [INFO] [stdout] 8 | Object(u16), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VerificationTypeInfo` 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 `Same`, `SameLocalsOneStackItem`, and `Full` are never constructed [INFO] [stdout] --> src/jvm_stack_map_frame.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) enum StackMapFrame { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 13 | Same { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | SameLocalsOneStackItem { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | Full { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StackMapFrame` 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 `class_definitions` is never read [INFO] [stdout] --> src/resolver.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 59 | pub(crate) struct Resolver<'a> { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 65 | class_definitions: BTreeMap<(Id, &'a str), Definition<'a>>, // Key=(block_id, identifier) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `status` is never read [INFO] [stdout] --> src/resolver.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 75 | struct Var { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 76 | id: Id, [INFO] [stdout] 77 | status: VarStatus, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Var` 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 `fn_statuses` is never read [INFO] [stdout] --> src/resolver.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 82 | struct Scope<'a> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 83 | var_statuses: BTreeMap<&'a str, Var>, [INFO] [stdout] 84 | fn_statuses: BTreeMap<&'a str, Var>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Scope` 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 `scope_depth`, `node_ref_flags`, and `block_id_ref` are never read [INFO] [stdout] --> src/resolver.rs:102:16 [INFO] [stdout] | [INFO] [stdout] 101 | pub(crate) struct VarUsageRef { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 102 | pub(crate) scope_depth: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 103 | pub(crate) node_ref_id: Id, [INFO] [stdout] 104 | pub(crate) node_ref_flags: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 105 | pub(crate) block_id_ref: Id, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VarUsageRef` 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] --> src/error.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 83 | fn from(error: io::Error) -> Self { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 84 | Error::new( [INFO] [stdout] 85 | ErrorKind::IoError(error), [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] --> src/jvm_emitter.rs:686:13 [INFO] [stdout] | [INFO] [stdout] 686 | Type::Unit, // FIXME: for println [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] --> src/lex.rs:1298:39 [INFO] [stdout] | [INFO] [stdout] 1298 | .ok_or_else(|| Error::new(ErrorKind::InvalidCharLiteral, self.span_location(&span))) [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] --> src/parse.rs:417:12 [INFO] [stdout] | [INFO] [stdout] 405 | let cond = self.expr()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 409 | let body = match self.previous.unwrap().kind { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 417 | Ok(AstStmt::While { [INFO] [stdout] | ____________^ [INFO] [stdout] 418 | | cond, [INFO] [stdout] 419 | | span, [INFO] [stdout] 420 | | body: Box::new(body), [INFO] [stdout] 421 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] --> src/parse.rs:441:12 [INFO] [stdout] | [INFO] [stdout] 428 | let body = match self.previous.unwrap().kind { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 438 | let cond = self.expr()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 441 | Ok(AstStmt::DoWhile { [INFO] [stdout] | ____________^ [INFO] [stdout] 442 | | cond, [INFO] [stdout] 443 | | span, [INFO] [stdout] 444 | | body: Box::new(body), [INFO] [stdout] 445 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] --> src/parse.rs:531:12 [INFO] [stdout] | [INFO] [stdout] 521 | let cond = self.when_cond()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 527 | let body = self.control_structure_body()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 531 | Ok(WhenEntry { [INFO] [stdout] | ____________^ [INFO] [stdout] 532 | | cond, [INFO] [stdout] 533 | | body, [INFO] [stdout] 534 | | span, [INFO] [stdout] 535 | | id: self.next_id(), [INFO] [stdout] 536 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] --> src/parse.rs:632:12 [INFO] [stdout] | [INFO] [stdout] 621 | let subject = self.when_subject()?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 626 | let (entries, else_entry) = self.when_entries()?; [INFO] [stdout] | ------- ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 632 | Ok(AstExpr::WhenExpr { [INFO] [stdout] | ____________^ [INFO] [stdout] 633 | | entries, [INFO] [stdout] 634 | | subject, [INFO] [stdout] 635 | | else_entry: else_entry.map(Box::new), [INFO] [stdout] 636 | | span: Span::from_spans(&start_span, &end_span), [INFO] [stdout] 637 | | id: self.next_id(), [INFO] [stdout] 638 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] --> src/parse.rs:695:12 [INFO] [stdout] | [INFO] [stdout] 648 | let cond = self.expr()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 654 | let if_body = match self.previous { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 680 | let else_body = match self.previous { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 695 | Ok(AstExpr::IfExpr { [INFO] [stdout] | ____________^ [INFO] [stdout] 696 | | cond: Box::new(cond), [INFO] [stdout] 697 | | cond_span, [INFO] [stdout] 698 | | if_body: Box::new(if_body), [INFO] [stdout] ... | [INFO] [stdout] 701 | | id: self.next_id(), [INFO] [stdout] 702 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] --> src/parse.rs:796:12 [INFO] [stdout] | [INFO] [stdout] 796 | Ok(AstExpr::VarRef(tok.span, self.next_id())) [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] --> src/parse.rs:835:12 [INFO] [stdout] | [INFO] [stdout] 826 | fn call_suffix(&mut self, fn_name: AstExpr) -> Result { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 830 | let mut args = Vec::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 835 | Ok(AstExpr::FnCall { [INFO] [stdout] | ____________^ [INFO] [stdout] 836 | | fn_name: Box::new(fn_name), [INFO] [stdout] 837 | | span: Span::from_spans(&start_span, &end_span), [INFO] [stdout] 838 | | args, [INFO] [stdout] 839 | | id: self.next_id(), [INFO] [stdout] 840 | | }) [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] [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] --> src/parse.rs:1186:12 [INFO] [stdout] | [INFO] [stdout] 1184 | let value = self.expr()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1185 | [INFO] [stdout] 1186 | Ok(AstStmt::VarDefinition { [INFO] [stdout] | ____________^ [INFO] [stdout] 1187 | | identifier, [INFO] [stdout] 1188 | | value, [INFO] [stdout] 1189 | | id, [INFO] [stdout] 1190 | | flags, [INFO] [stdout] 1191 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] --> src/parse.rs:1225:12 [INFO] [stdout] | [INFO] [stdout] 1216 | let target = self.assign_target_expr()?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1224 | let value = self.expr()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1225 | Ok(AstStmt::Assign { [INFO] [stdout] | ____________^ [INFO] [stdout] 1226 | | target, [INFO] [stdout] 1227 | | value, [INFO] [stdout] 1228 | | span, [INFO] [stdout] 1229 | | op, [INFO] [stdout] 1230 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] --> src/parse.rs:1326:12 [INFO] [stdout] | [INFO] [stdout] 1284 | let fn_name = self.primary()?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1288 | let mut args = Vec::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1289 | let mut args_t = Vec::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1294 | let return_t = match self.previous.unwrap().kind { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1301 | let t = self.simple_identifier_type(&type_literal_tok.span)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1309 | let fn_t = Type::Function { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1317 | let body = match self.previous.unwrap().kind { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1326 | Ok(AstStmt::FnDefinition { [INFO] [stdout] | ____________^ [INFO] [stdout] 1327 | | fn_name, [INFO] [stdout] 1328 | | args, [INFO] [stdout] 1329 | | body: Box::new(body), [INFO] [stdout] ... | [INFO] [stdout] 1332 | | return_t_span, [INFO] [stdout] 1333 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] --> src/parse.rs:1358:12 [INFO] [stdout] | [INFO] [stdout] 1356 | let body = self.class_body()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1357 | [INFO] [stdout] 1358 | Ok(AstStmt::Class { [INFO] [stdout] | ____________^ [INFO] [stdout] 1359 | | body: Box::new(body), [INFO] [stdout] 1360 | | name_span, [INFO] [stdout] 1361 | | flags: 0, // FIXME [INFO] [stdout] 1362 | | id: self.next_id(), [INFO] [stdout] 1363 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] --> src/parse.rs:1434:12 [INFO] [stdout] | [INFO] [stdout] 1400 | let mut body = Vec::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1434 | Ok(AstStmt::Block { [INFO] [stdout] | ____________^ [INFO] [stdout] 1435 | | id: self.next_id(), [INFO] [stdout] 1436 | | body, [INFO] [stdout] 1437 | | }) [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] --> src/parse.rs:1457:12 [INFO] [stdout] | [INFO] [stdout] 1441 | let mut body = Vec::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1457 | Ok(AstStmt::Block { [INFO] [stdout] | ____________^ [INFO] [stdout] 1458 | | id: self.next_id(), [INFO] [stdout] 1459 | | body, [INFO] [stdout] 1460 | | }) [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] --> src/type_check.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 53 | let cond_t = self.expr(cond)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | self.is_type(&cond_t, &Type::Boolean, &span)?; [INFO] [stdout] 55 | Ok(Type::Unit) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] --> src/type_check.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 59 | let cond_t = self.expr(cond)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 62 | Ok(Type::Unit) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] --> src/type_check.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 80 | let target_t = self.expr(target)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 81 | let value_t = self.expr(value)?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 82 | self.is_type(&target_t, &value_t, span)?; [INFO] [stdout] 83 | Ok(Type::Unit) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: aborting due to 19 previous errors; 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kotlin` (lib) due to 20 previous errors; 14 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `unique_labels` is never read [INFO] [stdout] --> src/asm_constants.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) struct Constants { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 10 | unique_value_to_label: BTreeMap, [INFO] [stdout] 11 | unique_labels: BTreeSet, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Constants` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `If` and `Goto` are never constructed [INFO] [stdout] --> src/jvm_code.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) enum JumpTarget { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 13 | If { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 19 | Goto { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JumpTarget` 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 `attributes` and `jump_targets` are never read [INFO] [stdout] --> src/jvm_code.rs:194:16 [INFO] [stdout] | [INFO] [stdout] 192 | pub(crate) struct Code { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 193 | pub(crate) code: Vec, [INFO] [stdout] 194 | pub(crate) attributes: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | pub(crate) jump_targets: BTreeMap, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Code` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `obj_str` and `class_name` are never read [INFO] [stdout] --> src/jvm_emitter.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) struct JvmEmitter<'a> { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | pub(crate) obj_str: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | class_name: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JvmEmitter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Class` is never constructed [INFO] [stdout] --> src/jvm_emitter.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 45 | pub(crate) struct Class { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start_pc`, `end_pc`, `handler_pc`, and `catch_type` are never read [INFO] [stdout] --> src/jvm_emitter.rs:90:16 [INFO] [stdout] | [INFO] [stdout] 89 | pub(crate) struct Exception { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 90 | pub(crate) start_pc: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 91 | pub(crate) end_pc: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 92 | pub(crate) handler_pc: u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 93 | pub(crate) catch_type: u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Exception` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `len` and `count_max` are never used [INFO] [stdout] --> src/jvm_locals.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 15 | impl Locals { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub(crate) fn len(&self) -> u16 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub(crate) fn count_max(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `count_max` is never used [INFO] [stdout] --> src/jvm_stack.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 12 | impl Stack { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub(crate) fn count_max(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Int` and `Object` are never constructed [INFO] [stdout] --> src/jvm_stack_map_frame.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) enum VerificationTypeInfo { [INFO] [stdout] | -------------------- variants in this enum [INFO] [stdout] 7 | Int, [INFO] [stdout] | ^^^ [INFO] [stdout] 8 | Object(u16), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VerificationTypeInfo` 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 `Same`, `SameLocalsOneStackItem`, and `Full` are never constructed [INFO] [stdout] --> src/jvm_stack_map_frame.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) enum StackMapFrame { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 13 | Same { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | SameLocalsOneStackItem { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | Full { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StackMapFrame` 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 `class_definitions` is never read [INFO] [stdout] --> src/resolver.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 59 | pub(crate) struct Resolver<'a> { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 65 | class_definitions: BTreeMap<(Id, &'a str), Definition<'a>>, // Key=(block_id, identifier) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `status` is never read [INFO] [stdout] --> src/resolver.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 75 | struct Var { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 76 | id: Id, [INFO] [stdout] 77 | status: VarStatus, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Var` 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 `fn_statuses` is never read [INFO] [stdout] --> src/resolver.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 82 | struct Scope<'a> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 83 | var_statuses: BTreeMap<&'a str, Var>, [INFO] [stdout] 84 | fn_statuses: BTreeMap<&'a str, Var>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Scope` 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 `scope_depth`, `node_ref_flags`, and `block_id_ref` are never read [INFO] [stdout] --> src/resolver.rs:102:16 [INFO] [stdout] | [INFO] [stdout] 101 | pub(crate) struct VarUsageRef { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 102 | pub(crate) scope_depth: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 103 | pub(crate) node_ref_id: Id, [INFO] [stdout] 104 | pub(crate) node_ref_flags: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 105 | pub(crate) block_id_ref: Id, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VarUsageRef` 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] --> src/error.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 83 | fn from(error: io::Error) -> Self { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 84 | Error::new( [INFO] [stdout] 85 | ErrorKind::IoError(error), [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] --> src/jvm_emitter.rs:686:13 [INFO] [stdout] | [INFO] [stdout] 686 | Type::Unit, // FIXME: for println [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] --> src/lex.rs:1298:39 [INFO] [stdout] | [INFO] [stdout] 1298 | .ok_or_else(|| Error::new(ErrorKind::InvalidCharLiteral, self.span_location(&span))) [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: panic message is not a string literal [INFO] [stdout] --> src/lex.rs:1559:29 [INFO] [stdout] | [INFO] [stdout] 1559 | other => panic!(format!("Should be an error: {:?}", other)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 1559 - other => panic!(format!("Should be an error: {:?}", other)), [INFO] [stdout] 1559 + other => panic!("Should be an error: {:?}", other), [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] --> src/parse.rs:417:12 [INFO] [stdout] | [INFO] [stdout] 405 | let cond = self.expr()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 409 | let body = match self.previous.unwrap().kind { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 417 | Ok(AstStmt::While { [INFO] [stdout] | ____________^ [INFO] [stdout] 418 | | cond, [INFO] [stdout] 419 | | span, [INFO] [stdout] 420 | | body: Box::new(body), [INFO] [stdout] 421 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] --> src/parse.rs:441:12 [INFO] [stdout] | [INFO] [stdout] 428 | let body = match self.previous.unwrap().kind { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 438 | let cond = self.expr()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 441 | Ok(AstStmt::DoWhile { [INFO] [stdout] | ____________^ [INFO] [stdout] 442 | | cond, [INFO] [stdout] 443 | | span, [INFO] [stdout] 444 | | body: Box::new(body), [INFO] [stdout] 445 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] --> src/parse.rs:531:12 [INFO] [stdout] | [INFO] [stdout] 521 | let cond = self.when_cond()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 527 | let body = self.control_structure_body()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 531 | Ok(WhenEntry { [INFO] [stdout] | ____________^ [INFO] [stdout] 532 | | cond, [INFO] [stdout] 533 | | body, [INFO] [stdout] 534 | | span, [INFO] [stdout] 535 | | id: self.next_id(), [INFO] [stdout] 536 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] --> src/parse.rs:632:12 [INFO] [stdout] | [INFO] [stdout] 621 | let subject = self.when_subject()?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 626 | let (entries, else_entry) = self.when_entries()?; [INFO] [stdout] | ------- ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 632 | Ok(AstExpr::WhenExpr { [INFO] [stdout] | ____________^ [INFO] [stdout] 633 | | entries, [INFO] [stdout] 634 | | subject, [INFO] [stdout] 635 | | else_entry: else_entry.map(Box::new), [INFO] [stdout] 636 | | span: Span::from_spans(&start_span, &end_span), [INFO] [stdout] 637 | | id: self.next_id(), [INFO] [stdout] 638 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] --> src/parse.rs:695:12 [INFO] [stdout] | [INFO] [stdout] 648 | let cond = self.expr()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 654 | let if_body = match self.previous { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 680 | let else_body = match self.previous { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 695 | Ok(AstExpr::IfExpr { [INFO] [stdout] | ____________^ [INFO] [stdout] 696 | | cond: Box::new(cond), [INFO] [stdout] 697 | | cond_span, [INFO] [stdout] 698 | | if_body: Box::new(if_body), [INFO] [stdout] ... | [INFO] [stdout] 701 | | id: self.next_id(), [INFO] [stdout] 702 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] --> src/parse.rs:796:12 [INFO] [stdout] | [INFO] [stdout] 796 | Ok(AstExpr::VarRef(tok.span, self.next_id())) [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] --> src/parse.rs:835:12 [INFO] [stdout] | [INFO] [stdout] 826 | fn call_suffix(&mut self, fn_name: AstExpr) -> Result { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 830 | let mut args = Vec::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 835 | Ok(AstExpr::FnCall { [INFO] [stdout] | ____________^ [INFO] [stdout] 836 | | fn_name: Box::new(fn_name), [INFO] [stdout] 837 | | span: Span::from_spans(&start_span, &end_span), [INFO] [stdout] 838 | | args, [INFO] [stdout] 839 | | id: self.next_id(), [INFO] [stdout] 840 | | }) [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] [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] --> src/parse.rs:1186:12 [INFO] [stdout] | [INFO] [stdout] 1184 | let value = self.expr()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1185 | [INFO] [stdout] 1186 | Ok(AstStmt::VarDefinition { [INFO] [stdout] | ____________^ [INFO] [stdout] 1187 | | identifier, [INFO] [stdout] 1188 | | value, [INFO] [stdout] 1189 | | id, [INFO] [stdout] 1190 | | flags, [INFO] [stdout] 1191 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] --> src/parse.rs:1225:12 [INFO] [stdout] | [INFO] [stdout] 1216 | let target = self.assign_target_expr()?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1224 | let value = self.expr()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1225 | Ok(AstStmt::Assign { [INFO] [stdout] | ____________^ [INFO] [stdout] 1226 | | target, [INFO] [stdout] 1227 | | value, [INFO] [stdout] 1228 | | span, [INFO] [stdout] 1229 | | op, [INFO] [stdout] 1230 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] --> src/parse.rs:1326:12 [INFO] [stdout] | [INFO] [stdout] 1284 | let fn_name = self.primary()?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1288 | let mut args = Vec::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1289 | let mut args_t = Vec::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1294 | let return_t = match self.previous.unwrap().kind { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1301 | let t = self.simple_identifier_type(&type_literal_tok.span)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1309 | let fn_t = Type::Function { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1317 | let body = match self.previous.unwrap().kind { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1326 | Ok(AstStmt::FnDefinition { [INFO] [stdout] | ____________^ [INFO] [stdout] 1327 | | fn_name, [INFO] [stdout] 1328 | | args, [INFO] [stdout] 1329 | | body: Box::new(body), [INFO] [stdout] ... | [INFO] [stdout] 1332 | | return_t_span, [INFO] [stdout] 1333 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] --> src/parse.rs:1358:12 [INFO] [stdout] | [INFO] [stdout] 1356 | let body = self.class_body()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1357 | [INFO] [stdout] 1358 | Ok(AstStmt::Class { [INFO] [stdout] | ____________^ [INFO] [stdout] 1359 | | body: Box::new(body), [INFO] [stdout] 1360 | | name_span, [INFO] [stdout] 1361 | | flags: 0, // FIXME [INFO] [stdout] 1362 | | id: self.next_id(), [INFO] [stdout] 1363 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] --> src/parse.rs:1434:12 [INFO] [stdout] | [INFO] [stdout] 1400 | let mut body = Vec::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1434 | Ok(AstStmt::Block { [INFO] [stdout] | ____________^ [INFO] [stdout] 1435 | | id: self.next_id(), [INFO] [stdout] 1436 | | body, [INFO] [stdout] 1437 | | }) [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] --> src/parse.rs:1457:12 [INFO] [stdout] | [INFO] [stdout] 1441 | let mut body = Vec::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1457 | Ok(AstStmt::Block { [INFO] [stdout] | ____________^ [INFO] [stdout] 1458 | | id: self.next_id(), [INFO] [stdout] 1459 | | body, [INFO] [stdout] 1460 | | }) [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] --> src/type_check.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 53 | let cond_t = self.expr(cond)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | self.is_type(&cond_t, &Type::Boolean, &span)?; [INFO] [stdout] 55 | Ok(Type::Unit) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] --> src/type_check.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 59 | let cond_t = self.expr(cond)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 62 | Ok(Type::Unit) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] --> src/type_check.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 80 | let target_t = self.expr(target)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 81 | let value_t = self.expr(value)?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 82 | self.is_type(&target_t, &value_t, span)?; [INFO] [stdout] 83 | Ok(Type::Unit) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: aborting due to 19 previous errors; 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kotlin` (lib test) due to 20 previous errors; 17 warnings emitted [INFO] running `Command { std: "docker" "inspect" "61c29a39577ade0bc51e31fafa5944ddc51c7b3ee195840e34fc6ffef2236e45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61c29a39577ade0bc51e31fafa5944ddc51c7b3ee195840e34fc6ffef2236e45", kill_on_drop: false }` [INFO] [stdout] 61c29a39577ade0bc51e31fafa5944ddc51c7b3ee195840e34fc6ffef2236e45