[INFO] cloning repository https://github.com/eyelash/superscript [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/eyelash/superscript" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feyelash%2Fsuperscript", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feyelash%2Fsuperscript'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 136dc3bdf197af4fde218546c12b1ff16c9ad1ad [INFO] checking eyelash/superscript against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feyelash%2Fsuperscript" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/eyelash/superscript 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/eyelash/superscript [INFO] finished tweaking git repo https://github.com/eyelash/superscript [INFO] tweaked toml for git repo https://github.com/eyelash/superscript written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/eyelash/superscript already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] ed3c37b7229930e61ff7f271957e215a101695ca7246bb843af3c8528311e65d [INFO] running `Command { std: "docker" "start" "-a" "ed3c37b7229930e61ff7f271957e215a101695ca7246bb843af3c8528311e65d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ed3c37b7229930e61ff7f271957e215a101695ca7246bb843af3c8528311e65d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed3c37b7229930e61ff7f271957e215a101695ca7246bb843af3c8528311e65d", kill_on_drop: false }` [INFO] [stdout] ed3c37b7229930e61ff7f271957e215a101695ca7246bb843af3c8528311e65d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 27989b74281373bc5026057471757f9db76f8af7cb849f93ad32b1aa683c737e [INFO] running `Command { std: "docker" "start" "-a" "27989b74281373bc5026057471757f9db76f8af7cb849f93ad32b1aa683c737e", kill_on_drop: false }` [INFO] [stderr] Checking superscript v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition: `choice` [INFO] [stdout] --> src/parser.rs:163:14 [INFO] [stdout] | [INFO] [stdout] 163 | macro_rules! choice { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/type_checker.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Location` [INFO] [stdout] --> src/type_checker.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::error::{Error, Location}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ParseResult`, `choice`, and `optional` [INFO] [stdout] --> src/main.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | use parser::{Parse, optional, repeat, not, peek, sequence, choice, ParseResult}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `choice` [INFO] [stdout] --> src/parser.rs:163:14 [INFO] [stdout] | [INFO] [stdout] 163 | macro_rules! choice { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/type_checker.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Location` [INFO] [stdout] --> src/type_checker.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::error::{Error, Location}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ParseResult`, `choice`, and `optional` [INFO] [stdout] --> src/main.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | use parser::{Parse, optional, repeat, not, peek, sequence, choice, ParseResult}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/printer.rs:86:51 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn indented(&mut self, mut f: F) { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/type_checker.rs:88:10 [INFO] [stdout] | [INFO] [stdout] 88 | Number(s) => Ok(Type::Number), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/printer.rs:86:51 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn indented(&mut self, mut f: F) { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/codegen/js.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | for (name, ty) in &class.fields { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> src/codegen/js.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | for (name, ty) in &class.fields { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/type_checker.rs:88:10 [INFO] [stdout] | [INFO] [stdout] 88 | Number(s) => Ok(Type::Number), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:77:32 [INFO] [stdout] | [INFO] [stdout] 77 | fn parse(&mut self, mut p: P) -> Result<(&'a str, Location), Error> { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/codegen/js.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | for (name, ty) in &class.fields { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> src/codegen/js.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | for (name, ty) in &class.fields { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:77:32 [INFO] [stdout] | [INFO] [stdout] 77 | fn parse(&mut self, mut p: P) -> Result<(&'a str, Location), Error> { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `UnaryPostfix` is never constructed [INFO] [stdout] --> src/main.rs:18:2 [INFO] [stdout] | [INFO] [stdout] 14 | enum OperatorLevel { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | UnaryPostfix(&'static [UnaryOperator]), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Optional` is never constructed [INFO] [stdout] --> src/parser.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | struct Optional

