[INFO] cloning repository https://github.com/prithivirajmurugan/custom-lang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/prithivirajmurugan/custom-lang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprithivirajmurugan%2Fcustom-lang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprithivirajmurugan%2Fcustom-lang'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a71ecb668ff7328d328d2a3740ee833285037a1c [INFO] checking prithivirajmurugan/custom-lang against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprithivirajmurugan%2Fcustom-lang" "/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/prithivirajmurugan/custom-lang 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/prithivirajmurugan/custom-lang [INFO] finished tweaking git repo https://github.com/prithivirajmurugan/custom-lang [INFO] tweaked toml for git repo https://github.com/prithivirajmurugan/custom-lang written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/prithivirajmurugan/custom-lang already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded termion v4.0.2 [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] fc11a992eeb4b1c5798c77ae3f292ff0cb06b3b3ba99a3d68de5caaa857e806b [INFO] running `Command { std: "docker" "start" "-a" "fc11a992eeb4b1c5798c77ae3f292ff0cb06b3b3ba99a3d68de5caaa857e806b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fc11a992eeb4b1c5798c77ae3f292ff0cb06b3b3ba99a3d68de5caaa857e806b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc11a992eeb4b1c5798c77ae3f292ff0cb06b3b3ba99a3d68de5caaa857e806b", kill_on_drop: false }` [INFO] [stdout] fc11a992eeb4b1c5798c77ae3f292ff0cb06b3b3ba99a3d68de5caaa857e806b [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] 9e40dce3a940657224eb72489d32a6e705ed2406926c50fa1383ee912bc8a560 [INFO] running `Command { std: "docker" "start" "-a" "9e40dce3a940657224eb72489d32a6e705ed2406926c50fa1383ee912bc8a560", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Checking termion v4.0.2 [INFO] [stderr] Checking custom-lang-compiler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/diagnostics/printer.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/diagnostics/printer.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> src/ast/evaluator.rs:42:31 [INFO] [stdout] | [INFO] [stdout] 42 | fn visit_error(&mut self, span: &TextSpan) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_span` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> src/ast/evaluator.rs:42:31 [INFO] [stdout] | [INFO] [stdout] 42 | fn visit_error(&mut self, span: &TextSpan) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_span` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `kind` is never read [INFO] [stdout] --> src/ast/lexer.rs:96:21 [INFO] [stdout] | [INFO] [stdout] 96 | let mut kind = TokenKind::Bad; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `kind` is never read [INFO] [stdout] --> src/ast/lexer.rs:96:21 [INFO] [stdout] | [INFO] [stdout] 96 | let mut kind = TokenKind::Bad; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `number` [INFO] [stdout] --> src/main.rs:50:43 [INFO] [stdout] | [INFO] [stdout] 50 | fn visit_number_expression(&mut self, number: &ASTNumberExpression) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> src/main.rs:51:31 [INFO] [stdout] | [INFO] [stdout] 51 | fn visit_error(&mut self, span: &TextSpan) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `number` [INFO] [stdout] --> src/main.rs:50:43 [INFO] [stdout] | [INFO] [stdout] 50 | fn visit_number_expression(&mut self, number: &ASTNumberExpression) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> src/main.rs:51:31 [INFO] [stdout] | [INFO] [stdout] 51 | fn visit_error(&mut self, span: &TextSpan) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `indent` is never read [INFO] [stdout] --> src/ast/mod.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct ASTPrinter { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 92 | indent: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LEVEL_INDENT` is never used [INFO] [stdout] --> src/ast/mod.rs:96:7 [INFO] [stdout] | [INFO] [stdout] 96 | const LEVEL_INDENT: usize = 2; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `add_newline` and `new` are never used [INFO] [stdout] --> src/ast/mod.rs:167:8 [INFO] [stdout] | [INFO] [stdout] 157 | impl ASTPrinter { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 167 | fn add_newline(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `identifier` is never used [INFO] [stdout] --> src/ast/mod.rs:264:12 [INFO] [stdout] | [INFO] [stdout] 263 | impl ASTVariableExpression { [INFO] [stdout] | -------------------------- method in this implementation [INFO] [stdout] 264 | pub fn identifier(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Warning` is never constructed [INFO] [stdout] --> src/diagnostics/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum DiagnosticKind { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] 8 | Error, [INFO] [stdout] 9 | Warning, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `indent` is never read [INFO] [stdout] --> src/ast/mod.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct ASTPrinter { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 92 | indent: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `kind` is never read [INFO] [stdout] --> src/diagnostics/mod.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Diagnostic { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | pub kind: DiagnosticKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LEVEL_INDENT` is never used [INFO] [stdout] --> src/ast/mod.rs:96:7 [INFO] [stdout] | [INFO] [stdout] 96 | const LEVEL_INDENT: usize = 2; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `report_warning` is never used [INFO] [stdout] --> src/diagnostics/mod.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl DiagnosticsBag { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn report_warning(&mut self, message: String, span: TextSpan) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `add_newline` and `new` are never used [INFO] [stdout] --> src/ast/mod.rs:167:8 [INFO] [stdout] | [INFO] [stdout] 157 | impl ASTPrinter { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 167 | fn add_newline(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `identifier` is never used [INFO] [stdout] --> src/ast/mod.rs:264:12 [INFO] [stdout] | [INFO] [stdout] 263 | impl ASTVariableExpression { [INFO] [stdout] | -------------------------- method in this implementation [INFO] [stdout] 264 | pub fn identifier(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Warning` is never constructed [INFO] [stdout] --> src/diagnostics/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum DiagnosticKind { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] 8 | Error, [INFO] [stdout] 9 | Warning, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `kind` is never read [INFO] [stdout] --> src/diagnostics/mod.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Diagnostic { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | pub kind: DiagnosticKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `report_warning` is never used [INFO] [stdout] --> src/diagnostics/mod.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl DiagnosticsBag { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn report_warning(&mut self, message: String, span: TextSpan) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.69s [INFO] running `Command { std: "docker" "inspect" "9e40dce3a940657224eb72489d32a6e705ed2406926c50fa1383ee912bc8a560", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e40dce3a940657224eb72489d32a6e705ed2406926c50fa1383ee912bc8a560", kill_on_drop: false }` [INFO] [stdout] 9e40dce3a940657224eb72489d32a6e705ed2406926c50fa1383ee912bc8a560 [INFO] checking prithivirajmurugan/custom-lang 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%2Fprithivirajmurugan%2Fcustom-lang" "/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/prithivirajmurugan/custom-lang 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/prithivirajmurugan/custom-lang [INFO] finished tweaking git repo https://github.com/prithivirajmurugan/custom-lang [INFO] tweaked toml for git repo https://github.com/prithivirajmurugan/custom-lang written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/prithivirajmurugan/custom-lang 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] 3cfd4965475967c9726c77c5eb5cc58be361f634ad8007e3e2301d8e5c2be2c7 [INFO] running `Command { std: "docker" "start" "-a" "3cfd4965475967c9726c77c5eb5cc58be361f634ad8007e3e2301d8e5c2be2c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3cfd4965475967c9726c77c5eb5cc58be361f634ad8007e3e2301d8e5c2be2c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3cfd4965475967c9726c77c5eb5cc58be361f634ad8007e3e2301d8e5c2be2c7", kill_on_drop: false }` [INFO] [stdout] 3cfd4965475967c9726c77c5eb5cc58be361f634ad8007e3e2301d8e5c2be2c7 [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] 1711098a2dc9d17a9b264ae371addc44b661a4c1d87a793d25a734d48e121a4d [INFO] running `Command { std: "docker" "start" "-a" "1711098a2dc9d17a9b264ae371addc44b661a4c1d87a793d25a734d48e121a4d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Checking termion v4.0.2 [INFO] [stderr] Checking custom-lang-compiler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/diagnostics/printer.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/diagnostics/printer.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> src/ast/evaluator.rs:42:31 [INFO] [stdout] | [INFO] [stdout] 42 | fn visit_error(&mut self, span: &TextSpan) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_span` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> src/ast/evaluator.rs:42:31 [INFO] [stdout] | [INFO] [stdout] 42 | fn visit_error(&mut self, span: &TextSpan) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_span` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `kind` is never read [INFO] [stdout] --> src/ast/lexer.rs:96:21 [INFO] [stdout] | [INFO] [stdout] 96 | let mut kind = TokenKind::Bad; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `kind` is never read [INFO] [stdout] --> src/ast/lexer.rs:96:21 [INFO] [stdout] | [INFO] [stdout] 96 | let mut kind = TokenKind::Bad; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `number` [INFO] [stdout] --> src/main.rs:50:43 [INFO] [stdout] | [INFO] [stdout] 50 | fn visit_number_expression(&mut self, number: &ASTNumberExpression) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> src/main.rs:51:31 [INFO] [stdout] | [INFO] [stdout] 51 | fn visit_error(&mut self, span: &TextSpan) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `number` [INFO] [stdout] --> src/main.rs:50:43 [INFO] [stdout] | [INFO] [stdout] 50 | fn visit_number_expression(&mut self, number: &ASTNumberExpression) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> src/main.rs:51:31 [INFO] [stdout] | [INFO] [stdout] 51 | fn visit_error(&mut self, span: &TextSpan) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `indent` is never read [INFO] [stdout] --> src/ast/mod.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct ASTPrinter { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 92 | indent: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LEVEL_INDENT` is never used [INFO] [stdout] --> src/ast/mod.rs:96:7 [INFO] [stdout] | [INFO] [stdout] 96 | const LEVEL_INDENT: usize = 2; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `add_newline` and `new` are never used [INFO] [stdout] --> src/ast/mod.rs:167:8 [INFO] [stdout] | [INFO] [stdout] 157 | impl ASTPrinter { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 167 | fn add_newline(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `identifier` is never used [INFO] [stdout] --> src/ast/mod.rs:264:12 [INFO] [stdout] | [INFO] [stdout] 263 | impl ASTVariableExpression { [INFO] [stdout] | -------------------------- method in this implementation [INFO] [stdout] 264 | pub fn identifier(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Warning` is never constructed [INFO] [stdout] --> src/diagnostics/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum DiagnosticKind { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] 8 | Error, [INFO] [stdout] 9 | Warning, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `kind` is never read [INFO] [stdout] --> src/diagnostics/mod.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Diagnostic { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | pub kind: DiagnosticKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `report_warning` is never used [INFO] [stdout] --> src/diagnostics/mod.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl DiagnosticsBag { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn report_warning(&mut self, message: String, span: TextSpan) { [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/ast/mod.rs:200:27 [INFO] [stdout] | [INFO] [stdout] 199 | pub fn expression(expr: ASTExpression) -> Self { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 200 | ASTStatement::new(ASTStatementKind::Expression(expr)) [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/mod.rs:204:27 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn let_statement(identifier: Token, initializer: ASTExpression) -> Self { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 204 | ASTStatement::new(ASTStatementKind::LetStatement(ASTLetStatement { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 205 | | identifier, [INFO] [stdout] 206 | | initializer, [INFO] [stdout] 207 | | })) [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/mod.rs:225:28 [INFO] [stdout] | [INFO] [stdout] 224 | pub fn binary(operator: ASTBinaryOperator, left: ASTExpression, right: ASTExpression) -> 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] 225 | ASTExpression::new(ASTExpressionKind::Binary(ASTBinaryExpression { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 226 | | left: Box::new(left), [INFO] [stdout] 227 | | operator, [INFO] [stdout] 228 | | right: Box::new(right), [INFO] [stdout] 229 | | })) [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/mod.rs:233:28 [INFO] [stdout] | [INFO] [stdout] 232 | pub fn parenthesized(expression: ASTExpression) -> Self { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 233 | ASTExpression::new(ASTExpressionKind::Parenthesized( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 234 | | ASTParenthesizedExpression { [INFO] [stdout] 235 | | expression: Box::new(expression), [INFO] [stdout] 236 | | }, [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] warning: field `indent` is never read [INFO] [stdout] --> src/ast/mod.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct ASTPrinter { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 92 | indent: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LEVEL_INDENT` is never used [INFO] [stdout] --> src/ast/mod.rs:96:7 [INFO] [stdout] | [INFO] [stdout] 96 | const LEVEL_INDENT: usize = 2; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `add_newline` and `new` are never used [INFO] [stdout] --> src/ast/mod.rs:167:8 [INFO] [stdout] | [INFO] [stdout] 157 | impl ASTPrinter { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 167 | fn add_newline(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `identifier` is never used [INFO] [stdout] --> src/ast/mod.rs:264:12 [INFO] [stdout] | [INFO] [stdout] 263 | impl ASTVariableExpression { [INFO] [stdout] | -------------------------- method in this implementation [INFO] [stdout] 264 | pub fn identifier(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Warning` is never constructed [INFO] [stdout] --> src/diagnostics/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum DiagnosticKind { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] 8 | Error, [INFO] [stdout] 9 | Warning, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `kind` is never read [INFO] [stdout] --> src/diagnostics/mod.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Diagnostic { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | pub kind: DiagnosticKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `report_warning` is never used [INFO] [stdout] --> src/diagnostics/mod.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl DiagnosticsBag { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn report_warning(&mut self, message: String, span: TextSpan) { [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/ast/mod.rs:200:27 [INFO] [stdout] | [INFO] [stdout] 199 | pub fn expression(expr: ASTExpression) -> Self { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 200 | ASTStatement::new(ASTStatementKind::Expression(expr)) [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/mod.rs:204:27 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn let_statement(identifier: Token, initializer: ASTExpression) -> Self { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 204 | ASTStatement::new(ASTStatementKind::LetStatement(ASTLetStatement { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 205 | | identifier, [INFO] [stdout] 206 | | initializer, [INFO] [stdout] 207 | | })) [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/mod.rs:225:28 [INFO] [stdout] | [INFO] [stdout] 224 | pub fn binary(operator: ASTBinaryOperator, left: ASTExpression, right: ASTExpression) -> 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] 225 | ASTExpression::new(ASTExpressionKind::Binary(ASTBinaryExpression { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 226 | | left: Box::new(left), [INFO] [stdout] 227 | | operator, [INFO] [stdout] 228 | | right: Box::new(right), [INFO] [stdout] 229 | | })) [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/mod.rs:233:28 [INFO] [stdout] | [INFO] [stdout] 232 | pub fn parenthesized(expression: ASTExpression) -> Self { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 233 | ASTExpression::new(ASTExpressionKind::Parenthesized( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 234 | | ASTParenthesizedExpression { [INFO] [stdout] 235 | | expression: Box::new(expression), [INFO] [stdout] 236 | | }, [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: aborting due to 4 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `custom-lang-compiler` (bin "custom-lang-compiler" test) due to 5 previous errors; 12 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `custom-lang-compiler` (bin "custom-lang-compiler") due to 5 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1711098a2dc9d17a9b264ae371addc44b661a4c1d87a793d25a734d48e121a4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1711098a2dc9d17a9b264ae371addc44b661a4c1d87a793d25a734d48e121a4d", kill_on_drop: false }` [INFO] [stdout] 1711098a2dc9d17a9b264ae371addc44b661a4c1d87a793d25a734d48e121a4d