[INFO] cloning repository https://github.com/joshua-mo-143/piratelang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/joshua-mo-143/piratelang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoshua-mo-143%2Fpiratelang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoshua-mo-143%2Fpiratelang'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 330d8b42fd89903fc3678ae96c8792a6c4402c6b [INFO] checking joshua-mo-143/piratelang against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoshua-mo-143%2Fpiratelang" "/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/joshua-mo-143/piratelang 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/joshua-mo-143/piratelang [INFO] finished tweaking git repo https://github.com/joshua-mo-143/piratelang [INFO] tweaked toml for git repo https://github.com/joshua-mo-143/piratelang written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/joshua-mo-143/piratelang 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 bytecount v0.6.8 [INFO] [stderr] Downloaded nom_locate v4.2.0 [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] c172a425adaf2547f051f104452fd48c22f2923349716de309582576461ed7c0 [INFO] running `Command { std: "docker" "start" "-a" "c172a425adaf2547f051f104452fd48c22f2923349716de309582576461ed7c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c172a425adaf2547f051f104452fd48c22f2923349716de309582576461ed7c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c172a425adaf2547f051f104452fd48c22f2923349716de309582576461ed7c0", kill_on_drop: false }` [INFO] [stdout] c172a425adaf2547f051f104452fd48c22f2923349716de309582576461ed7c0 [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] f94787fa2775a46c9da9fd244c4bd924852823a2b2472d1ec2dd6073964428e3 [INFO] running `Command { std: "docker" "start" "-a" "f94787fa2775a46c9da9fd244c4bd924852823a2b2472d1ec2dd6073964428e3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking bytecount v0.6.8 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking clap_builder v4.5.15 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.76 [INFO] [stderr] Checking nom_locate v4.2.0 [INFO] [stderr] Checking piratelang-macros v0.0.0 (/opt/rustwide/workdir/macros) [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> macros/src/lib.rs:75:20 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn load_module(args: TokenStream, input: TokenStream) -> TokenStream { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ident` and `equals` are never read [INFO] [stdout] --> macros/src/lib.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | struct ModuleLoadArgs { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 9 | pub ident: Ident, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | pub equals: Token![=], [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> macros/src/lib.rs:75:20 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn load_module(args: TokenStream, input: TokenStream) -> TokenStream { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ident` and `equals` are never read [INFO] [stdout] --> macros/src/lib.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | struct ModuleLoadArgs { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 9 | pub ident: Ident, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | pub equals: Token![=], [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> macros/src/lib.rs:75:20 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn load_module(args: TokenStream, input: TokenStream) -> TokenStream { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ident` and `equals` are never read [INFO] [stdout] --> macros/src/lib.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | struct ModuleLoadArgs { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 9 | pub ident: Ident, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | pub equals: Token![=], [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking piratelang-core v0.0.0 (/opt/rustwide/workdir/core) [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> core/src/parser.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::symbols::Module` [INFO] [stdout] --> core/src/parser.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use crate::symbols::Module; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> core/src/stdlib/io.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | path::{Path, PathBuf}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> core/src/parser.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::symbols::Module` [INFO] [stdout] --> core/src/parser.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use crate::symbols::Module; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> core/src/stdlib/io.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | path::{Path, PathBuf}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fn_name` [INFO] [stdout] --> core/src/symbols.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | fn_name, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `fn_name: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MathOps` is more private than the item `Expr::MathOps::0` [INFO] [stdout] --> core/src/parser.rs:251:13 [INFO] [stdout] | [INFO] [stdout] 251 | MathOps(MathOps), [INFO] [stdout] | ^^^^^^^ field `Expr::MathOps::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MathOps` is only usable at visibility `pub(self)` [INFO] [stdout] --> core/src/parser.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | enum MathOps { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Typename` is more private than the item `Expr::Typename::0` [INFO] [stdout] --> core/src/parser.rs:255:14 [INFO] [stdout] | [INFO] [stdout] 255 | Typename(Typename), [INFO] [stdout] | ^^^^^^^^ field `Expr::Typename::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Typename` is only usable at visibility `pub(self)` [INFO] [stdout] --> core/src/parser.rs:219:1 [INFO] [stdout] | [INFO] [stdout] 219 | enum Typename { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `EqOps` is more private than the item `Expr::IfCond::eq_op` [INFO] [stdout] --> core/src/parser.rs:287:9 [INFO] [stdout] | [INFO] [stdout] 287 | eq_op: EqOps, [INFO] [stdout] | ^^^^^^^^^^^^ field `Expr::IfCond::eq_op` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `EqOps` is only usable at visibility `pub(self)` [INFO] [stdout] --> core/src/parser.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | enum EqOps { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Add`, `Minus`, `Divide`, and `Multiply` are never constructed [INFO] [stdout] --> core/src/parser.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 37 | enum MathOps { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 38 | Add, [INFO] [stdout] | ^^^ [INFO] [stdout] 39 | Minus, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 40 | Divide, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 41 | Multiply, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MathOps` 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: variants `Float`, `List`, and `Struct` are never constructed [INFO] [stdout] --> core/src/parser.rs:222:5 [INFO] [stdout] | [INFO] [stdout] 219 | enum Typename { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 222 | Float, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 223 | Bool, [INFO] [stdout] 224 | List, [INFO] [stdout] | ^^^^ [INFO] [stdout] 225 | Struct(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Typename` 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: function `parse_struct_ident_expr` is never used [INFO] [stdout] --> core/src/parser.rs:596:4 [INFO] [stdout] | [INFO] [stdout] 596 | fn parse_struct_ident_expr(s: Span) -> NomResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_return` is never used [INFO] [stdout] --> core/src/parser.rs:818:4 [INFO] [stdout] | [INFO] [stdout] 818 | fn parse_return(s: Span) -> NomResult { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `module_name` and `fun` are never read [INFO] [stdout] --> core/src/symbols.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Function { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 19 | module_name: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 20 | fun: Box, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Function` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fn_name` [INFO] [stdout] --> core/src/symbols.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | fn_name, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `fn_name: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking piratelang-repl v0.0.0 (/opt/rustwide/workdir/repl) [INFO] [stdout] warning: type `MathOps` is more private than the item `parser::Expr::MathOps::0` [INFO] [stdout] --> core/src/parser.rs:251:13 [INFO] [stdout] | [INFO] [stdout] 251 | MathOps(MathOps), [INFO] [stdout] | ^^^^^^^ field `parser::Expr::MathOps::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MathOps` is only usable at visibility `pub(self)` [INFO] [stdout] --> core/src/parser.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | enum MathOps { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `parser::Typename` is more private than the item `parser::Expr::Typename::0` [INFO] [stdout] --> core/src/parser.rs:255:14 [INFO] [stdout] | [INFO] [stdout] 255 | Typename(Typename), [INFO] [stdout] | ^^^^^^^^ field `parser::Expr::Typename::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `parser::Typename` is only usable at visibility `pub(self)` [INFO] [stdout] --> core/src/parser.rs:219:1 [INFO] [stdout] | [INFO] [stdout] 219 | enum Typename { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `EqOps` is more private than the item `parser::Expr::IfCond::eq_op` [INFO] [stdout] --> core/src/parser.rs:287:9 [INFO] [stdout] | [INFO] [stdout] 287 | eq_op: EqOps, [INFO] [stdout] | ^^^^^^^^^^^^ field `parser::Expr::IfCond::eq_op` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `EqOps` is only usable at visibility `pub(self)` [INFO] [stdout] --> core/src/parser.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | enum EqOps { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Add`, `Minus`, `Divide`, and `Multiply` are never constructed [INFO] [stdout] --> core/src/parser.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 37 | enum MathOps { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 38 | Add, [INFO] [stdout] | ^^^ [INFO] [stdout] 39 | Minus, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 40 | Divide, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 41 | Multiply, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MathOps` 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: variants `Float`, `List`, and `Struct` are never constructed [INFO] [stdout] --> core/src/parser.rs:222:5 [INFO] [stdout] | [INFO] [stdout] 219 | enum Typename { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 222 | Float, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 223 | Bool, [INFO] [stdout] 224 | List, [INFO] [stdout] | ^^^^ [INFO] [stdout] 225 | Struct(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Typename` 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: function `parse_struct_ident_expr` is never used [INFO] [stdout] --> core/src/parser.rs:596:4 [INFO] [stdout] | [INFO] [stdout] 596 | fn parse_struct_ident_expr(s: Span) -> NomResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_return` is never used [INFO] [stdout] --> core/src/parser.rs:818:4 [INFO] [stdout] | [INFO] [stdout] 818 | fn parse_return(s: Span) -> NomResult { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `module_name` and `fun` are never read [INFO] [stdout] --> core/src/symbols.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Function { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 19 | module_name: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 20 | fun: Box, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Function` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking clap v4.5.16 [INFO] [stderr] Checking piratelang-cli v0.0.0 (/opt/rustwide/workdir/cli) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.65s [INFO] running `Command { std: "docker" "inspect" "f94787fa2775a46c9da9fd244c4bd924852823a2b2472d1ec2dd6073964428e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f94787fa2775a46c9da9fd244c4bd924852823a2b2472d1ec2dd6073964428e3", kill_on_drop: false }` [INFO] [stdout] f94787fa2775a46c9da9fd244c4bd924852823a2b2472d1ec2dd6073964428e3 [INFO] checking joshua-mo-143/piratelang 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%2Fjoshua-mo-143%2Fpiratelang" "/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/joshua-mo-143/piratelang 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/joshua-mo-143/piratelang [INFO] finished tweaking git repo https://github.com/joshua-mo-143/piratelang [INFO] tweaked toml for git repo https://github.com/joshua-mo-143/piratelang written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/joshua-mo-143/piratelang 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] 19f8baa9d9a15425c4f4634c8cccf941e1aa3d976746707251c602e2d8df6ca7 [INFO] running `Command { std: "docker" "start" "-a" "19f8baa9d9a15425c4f4634c8cccf941e1aa3d976746707251c602e2d8df6ca7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "19f8baa9d9a15425c4f4634c8cccf941e1aa3d976746707251c602e2d8df6ca7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19f8baa9d9a15425c4f4634c8cccf941e1aa3d976746707251c602e2d8df6ca7", kill_on_drop: false }` [INFO] [stdout] 19f8baa9d9a15425c4f4634c8cccf941e1aa3d976746707251c602e2d8df6ca7 [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] d2deeaea8ac07f330728afc3000d80d0ce45be5cdd577728181214450ea9bb13 [INFO] running `Command { std: "docker" "start" "-a" "d2deeaea8ac07f330728afc3000d80d0ce45be5cdd577728181214450ea9bb13", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking bytecount v0.6.8 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking clap_builder v4.5.15 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Checking syn v2.0.76 [INFO] [stderr] Checking nom_locate v4.2.0 [INFO] [stderr] Checking piratelang-macros v0.0.0 (/opt/rustwide/workdir/macros) [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> macros/src/lib.rs:75:20 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn load_module(args: TokenStream, input: TokenStream) -> TokenStream { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ident` and `equals` are never read [INFO] [stdout] --> macros/src/lib.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | struct ModuleLoadArgs { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 9 | pub ident: Ident, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | pub equals: Token![=], [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> macros/src/lib.rs:75:20 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn load_module(args: TokenStream, input: TokenStream) -> TokenStream { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ident` and `equals` are never read [INFO] [stdout] --> macros/src/lib.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | struct ModuleLoadArgs { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 9 | pub ident: Ident, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | pub equals: Token![=], [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> macros/src/lib.rs:75:20 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn load_module(args: TokenStream, input: TokenStream) -> TokenStream { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ident` and `equals` are never read [INFO] [stdout] --> macros/src/lib.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | struct ModuleLoadArgs { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 9 | pub ident: Ident, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | pub equals: Token![=], [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking piratelang-core v0.0.0 (/opt/rustwide/workdir/core) [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> core/src/parser.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> core/src/parser.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::symbols::Module` [INFO] [stdout] --> core/src/parser.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use crate::symbols::Module; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::symbols::Module` [INFO] [stdout] --> core/src/parser.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use crate::symbols::Module; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> core/src/stdlib/io.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | path::{Path, PathBuf}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> core/src/stdlib/io.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | path::{Path, PathBuf}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fn_name` [INFO] [stdout] --> core/src/symbols.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | fn_name, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `fn_name: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MathOps` is more private than the item `Expr::MathOps::0` [INFO] [stdout] --> core/src/parser.rs:251:13 [INFO] [stdout] | [INFO] [stdout] 251 | MathOps(MathOps), [INFO] [stdout] | ^^^^^^^ field `Expr::MathOps::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MathOps` is only usable at visibility `pub(self)` [INFO] [stdout] --> core/src/parser.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | enum MathOps { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Typename` is more private than the item `Expr::Typename::0` [INFO] [stdout] --> core/src/parser.rs:255:14 [INFO] [stdout] | [INFO] [stdout] 255 | Typename(Typename), [INFO] [stdout] | ^^^^^^^^ field `Expr::Typename::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Typename` is only usable at visibility `pub(self)` [INFO] [stdout] --> core/src/parser.rs:219:1 [INFO] [stdout] | [INFO] [stdout] 219 | enum Typename { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `EqOps` is more private than the item `Expr::IfCond::eq_op` [INFO] [stdout] --> core/src/parser.rs:287:9 [INFO] [stdout] | [INFO] [stdout] 287 | eq_op: EqOps, [INFO] [stdout] | ^^^^^^^^^^^^ field `Expr::IfCond::eq_op` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `EqOps` is only usable at visibility `pub(self)` [INFO] [stdout] --> core/src/parser.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | enum EqOps { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Add`, `Minus`, `Divide`, and `Multiply` are never constructed [INFO] [stdout] --> core/src/parser.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 37 | enum MathOps { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 38 | Add, [INFO] [stdout] | ^^^ [INFO] [stdout] 39 | Minus, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 40 | Divide, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 41 | Multiply, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MathOps` 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: variants `Float`, `List`, and `Struct` are never constructed [INFO] [stdout] --> core/src/parser.rs:222:5 [INFO] [stdout] | [INFO] [stdout] 219 | enum Typename { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 222 | Float, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 223 | Bool, [INFO] [stdout] 224 | List, [INFO] [stdout] | ^^^^ [INFO] [stdout] 225 | Struct(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Typename` 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: function `parse_struct_ident_expr` is never used [INFO] [stdout] --> core/src/parser.rs:596:4 [INFO] [stdout] | [INFO] [stdout] 596 | fn parse_struct_ident_expr(s: Span) -> NomResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_return` is never used [INFO] [stdout] --> core/src/parser.rs:818:4 [INFO] [stdout] | [INFO] [stdout] 818 | fn parse_return(s: Span) -> NomResult { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `module_name` and `fun` are never read [INFO] [stdout] --> core/src/symbols.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Function { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 19 | module_name: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 20 | fun: Box, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Function` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> core/src/parser.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 97 | fn compare_neq(self, expr1: Expr, expr2: Expr) -> Expr { [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] 101 | Expr::Primitive(Primitive::Bool(false)) [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] --> core/src/parser.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 131 | let (s, expr1) = parse_expr(s)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 135 | let (s, expr2) = parse_expr(s)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 136 | [INFO] [stdout] 137 | Ok(( [INFO] [stdout] | ________^ [INFO] [stdout] 138 | | s, [INFO] [stdout] 139 | | Expr::IfCond { [INFO] [stdout] 140 | | expr1: Box::new(expr1), [INFO] [stdout] ... | [INFO] [stdout] 143 | | }, [INFO] [stdout] 144 | | )) [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] | [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] --> core/src/parser.rs:348:25 [INFO] [stdout] | [INFO] [stdout] 347 | pub fn list(list: Vec) -> Self { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 348 | Self::Primitive(Primitive::List(list)) [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] --> core/src/parser.rs:567:8 [INFO] [stdout] | [INFO] [stdout] 558 | let (s, cond) = parse_compare(s)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 563 | let (s, then) = parse_expr(s)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 567 | Ok((s, Expr::If(Box::new(cond), Box::new(then)))) [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] --> core/src/parser.rs:580:8 [INFO] [stdout] | [INFO] [stdout] 576 | let (s, caller) = alt((parse_var_expr, parse_primitive))(s)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 577 | let (s, _) = tag(".")(s)?; [INFO] [stdout] 578 | let (s, fn_calls) = separated_list0(char('.'), parse_fn_call)(s)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 579 | [INFO] [stdout] 580 | Ok(( [INFO] [stdout] | ________^ [INFO] [stdout] 581 | | s, [INFO] [stdout] 582 | | Expr::ChainedFnCall { [INFO] [stdout] 583 | | caller: Box::new(caller), [INFO] [stdout] 584 | | fn_calls, [INFO] [stdout] 585 | | }, [INFO] [stdout] 586 | | )) [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] | [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] --> core/src/parser.rs:617:8 [INFO] [stdout] | [INFO] [stdout] 605 | let mut parser = delimited( [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 615 | let (s, args) = parser(s)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 616 | [INFO] [stdout] 617 | Ok((s, Expr::StructInit { name, args })) [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] --> core/src/parser.rs:642:8 [INFO] [stdout] | [INFO] [stdout] 630 | let mut parser = delimited( [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 642 | Ok((s, Expr::StructDecl { name, fields })) [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] --> core/src/parser.rs:681:8 [INFO] [stdout] | [INFO] [stdout] 670 | let mut parser = delimited( [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 676 | let (s, functions) = parser(s)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 681 | Ok((s, Expr::Extends { name, functions })) [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] --> core/src/parser.rs:716:8 [INFO] [stdout] | [INFO] [stdout] 694 | let (s, int1) = parse_int(s)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 698 | let (s, int2) = parse_int(s)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 716 | Ok((s, Expr::Primitive(res.into()))) [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] --> core/src/parser.rs:723:8 [INFO] [stdout] | [INFO] [stdout] 720 | let mut parser = delimited(char('['), separated_list0(char(','), parse_expr), char(']')); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 721 | [INFO] [stdout] 722 | let (s, list_items) = parser(s)?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 723 | Ok((s, Expr::Primitive(Primitive::List(list_items)))) [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] --> core/src/parser.rs:743:8 [INFO] [stdout] | [INFO] [stdout] 735 | let mut parser = delimited( [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 743 | Ok((s, Expr::Primitive(string.fragment().to_string().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] --> core/src/parser.rs:815:8 [INFO] [stdout] | [INFO] [stdout] 804 | let mut statements = Vec::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 815 | Ok((s, Expr::FnBody(statements))) [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] --> core/src/parser.rs:823:8 [INFO] [stdout] | [INFO] [stdout] 821 | let (s, expr) = parse_expr(s)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 822 | [INFO] [stdout] 823 | Ok((s, expr)) [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] --> core/src/parser.rs:840:8 [INFO] [stdout] | [INFO] [stdout] 838 | let (s, body) = parse_fn_body(s)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 839 | [INFO] [stdout] 840 | Ok(( [INFO] [stdout] | ________^ [INFO] [stdout] 841 | | s, [INFO] [stdout] 842 | | Expr::FnDecl { [INFO] [stdout] 843 | | fn_name, [INFO] [stdout] ... | [INFO] [stdout] 846 | | }, [INFO] [stdout] 847 | | )) [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] --> core/src/parser.rs:857:8 [INFO] [stdout] | [INFO] [stdout] 853 | let mut parser = delimited(char('('), separated_list0(char(','), parse_expr), char(')')); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 854 | [INFO] [stdout] 855 | let (s, params) = parser(s)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 856 | [INFO] [stdout] 857 | Ok(( [INFO] [stdout] | ________^ [INFO] [stdout] 858 | | s, [INFO] [stdout] 859 | | Expr::FnCall { [INFO] [stdout] 860 | | name: fn_name, [INFO] [stdout] 861 | | params, [INFO] [stdout] 862 | | }, [INFO] [stdout] 863 | | )) [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] --> core/src/parser.rs:879:8 [INFO] [stdout] | [INFO] [stdout] 874 | let (s, (name, expr)) = pair( [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 879 | Ok(( [INFO] [stdout] | ________^ [INFO] [stdout] 880 | | s, [INFO] [stdout] 881 | | Expr::Assign { [INFO] [stdout] 882 | | name, [INFO] [stdout] 883 | | expr: Box::new(expr), [INFO] [stdout] 884 | | }, [INFO] [stdout] 885 | | )) [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] --> core/src/symbols.rs:116:25 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn init_struct(&self, name: String, args: Vec) -> Expr { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 102 | let field_args: Vec = args [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 111 | let struct_inner = Struct { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 116 | Expr::Primitive(Primitive::Struct(struct_inner)) [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] --> core/src/symbols.rs:124:15 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn call_fn(&self, name: String, fn_args: Vec) -> Box { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 124 | match *function_as_expr.to_owned() { [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] --> core/src/chained_methods/string.rs:42:18 [INFO] [stdout] | [INFO] [stdout] 28 | fn append(extra_args: Vec) -> Box { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | check_args_num!(2, extra_args.len()); [INFO] [stdout] 30 | let mut extra_args = extra_args.into_iter(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 42 | Box::new(Expr::Primitive(Primitive::String(str.to_owned()))) [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] --> core/src/stdlib/io.rs:26:18 [INFO] [stdout] | [INFO] [stdout] 16 | fn read_file_str(s: Vec) -> Box { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 26 | Box::new(Expr::string(file_contents)) [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] --> core/src/stdlib/logging.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 11 | fn print(s: Vec) -> Box { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 16 | Box::new(Expr::Primitive(Primitive::None)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 21 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `piratelang-core` (lib) due to 22 previous errors; 12 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `fn_name` [INFO] [stdout] --> core/src/symbols.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | fn_name, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `fn_name: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MathOps` is more private than the item `parser::Expr::MathOps::0` [INFO] [stdout] --> core/src/parser.rs:251:13 [INFO] [stdout] | [INFO] [stdout] 251 | MathOps(MathOps), [INFO] [stdout] | ^^^^^^^ field `parser::Expr::MathOps::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MathOps` is only usable at visibility `pub(self)` [INFO] [stdout] --> core/src/parser.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | enum MathOps { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `parser::Typename` is more private than the item `parser::Expr::Typename::0` [INFO] [stdout] --> core/src/parser.rs:255:14 [INFO] [stdout] | [INFO] [stdout] 255 | Typename(Typename), [INFO] [stdout] | ^^^^^^^^ field `parser::Expr::Typename::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `parser::Typename` is only usable at visibility `pub(self)` [INFO] [stdout] --> core/src/parser.rs:219:1 [INFO] [stdout] | [INFO] [stdout] 219 | enum Typename { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `EqOps` is more private than the item `parser::Expr::IfCond::eq_op` [INFO] [stdout] --> core/src/parser.rs:287:9 [INFO] [stdout] | [INFO] [stdout] 287 | eq_op: EqOps, [INFO] [stdout] | ^^^^^^^^^^^^ field `parser::Expr::IfCond::eq_op` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `EqOps` is only usable at visibility `pub(self)` [INFO] [stdout] --> core/src/parser.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | enum EqOps { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Add`, `Minus`, `Divide`, and `Multiply` are never constructed [INFO] [stdout] --> core/src/parser.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 37 | enum MathOps { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 38 | Add, [INFO] [stdout] | ^^^ [INFO] [stdout] 39 | Minus, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 40 | Divide, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 41 | Multiply, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MathOps` 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: variants `Float`, `List`, and `Struct` are never constructed [INFO] [stdout] --> core/src/parser.rs:222:5 [INFO] [stdout] | [INFO] [stdout] 219 | enum Typename { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 222 | Float, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 223 | Bool, [INFO] [stdout] 224 | List, [INFO] [stdout] | ^^^^ [INFO] [stdout] 225 | Struct(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Typename` 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: function `parse_struct_ident_expr` is never used [INFO] [stdout] --> core/src/parser.rs:596:4 [INFO] [stdout] | [INFO] [stdout] 596 | fn parse_struct_ident_expr(s: Span) -> NomResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_return` is never used [INFO] [stdout] --> core/src/parser.rs:818:4 [INFO] [stdout] | [INFO] [stdout] 818 | fn parse_return(s: Span) -> NomResult { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `module_name` and `fun` are never read [INFO] [stdout] --> core/src/symbols.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Function { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 19 | module_name: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 20 | fun: Box, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Function` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> core/src/parser.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 97 | fn compare_neq(self, expr1: Expr, expr2: Expr) -> Expr { [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] 101 | Expr::Primitive(Primitive::Bool(false)) [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] --> core/src/parser.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 131 | let (s, expr1) = parse_expr(s)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 135 | let (s, expr2) = parse_expr(s)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 136 | [INFO] [stdout] 137 | Ok(( [INFO] [stdout] | ________^ [INFO] [stdout] 138 | | s, [INFO] [stdout] 139 | | Expr::IfCond { [INFO] [stdout] 140 | | expr1: Box::new(expr1), [INFO] [stdout] ... | [INFO] [stdout] 143 | | }, [INFO] [stdout] 144 | | )) [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] | [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] --> core/src/parser.rs:348:25 [INFO] [stdout] | [INFO] [stdout] 347 | pub fn list(list: Vec) -> Self { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 348 | Self::Primitive(Primitive::List(list)) [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] --> core/src/parser.rs:567:8 [INFO] [stdout] | [INFO] [stdout] 558 | let (s, cond) = parse_compare(s)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 563 | let (s, then) = parse_expr(s)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 567 | Ok((s, Expr::If(Box::new(cond), Box::new(then)))) [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] --> core/src/parser.rs:580:8 [INFO] [stdout] | [INFO] [stdout] 576 | let (s, caller) = alt((parse_var_expr, parse_primitive))(s)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 577 | let (s, _) = tag(".")(s)?; [INFO] [stdout] 578 | let (s, fn_calls) = separated_list0(char('.'), parse_fn_call)(s)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 579 | [INFO] [stdout] 580 | Ok(( [INFO] [stdout] | ________^ [INFO] [stdout] 581 | | s, [INFO] [stdout] 582 | | Expr::ChainedFnCall { [INFO] [stdout] 583 | | caller: Box::new(caller), [INFO] [stdout] 584 | | fn_calls, [INFO] [stdout] 585 | | }, [INFO] [stdout] 586 | | )) [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] | [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] --> core/src/parser.rs:617:8 [INFO] [stdout] | [INFO] [stdout] 605 | let mut parser = delimited( [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 615 | let (s, args) = parser(s)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 616 | [INFO] [stdout] 617 | Ok((s, Expr::StructInit { name, args })) [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] --> core/src/parser.rs:642:8 [INFO] [stdout] | [INFO] [stdout] 630 | let mut parser = delimited( [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 642 | Ok((s, Expr::StructDecl { name, fields })) [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] --> core/src/parser.rs:681:8 [INFO] [stdout] | [INFO] [stdout] 670 | let mut parser = delimited( [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 676 | let (s, functions) = parser(s)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 681 | Ok((s, Expr::Extends { name, functions })) [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] --> core/src/parser.rs:716:8 [INFO] [stdout] | [INFO] [stdout] 694 | let (s, int1) = parse_int(s)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 698 | let (s, int2) = parse_int(s)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 716 | Ok((s, Expr::Primitive(res.into()))) [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] --> core/src/parser.rs:723:8 [INFO] [stdout] | [INFO] [stdout] 720 | let mut parser = delimited(char('['), separated_list0(char(','), parse_expr), char(']')); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 721 | [INFO] [stdout] 722 | let (s, list_items) = parser(s)?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 723 | Ok((s, Expr::Primitive(Primitive::List(list_items)))) [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] --> core/src/parser.rs:743:8 [INFO] [stdout] | [INFO] [stdout] 735 | let mut parser = delimited( [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 743 | Ok((s, Expr::Primitive(string.fragment().to_string().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] --> core/src/parser.rs:815:8 [INFO] [stdout] | [INFO] [stdout] 804 | let mut statements = Vec::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 815 | Ok((s, Expr::FnBody(statements))) [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] --> core/src/parser.rs:823:8 [INFO] [stdout] | [INFO] [stdout] 821 | let (s, expr) = parse_expr(s)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 822 | [INFO] [stdout] 823 | Ok((s, expr)) [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] --> core/src/parser.rs:840:8 [INFO] [stdout] | [INFO] [stdout] 838 | let (s, body) = parse_fn_body(s)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 839 | [INFO] [stdout] 840 | Ok(( [INFO] [stdout] | ________^ [INFO] [stdout] 841 | | s, [INFO] [stdout] 842 | | Expr::FnDecl { [INFO] [stdout] 843 | | fn_name, [INFO] [stdout] ... | [INFO] [stdout] 846 | | }, [INFO] [stdout] 847 | | )) [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] --> core/src/parser.rs:857:8 [INFO] [stdout] | [INFO] [stdout] 853 | let mut parser = delimited(char('('), separated_list0(char(','), parse_expr), char(')')); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 854 | [INFO] [stdout] 855 | let (s, params) = parser(s)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 856 | [INFO] [stdout] 857 | Ok(( [INFO] [stdout] | ________^ [INFO] [stdout] 858 | | s, [INFO] [stdout] 859 | | Expr::FnCall { [INFO] [stdout] 860 | | name: fn_name, [INFO] [stdout] 861 | | params, [INFO] [stdout] 862 | | }, [INFO] [stdout] 863 | | )) [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] --> core/src/parser.rs:879:8 [INFO] [stdout] | [INFO] [stdout] 874 | let (s, (name, expr)) = pair( [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 879 | Ok(( [INFO] [stdout] | ________^ [INFO] [stdout] 880 | | s, [INFO] [stdout] 881 | | Expr::Assign { [INFO] [stdout] 882 | | name, [INFO] [stdout] 883 | | expr: Box::new(expr), [INFO] [stdout] 884 | | }, [INFO] [stdout] 885 | | )) [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] --> core/src/parser.rs:1007:13 [INFO] [stdout] | [INFO] [stdout] 1003 | let (_, expr) = parse_chained_fn_call(span).unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1007 | / Expr::ChainedFnCall { [INFO] [stdout] 1008 | | caller: Box::new(Expr::Primitive(Primitive::String("Meme".into()))), [INFO] [stdout] 1009 | | fn_calls: vec![ [INFO] [stdout] 1010 | | Expr::FnCall { [INFO] [stdout] ... | [INFO] [stdout] 1018 | | ] [INFO] [stdout] 1019 | | } [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] --> core/src/symbols.rs:116:25 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn init_struct(&self, name: String, args: Vec) -> Expr { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 102 | let field_args: Vec = args [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 111 | let struct_inner = Struct { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 116 | Expr::Primitive(Primitive::Struct(struct_inner)) [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] --> core/src/symbols.rs:124:15 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn call_fn(&self, name: String, fn_args: Vec) -> Box { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 124 | match *function_as_expr.to_owned() { [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] --> core/src/chained_methods/string.rs:42:18 [INFO] [stdout] | [INFO] [stdout] 28 | fn append(extra_args: Vec) -> Box { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | check_args_num!(2, extra_args.len()); [INFO] [stdout] 30 | let mut extra_args = extra_args.into_iter(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 42 | Box::new(Expr::Primitive(Primitive::String(str.to_owned()))) [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] --> core/src/stdlib/io.rs:26:18 [INFO] [stdout] | [INFO] [stdout] 16 | fn read_file_str(s: Vec) -> Box { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 26 | Box::new(Expr::string(file_contents)) [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] --> core/src/stdlib/logging.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 11 | fn print(s: Vec) -> Box { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 16 | Box::new(Expr::Primitive(Primitive::None)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 22 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `piratelang-core` (lib test) due to 23 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d2deeaea8ac07f330728afc3000d80d0ce45be5cdd577728181214450ea9bb13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2deeaea8ac07f330728afc3000d80d0ce45be5cdd577728181214450ea9bb13", kill_on_drop: false }` [INFO] [stdout] d2deeaea8ac07f330728afc3000d80d0ce45be5cdd577728181214450ea9bb13