[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] building eyelash/superscript against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feyelash%2Fsuperscript" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/eyelash/superscript on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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-0-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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0afde03e853a1ff89377f4ded84354af15152338bf968d3f59e1de9deb88fda3 [INFO] running `Command { std: "docker" "start" "-a" "0afde03e853a1ff89377f4ded84354af15152338bf968d3f59e1de9deb88fda3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0afde03e853a1ff89377f4ded84354af15152338bf968d3f59e1de9deb88fda3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0afde03e853a1ff89377f4ded84354af15152338bf968d3f59e1de9deb88fda3", kill_on_drop: false }` [INFO] [stdout] 0afde03e853a1ff89377f4ded84354af15152338bf968d3f59e1de9deb88fda3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3cee5f159b337c7a9b932f2992df6314df2ca36b9429920648ad5f7949ac57ea [INFO] running `Command { std: "docker" "start" "-a" "3cee5f159b337c7a9b932f2992df6314df2ca36b9429920648ad5f7949ac57ea", kill_on_drop: false }` [INFO] [stderr] Compiling 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: 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] error: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/printer.rs:49:24 [INFO] [stdout] | [INFO] [stdout] 49 | while let Some(d) = i.next() { [INFO] [stdout] | - ^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | | up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | `d` calls a custom destructor [INFO] [stdout] | `d` will be dropped later as of Edition 2024 [INFO] [stdout] 50 | write!(f, ", {}", d)?; [INFO] [stdout] 51 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [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] [stderr] error: could not compile `superscript` (bin "superscript") due to 1 previous error; 35 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3cee5f159b337c7a9b932f2992df6314df2ca36b9429920648ad5f7949ac57ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3cee5f159b337c7a9b932f2992df6314df2ca36b9429920648ad5f7949ac57ea", kill_on_drop: false }` [INFO] [stdout] 3cee5f159b337c7a9b932f2992df6314df2ca36b9429920648ad5f7949ac57ea