(P); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `optional` is never used [INFO] [stdout] --> src/parser.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn optional(p: P) -> impl Parse { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FunctionParser` is never constructed [INFO] [stdout] --> src/parser.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 106 | struct FunctionParser(F); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `from_function` is never used [INFO] [stdout] --> src/parser.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn from_function Option<()>>(f: F) -> impl Parse { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Choice` is never constructed [INFO] [stdout] --> src/parser.rs:146:8 [INFO] [stdout] | [INFO] [stdout] 146 | struct Choice(P0, P1); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `choice0` is never used [INFO] [stdout] --> src/parser.rs:160:8 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn choice0(p0: P0, p1: P1) -> impl Parse { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse` is never used [INFO] [stdout] --> src/parser.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn parse<'a, P: Parse>(mut p: P, s: &'a str) -> Option<(&'a str, &'a str)> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_error_message` is never used [INFO] [stdout] --> src/parser.rs:219:5 [INFO] [stdout] | [INFO] [stdout] 218 | pub trait ParseResult { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] 219 | fn set_error_message>(self, msg: S) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `increase_indentation` and `decrease_indentation` are never used [INFO] [stdout] --> src/printer.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 66 | impl Printer { [INFO] [stdout] | ---------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn increase_indentation(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn decrease_indentation(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_main_function` is never used [INFO] [stdout] --> src/ast.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 17 | impl <'a> Program<'a> { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn get_main_function(&self) -> Option<&Function<'a>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_constructor` is never used [INFO] [stdout] --> src/ast.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 59 | impl <'a> Class<'a> { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn get_constructor(&self) -> Option<&Function<'a>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/codegen/js.rs:15:2 [INFO] [stdout] | [INFO] [stdout] 15 | printer.println(format_args!("function {}({}) {{", function.name, comma_separated(arguments))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 15 | let _ = printer.println(format_args!("function {}({}) {{", function.name, comma_separated(arguments))); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/codegen/js.rs:21:2 [INFO] [stdout] | [INFO] [stdout] 21 | printer.println("}"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 21 | let _ = printer.println("}"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/codegen/js.rs:25:2 [INFO] [stdout] | [INFO] [stdout] 25 | printer.println(format_args!("class {} {{", class.name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 25 | let _ = printer.println(format_args!("class {} {{", class.name)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/codegen/js.rs:34:2 [INFO] [stdout] | [INFO] [stdout] 34 | printer.println("}"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 34 | let _ = printer.println("}"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/codegen/js.rs:39:2 [INFO] [stdout] | [INFO] [stdout] 39 | printer.println(format_args!("{}({}) {{", function.name, comma_separated(arguments))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 39 | let _ = printer.println(format_args!("{}({}) {{", function.name, comma_separated(arguments))); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/codegen/js.rs:45:2 [INFO] [stdout] | [INFO] [stdout] 45 | printer.println("}"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 45 | let _ = printer.println("}"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/codegen/js.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | printer.println(format_args!("let {} = {};", name, DisplayExpression(expression))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 51 | let _ = printer.println(format_args!("let {} = {};", name, DisplayExpression(expression))); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/codegen/js.rs:54:4 [INFO] [stdout] | [INFO] [stdout] 54 | printer.println(format_args!("if ({})", DisplayExpression(condition))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 54 | let _ = printer.println(format_args!("if ({})", DisplayExpression(condition))); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/codegen/js.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | printer.println("else"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 57 | let _ = printer.println("else"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/codegen/js.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | printer.println(format_args!("while ({})", DisplayExpression(condition))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 62 | let _ = printer.println(format_args!("while ({})", DisplayExpression(condition))); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/codegen/js.rs:66:4 [INFO] [stdout] | [INFO] [stdout] 66 | printer.println(format_args!("return {};", DisplayExpression(expression))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 66 | let _ = printer.println(format_args!("return {};", DisplayExpression(expression))); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/codegen/js.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | printer.println(format_args!("{};", DisplayExpression(expression))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 69 | let _ = printer.println(format_args!("{};", DisplayExpression(expression))); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/codegen/js.rs:72:4 [INFO] [stdout] | [INFO] [stdout] 72 | printer.println('{'); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 72 | let _ = printer.println('{'); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/codegen/js.rs:78:4 [INFO] [stdout] | [INFO] [stdout] 78 | printer.println('}'); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 78 | let _ = printer.println('}'); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `UnaryPostfix` is never constructed [INFO] [stdout] --> src/main.rs:18:2 [INFO] [stdout] | [INFO] [stdout] 14 | enum OperatorLevel { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | UnaryPostfix(&'static [UnaryOperator]), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Optional` is never constructed [INFO] [stdout] --> src/parser.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | struct Optional

(P); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `optional` is never used [INFO] [stdout] --> src/parser.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn optional(p: P) -> impl Parse { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FunctionParser` is never constructed [INFO] [stdout] --> src/parser.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 106 | struct FunctionParser(F); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `from_function` is never used [INFO] [stdout] --> src/parser.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn from_function Option<()>>(f: F) -> impl Parse { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Choice` is never constructed [INFO] [stdout] --> src/parser.rs:146:8 [INFO] [stdout] | [INFO] [stdout] 146 | struct Choice(P0, P1); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `choice0` is never used [INFO] [stdout] --> src/parser.rs:160:8 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn choice0(p0: P0, p1: P1) -> impl Parse { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse` is never used [INFO] [stdout] --> src/parser.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn parse<'a, P: Parse>(mut p: P, s: &'a str) -> Option<(&'a str, &'a str)> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_error_message` is never used [INFO] [stdout] --> src/parser.rs:219:5 [INFO] [stdout] | [INFO] [stdout] 218 | pub trait ParseResult { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] 219 | fn set_error_message>(self, msg: S) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `increase_indentation` and `decrease_indentation` are never used [INFO] [stdout] --> src/printer.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 66 | impl Printer { [INFO] [stdout] | ---------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn increase_indentation(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn decrease_indentation(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_main_function` is never used [INFO] [stdout] --> src/ast.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 17 | impl <'a> Program<'a> { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn get_main_function(&self) -> Option<&Function<'a>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_constructor` is never used [INFO] [stdout] --> src/ast.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 59 | impl <'a> Class<'a> { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn get_constructor(&self) -> Option<&Function<'a>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/codegen/js.rs:15:2 [INFO] [stdout] | [INFO] [stdout] 15 | printer.println(format_args!("function {}({}) {{", function.name, comma_separated(arguments))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 15 | let _ = printer.println(format_args!("function {}({}) {{", function.name, comma_separated(arguments))); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/codegen/js.rs:21:2 [INFO] [stdout] | [INFO] [stdout] 21 | printer.println("}"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 21 | let _ = printer.println("}"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/codegen/js.rs:25:2 [INFO] [stdout] | [INFO] [stdout] 25 | printer.println(format_args!("class {} {{", class.name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 25 | let _ = printer.println(format_args!("class {} {{", class.name)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/codegen/js.rs:34:2 [INFO] [stdout] | [INFO] [stdout] 34 | printer.println("}"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 34 | let _ = printer.println("}"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/codegen/js.rs:39:2 [INFO] [stdout] | [INFO] [stdout] 39 | printer.println(format_args!("{}({}) {{", function.name, comma_separated(arguments))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 39 | let _ = printer.println(format_args!("{}({}) {{", function.name, comma_separated(arguments))); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/codegen/js.rs:45:2 [INFO] [stdout] | [INFO] [stdout] 45 | printer.println("}"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 45 | let _ = printer.println("}"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/codegen/js.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | printer.println(format_args!("let {} = {};", name, DisplayExpression(expression))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 51 | let _ = printer.println(format_args!("let {} = {};", name, DisplayExpression(expression))); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/codegen/js.rs:54:4 [INFO] [stdout] | [INFO] [stdout] 54 | printer.println(format_args!("if ({})", DisplayExpression(condition))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 54 | let _ = printer.println(format_args!("if ({})", DisplayExpression(condition))); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/codegen/js.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | printer.println("else"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 57 | let _ = printer.println("else"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/codegen/js.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | printer.println(format_args!("while ({})", DisplayExpression(condition))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 62 | let _ = printer.println(format_args!("while ({})", DisplayExpression(condition))); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/codegen/js.rs:66:4 [INFO] [stdout] | [INFO] [stdout] 66 | printer.println(format_args!("return {};", DisplayExpression(expression))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 66 | let _ = printer.println(format_args!("return {};", DisplayExpression(expression))); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/codegen/js.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | printer.println(format_args!("{};", DisplayExpression(expression))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 69 | let _ = printer.println(format_args!("{};", DisplayExpression(expression))); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/codegen/js.rs:72:4 [INFO] [stdout] | [INFO] [stdout] 72 | printer.println('{'); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 72 | let _ = printer.println('{'); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/codegen/js.rs:78:4 [INFO] [stdout] | [INFO] [stdout] 78 | printer.println('}'); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 78 | let _ = printer.println('}'); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.37s [INFO] running `Command { std: "docker" "inspect" "27989b74281373bc5026057471757f9db76f8af7cb849f93ad32b1aa683c737e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27989b74281373bc5026057471757f9db76f8af7cb849f93ad32b1aa683c737e", kill_on_drop: false }` [INFO] [stdout] 27989b74281373bc5026057471757f9db76f8af7cb849f93ad32b1aa683c737e [INFO] checking eyelash/superscript 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%2Feyelash%2Fsuperscript" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/eyelash/superscript 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/eyelash/superscript [INFO] finished tweaking git repo https://github.com/eyelash/superscript [INFO] tweaked toml for git repo https://github.com/eyelash/superscript written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/eyelash/superscript 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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5375edde5e2b10b69666cb94d421d8de74e8e31bebbf0efb313831a8ff8ce6b6 [INFO] running `Command { std: "docker" "start" "-a" "5375edde5e2b10b69666cb94d421d8de74e8e31bebbf0efb313831a8ff8ce6b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5375edde5e2b10b69666cb94d421d8de74e8e31bebbf0efb313831a8ff8ce6b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5375edde5e2b10b69666cb94d421d8de74e8e31bebbf0efb313831a8ff8ce6b6", kill_on_drop: false }` [INFO] [stdout] 5375edde5e2b10b69666cb94d421d8de74e8e31bebbf0efb313831a8ff8ce6b6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7db2fab6fcc719fb4f82344def2e6ed919a0a1dfcea636ea4de41b71959499fe [INFO] running `Command { std: "docker" "start" "-a" "7db2fab6fcc719fb4f82344def2e6ed919a0a1dfcea636ea4de41b71959499fe", kill_on_drop: false }` [INFO] [stderr] Checking superscript v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition: `choice` [INFO] [stdout] --> src/parser.rs:163:14 [INFO] [stdout] | [INFO] [stdout] 163 | macro_rules! choice { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/type_checker.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Location` [INFO] [stdout] --> src/type_checker.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::error::{Error, Location}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ParseResult`, `choice`, and `optional` [INFO] [stdout] --> src/main.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | use parser::{Parse, optional, repeat, not, peek, sequence, choice, ParseResult}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `choice` [INFO] [stdout] --> src/parser.rs:163:14 [INFO] [stdout] | [INFO] [stdout] 163 | macro_rules! choice { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/type_checker.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Location` [INFO] [stdout] --> src/type_checker.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::error::{Error, Location}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ParseResult`, `choice`, and `optional` [INFO] [stdout] --> src/main.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | use parser::{Parse, optional, repeat, not, peek, sequence, choice, ParseResult}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/printer.rs:86:51 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn indented(&mut self, mut f: F) { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/type_checker.rs:88:10 [INFO] [stdout] | [INFO] [stdout] 88 | Number(s) => Ok(Type::Number), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/printer.rs:86:51 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn indented(&mut self, mut f: F) { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/type_checker.rs:88:10 [INFO] [stdout] | [INFO] [stdout] 88 | Number(s) => Ok(Type::Number), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/codegen/js.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | for (name, ty) in &class.fields { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> src/codegen/js.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | for (name, ty) in &class.fields { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:77:32 [INFO] [stdout] | [INFO] [stdout] 77 | fn parse(&mut self, mut p: P) -> Result<(&'a str, Location), Error> { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/codegen/js.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | for (name, ty) in &class.fields { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> src/codegen/js.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | for (name, ty) in &class.fields { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:77:32 [INFO] [stdout] | [INFO] [stdout] 77 | fn parse(&mut self, mut p: P) -> Result<(&'a str, Location), Error> { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `UnaryPostfix` is never constructed [INFO] [stdout] --> src/main.rs:18:2 [INFO] [stdout] | [INFO] [stdout] 14 | enum OperatorLevel { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | UnaryPostfix(&'static [UnaryOperator]), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Optional` is never constructed [INFO] [stdout] --> src/parser.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | struct Optional

(P); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `optional` is never used [INFO] [stdout] --> src/parser.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn optional(p: P) -> impl Parse { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FunctionParser` is never constructed [INFO] [stdout] --> src/parser.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 106 | struct FunctionParser(F); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `from_function` is never used [INFO] [stdout] --> src/parser.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn from_function Option<()>>(f: F) -> impl Parse { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Choice` is never constructed [INFO] [stdout] --> src/parser.rs:146:8 [INFO] [stdout] | [INFO] [stdout] 146 | struct Choice(P0, P1); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `choice0` is never used [INFO] [stdout] --> src/parser.rs:160:8 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn choice0(p0: P0, p1: P1) -> impl Parse { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse` is never used [INFO] [stdout] --> src/parser.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn parse<'a, P: Parse>(mut p: P, s: &'a str) -> Option<(&'a str, &'a str)> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_error_message` is never used [INFO] [stdout] --> src/parser.rs:219:5 [INFO] [stdout] | [INFO] [stdout] 218 | pub trait ParseResult { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] 219 | fn set_error_message>(self, msg: S) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `increase_indentation` and `decrease_indentation` are never used [INFO] [stdout] --> src/printer.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 66 | impl Printer { [INFO] [stdout] | ---------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn increase_indentation(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn decrease_indentation(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_main_function` is never used [INFO] [stdout] --> src/ast.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 17 | impl <'a> Program<'a> { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn get_main_function(&self) -> Option<&Function<'a>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_constructor` is never used [INFO] [stdout] --> src/ast.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 59 | impl <'a> Class<'a> { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn get_constructor(&self) -> Option<&Function<'a>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:224:16 [INFO] [stdout] | [INFO] [stdout] 223 | fn set_error_message>(self, msg: S) -> Self { [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] 224 | self.map_err(|err| Error { [INFO] [stdout] | ______________________^ [INFO] [stdout] 225 | | msg: msg.into(), [INFO] [stdout] 226 | | ..err [INFO] [stdout] 227 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast.rs:177:12 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn add<'b>(left: Box>, right: Box>) -> Box> { [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] 177 | Box::new(Expression::ArithmeticExpression(ArithmeticExpression { [INFO] [stdout] | __________________^ [INFO] [stdout] 178 | | operation: ArithmeticOperation::Add, [INFO] [stdout] 179 | | left, [INFO] [stdout] 180 | | right, [INFO] [stdout] 181 | | })) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn subtract<'b>(left: Box>, right: Box>) -> Box> { [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] 184 | Box::new(Expression::ArithmeticExpression(ArithmeticExpression { [INFO] [stdout] | __________________^ [INFO] [stdout] 185 | | operation: ArithmeticOperation::Subtract, [INFO] [stdout] 186 | | left, [INFO] [stdout] 187 | | right, [INFO] [stdout] 188 | | })) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast.rs:191:12 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn multiply<'b>(left: Box>, right: Box>) -> Box> { [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] 191 | Box::new(Expression::ArithmeticExpression(ArithmeticExpression { [INFO] [stdout] | __________________^ [INFO] [stdout] 192 | | operation: ArithmeticOperation::Multiply, [INFO] [stdout] 193 | | left, [INFO] [stdout] 194 | | right, [INFO] [stdout] 195 | | })) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast.rs:198:12 [INFO] [stdout] | [INFO] [stdout] 197 | pub fn divide<'b>(left: Box>, right: Box>) -> Box> { [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] 198 | Box::new(Expression::ArithmeticExpression(ArithmeticExpression { [INFO] [stdout] | __________________^ [INFO] [stdout] 199 | | operation: ArithmeticOperation::Divide, [INFO] [stdout] 200 | | left, [INFO] [stdout] 201 | | right, [INFO] [stdout] 202 | | })) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast.rs:205:12 [INFO] [stdout] | [INFO] [stdout] 204 | pub fn remainder<'b>(left: Box>, right: Box>) -> Box> { [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] 205 | Box::new(Expression::ArithmeticExpression(ArithmeticExpression { [INFO] [stdout] | __________________^ [INFO] [stdout] 206 | | operation: ArithmeticOperation::Remainder, [INFO] [stdout] 207 | | left, [INFO] [stdout] 208 | | right, [INFO] [stdout] 209 | | })) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast.rs:212:12 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn equal<'b>(left: Box>, right: Box>) -> Box> { [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] 212 | Box::new(Expression::RelationalExpression(RelationalExpression { [INFO] [stdout] | __________________^ [INFO] [stdout] 213 | | operation: RelationalOperation::Equal, [INFO] [stdout] 214 | | left, [INFO] [stdout] 215 | | right, [INFO] [stdout] 216 | | })) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast.rs:219:12 [INFO] [stdout] | [INFO] [stdout] 218 | pub fn not_equal<'b>(left: Box>, right: Box>) -> Box> { [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] 219 | Box::new(Expression::RelationalExpression(RelationalExpression { [INFO] [stdout] | __________________^ [INFO] [stdout] 220 | | operation: RelationalOperation::NotEqual, [INFO] [stdout] 221 | | left, [INFO] [stdout] 222 | | right, [INFO] [stdout] 223 | | })) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast.rs:226:12 [INFO] [stdout] | [INFO] [stdout] 225 | pub fn less_than<'b>(left: Box>, right: Box>) -> Box> { [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] 226 | Box::new(Expression::RelationalExpression(RelationalExpression { [INFO] [stdout] | __________________^ [INFO] [stdout] 227 | | operation: RelationalOperation::LessThan, [INFO] [stdout] 228 | | left, [INFO] [stdout] 229 | | right, [INFO] [stdout] 230 | | })) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast.rs:233:12 [INFO] [stdout] | [INFO] [stdout] 232 | pub fn less_than_or_equal<'b>(left: Box>, right: Box>) -> Box> { [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] 233 | Box::new(Expression::RelationalExpression(RelationalExpression { [INFO] [stdout] | __________________^ [INFO] [stdout] 234 | | operation: RelationalOperation::LessThanOrEqual, [INFO] [stdout] 235 | | left, [INFO] [stdout] 236 | | right, [INFO] [stdout] 237 | | })) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast.rs:240:12 [INFO] [stdout] | [INFO] [stdout] 239 | pub fn greater_than<'b>(left: Box>, right: Box>) -> Box> { [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] 240 | Box::new(Expression::RelationalExpression(RelationalExpression { [INFO] [stdout] | __________________^ [INFO] [stdout] 241 | | operation: RelationalOperation::GreaterThan, [INFO] [stdout] 242 | | left, [INFO] [stdout] 243 | | right, [INFO] [stdout] 244 | | })) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast.rs:247:12 [INFO] [stdout] | [INFO] [stdout] 246 | pub fn greater_than_or_equal<'b>(left: Box>, right: Box>) -> Box> { [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] 247 | Box::new(Expression::RelationalExpression(RelationalExpression { [INFO] [stdout] | __________________^ [INFO] [stdout] 248 | | operation: RelationalOperation::GreaterThanOrEqual, [INFO] [stdout] 249 | | left, [INFO] [stdout] 250 | | right, [INFO] [stdout] 251 | | })) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast.rs:254:12 [INFO] [stdout] | [INFO] [stdout] 253 | pub fn and<'b>(left: Box>, right: Box>) -> Box> { [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] 254 | Box::new(Expression::LogicalExpression(LogicalExpression { [INFO] [stdout] | __________________^ [INFO] [stdout] 255 | | operation: LogicalOperation::And, [INFO] [stdout] 256 | | left, [INFO] [stdout] 257 | | right, [INFO] [stdout] 258 | | })) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast.rs:261:12 [INFO] [stdout] | [INFO] [stdout] 260 | pub fn or<'b>(left: Box>, right: Box>) -> Box> { [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] 261 | Box::new(Expression::LogicalExpression(LogicalExpression { [INFO] [stdout] | __________________^ [INFO] [stdout] 262 | | operation: LogicalOperation::Or, [INFO] [stdout] 263 | | left, [INFO] [stdout] 264 | | right, [INFO] [stdout] 265 | | })) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast.rs:268:12 [INFO] [stdout] | [INFO] [stdout] 267 | pub fn not<'b>(expression: Box>) -> Box> { [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 268 | Box::new(Expression::Not(expression)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast.rs:271:12 [INFO] [stdout] | [INFO] [stdout] 270 | pub fn assign<'b>(name: Box>, expression: Box>) -> Box> { [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] 271 | Box::new(Expression::Assign { [INFO] [stdout] | __________________^ [INFO] [stdout] 272 | | name, [INFO] [stdout] 273 | | expression, [INFO] [stdout] 274 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/codegen/js.rs:15:2 [INFO] [stdout] | [INFO] [stdout] 15 | printer.println(format_args!("function {}({}) {{", function.name, comma_separated(arguments))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 15 | let _ = printer.println(format_args!("function {}({}) {{", function.name, comma_separated(arguments))); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/codegen/js.rs:21:2 [INFO] [stdout] | [INFO] [stdout] 21 | printer.println("}"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 21 | let _ = printer.println("}"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/codegen/js.rs:25:2 [INFO] [stdout] | [INFO] [stdout] 25 | printer.println(format_args!("class {} {{", class.name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 25 | let _ = printer.println(format_args!("class {} {{", class.name)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/codegen/js.rs:34:2 [INFO] [stdout] | [INFO] [stdout] 34 | printer.println("}"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 34 | let _ = printer.println("}"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `UnaryPostfix` is never constructed [INFO] [stdout] --> src/main.rs:18:2 [INFO] [stdout] | [INFO] [stdout] 14 | enum OperatorLevel { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | UnaryPostfix(&'static [UnaryOperator]), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Optional` is never constructed [INFO] [stdout] --> src/parser.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | struct Optional

(P); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `optional` is never used [INFO] [stdout] --> src/parser.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn optional(p: P) -> impl Parse { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/codegen/js.rs:39:2 [INFO] [stdout] | [INFO] [stdout] 39 | printer.println(format_args!("{}({}) {{", function.name, comma_separated(arguments))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 39 | let _ = printer.println(format_args!("{}({}) {{", function.name, comma_separated(arguments))); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/codegen/js.rs:45:2 [INFO] [stdout] | [INFO] [stdout] 45 | printer.println("}"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 45 | let _ = printer.println("}"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/codegen/js.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | printer.println(format_args!("let {} = {};", name, DisplayExpression(expression))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 51 | let _ = printer.println(format_args!("let {} = {};", name, DisplayExpression(expression))); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FunctionParser` is never constructed [INFO] [stdout] --> src/parser.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 106 | struct FunctionParser(F); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/codegen/js.rs:54:4 [INFO] [stdout] | [INFO] [stdout] 54 | printer.println(format_args!("if ({})", DisplayExpression(condition))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 54 | let _ = printer.println(format_args!("if ({})", DisplayExpression(condition))); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/codegen/js.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | printer.println("else"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 57 | let _ = printer.println("else"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/codegen/js.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | printer.println(format_args!("while ({})", DisplayExpression(condition))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 62 | let _ = printer.println(format_args!("while ({})", DisplayExpression(condition))); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `from_function` is never used [INFO] [stdout] --> src/parser.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn from_function Option<()>>(f: F) -> impl Parse { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/codegen/js.rs:66:4 [INFO] [stdout] | [INFO] [stdout] 66 | printer.println(format_args!("return {};", DisplayExpression(expression))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 66 | let _ = printer.println(format_args!("return {};", DisplayExpression(expression))); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/codegen/js.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | printer.println(format_args!("{};", DisplayExpression(expression))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 69 | let _ = printer.println(format_args!("{};", DisplayExpression(expression))); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/codegen/js.rs:72:4 [INFO] [stdout] | [INFO] [stdout] 72 | printer.println('{'); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 72 | let _ = printer.println('{'); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/codegen/js.rs:78:4 [INFO] [stdout] | [INFO] [stdout] 78 | printer.println('}'); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 78 | let _ = printer.println('}'); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Choice` is never constructed [INFO] [stdout] --> src/parser.rs:146:8 [INFO] [stdout] | [INFO] [stdout] 146 | struct Choice(P0, P1); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `choice0` is never used [INFO] [stdout] --> src/parser.rs:160:8 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn choice0(p0: P0, p1: P1) -> impl Parse { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse` is never used [INFO] [stdout] --> src/parser.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn parse<'a, P: Parse>(mut p: P, s: &'a str) -> Option<(&'a str, &'a str)> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_error_message` is never used [INFO] [stdout] --> src/parser.rs:219:5 [INFO] [stdout] | [INFO] [stdout] 218 | pub trait ParseResult { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] 219 | fn set_error_message>(self, msg: S) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `increase_indentation` and `decrease_indentation` are never used [INFO] [stdout] --> src/printer.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 66 | impl Printer { [INFO] [stdout] | ---------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn increase_indentation(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn decrease_indentation(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_main_function` is never used [INFO] [stdout] --> src/ast.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 17 | impl <'a> Program<'a> { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn get_main_function(&self) -> Option<&Function<'a>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_constructor` is never used [INFO] [stdout] --> src/ast.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 59 | impl <'a> Class<'a> { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn get_constructor(&self) -> Option<&Function<'a>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors; 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:224:16 [INFO] [stdout] | [INFO] [stdout] 223 | fn set_error_message>(self, msg: S) -> Self { [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] 224 | self.map_err(|err| Error { [INFO] [stdout] | ______________________^ [INFO] [stdout] 225 | | msg: msg.into(), [INFO] [stdout] 226 | | ..err [INFO] [stdout] 227 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast.rs:177:12 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn add<'b>(left: Box>, right: Box>) -> Box> { [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] 177 | Box::new(Expression::ArithmeticExpression(ArithmeticExpression { [INFO] [stdout] | __________________^ [INFO] [stdout] 178 | | operation: ArithmeticOperation::Add, [INFO] [stdout] 179 | | left, [INFO] [stdout] 180 | | right, [INFO] [stdout] 181 | | })) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn subtract<'b>(left: Box>, right: Box>) -> Box> { [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] 184 | Box::new(Expression::ArithmeticExpression(ArithmeticExpression { [INFO] [stdout] | __________________^ [INFO] [stdout] 185 | | operation: ArithmeticOperation::Subtract, [INFO] [stdout] 186 | | left, [INFO] [stdout] 187 | | right, [INFO] [stdout] 188 | | })) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast.rs:191:12 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn multiply<'b>(left: Box>, right: Box>) -> Box> { [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] 191 | Box::new(Expression::ArithmeticExpression(ArithmeticExpression { [INFO] [stdout] | __________________^ [INFO] [stdout] 192 | | operation: ArithmeticOperation::Multiply, [INFO] [stdout] 193 | | left, [INFO] [stdout] 194 | | right, [INFO] [stdout] 195 | | })) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast.rs:198:12 [INFO] [stdout] | [INFO] [stdout] 197 | pub fn divide<'b>(left: Box>, right: Box>) -> Box> { [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] 198 | Box::new(Expression::ArithmeticExpression(ArithmeticExpression { [INFO] [stdout] | __________________^ [INFO] [stdout] 199 | | operation: ArithmeticOperation::Divide, [INFO] [stdout] 200 | | left, [INFO] [stdout] 201 | | right, [INFO] [stdout] 202 | | })) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast.rs:205:12 [INFO] [stdout] | [INFO] [stdout] 204 | pub fn remainder<'b>(left: Box>, right: Box>) -> Box> { [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] 205 | Box::new(Expression::ArithmeticExpression(ArithmeticExpression { [INFO] [stdout] | __________________^ [INFO] [stdout] 206 | | operation: ArithmeticOperation::Remainder, [INFO] [stdout] 207 | | left, [INFO] [stdout] 208 | | right, [INFO] [stdout] 209 | | })) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast.rs:212:12 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn equal<'b>(left: Box>, right: Box>) -> Box> { [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] 212 | Box::new(Expression::RelationalExpression(RelationalExpression { [INFO] [stdout] | __________________^ [INFO] [stdout] 213 | | operation: RelationalOperation::Equal, [INFO] [stdout] 214 | | left, [INFO] [stdout] 215 | | right, [INFO] [stdout] 216 | | })) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast.rs:219:12 [INFO] [stdout] | [INFO] [stdout] 218 | pub fn not_equal<'b>(left: Box>, right: Box>) -> Box> { [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] 219 | Box::new(Expression::RelationalExpression(RelationalExpression { [INFO] [stdout] | __________________^ [INFO] [stdout] 220 | | operation: RelationalOperation::NotEqual, [INFO] [stdout] 221 | | left, [INFO] [stdout] 222 | | right, [INFO] [stdout] 223 | | })) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast.rs:226:12 [INFO] [stdout] | [INFO] [stdout] 225 | pub fn less_than<'b>(left: Box>, right: Box>) -> Box> { [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] 226 | Box::new(Expression::RelationalExpression(RelationalExpression { [INFO] [stdout] | __________________^ [INFO] [stdout] 227 | | operation: RelationalOperation::LessThan, [INFO] [stdout] 228 | | left, [INFO] [stdout] 229 | | right, [INFO] [stdout] 230 | | })) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast.rs:233:12 [INFO] [stdout] | [INFO] [stdout] 232 | pub fn less_than_or_equal<'b>(left: Box>, right: Box>) -> Box> { [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] 233 | Box::new(Expression::RelationalExpression(RelationalExpression { [INFO] [stdout] | __________________^ [INFO] [stdout] 234 | | operation: RelationalOperation::LessThanOrEqual, [INFO] [stdout] 235 | | left, [INFO] [stdout] 236 | | right, [INFO] [stdout] 237 | | })) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast.rs:240:12 [INFO] [stdout] | [INFO] [stdout] 239 | pub fn greater_than<'b>(left: Box>, right: Box>) -> Box> { [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] 240 | Box::new(Expression::RelationalExpression(RelationalExpression { [INFO] [stdout] | __________________^ [INFO] [stdout] 241 | | operation: RelationalOperation::GreaterThan, [INFO] [stdout] 242 | | left, [INFO] [stdout] 243 | | right, [INFO] [stdout] 244 | | })) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast.rs:247:12 [INFO] [stdout] | [INFO] [stdout] 246 | pub fn greater_than_or_equal<'b>(left: Box>, right: Box>) -> Box> { [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] 247 | Box::new(Expression::RelationalExpression(RelationalExpression { [INFO] [stdout] | __________________^ [INFO] [stdout] 248 | | operation: RelationalOperation::GreaterThanOrEqual, [INFO] [stdout] 249 | | left, [INFO] [stdout] 250 | | right, [INFO] [stdout] 251 | | })) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast.rs:254:12 [INFO] [stdout] | [INFO] [stdout] 253 | pub fn and<'b>(left: Box>, right: Box>) -> Box> { [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] 254 | Box::new(Expression::LogicalExpression(LogicalExpression { [INFO] [stdout] | __________________^ [INFO] [stdout] 255 | | operation: LogicalOperation::And, [INFO] [stdout] 256 | | left, [INFO] [stdout] 257 | | right, [INFO] [stdout] 258 | | })) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast.rs:261:12 [INFO] [stdout] | [INFO] [stdout] 260 | pub fn or<'b>(left: Box>, right: Box>) -> Box> { [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] 261 | Box::new(Expression::LogicalExpression(LogicalExpression { [INFO] [stdout] | __________________^ [INFO] [stdout] 262 | | operation: LogicalOperation::Or, [INFO] [stdout] 263 | | left, [INFO] [stdout] 264 | | right, [INFO] [stdout] 265 | | })) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast.rs:268:12 [INFO] [stdout] | [INFO] [stdout] 267 | pub fn not<'b>(expression: Box>) -> Box> { [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 268 | Box::new(Expression::Not(expression)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast.rs:271:12 [INFO] [stdout] | [INFO] [stdout] 270 | pub fn assign<'b>(name: Box>, expression: Box>) -> Box> { [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] 271 | Box::new(Expression::Assign { [INFO] [stdout] | __________________^ [INFO] [stdout] 272 | | name, [INFO] [stdout] 273 | | expression, [INFO] [stdout] 274 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/codegen/js.rs:15:2 [INFO] [stdout] | [INFO] [stdout] 15 | printer.println(format_args!("function {}({}) {{", function.name, comma_separated(arguments))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 15 | let _ = printer.println(format_args!("function {}({}) {{", function.name, comma_separated(arguments))); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/codegen/js.rs:21:2 [INFO] [stdout] | [INFO] [stdout] 21 | printer.println("}"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 21 | let _ = printer.println("}"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/codegen/js.rs:25:2 [INFO] [stdout] | [INFO] [stdout] 25 | printer.println(format_args!("class {} {{", class.name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 25 | let _ = printer.println(format_args!("class {} {{", class.name)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/codegen/js.rs:34:2 [INFO] [stdout] | [INFO] [stdout] 34 | printer.println("}"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 34 | let _ = printer.println("}"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/codegen/js.rs:39:2 [INFO] [stdout] | [INFO] [stdout] 39 | printer.println(format_args!("{}({}) {{", function.name, comma_separated(arguments))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 39 | let _ = printer.println(format_args!("{}({}) {{", function.name, comma_separated(arguments))); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/codegen/js.rs:45:2 [INFO] [stdout] | [INFO] [stdout] 45 | printer.println("}"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 45 | let _ = printer.println("}"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/codegen/js.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | printer.println(format_args!("let {} = {};", name, DisplayExpression(expression))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 51 | let _ = printer.println(format_args!("let {} = {};", name, DisplayExpression(expression))); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/codegen/js.rs:54:4 [INFO] [stdout] | [INFO] [stdout] 54 | printer.println(format_args!("if ({})", DisplayExpression(condition))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 54 | let _ = printer.println(format_args!("if ({})", DisplayExpression(condition))); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/codegen/js.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | printer.println("else"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 57 | let _ = printer.println("else"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/codegen/js.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | printer.println(format_args!("while ({})", DisplayExpression(condition))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 62 | let _ = printer.println(format_args!("while ({})", DisplayExpression(condition))); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/codegen/js.rs:66:4 [INFO] [stdout] | [INFO] [stdout] 66 | printer.println(format_args!("return {};", DisplayExpression(expression))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 66 | let _ = printer.println(format_args!("return {};", DisplayExpression(expression))); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/codegen/js.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | printer.println(format_args!("{};", DisplayExpression(expression))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 69 | let _ = printer.println(format_args!("{};", DisplayExpression(expression))); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/codegen/js.rs:72:4 [INFO] [stdout] | [INFO] [stdout] 72 | printer.println('{'); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 72 | let _ = printer.println('{'); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/codegen/js.rs:78:4 [INFO] [stdout] | [INFO] [stdout] 78 | printer.println('}'); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 78 | let _ = printer.println('}'); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `superscript` (bin "superscript") due to 17 previous errors; 35 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 16 previous errors; 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `superscript` (bin "superscript" test) due to 17 previous errors; 35 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7db2fab6fcc719fb4f82344def2e6ed919a0a1dfcea636ea4de41b71959499fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7db2fab6fcc719fb4f82344def2e6ed919a0a1dfcea636ea4de41b71959499fe", kill_on_drop: false }` [INFO] [stdout] 7db2fab6fcc719fb4f82344def2e6ed919a0a1dfcea636ea4de41b71959499fe