[INFO] cloning repository https://github.com/juice-lang/juice-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/juice-lang/juice-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjuice-lang%2Fjuice-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjuice-lang%2Fjuice-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e83f6e79615e6247bd5b16bfe52569f695ab0faf [INFO] checking juice-lang/juice-rs against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjuice-lang%2Fjuice-rs" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/juice-lang/juice-rs on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/juice-lang/juice-rs [INFO] finished tweaking git repo https://github.com/juice-lang/juice-rs [INFO] tweaked toml for git repo https://github.com/juice-lang/juice-rs written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/juice-lang/juice-rs 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded which v6.0.0 [INFO] [stderr] Downloaded ariadne v0.4.0 [INFO] [stderr] Downloaded async-process v2.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 770f14eab813dd5122d18e60cb0d448a230411204f5cc773dbcfb34cc7b2db5b [INFO] running `Command { std: "docker" "start" "-a" "770f14eab813dd5122d18e60cb0d448a230411204f5cc773dbcfb34cc7b2db5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "770f14eab813dd5122d18e60cb0d448a230411204f5cc773dbcfb34cc7b2db5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "770f14eab813dd5122d18e60cb0d448a230411204f5cc773dbcfb34cc7b2db5b", kill_on_drop: false }` [INFO] [stdout] 770f14eab813dd5122d18e60cb0d448a230411204f5cc773dbcfb34cc7b2db5b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 588a5144a398b8d4bda8cc4583f5f370bae05b25a000f817d39cd0d6680a1a8c [INFO] running `Command { std: "docker" "start" "-a" "588a5144a398b8d4bda8cc4583f5f370bae05b25a000f817d39cd0d6680a1a8c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Checking parking v2.2.0 [INFO] [stderr] Checking ariadne v0.4.0 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Checking juice-core v0.1.0 (/opt/rustwide/workdir/core) [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking concurrent-queue v2.4.0 [INFO] [stderr] Compiling ahash v0.8.10 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Checking event-listener v4.0.3 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking event-listener-strategy v0.4.0 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking futures-lite v2.2.0 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking async-lock v3.3.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking lasso v0.7.2 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking strsim v0.11.0 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking clap_builder v4.5.1 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking event-listener v5.2.0 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking async-once-cell v0.5.3 [INFO] [stderr] Checking polling v3.5.0 [INFO] [stderr] Checking which v6.0.0 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking async-io v2.3.1 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Checking async-signal v0.2.5 [INFO] [stderr] Compiling juice-macros v0.1.0 (/opt/rustwide/workdir/macros) [INFO] [stderr] Compiling clap_derive v4.5.0 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Checking async-process v2.1.0 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking clap v4.5.1 [INFO] [stderr] Checking juice-frontend v0.1.0 (/opt/rustwide/workdir/frontend) [INFO] [stdout] warning: unused imports: `Error as LexerError`, `LexerResult` [INFO] [stdout] --> frontend/src/parser/mod.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | pub use self::lexer::{Error as LexerError, Lexer, LexerResult}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error as LexerError`, `LexerResult` [INFO] [stdout] --> frontend/src/parser/mod.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | pub use self::lexer::{Error as LexerError, Lexer, LexerResult}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DiagnosticContextNote`, `Diagnostic`, `source_loc::SourceRange` [INFO] [stdout] --> frontend/src/runner.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | diag::{Diagnostic, DiagnosticContextNote, DiagnosticEngine}, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | parser::Lexer, [INFO] [stdout] 10 | source_loc::SourceRange, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> frontend/src/lib.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) use crate::error::{Error, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DiagnosticContextNote`, `Diagnostic`, `source_loc::SourceRange` [INFO] [stdout] --> frontend/src/runner.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | diag::{Diagnostic, DiagnosticContextNote, DiagnosticEngine}, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | parser::Lexer, [INFO] [stdout] 10 | source_loc::SourceRange, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> frontend/src/lib.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) use crate::error::{Error, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `string` [INFO] [stdout] --> frontend/src/parser/lexer/literal.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 128 | let string = lexer.get_current_range().get_str(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lexer` [INFO] [stdout] --> frontend/src/parser/lexer/literal.rs:132:23 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn parse_char(lexer: &mut Lexer<'a>) -> Result> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lexer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `string` [INFO] [stdout] --> frontend/src/parser/lexer/literal.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 128 | let string = lexer.get_current_range().get_str(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lexer` [INFO] [stdout] --> frontend/src/parser/lexer/literal.rs:132:23 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn parse_char(lexer: &mut Lexer<'a>) -> Result> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lexer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lexer` [INFO] [stdout] --> frontend/src/parser/lexer/literal.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | lexer: &mut Lexer<'a>, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lexer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `first_part` [INFO] [stdout] --> frontend/src/parser/lexer/literal.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | first_part: SourceRange<'a>, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_first_part` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `multiline` [INFO] [stdout] --> frontend/src/parser/lexer/literal.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | multiline: bool, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_multiline` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lexer` [INFO] [stdout] --> frontend/src/parser/lexer/literal.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | lexer: &mut Lexer<'a>, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lexer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `first_part` [INFO] [stdout] --> frontend/src/parser/lexer/literal.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | first_part: SourceRange<'a>, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_first_part` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `multiline` [INFO] [stdout] --> frontend/src/parser/lexer/literal.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | multiline: bool, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_multiline` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lexer` [INFO] [stdout] --> frontend/src/parser/lexer/literal.rs:280:25 [INFO] [stdout] | [INFO] [stdout] 280 | fn parse_raw_string(lexer: &mut Lexer<'a>) -> Result> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lexer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lexer` [INFO] [stdout] --> frontend/src/parser/lexer/literal.rs:280:25 [INFO] [stdout] | [INFO] [stdout] 280 | fn parse_raw_string(lexer: &mut Lexer<'a>) -> Result> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lexer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_note` is never used [INFO] [stdout] --> frontend/src/diag/static_report.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl<'a> StaticReport<'a> { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn with_note<'b>(self, note: DiagnosticNote<'b>) -> StaticReport<'b> [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_note` is never used [INFO] [stdout] --> frontend/src/diag/static_report.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl<'a> StaticReport<'a> { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn with_note<'b>(self, note: DiagnosticNote<'b>) -> StaticReport<'b> [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `with_nested`, `match_str`, and `advance_by` are never used [INFO] [stdout] --> frontend/src/parser/lexer/mod.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 103 | impl<'a> Lexer<'a> { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn with_nested(&mut self, f: impl FnOnce(&mut Self) -> R) -> R { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 399 | fn match_str(&mut self, expected: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 420 | fn advance_by(&mut self, n: usize) -> Result<(), NonZero> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `String` and `Interpolation` are never constructed [INFO] [stdout] --> frontend/src/parser/lexer/literal.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub enum InterpolationPart<'a> { [INFO] [stdout] | ----------------- variants in this enum [INFO] [stdout] 36 | String(Arc), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 37 | Interpolation(Vec>), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InterpolationPart` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> frontend/src/parser/lexer/literal.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | Int(Vec, Radix), [INFO] [stdout] | --- ^^^^^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 42 | Int((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> frontend/src/parser/lexer/literal.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | String(Arc), [INFO] [stdout] | ------ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 45 | String(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `with_nested`, `match_str`, and `advance_by` are never used [INFO] [stdout] --> frontend/src/parser/lexer/mod.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 103 | impl<'a> Lexer<'a> { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn with_nested(&mut self, f: impl FnOnce(&mut Self) -> R) -> R { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 399 | fn match_str(&mut self, expected: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 420 | fn advance_by(&mut self, n: usize) -> Result<(), NonZero> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Float`, `Char`, and `StringInterpolation` are never constructed [INFO] [stdout] --> frontend/src/parser/lexer/literal.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 41 | pub enum LiteralKind<'a> { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 42 | Int(Vec, Radix), [INFO] [stdout] 43 | Float(f64), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 44 | Char(char), [INFO] [stdout] | ^^^^ [INFO] [stdout] 45 | String(Arc), [INFO] [stdout] 46 | StringInterpolation(Vec>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LiteralKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse_string_interpolation` is never used [INFO] [stdout] --> frontend/src/parser/lexer/literal.rs:188:8 [INFO] [stdout] | [INFO] [stdout] 50 | impl<'a> LiteralKind<'a> { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 188 | fn parse_string_interpolation( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `String` and `Interpolation` are never constructed [INFO] [stdout] --> frontend/src/parser/lexer/literal.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub enum InterpolationPart<'a> { [INFO] [stdout] | ----------------- variants in this enum [INFO] [stdout] 36 | String(Arc), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 37 | Interpolation(Vec>), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InterpolationPart` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> frontend/src/parser/lexer/token_kind.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | Punctuation(PunctuationKind), [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 39 | Punctuation(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> frontend/src/parser/lexer/literal.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | Int(Vec, Radix), [INFO] [stdout] | --- ^^^^^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 42 | Int((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> frontend/src/parser/lexer/token_kind.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | Literal(LiteralKind<'a>), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 40 | Literal(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> frontend/src/parser/lexer/literal.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | String(Arc), [INFO] [stdout] | ------ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 45 | String(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_source` and `iter` are never used [INFO] [stdout] --> frontend/src/source_manager.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl SourceManager { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn get_source(&mut self, filepath: PathBuf) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn iter(&self) -> SourceIter { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_filepath`, `get_contents_owned`, and `get_loc` are never used [INFO] [stdout] --> frontend/src/source_manager.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 121 | impl<'a> Source<'a> { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn get_filepath(&self) -> &'a Path { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn get_contents_owned(&self) -> Arc { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub fn get_loc(&self, offset: usize) -> SourceLoc<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Float`, `Char`, and `StringInterpolation` are never constructed [INFO] [stdout] --> frontend/src/parser/lexer/literal.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 41 | pub enum LiteralKind<'a> { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 42 | Int(Vec, Radix), [INFO] [stdout] 43 | Float(f64), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 44 | Char(char), [INFO] [stdout] | ^^^^ [INFO] [stdout] 45 | String(Arc), [INFO] [stdout] 46 | StringInterpolation(Vec>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LiteralKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse_string_interpolation` is never used [INFO] [stdout] --> frontend/src/parser/lexer/literal.rs:188:8 [INFO] [stdout] | [INFO] [stdout] 50 | impl<'a> LiteralKind<'a> { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 188 | fn parse_string_interpolation( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> frontend/src/parser/lexer/token_kind.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | Punctuation(PunctuationKind), [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 39 | Punctuation(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> frontend/src/parser/lexer/token_kind.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | Literal(LiteralKind<'a>), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 40 | Literal(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_source` and `iter` are never used [INFO] [stdout] --> frontend/src/source_manager.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl SourceManager { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn get_source(&mut self, filepath: PathBuf) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn iter(&self) -> SourceIter { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_filepath`, `get_contents_owned`, and `get_loc` are never used [INFO] [stdout] --> frontend/src/source_manager.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 121 | impl<'a> Source<'a> { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn get_filepath(&self) -> &'a Path { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn get_contents_owned(&self) -> Arc { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub fn get_loc(&self, offset: usize) -> SourceLoc<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking juice v0.1.0 (/opt/rustwide/workdir/driver) [INFO] [stdout] error: This platform is not supported yet [INFO] [stdout] --> driver/src/driver/main/task.rs:308:31 [INFO] [stdout] | [INFO] [stdout] 308 | let executable_path = compile_error!("This platform is not supported yet"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: This platform is not supported yet [INFO] [stdout] --> driver/src/driver/main/task.rs:317:29 [INFO] [stdout] | [INFO] [stdout] 317 | let mut arguments = compile_error!("This platform is not supported yet"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: This platform is not supported yet [INFO] [stdout] --> driver/src/driver/main/task.rs:308:31 [INFO] [stdout] | [INFO] [stdout] 308 | let executable_path = compile_error!("This platform is not supported yet"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: This platform is not supported yet [INFO] [stdout] --> driver/src/driver/main/task.rs:317:29 [INFO] [stdout] | [INFO] [stdout] 317 | let mut arguments = compile_error!("This platform is not supported yet"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `which::which` [INFO] [stdout] --> driver/src/driver/main/task.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use which::which; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CommandFactory` is imported redundantly [INFO] [stdout] --> driver/src/cli.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 240 | use clap::CommandFactory; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 241 | [INFO] [stdout] 242 | use super::*; [INFO] [stdout] | -------- the item `CommandFactory` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `which::which` [INFO] [stdout] --> driver/src/driver/main/task.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use which::which; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `juice` (bin "juice") due to 3 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `juice` (bin "juice" test) due to 3 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "588a5144a398b8d4bda8cc4583f5f370bae05b25a000f817d39cd0d6680a1a8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "588a5144a398b8d4bda8cc4583f5f370bae05b25a000f817d39cd0d6680a1a8c", kill_on_drop: false }` [INFO] [stdout] 588a5144a398b8d4bda8cc4583f5f370bae05b25a000f817d39cd0d6680a1a8c