[INFO] cloning repository https://github.com/jDomantas/tontuna [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jDomantas/tontuna" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FjDomantas%2Ftontuna", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FjDomantas%2Ftontuna'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9051bd09c7dbd8fd0881a3f979692731974ae5e5 [INFO] checking jDomantas/tontuna against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FjDomantas%2Ftontuna" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jDomantas/tontuna 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/jDomantas/tontuna [INFO] finished tweaking git repo https://github.com/jDomantas/tontuna [INFO] tweaked toml for git repo https://github.com/jDomantas/tontuna written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jDomantas/tontuna 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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded logos v0.12.0 [INFO] [stderr] Downloaded serde v1.0.128 [INFO] [stderr] Downloaded beef v0.5.1 [INFO] [stderr] Downloaded lsp-server v0.5.2 [INFO] [stderr] Downloaded logos-derive v0.12.0 [INFO] [stderr] Downloaded lsp-types v0.89.2 [INFO] [stderr] Downloaded serde_derive v1.0.128 [INFO] [stderr] Downloaded structopt v0.3.22 [INFO] [stderr] Downloaded structopt-derive v0.4.15 [INFO] [stderr] Downloaded utf8-ranges v1.0.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 129d53f0194ad0e422545eec0157855878b22d1446c2c30c97993d3bd4a6e734 [INFO] running `Command { std: "docker" "start" "-a" "129d53f0194ad0e422545eec0157855878b22d1446c2c30c97993d3bd4a6e734", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "129d53f0194ad0e422545eec0157855878b22d1446c2c30c97993d3bd4a6e734", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "129d53f0194ad0e422545eec0157855878b22d1446c2c30c97993d3bd4a6e734", kill_on_drop: false }` [INFO] [stdout] 129d53f0194ad0e422545eec0157855878b22d1446c2c30c97993d3bd4a6e734 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 997a5128413e14ac76785f38f31c9edce5e63b8da9768150454ae29aed96f90d [INFO] running `Command { std: "docker" "start" "-a" "997a5128413e14ac76785f38f31c9edce5e63b8da9768150454ae29aed96f90d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling libc v0.2.100 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling beef v0.5.1 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling anyhow v1.0.43 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling serde_derive v1.0.128 [INFO] [stderr] Compiling serde v1.0.128 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Checking tinyvec v1.3.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking unicode-bidi v0.3.6 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Compiling structopt-derive v0.4.15 [INFO] [stderr] Compiling logos-derive v0.12.0 [INFO] [stderr] Compiling serde_repr v0.1.7 [INFO] [stderr] Checking structopt v0.3.22 [INFO] [stderr] Checking logos v0.12.0 [INFO] [stderr] Checking tontuna v0.1.0 (/opt/rustwide/workdir/tontuna) [INFO] [stdout] warning: field `code_markers` is never read [INFO] [stdout] --> tontuna/src/ast.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) struct Program { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 8 | pub(crate) code: NakedBlock, [INFO] [stdout] 9 | pub(crate) code_markers: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Program` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `left_paren` is never read [INFO] [stdout] --> tontuna/src/ast.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 35 | Call { [INFO] [stdout] | ---- field in this variant [INFO] [stdout] 36 | func: Box, [INFO] [stdout] 37 | left_paren: Token, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` 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 `eq` is never read [INFO] [stdout] --> tontuna/src/ast.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 60 | AssignVar { [INFO] [stdout] | --------- field in this variant [INFO] [stdout] 61 | name: Token, [INFO] [stdout] 62 | eq: Token, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` 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 `dot` and `eq` are never read [INFO] [stdout] --> tontuna/src/ast.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 65 | AssignField { [INFO] [stdout] | ----------- fields in this variant [INFO] [stdout] 66 | obj: Box, [INFO] [stdout] 67 | dot: Token, [INFO] [stdout] | ^^^ [INFO] [stdout] 68 | field: Token, [INFO] [stdout] 69 | eq: Token, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` 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 `comma` is never read [INFO] [stdout] --> tontuna/src/ast.rs:99:16 [INFO] [stdout] | [INFO] [stdout] 97 | pub(crate) struct ListItem { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 98 | pub(crate) item: T, [INFO] [stdout] 99 | pub(crate) comma: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ListItem` 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 `in_tok` is never read [INFO] [stdout] --> tontuna/src/ast.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 119 | For { [INFO] [stdout] | --- field in this variant [INFO] [stdout] ... [INFO] [stdout] 122 | in_tok: Token, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` 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 `eq` is never read [INFO] [stdout] --> tontuna/src/ast.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 131 | Let { [INFO] [stdout] | --- field in this variant [INFO] [stdout] ... [INFO] [stdout] 134 | eq: Token, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` 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 `left_curly` is never read [INFO] [stdout] --> tontuna/src/ast.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 140 | StructDef { [INFO] [stdout] | --------- field in this variant [INFO] [stdout] ... [INFO] [stdout] 143 | left_curly: Token, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` 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 `let_tok`, `colon`, and `eq` are never read [INFO] [stdout] --> tontuna/src/ast.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 173 | TypeTest { [INFO] [stdout] | -------- fields in this variant [INFO] [stdout] 174 | let_tok: Token, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 175 | name: Token, [INFO] [stdout] 176 | colon: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 177 | ty: Expr, [INFO] [stdout] 178 | eq: Token, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `IfCond` 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 `if_tok` is never read [INFO] [stdout] --> tontuna/src/ast.rs:192:9 [INFO] [stdout] | [INFO] [stdout] 190 | ElseIf { [INFO] [stdout] | ------ field in this variant [INFO] [stdout] 191 | else_tok: Token, [INFO] [stdout] 192 | if_tok: Token, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IfTail` 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 `left_paren` and `right_paren` are never read [INFO] [stdout] --> tontuna/src/ast.rs:216:16 [INFO] [stdout] | [INFO] [stdout] 213 | pub(crate) struct FnDef { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 216 | pub(crate) left_paren: Token, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 217 | pub(crate) params: CommaList, [INFO] [stdout] 218 | pub(crate) right_paren: Token, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FnDef` 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 `code_markers` is never read [INFO] [stdout] --> tontuna/src/ast.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) struct Program { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 8 | pub(crate) code: NakedBlock, [INFO] [stdout] 9 | pub(crate) code_markers: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Program` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `left_paren` is never read [INFO] [stdout] --> tontuna/src/ast.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 35 | Call { [INFO] [stdout] | ---- field in this variant [INFO] [stdout] 36 | func: Box, [INFO] [stdout] 37 | left_paren: Token, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` 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 `eq` is never read [INFO] [stdout] --> tontuna/src/ast.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 60 | AssignVar { [INFO] [stdout] | --------- field in this variant [INFO] [stdout] 61 | name: Token, [INFO] [stdout] 62 | eq: Token, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` 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 `dot` and `eq` are never read [INFO] [stdout] --> tontuna/src/ast.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 65 | AssignField { [INFO] [stdout] | ----------- fields in this variant [INFO] [stdout] 66 | obj: Box, [INFO] [stdout] 67 | dot: Token, [INFO] [stdout] | ^^^ [INFO] [stdout] 68 | field: Token, [INFO] [stdout] 69 | eq: Token, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` 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 `comma` is never read [INFO] [stdout] --> tontuna/src/ast.rs:99:16 [INFO] [stdout] | [INFO] [stdout] 97 | pub(crate) struct ListItem { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 98 | pub(crate) item: T, [INFO] [stdout] 99 | pub(crate) comma: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ListItem` 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 `in_tok` is never read [INFO] [stdout] --> tontuna/src/ast.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 119 | For { [INFO] [stdout] | --- field in this variant [INFO] [stdout] ... [INFO] [stdout] 122 | in_tok: Token, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` 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 `eq` is never read [INFO] [stdout] --> tontuna/src/ast.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 131 | Let { [INFO] [stdout] | --- field in this variant [INFO] [stdout] ... [INFO] [stdout] 134 | eq: Token, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` 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 `left_curly` is never read [INFO] [stdout] --> tontuna/src/ast.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 140 | StructDef { [INFO] [stdout] | --------- field in this variant [INFO] [stdout] ... [INFO] [stdout] 143 | left_curly: Token, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` 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 `let_tok`, `colon`, and `eq` are never read [INFO] [stdout] --> tontuna/src/ast.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 173 | TypeTest { [INFO] [stdout] | -------- fields in this variant [INFO] [stdout] 174 | let_tok: Token, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 175 | name: Token, [INFO] [stdout] 176 | colon: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 177 | ty: Expr, [INFO] [stdout] 178 | eq: Token, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `IfCond` 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 `if_tok` is never read [INFO] [stdout] --> tontuna/src/ast.rs:192:9 [INFO] [stdout] | [INFO] [stdout] 190 | ElseIf { [INFO] [stdout] | ------ field in this variant [INFO] [stdout] 191 | else_tok: Token, [INFO] [stdout] 192 | if_tok: Token, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IfTail` 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 `left_paren` and `right_paren` are never read [INFO] [stdout] --> tontuna/src/ast.rs:216:16 [INFO] [stdout] | [INFO] [stdout] 213 | pub(crate) struct FnDef { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 216 | pub(crate) left_paren: Token, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 217 | pub(crate) params: CommaList, [INFO] [stdout] 218 | pub(crate) right_paren: Token, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FnDef` 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: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking test-runner v0.1.0 (/opt/rustwide/workdir/test-runner) [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking lsp-server v0.5.2 [INFO] [stderr] Checking lsp-types v0.89.2 [INFO] [stderr] Checking tontuna-lsp v0.1.0 (/opt/rustwide/workdir/tontuna-lsp) [INFO] [stdout] warning: method `to_tontuna` is never used [INFO] [stdout] --> tontuna-lsp/src/utils.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 10 | impl<'a> LocationTranslator<'a> { [INFO] [stdout] | ------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub(crate) fn to_tontuna(&mut self, t: T) -> T::TontunaRepr { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ToTontuna` is never used [INFO] [stdout] --> tontuna-lsp/src/utils.rs:83:18 [INFO] [stdout] | [INFO] [stdout] 83 | pub(crate) trait ToTontuna: Sized { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.83s [INFO] running `Command { std: "docker" "inspect" "997a5128413e14ac76785f38f31c9edce5e63b8da9768150454ae29aed96f90d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "997a5128413e14ac76785f38f31c9edce5e63b8da9768150454ae29aed96f90d", kill_on_drop: false }` [INFO] [stdout] 997a5128413e14ac76785f38f31c9edce5e63b8da9768150454ae29aed96f90d [INFO] checking jDomantas/tontuna 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%2FjDomantas%2Ftontuna" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jDomantas/tontuna 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/jDomantas/tontuna [INFO] finished tweaking git repo https://github.com/jDomantas/tontuna [INFO] tweaked toml for git repo https://github.com/jDomantas/tontuna written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/jDomantas/tontuna 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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 3d9a27f1b55550fdb43590c4708d98df4799297cfd3767dfd0ff63a6b05e7187 [INFO] running `Command { std: "docker" "start" "-a" "3d9a27f1b55550fdb43590c4708d98df4799297cfd3767dfd0ff63a6b05e7187", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3d9a27f1b55550fdb43590c4708d98df4799297cfd3767dfd0ff63a6b05e7187", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d9a27f1b55550fdb43590c4708d98df4799297cfd3767dfd0ff63a6b05e7187", kill_on_drop: false }` [INFO] [stdout] 3d9a27f1b55550fdb43590c4708d98df4799297cfd3767dfd0ff63a6b05e7187 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] b5d22f4e482a32930cfe45601c374a3b995eb863fcd95065166b5bbfb7e7c022 [INFO] running `Command { std: "docker" "start" "-a" "b5d22f4e482a32930cfe45601c374a3b995eb863fcd95065166b5bbfb7e7c022", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling libc v0.2.100 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling anyhow v1.0.43 [INFO] [stderr] Compiling beef v0.5.1 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling serde_derive v1.0.128 [INFO] [stderr] Compiling serde v1.0.128 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking tinyvec v1.3.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking unicode-bidi v0.3.6 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Compiling logos-derive v0.12.0 [INFO] [stderr] Compiling structopt-derive v0.4.15 [INFO] [stderr] Compiling serde_repr v0.1.7 [INFO] [stderr] Checking structopt v0.3.22 [INFO] [stderr] Checking logos v0.12.0 [INFO] [stderr] Checking tontuna v0.1.0 (/opt/rustwide/workdir/tontuna) [INFO] [stdout] warning: field `code_markers` is never read [INFO] [stdout] --> tontuna/src/ast.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) struct Program { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 8 | pub(crate) code: NakedBlock, [INFO] [stdout] 9 | pub(crate) code_markers: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Program` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `left_paren` is never read [INFO] [stdout] --> tontuna/src/ast.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 35 | Call { [INFO] [stdout] | ---- field in this variant [INFO] [stdout] 36 | func: Box, [INFO] [stdout] 37 | left_paren: Token, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` 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 `eq` is never read [INFO] [stdout] --> tontuna/src/ast.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 60 | AssignVar { [INFO] [stdout] | --------- field in this variant [INFO] [stdout] 61 | name: Token, [INFO] [stdout] 62 | eq: Token, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` 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 `dot` and `eq` are never read [INFO] [stdout] --> tontuna/src/ast.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 65 | AssignField { [INFO] [stdout] | ----------- fields in this variant [INFO] [stdout] 66 | obj: Box, [INFO] [stdout] 67 | dot: Token, [INFO] [stdout] | ^^^ [INFO] [stdout] 68 | field: Token, [INFO] [stdout] 69 | eq: Token, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` 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 `comma` is never read [INFO] [stdout] --> tontuna/src/ast.rs:99:16 [INFO] [stdout] | [INFO] [stdout] 97 | pub(crate) struct ListItem { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 98 | pub(crate) item: T, [INFO] [stdout] 99 | pub(crate) comma: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ListItem` 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 `in_tok` is never read [INFO] [stdout] --> tontuna/src/ast.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 119 | For { [INFO] [stdout] | --- field in this variant [INFO] [stdout] ... [INFO] [stdout] 122 | in_tok: Token, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` 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 `eq` is never read [INFO] [stdout] --> tontuna/src/ast.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 131 | Let { [INFO] [stdout] | --- field in this variant [INFO] [stdout] ... [INFO] [stdout] 134 | eq: Token, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` 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 `left_curly` is never read [INFO] [stdout] --> tontuna/src/ast.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 140 | StructDef { [INFO] [stdout] | --------- field in this variant [INFO] [stdout] ... [INFO] [stdout] 143 | left_curly: Token, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` 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 `let_tok`, `colon`, and `eq` are never read [INFO] [stdout] --> tontuna/src/ast.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 173 | TypeTest { [INFO] [stdout] | -------- fields in this variant [INFO] [stdout] 174 | let_tok: Token, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 175 | name: Token, [INFO] [stdout] 176 | colon: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 177 | ty: Expr, [INFO] [stdout] 178 | eq: Token, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `IfCond` 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 `if_tok` is never read [INFO] [stdout] --> tontuna/src/ast.rs:192:9 [INFO] [stdout] | [INFO] [stdout] 190 | ElseIf { [INFO] [stdout] | ------ field in this variant [INFO] [stdout] 191 | else_tok: Token, [INFO] [stdout] 192 | if_tok: Token, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IfTail` 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 `left_paren` and `right_paren` are never read [INFO] [stdout] --> tontuna/src/ast.rs:216:16 [INFO] [stdout] | [INFO] [stdout] 213 | pub(crate) struct FnDef { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 216 | pub(crate) left_paren: Token, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 217 | pub(crate) params: CommaList, [INFO] [stdout] 218 | pub(crate) right_paren: Token, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FnDef` 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] --> tontuna/src/eval.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 24 | fn from(v: NativeFunc) -> Self { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | Self::NativeFunc(Rc::new(v)) [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] --> tontuna/src/eval.rs:143:21 [INFO] [stdout] | [INFO] [stdout] 142 | fn global(globals: HashMap) -> Env { [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 143 | Env::Global(Rc::new(globals.into())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tontuna/src/eval.rs:332:22 [INFO] [stdout] | [INFO] [stdout] 291 | pub(crate) fn new(source: Rc, program: Option<&ast::Program>, output: Box) -> Evaluator { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 292 | let mut globals = HashMap::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 293 | let output = Rc::new(RefCell::new(output)); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 294 | let output2 = output.clone(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 300 | let output2 = output.clone(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 326 | let builtins = BuiltinTypes::new(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 332 | globals: Env::global(globals), [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] --> tontuna/src/eval.rs:298:16 [INFO] [stdout] | [INFO] [stdout] 294 | let output2 = output.clone(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 295 | globals.insert("print".to_owned(), NativeFunc::new("print", move |values| { [INFO] [stdout] 296 | let mut output = output2.borrow_mut(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 297 | intrinsics::print(values, &mut **output)?; [INFO] [stdout] 298 | Ok(Value::Nil) [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] --> tontuna/src/eval.rs:304:16 [INFO] [stdout] | [INFO] [stdout] 300 | let output2 = output.clone(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 301 | globals.insert("println".to_owned(), NativeFunc::new("println", move |values| { [INFO] [stdout] 302 | let mut output = output2.borrow_mut(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 303 | intrinsics::println(values, &mut **output)?; [INFO] [stdout] 304 | Ok(Value::Nil) [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] --> tontuna/src/eval.rs:313:42 [INFO] [stdout] | [INFO] [stdout] 313 | .map(|s| Value::Stmt(Rc::new(Stmt { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 314 | | source: source.clone(), [INFO] [stdout] 315 | | ast: s.clone(), [INFO] [stdout] 316 | | }))) [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] --> tontuna/src/eval.rs:323:20 [INFO] [stdout] | [INFO] [stdout] 310 | let stmts = Value::List(Rc::new(List::new( [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 323 | Ok(stmts.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tontuna/src/eval/intrinsics.rs:280:17 [INFO] [stdout] | [INFO] [stdout] 240 | let children: Vec> = match &*stmt.ast { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 243 | let mut children = body.contents.stmts.clone(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 265 | let mut children = Vec::new(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 280 | Value::List(Rc::new(super::List::new( [INFO] [stdout] | _________________^ [INFO] [stdout] 281 | | children [INFO] [stdout] 282 | | .into_iter() [INFO] [stdout] 283 | | .map(|s| Value::Stmt(Rc::new(super::Stmt { [INFO] [stdout] ... | [INFO] [stdout] 287 | | .collect(), [INFO] [stdout] 288 | | ))) [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] --> tontuna/src/eval/intrinsics.rs:283:34 [INFO] [stdout] | [INFO] [stdout] 283 | .map(|s| Value::Stmt(Rc::new(super::Stmt { [INFO] [stdout] | ___________________-______________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 284 | | source: stmt.source.clone(), [INFO] [stdout] 285 | | ast: s.clone(), [INFO] [stdout] 286 | | }))) [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] --> tontuna/src/eval/intrinsics.rs:307:11 [INFO] [stdout] | [INFO] [stdout] 306 | let env = i.env.borrow().clone(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 307 | match i.eval.borrow_mut().eval_statement(&s.ast, &env) { [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] --> tontuna/src/eval/types.rs:64:16 [INFO] [stdout] | [INFO] [stdout] 59 | name: impl Into, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 60 | f: impl Fn(&[Value]) -> Result + 'static, [INFO] [stdout] | ------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 64 | f: Box::new(move |_, values| f(values)), [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] --> tontuna/src/eval/types.rs:75:16 [INFO] [stdout] | [INFO] [stdout] 69 | name: impl Into, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 70 | f: impl Fn(Rc) -> Result + 'static, [INFO] [stdout] | --------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 75 | f: Box::new(move |src, values| { [INFO] [stdout] | ________________^ [INFO] [stdout] 76 | | match values { [INFO] [stdout] 77 | | [] => f(src.clone()), [INFO] [stdout] 78 | | _ => Err(format!( [INFO] [stdout] ... | [INFO] [stdout] 83 | | } [INFO] [stdout] 84 | | }), [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] --> tontuna/src/eval/types.rs:95:16 [INFO] [stdout] | [INFO] [stdout] 89 | name: impl Into, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 90 | f: impl Fn(&Value) -> Result + 'static, [INFO] [stdout] | ----------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 95 | f: Box::new(move |_, values| { [INFO] [stdout] | ________________^ [INFO] [stdout] 96 | | match values { [INFO] [stdout] 97 | | [single] => f(single), [INFO] [stdout] 98 | | _ => Err(format!( [INFO] [stdout] ... | [INFO] [stdout] 103 | | } [INFO] [stdout] 104 | | }), [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] --> tontuna/src/eval/types.rs:115:16 [INFO] [stdout] | [INFO] [stdout] 109 | name: impl Into, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 110 | f: impl Fn(&Value, &Value) -> Result + 'static, [INFO] [stdout] | ------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 115 | f: Box::new(move |_, values| { [INFO] [stdout] | ________________^ [INFO] [stdout] 116 | | match values { [INFO] [stdout] 117 | | [a, b] => f(a, b), [INFO] [stdout] 118 | | _ => Err(format!( [INFO] [stdout] ... | [INFO] [stdout] 123 | | } [INFO] [stdout] 124 | | }), [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] --> tontuna/src/eval/types.rs:162:24 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn new(values: Vec) -> Self { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 162 | List { values: RefCell::new(values) } [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] --> tontuna/src/eval/types.rs:230:28 [INFO] [stdout] | [INFO] [stdout] 228 | let eval = super::Evaluator::new(src, None, Box::new(std::io::sink())); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 229 | let env = eval.globals.clone(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 230 | Value::Interpreter(Rc::new(Interpreter { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 231 | | eval: RefCell::new(eval), [INFO] [stdout] 232 | | env: RefCell::new(env), [INFO] [stdout] 233 | | })) [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] --> tontuna/src/parser.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | fn consume_stmts(self) -> Vec { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | / self.stmts [INFO] [stdout] 19 | | .into_iter() [INFO] [stdout] 20 | | .map(|s| match Rc::try_unwrap(s) { [INFO] [stdout] 21 | | Ok(s) => s, [INFO] [stdout] 22 | | Err(_) => panic!("statement was aliased during parsing"), [INFO] [stdout] 23 | | }) [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] --> tontuna/src/parser.rs:20:28 [INFO] [stdout] | [INFO] [stdout] 20 | .map(|s| match Rc::try_unwrap(s) { [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tontuna/src/parser.rs:284:8 [INFO] [stdout] | [INFO] [stdout] 255 | let mut elements = Vec::new(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 284 | Ok(ast::Comment { [INFO] [stdout] | ________^ [INFO] [stdout] 285 | | markers, [INFO] [stdout] 286 | | elements, [INFO] [stdout] 287 | | }) [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] --> tontuna/src/parser.rs:504:12 [INFO] [stdout] | [INFO] [stdout] 502 | let contents = self.parse_naked_block()?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 503 | let right_curly = self.expect(TokenKind::RightCurly)?; [INFO] [stdout] 504 | Ok(ast::Block { [INFO] [stdout] | ____________^ [INFO] [stdout] 505 | | left_curly, [INFO] [stdout] 506 | | contents, [INFO] [stdout] 507 | | right_curly, [INFO] [stdout] 508 | | }) [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] --> tontuna/src/parser.rs:516:12 [INFO] [stdout] | [INFO] [stdout] 512 | let mut stmts = Vec::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 516 | Ok(ast::NakedBlock { stmts }) [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] --> tontuna/src/parser.rs:650:12 [INFO] [stdout] | [INFO] [stdout] 649 | let body = self.parse_block()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 650 | Ok(ast::FnDef { [INFO] [stdout] | ____________^ [INFO] [stdout] 651 | | fn_tok, [INFO] [stdout] 652 | | name, [INFO] [stdout] 653 | | left_paren, [INFO] [stdout] ... | [INFO] [stdout] 656 | | body, [INFO] [stdout] 657 | | }) [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: aborting due to 22 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `code_markers` is never read [INFO] [stdout] --> tontuna/src/ast.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) struct Program { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 8 | pub(crate) code: NakedBlock, [INFO] [stdout] 9 | pub(crate) code_markers: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Program` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `left_paren` is never read [INFO] [stdout] --> tontuna/src/ast.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 35 | Call { [INFO] [stdout] | ---- field in this variant [INFO] [stdout] 36 | func: Box, [INFO] [stdout] 37 | left_paren: Token, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` 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 `eq` is never read [INFO] [stdout] --> tontuna/src/ast.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 60 | AssignVar { [INFO] [stdout] | --------- field in this variant [INFO] [stdout] 61 | name: Token, [INFO] [stdout] 62 | eq: Token, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` 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 `dot` and `eq` are never read [INFO] [stdout] --> tontuna/src/ast.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 65 | AssignField { [INFO] [stdout] | ----------- fields in this variant [INFO] [stdout] 66 | obj: Box, [INFO] [stdout] 67 | dot: Token, [INFO] [stdout] | ^^^ [INFO] [stdout] 68 | field: Token, [INFO] [stdout] 69 | eq: Token, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` 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 `comma` is never read [INFO] [stdout] --> tontuna/src/ast.rs:99:16 [INFO] [stdout] | [INFO] [stdout] 97 | pub(crate) struct ListItem { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 98 | pub(crate) item: T, [INFO] [stdout] 99 | pub(crate) comma: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ListItem` 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 `in_tok` is never read [INFO] [stdout] --> tontuna/src/ast.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 119 | For { [INFO] [stdout] | --- field in this variant [INFO] [stdout] ... [INFO] [stdout] 122 | in_tok: Token, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` 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 `eq` is never read [INFO] [stdout] --> tontuna/src/ast.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 131 | Let { [INFO] [stdout] | --- field in this variant [INFO] [stdout] ... [INFO] [stdout] 134 | eq: Token, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` 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 `left_curly` is never read [INFO] [stdout] --> tontuna/src/ast.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 140 | StructDef { [INFO] [stdout] | --------- field in this variant [INFO] [stdout] ... [INFO] [stdout] 143 | left_curly: Token, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` 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 `let_tok`, `colon`, and `eq` are never read [INFO] [stdout] --> tontuna/src/ast.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 173 | TypeTest { [INFO] [stdout] | -------- fields in this variant [INFO] [stdout] 174 | let_tok: Token, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 175 | name: Token, [INFO] [stdout] 176 | colon: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 177 | ty: Expr, [INFO] [stdout] 178 | eq: Token, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `IfCond` 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 `if_tok` is never read [INFO] [stdout] --> tontuna/src/ast.rs:192:9 [INFO] [stdout] | [INFO] [stdout] 190 | ElseIf { [INFO] [stdout] | ------ field in this variant [INFO] [stdout] 191 | else_tok: Token, [INFO] [stdout] 192 | if_tok: Token, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IfTail` 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 `left_paren` and `right_paren` are never read [INFO] [stdout] --> tontuna/src/ast.rs:216:16 [INFO] [stdout] | [INFO] [stdout] 213 | pub(crate) struct FnDef { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 216 | pub(crate) left_paren: Token, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 217 | pub(crate) params: CommaList, [INFO] [stdout] 218 | pub(crate) right_paren: Token, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FnDef` 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] --> tontuna/src/eval.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 24 | fn from(v: NativeFunc) -> Self { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | Self::NativeFunc(Rc::new(v)) [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] --> tontuna/src/eval.rs:143:21 [INFO] [stdout] | [INFO] [stdout] 142 | fn global(globals: HashMap) -> Env { [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 143 | Env::Global(Rc::new(globals.into())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tontuna/src/eval.rs:332:22 [INFO] [stdout] | [INFO] [stdout] 291 | pub(crate) fn new(source: Rc, program: Option<&ast::Program>, output: Box) -> Evaluator { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 292 | let mut globals = HashMap::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 293 | let output = Rc::new(RefCell::new(output)); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 294 | let output2 = output.clone(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 300 | let output2 = output.clone(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 326 | let builtins = BuiltinTypes::new(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 332 | globals: Env::global(globals), [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] --> tontuna/src/eval.rs:298:16 [INFO] [stdout] | [INFO] [stdout] 294 | let output2 = output.clone(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 295 | globals.insert("print".to_owned(), NativeFunc::new("print", move |values| { [INFO] [stdout] 296 | let mut output = output2.borrow_mut(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 297 | intrinsics::print(values, &mut **output)?; [INFO] [stdout] 298 | Ok(Value::Nil) [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] --> tontuna/src/eval.rs:304:16 [INFO] [stdout] | [INFO] [stdout] 300 | let output2 = output.clone(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 301 | globals.insert("println".to_owned(), NativeFunc::new("println", move |values| { [INFO] [stdout] 302 | let mut output = output2.borrow_mut(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 303 | intrinsics::println(values, &mut **output)?; [INFO] [stdout] 304 | Ok(Value::Nil) [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] --> tontuna/src/eval.rs:313:42 [INFO] [stdout] | [INFO] [stdout] 313 | .map(|s| Value::Stmt(Rc::new(Stmt { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 314 | | source: source.clone(), [INFO] [stdout] 315 | | ast: s.clone(), [INFO] [stdout] 316 | | }))) [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] --> tontuna/src/eval.rs:323:20 [INFO] [stdout] | [INFO] [stdout] 310 | let stmts = Value::List(Rc::new(List::new( [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 323 | Ok(stmts.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tontuna/src/eval/intrinsics.rs:280:17 [INFO] [stdout] | [INFO] [stdout] 240 | let children: Vec> = match &*stmt.ast { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 243 | let mut children = body.contents.stmts.clone(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 265 | let mut children = Vec::new(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 280 | Value::List(Rc::new(super::List::new( [INFO] [stdout] | _________________^ [INFO] [stdout] 281 | | children [INFO] [stdout] 282 | | .into_iter() [INFO] [stdout] 283 | | .map(|s| Value::Stmt(Rc::new(super::Stmt { [INFO] [stdout] ... | [INFO] [stdout] 287 | | .collect(), [INFO] [stdout] 288 | | ))) [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] --> tontuna/src/eval/intrinsics.rs:283:34 [INFO] [stdout] | [INFO] [stdout] 283 | .map(|s| Value::Stmt(Rc::new(super::Stmt { [INFO] [stdout] | ___________________-______________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 284 | | source: stmt.source.clone(), [INFO] [stdout] 285 | | ast: s.clone(), [INFO] [stdout] 286 | | }))) [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] --> tontuna/src/eval/intrinsics.rs:307:11 [INFO] [stdout] | [INFO] [stdout] 306 | let env = i.env.borrow().clone(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 307 | match i.eval.borrow_mut().eval_statement(&s.ast, &env) { [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] --> tontuna/src/eval/types.rs:64:16 [INFO] [stdout] | [INFO] [stdout] 59 | name: impl Into, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 60 | f: impl Fn(&[Value]) -> Result + 'static, [INFO] [stdout] | ------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 64 | f: Box::new(move |_, values| f(values)), [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] --> tontuna/src/eval/types.rs:75:16 [INFO] [stdout] | [INFO] [stdout] 69 | name: impl Into, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 70 | f: impl Fn(Rc) -> Result + 'static, [INFO] [stdout] | --------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 75 | f: Box::new(move |src, values| { [INFO] [stdout] | ________________^ [INFO] [stdout] 76 | | match values { [INFO] [stdout] 77 | | [] => f(src.clone()), [INFO] [stdout] 78 | | _ => Err(format!( [INFO] [stdout] ... | [INFO] [stdout] 83 | | } [INFO] [stdout] 84 | | }), [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] --> tontuna/src/eval/types.rs:95:16 [INFO] [stdout] | [INFO] [stdout] 89 | name: impl Into, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 90 | f: impl Fn(&Value) -> Result + 'static, [INFO] [stdout] | ----------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 95 | f: Box::new(move |_, values| { [INFO] [stdout] | ________________^ [INFO] [stdout] 96 | | match values { [INFO] [stdout] 97 | | [single] => f(single), [INFO] [stdout] 98 | | _ => Err(format!( [INFO] [stdout] ... | [INFO] [stdout] 103 | | } [INFO] [stdout] 104 | | }), [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] --> tontuna/src/eval/types.rs:115:16 [INFO] [stdout] | [INFO] [stdout] 109 | name: impl Into, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 110 | f: impl Fn(&Value, &Value) -> Result + 'static, [INFO] [stdout] | ------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 115 | f: Box::new(move |_, values| { [INFO] [stdout] | ________________^ [INFO] [stdout] 116 | | match values { [INFO] [stdout] 117 | | [a, b] => f(a, b), [INFO] [stdout] 118 | | _ => Err(format!( [INFO] [stdout] ... | [INFO] [stdout] 123 | | } [INFO] [stdout] 124 | | }), [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] --> tontuna/src/eval/types.rs:162:24 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn new(values: Vec) -> Self { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 162 | List { values: RefCell::new(values) } [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] --> tontuna/src/eval/types.rs:230:28 [INFO] [stdout] | [INFO] [stdout] 228 | let eval = super::Evaluator::new(src, None, Box::new(std::io::sink())); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 229 | let env = eval.globals.clone(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 230 | Value::Interpreter(Rc::new(Interpreter { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 231 | | eval: RefCell::new(eval), [INFO] [stdout] 232 | | env: RefCell::new(env), [INFO] [stdout] 233 | | })) [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] --> tontuna/src/parser.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | fn consume_stmts(self) -> Vec { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | / self.stmts [INFO] [stdout] 19 | | .into_iter() [INFO] [stdout] 20 | | .map(|s| match Rc::try_unwrap(s) { [INFO] [stdout] 21 | | Ok(s) => s, [INFO] [stdout] 22 | | Err(_) => panic!("statement was aliased during parsing"), [INFO] [stdout] 23 | | }) [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] --> tontuna/src/parser.rs:20:28 [INFO] [stdout] | [INFO] [stdout] 20 | .map(|s| match Rc::try_unwrap(s) { [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tontuna/src/parser.rs:284:8 [INFO] [stdout] | [INFO] [stdout] 255 | let mut elements = Vec::new(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 284 | Ok(ast::Comment { [INFO] [stdout] | ________^ [INFO] [stdout] 285 | | markers, [INFO] [stdout] 286 | | elements, [INFO] [stdout] 287 | | }) [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] --> tontuna/src/parser.rs:504:12 [INFO] [stdout] | [INFO] [stdout] 502 | let contents = self.parse_naked_block()?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 503 | let right_curly = self.expect(TokenKind::RightCurly)?; [INFO] [stdout] 504 | Ok(ast::Block { [INFO] [stdout] | ____________^ [INFO] [stdout] 505 | | left_curly, [INFO] [stdout] 506 | | contents, [INFO] [stdout] 507 | | right_curly, [INFO] [stdout] 508 | | }) [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] --> tontuna/src/parser.rs:516:12 [INFO] [stdout] | [INFO] [stdout] 512 | let mut stmts = Vec::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 516 | Ok(ast::NakedBlock { stmts }) [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] --> tontuna/src/parser.rs:650:12 [INFO] [stdout] | [INFO] [stdout] 649 | let body = self.parse_block()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 650 | Ok(ast::FnDef { [INFO] [stdout] | ____________^ [INFO] [stdout] 651 | | fn_tok, [INFO] [stdout] 652 | | name, [INFO] [stdout] 653 | | left_paren, [INFO] [stdout] ... | [INFO] [stdout] 656 | | body, [INFO] [stdout] 657 | | }) [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] [stderr] error: could not compile `tontuna` (lib) due to 23 previous errors; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 22 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tontuna` (lib test) due to 23 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b5d22f4e482a32930cfe45601c374a3b995eb863fcd95065166b5bbfb7e7c022", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5d22f4e482a32930cfe45601c374a3b995eb863fcd95065166b5bbfb7e7c022", kill_on_drop: false }` [INFO] [stdout] b5d22f4e482a32930cfe45601c374a3b995eb863fcd95065166b5bbfb7e7c022