[INFO] cloning repository https://github.com/Tnixc/volette [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Tnixc/volette" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTnixc%2Fvolette", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTnixc%2Fvolette'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 97e86088d609fd4260e6acbf82f1c115ac6174fb [INFO] testing Tnixc/volette against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTnixc%2Fvolette" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Tnixc/volette [INFO] finished tweaking git repo https://github.com/Tnixc/volette [INFO] tweaked toml for git repo https://github.com/Tnixc/volette written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Tnixc/volette on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Tnixc/volette 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cranelift v0.116.1 [INFO] [stderr] Downloaded string-interner v0.19.0 [INFO] [stderr] Downloaded cranelift-bitset v0.116.1 [INFO] [stderr] Downloaded cranelift-codegen-shared v0.116.1 [INFO] [stderr] Downloaded cranelift-control v0.116.1 [INFO] [stderr] Downloaded cranelift-native v0.116.1 [INFO] [stderr] Downloaded cranelift-frontend v0.116.1 [INFO] [stderr] Downloaded cranelift-bforest v0.116.1 [INFO] [stderr] Downloaded cranelift-codegen-meta v0.116.1 [INFO] [stderr] Downloaded cranelift-isle v0.116.1 [INFO] [stderr] Downloaded cranelift-entity v0.116.1 [INFO] [stderr] Downloaded regalloc2 v0.11.2 [INFO] [stderr] Downloaded cranelift-object v0.116.1 [INFO] [stderr] Downloaded generational-arena v0.2.9 [INFO] [stderr] Downloaded cranelift-module v0.116.1 [INFO] [stderr] Downloaded cranelift-codegen v0.116.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 456858557eb5e8dd949f1c6fb11151b419de5130f2e093432815315064ab8ff3 [INFO] running `Command { std: "docker" "start" "-a" "456858557eb5e8dd949f1c6fb11151b419de5130f2e093432815315064ab8ff3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "456858557eb5e8dd949f1c6fb11151b419de5130f2e093432815315064ab8ff3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "456858557eb5e8dd949f1c6fb11151b419de5130f2e093432815315064ab8ff3", kill_on_drop: false }` [INFO] [stdout] 456858557eb5e8dd949f1c6fb11151b419de5130f2e093432815315064ab8ff3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5dd82df51853f24454011beb125b51f4f757aaf4d90ef9df2fff3ade1b1a46e8 [INFO] running `Command { std: "docker" "start" "-a" "5dd82df51853f24454011beb125b51f4f757aaf4d90ef9df2fff3ade1b1a46e8", kill_on_drop: false }` [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling cranelift-isle v0.116.1 [INFO] [stderr] Compiling cranelift-codegen-shared v0.116.1 [INFO] [stderr] Compiling target-lexicon v0.13.2 [INFO] [stderr] Compiling cranelift-bitset v0.116.1 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling arbitrary v1.4.1 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling bumpalo v3.17.0 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling clap_builder v4.5.38 [INFO] [stderr] Compiling generational-arena v0.2.9 [INFO] [stderr] Compiling cranelift-codegen-meta v0.116.1 [INFO] [stderr] Compiling cranelift-entity v0.116.1 [INFO] [stderr] Compiling cranelift-bforest v0.116.1 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling regalloc2 v0.11.2 [INFO] [stderr] Compiling cranelift-control v0.116.1 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling cranelift-codegen v0.116.1 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling string-interner v0.19.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling clap v4.5.38 [INFO] [stderr] Compiling cranelift-module v0.116.1 [INFO] [stderr] Compiling cranelift-frontend v0.116.1 [INFO] [stderr] Compiling cranelift-native v0.116.1 [INFO] [stderr] Compiling cranelift-object v0.116.1 [INFO] [stderr] Compiling cranelift v0.116.1 [INFO] [stderr] Compiling volette v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `PrimitiveTypes` [INFO] [stdout] --> src/compiler/parser/expr.rs:8:40 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::compiler::tokens::{Keyword, PrimitiveTypes, Punctuation, Token, TokenKind}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Arena` [INFO] [stdout] --> src/compiler/parser/node.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use generational_arena::{Arena, Index}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Display`, `Formatter`, and `self` [INFO] [stdout] --> src/compiler/parser/node.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::{self, Display, Formatter}; [INFO] [stdout] | ^^^^ ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `StringInterner` and `backend::BucketBackend` [INFO] [stdout] --> src/compiler/parser/node.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use string_interner::{StringInterner, backend::BucketBackend, symbol::SymbolUsize}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `return_type` [INFO] [stdout] --> src/compiler/analysis/type_check.rs:20:50 [INFO] [stdout] | [INFO] [stdout] 20 | if let DefKind::Function { body, return_type, .. } = kind { [INFO] [stdout] | ^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: try removing the field [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_` [INFO] [stdout] --> src/compiler/codegen/block.rs:20:32 [INFO] [stdout] | [INFO] [stdout] 20 | NodeKind::Expr { kind, type_ } => match kind { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `type_: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_` [INFO] [stdout] --> src/compiler/codegen/block.rs:28:59 [INFO] [stdout] | [INFO] [stdout] 28 | NodeKind::Expr { kind: expr_kind, type_ } => match expr_kind { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `type_: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func_id` [INFO] [stdout] --> src/compiler/codegen/function.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | let func_id = info.module.declare_function(fn_name, Linkage::Export, &sig)?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_func_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_token` [INFO] [stdout] --> src/compiler/parser/expr.rs:320:39 [INFO] [stdout] | [INFO] [stdout] 320 | fn parse_prefix_op_nud(&mut self, op_token: Token) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `open_brace_token` [INFO] [stdout] --> src/compiler/parser/expr.rs:324:40 [INFO] [stdout] | [INFO] [stdout] 324 | fn parse_block_expr_nud(&mut self, open_brace_token: Token) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_open_brace_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `if_token` [INFO] [stdout] --> src/compiler/parser/expr.rs:328:37 [INFO] [stdout] | [INFO] [stdout] 328 | fn parse_if_expr_nud(&mut self, if_token: Token) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_if_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eq_token` [INFO] [stdout] --> src/compiler/parser/expr.rs:393:9 [INFO] [stdout] | [INFO] [stdout] 393 | eq_token: Token, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_eq_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_right_assoc` [INFO] [stdout] --> src/compiler/parser/expr.rs:395:9 [INFO] [stdout] | [INFO] [stdout] 395 | is_right_assoc: bool, /* should be true */ [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_right_assoc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `InvalidBinOp` is never constructed [INFO] [stdout] --> src/compiler/analysis/error.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum AnalysisError { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 24 | InvalidBinOp { op: BinOpKind, ty: Type, span: DisplaySpan }, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AnalysisError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `parse_prefix_op_nud` and `parse_if_expr_nud` are never used [INFO] [stdout] --> src/compiler/parser/expr.rs:320:8 [INFO] [stdout] | [INFO] [stdout] 29 | impl Parser { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 320 | fn parse_prefix_op_nud(&mut self, op_token: Token) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 328 | fn parse_if_expr_nud(&mut self, if_token: Token) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 46.62s [INFO] running `Command { std: "docker" "inspect" "5dd82df51853f24454011beb125b51f4f757aaf4d90ef9df2fff3ade1b1a46e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5dd82df51853f24454011beb125b51f4f757aaf4d90ef9df2fff3ade1b1a46e8", kill_on_drop: false }` [INFO] [stdout] 5dd82df51853f24454011beb125b51f4f757aaf4d90ef9df2fff3ade1b1a46e8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9e225380870fd46a43ef41117e3b89fb4c3fdcdc1c2c54dd2dc9498ab402a3ff [INFO] running `Command { std: "docker" "start" "-a" "9e225380870fd46a43ef41117e3b89fb4c3fdcdc1c2c54dd2dc9498ab402a3ff", kill_on_drop: false }` [INFO] [stderr] Compiling volette v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `PrimitiveTypes` [INFO] [stdout] --> src/compiler/parser/expr.rs:8:40 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::compiler::tokens::{Keyword, PrimitiveTypes, Punctuation, Token, TokenKind}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Arena` [INFO] [stdout] --> src/compiler/parser/node.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use generational_arena::{Arena, Index}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Display`, `Formatter`, and `self` [INFO] [stdout] --> src/compiler/parser/node.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::{self, Display, Formatter}; [INFO] [stdout] | ^^^^ ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `StringInterner` and `backend::BucketBackend` [INFO] [stdout] --> src/compiler/parser/node.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use string_interner::{StringInterner, backend::BucketBackend, symbol::SymbolUsize}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `return_type` [INFO] [stdout] --> src/compiler/analysis/type_check.rs:20:50 [INFO] [stdout] | [INFO] [stdout] 20 | if let DefKind::Function { body, return_type, .. } = kind { [INFO] [stdout] | ^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: try removing the field [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_` [INFO] [stdout] --> src/compiler/codegen/block.rs:20:32 [INFO] [stdout] | [INFO] [stdout] 20 | NodeKind::Expr { kind, type_ } => match kind { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `type_: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_` [INFO] [stdout] --> src/compiler/codegen/block.rs:28:59 [INFO] [stdout] | [INFO] [stdout] 28 | NodeKind::Expr { kind: expr_kind, type_ } => match expr_kind { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `type_: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func_id` [INFO] [stdout] --> src/compiler/codegen/function.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | let func_id = info.module.declare_function(fn_name, Linkage::Export, &sig)?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_func_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_token` [INFO] [stdout] --> src/compiler/parser/expr.rs:320:39 [INFO] [stdout] | [INFO] [stdout] 320 | fn parse_prefix_op_nud(&mut self, op_token: Token) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `open_brace_token` [INFO] [stdout] --> src/compiler/parser/expr.rs:324:40 [INFO] [stdout] | [INFO] [stdout] 324 | fn parse_block_expr_nud(&mut self, open_brace_token: Token) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_open_brace_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `if_token` [INFO] [stdout] --> src/compiler/parser/expr.rs:328:37 [INFO] [stdout] | [INFO] [stdout] 328 | fn parse_if_expr_nud(&mut self, if_token: Token) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_if_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eq_token` [INFO] [stdout] --> src/compiler/parser/expr.rs:393:9 [INFO] [stdout] | [INFO] [stdout] 393 | eq_token: Token, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_eq_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_right_assoc` [INFO] [stdout] --> src/compiler/parser/expr.rs:395:9 [INFO] [stdout] | [INFO] [stdout] 395 | is_right_assoc: bool, /* should be true */ [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_right_assoc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `InvalidBinOp` is never constructed [INFO] [stdout] --> src/compiler/analysis/error.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum AnalysisError { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 24 | InvalidBinOp { op: BinOpKind, ty: Type, span: DisplaySpan }, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AnalysisError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `parse_prefix_op_nud` and `parse_if_expr_nud` are never used [INFO] [stdout] --> src/compiler/parser/expr.rs:320:8 [INFO] [stdout] | [INFO] [stdout] 29 | impl Parser { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 320 | fn parse_prefix_op_nud(&mut self, op_token: Token) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 328 | fn parse_if_expr_nud(&mut self, if_token: Token) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PrimitiveTypes` [INFO] [stdout] --> src/compiler/parser/expr.rs:8:40 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::compiler::tokens::{Keyword, PrimitiveTypes, Punctuation, Token, TokenKind}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Arena` [INFO] [stdout] --> src/compiler/parser/node.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use generational_arena::{Arena, Index}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Display`, `Formatter`, and `self` [INFO] [stdout] --> src/compiler/parser/node.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::{self, Display, Formatter}; [INFO] [stdout] | ^^^^ ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `StringInterner` and `backend::BucketBackend` [INFO] [stdout] --> src/compiler/parser/node.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use string_interner::{StringInterner, backend::BucketBackend, symbol::SymbolUsize}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `return_type` [INFO] [stdout] --> src/compiler/analysis/type_check.rs:20:50 [INFO] [stdout] | [INFO] [stdout] 20 | if let DefKind::Function { body, return_type, .. } = kind { [INFO] [stdout] | ^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: try removing the field [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_` [INFO] [stdout] --> src/compiler/codegen/block.rs:20:32 [INFO] [stdout] | [INFO] [stdout] 20 | NodeKind::Expr { kind, type_ } => match kind { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `type_: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_` [INFO] [stdout] --> src/compiler/codegen/block.rs:28:59 [INFO] [stdout] | [INFO] [stdout] 28 | NodeKind::Expr { kind: expr_kind, type_ } => match expr_kind { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `type_: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func_id` [INFO] [stdout] --> src/compiler/codegen/function.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | let func_id = info.module.declare_function(fn_name, Linkage::Export, &sig)?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_func_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_token` [INFO] [stdout] --> src/compiler/parser/expr.rs:320:39 [INFO] [stdout] | [INFO] [stdout] 320 | fn parse_prefix_op_nud(&mut self, op_token: Token) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `open_brace_token` [INFO] [stdout] --> src/compiler/parser/expr.rs:324:40 [INFO] [stdout] | [INFO] [stdout] 324 | fn parse_block_expr_nud(&mut self, open_brace_token: Token) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_open_brace_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `if_token` [INFO] [stdout] --> src/compiler/parser/expr.rs:328:37 [INFO] [stdout] | [INFO] [stdout] 328 | fn parse_if_expr_nud(&mut self, if_token: Token) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_if_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eq_token` [INFO] [stdout] --> src/compiler/parser/expr.rs:393:9 [INFO] [stdout] | [INFO] [stdout] 393 | eq_token: Token, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_eq_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_right_assoc` [INFO] [stdout] --> src/compiler/parser/expr.rs:395:9 [INFO] [stdout] | [INFO] [stdout] 395 | is_right_assoc: bool, /* should be true */ [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_right_assoc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `InvalidBinOp` is never constructed [INFO] [stdout] --> src/compiler/analysis/error.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum AnalysisError { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 24 | InvalidBinOp { op: BinOpKind, ty: Type, span: DisplaySpan }, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AnalysisError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `parse_prefix_op_nud` and `parse_if_expr_nud` are never used [INFO] [stdout] --> src/compiler/parser/expr.rs:320:8 [INFO] [stdout] | [INFO] [stdout] 29 | impl Parser { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 320 | fn parse_prefix_op_nud(&mut self, op_token: Token) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 328 | fn parse_if_expr_nud(&mut self, if_token: Token) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.12s [INFO] running `Command { std: "docker" "inspect" "9e225380870fd46a43ef41117e3b89fb4c3fdcdc1c2c54dd2dc9498ab402a3ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e225380870fd46a43ef41117e3b89fb4c3fdcdc1c2c54dd2dc9498ab402a3ff", kill_on_drop: false }` [INFO] [stdout] 9e225380870fd46a43ef41117e3b89fb4c3fdcdc1c2c54dd2dc9498ab402a3ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d16a63b6cf484fcd80aee39cddad18e0ef0eb44f53a144cea22d493c9bb37781 [INFO] running `Command { std: "docker" "start" "-a" "d16a63b6cf484fcd80aee39cddad18e0ef0eb44f53a144cea22d493c9bb37781", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `PrimitiveTypes` [INFO] [stderr] --> src/compiler/parser/expr.rs:8:40 [INFO] [stderr] | [INFO] [stderr] 8 | use crate::compiler::tokens::{Keyword, PrimitiveTypes, Punctuation, Token, TokenKind}; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Arena` [INFO] [stderr] --> src/compiler/parser/node.rs:2:26 [INFO] [stderr] | [INFO] [stderr] 2 | use generational_arena::{Arena, Index}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Display`, `Formatter`, and `self` [INFO] [stderr] --> src/compiler/parser/node.rs:3:16 [INFO] [stderr] | [INFO] [stderr] 3 | use std::fmt::{self, Display, Formatter}; [INFO] [stderr] | ^^^^ ^^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `StringInterner` and `backend::BucketBackend` [INFO] [stderr] --> src/compiler/parser/node.rs:4:23 [INFO] [stderr] | [INFO] [stderr] 4 | use string_interner::{StringInterner, backend::BucketBackend, symbol::SymbolUsize}; [INFO] [stderr] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `return_type` [INFO] [stderr] --> src/compiler/analysis/type_check.rs:20:50 [INFO] [stderr] | [INFO] [stderr] 20 | if let DefKind::Function { body, return_type, .. } = kind { [INFO] [stderr] | ^^^^^^^^^^^- [INFO] [stderr] | | [INFO] [stderr] | help: try removing the field [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `type_` [INFO] [stderr] --> src/compiler/codegen/block.rs:20:32 [INFO] [stderr] | [INFO] [stderr] 20 | NodeKind::Expr { kind, type_ } => match kind { [INFO] [stderr] | ^^^^^ help: try ignoring the field: `type_: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `type_` [INFO] [stderr] --> src/compiler/codegen/block.rs:28:59 [INFO] [stderr] | [INFO] [stderr] 28 | NodeKind::Expr { kind: expr_kind, type_ } => match expr_kind { [INFO] [stderr] | ^^^^^ help: try ignoring the field: `type_: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `func_id` [INFO] [stderr] --> src/compiler/codegen/function.rs:43:17 [INFO] [stderr] | [INFO] [stderr] 43 | let func_id = info.module.declare_function(fn_name, Linkage::Export, &sig)?; [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_func_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `op_token` [INFO] [stderr] --> src/compiler/parser/expr.rs:320:39 [INFO] [stderr] | [INFO] [stderr] 320 | fn parse_prefix_op_nud(&mut self, op_token: Token) -> Result { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_token` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `open_brace_token` [INFO] [stderr] --> src/compiler/parser/expr.rs:324:40 [INFO] [stderr] | [INFO] [stderr] 324 | fn parse_block_expr_nud(&mut self, open_brace_token: Token) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_open_brace_token` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `if_token` [INFO] [stderr] --> src/compiler/parser/expr.rs:328:37 [INFO] [stderr] | [INFO] [stderr] 328 | fn parse_if_expr_nud(&mut self, if_token: Token) -> Result { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_if_token` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `eq_token` [INFO] [stderr] --> src/compiler/parser/expr.rs:393:9 [INFO] [stderr] | [INFO] [stderr] 393 | eq_token: Token, [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_eq_token` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `is_right_assoc` [INFO] [stderr] --> src/compiler/parser/expr.rs:395:9 [INFO] [stderr] | [INFO] [stderr] 395 | is_right_assoc: bool, /* should be true */ [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_right_assoc` [INFO] [stderr] [INFO] [stderr] warning: variant `InvalidBinOp` is never constructed [INFO] [stderr] --> src/compiler/analysis/error.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 9 | pub enum AnalysisError { [INFO] [stderr] | ------------- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 24 | InvalidBinOp { op: BinOpKind, ty: Type, span: DisplaySpan }, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AnalysisError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: methods `parse_prefix_op_nud` and `parse_if_expr_nud` are never used [INFO] [stderr] --> src/compiler/parser/expr.rs:320:8 [INFO] [stderr] | [INFO] [stderr] 29 | impl Parser { [INFO] [stderr] | ----------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 320 | fn parse_prefix_op_nud(&mut self, op_token: Token) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 328 | fn parse_if_expr_nud(&mut self, if_token: Token) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `volette` (lib) generated 15 warnings (run `cargo fix --lib -p volette` to apply 5 suggestions) [INFO] [stderr] warning: `volette` (lib test) generated 15 warnings (15 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/volette-545e4c559c497f6a) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test compiler::lexer::numbers::tests::test_lex_numbers ... ok [INFO] [stdout] test compiler::lexer::type_literals::tests::test_lex_types ... ok [INFO] [stdout] test compiler::lexer::tests::test_lex_identifiers_with_keywords ... ok [INFO] [stdout] test compiler::lexer::keywords::tests::test_lex_keywords ... ok [INFO] [stdout] test compiler::lexer::bool::tests::test_lex_bool ... ok [INFO] [stdout] test compiler::lexer::punctuation::tests::test_lex_punctuation ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/volette-7926c97c84d1ef87) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/lexer.rs (/opt/rustwide/target/debug/deps/lexer-5bc9674d7b052b32) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_lexer ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests volette [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d16a63b6cf484fcd80aee39cddad18e0ef0eb44f53a144cea22d493c9bb37781", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d16a63b6cf484fcd80aee39cddad18e0ef0eb44f53a144cea22d493c9bb37781", kill_on_drop: false }` [INFO] [stdout] d16a63b6cf484fcd80aee39cddad18e0ef0eb44f53a144cea22d493c9bb37781