[INFO] cloning repository https://github.com/jst-r/lof-lang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jst-r/lof-lang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjst-r%2Flof-lang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjst-r%2Flof-lang'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4541a0150e12d339c234719d6eca8385eb2e6334 [INFO] checking jst-r/lof-lang against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjst-r%2Flof-lang" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jst-r/lof-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/jst-r/lof-lang [INFO] finished tweaking git repo https://github.com/jst-r/lof-lang [INFO] tweaked toml for git repo https://github.com/jst-r/lof-lang written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jst-r/lof-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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6e55958523362633f715357be2528e6ae7fed74b67e6ae15a4981459c8cb6c72 [INFO] running `Command { std: "docker" "start" "-a" "6e55958523362633f715357be2528e6ae7fed74b67e6ae15a4981459c8cb6c72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6e55958523362633f715357be2528e6ae7fed74b67e6ae15a4981459c8cb6c72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e55958523362633f715357be2528e6ae7fed74b67e6ae15a4981459c8cb6c72", kill_on_drop: false }` [INFO] [stdout] 6e55958523362633f715357be2528e6ae7fed74b67e6ae15a4981459c8cb6c72 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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] 10bd53337fed914920e2fc5f8da5070f1c2f197bfd8914c490ac844b9f629cc6 [INFO] running `Command { std: "docker" "start" "-a" "10bd53337fed914920e2fc5f8da5070f1c2f197bfd8914c490ac844b9f629cc6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling indexmap v2.2.3 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Compiling num_enum_derive v0.7.2 [INFO] [stderr] Checking num_enum v0.7.2 [INFO] [stderr] Checking lof-lang v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `compiler::scanner::Scanner` and `virtual_machine::chunk::disassemble_operation` [INFO] [stdout] --> src/compiler/compiler.rs:215:17 [INFO] [stdout] | [INFO] [stdout] 215 | use crate::{compiler::scanner::Scanner, virtual_machine::chunk::disassemble_operation}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Scanner` [INFO] [stdout] --> src/compiler/scanner.rs:297:17 [INFO] [stdout] | [INFO] [stdout] 297 | use super::{Scanner, ScannerResult}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `virtual_machine::chunk::disassemble_operation` [INFO] [stdout] --> src/compiler/compiler.rs:215:45 [INFO] [stdout] | [INFO] [stdout] 215 | use crate::{compiler::scanner::Scanner, virtual_machine::chunk::disassemble_operation}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/compiler/compiler.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 109 | / loop { [INFO] [stdout] 110 | | let infix_rule = ParseRule::from_token(&self.peek()?).infix.unwrap(); [INFO] [stdout] 111 | | infix_rule(self)?; [INFO] [stdout] 112 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 113 | [INFO] [stdout] 114 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/compiler/compiler.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 109 | / loop { [INFO] [stdout] 110 | | let infix_rule = ParseRule::from_token(&self.peek()?).infix.unwrap(); [INFO] [stdout] 111 | | infix_rule(self)?; [INFO] [stdout] 112 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 113 | [INFO] [stdout] 114 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kind` [INFO] [stdout] --> src/compiler/compiler.rs:98:27 [INFO] [stdout] | [INFO] [stdout] 98 | fn consume(&mut self, kind: TokenKind) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_kind` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `precedence` [INFO] [stdout] --> src/compiler/compiler.rs:102:36 [INFO] [stdout] | [INFO] [stdout] 102 | fn parse_precedence(&mut self, precedence: Precedence) -> Result<(), CompilerError> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_precedence` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/compiler/compiler.rs:168:32 [INFO] [stdout] | [INFO] [stdout] 168 | fn error_at_current(&self, err: ScannerError) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kind` [INFO] [stdout] --> src/compiler/compiler.rs:98:27 [INFO] [stdout] | [INFO] [stdout] 98 | fn consume(&mut self, kind: TokenKind) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_kind` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `precedence` [INFO] [stdout] --> src/compiler/compiler.rs:102:36 [INFO] [stdout] | [INFO] [stdout] 102 | fn parse_precedence(&mut self, precedence: Precedence) -> Result<(), CompilerError> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_precedence` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/compiler/compiler.rs:168:32 [INFO] [stdout] | [INFO] [stdout] 168 | fn error_at_current(&self, err: ScannerError) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `source` is never read [INFO] [stdout] --> src/compiler/scanner.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct Scanner<'source> { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 53 | tokens: Vec>, [INFO] [stdout] 54 | source: &'source str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_kind` is never used [INFO] [stdout] --> src/compiler/scanner.rs:299:8 [INFO] [stdout] | [INFO] [stdout] 299 | fn assert_kind(token: ScannerResult, kind: TokenKind) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_eof` is never used [INFO] [stdout] --> src/compiler/scanner.rs:303:8 [INFO] [stdout] | [INFO] [stdout] 303 | fn assert_eof(token: ScannerResult) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/compiler/compiler.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | dbg!(self.peek()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `source` is never read [INFO] [stdout] --> src/compiler/scanner.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct Scanner<'source> { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 53 | tokens: Vec>, [INFO] [stdout] 54 | source: &'source str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/compiler/compiler.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | dbg!(self.peek()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `chunk::Chunk`, `op_code::OpCode`, `token::TokenKind`, and `vm::VM` [INFO] [stdout] --> src/main.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | token::TokenKind, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | }, [INFO] [stdout] 6 | virtual_machine::{chunk::Chunk, op_code::OpCode, vm::VM}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `chunk::Chunk`, `op_code::OpCode`, `token::TokenKind`, and `vm::VM` [INFO] [stdout] --> src/main.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | token::TokenKind, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | }, [INFO] [stdout] 6 | virtual_machine::{chunk::Chunk, op_code::OpCode, vm::VM}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.98s [INFO] running `Command { std: "docker" "inspect" "10bd53337fed914920e2fc5f8da5070f1c2f197bfd8914c490ac844b9f629cc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10bd53337fed914920e2fc5f8da5070f1c2f197bfd8914c490ac844b9f629cc6", kill_on_drop: false }` [INFO] [stdout] 10bd53337fed914920e2fc5f8da5070f1c2f197bfd8914c490ac844b9f629cc6