[INFO] cloning repository https://github.com/Lokasku/lazy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Lokasku/lazy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLokasku%2Flazy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLokasku%2Flazy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 902e21df2e0a552724ffc7e9acb2995f850fc4ae [INFO] checking Lokasku/lazy against try#b4c55082edd8dec08ce8af276d7054d9c4db20c4 for pr-147984 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLokasku%2Flazy" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Lokasku/lazy [INFO] finished tweaking git repo https://github.com/Lokasku/lazy [INFO] tweaked toml for git repo https://github.com/Lokasku/lazy written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Lokasku/lazy on toolchain b4c55082edd8dec08ce8af276d7054d9c4db20c4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b4c55082edd8dec08ce8af276d7054d9c4db20c4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Lokasku/lazy 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" "+b4c55082edd8dec08ce8af276d7054d9c4db20c4" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking Lokasku/lazy against try#b4c55082edd8dec08ce8af276d7054d9c4db20c4 for pr-147984 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLokasku%2Flazy" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Lokasku/lazy [INFO] finished tweaking git repo https://github.com/Lokasku/lazy [INFO] tweaked toml for git repo https://github.com/Lokasku/lazy written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Lokasku/lazy on toolchain b4c55082edd8dec08ce8af276d7054d9c4db20c4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b4c55082edd8dec08ce8af276d7054d9c4db20c4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Lokasku/lazy 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" "+b4c55082edd8dec08ce8af276d7054d9c4db20c4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded higher-kinded-types v0.1.1 [INFO] [stderr] Downloaded never-say-never v6.6.666 [INFO] [stderr] Downloaded ariadne v0.4.0 [INFO] [stderr] Downloaded cc v1.0.92 [INFO] [stderr] Downloaded polonius-the-crab v0.4.1 [INFO] [stderr] Downloaded syn v2.0.53 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b4c55082edd8dec08ce8af276d7054d9c4db20c4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c1975b3cce98746a2ec0b4c75d8480a1aa4d7f2753b4e0cdab986885778e3cc2 [INFO] running `Command { std: "docker" "start" "-a" "c1975b3cce98746a2ec0b4c75d8480a1aa4d7f2753b4e0cdab986885778e3cc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c1975b3cce98746a2ec0b4c75d8480a1aa4d7f2753b4e0cdab986885778e3cc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1975b3cce98746a2ec0b4c75d8480a1aa4d7f2753b4e0cdab986885778e3cc2", kill_on_drop: false }` [INFO] [stdout] c1975b3cce98746a2ec0b4c75d8480a1aa4d7f2753b4e0cdab986885778e3cc2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b4c55082edd8dec08ce8af276d7054d9c4db20c4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4256e6c8b8810db89c4e71848a4cca59be749d524e2563c463e422e3355219bd [INFO] running `Command { std: "docker" "start" "-a" "4256e6c8b8810db89c4e71848a4cca59be749d524e2563c463e422e3355219bd", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.92 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Checking concolor-query v0.3.3 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Checking never-say-never v6.6.666 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking higher-kinded-types v0.1.1 [INFO] [stderr] Checking concolor v0.1.1 [INFO] [stderr] Checking polonius-the-crab v0.4.1 [INFO] [stderr] Checking ariadne v0.4.0 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.53 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Checking chumsky v0.9.3 [INFO] [stderr] Compiling logos-codegen v0.14.0 [INFO] [stderr] Compiling logos-derive v0.14.0 [INFO] [stderr] Checking logos v0.14.0 [INFO] [stderr] Checking risk v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ParsedExpr` [INFO] [stdout] --> src/parser/mod.rs:19:58 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::ast::{App, BinOp, Bool, Literal, LiteralKind, ParsedExpr, TypeDecl}; [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: `Type` [INFO] [stdout] --> src/semantics/tc/error.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::ast::{Type, Span}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ParsedExpr` [INFO] [stdout] --> src/parser/mod.rs:19:58 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::ast::{App, BinOp, Bool, Literal, LiteralKind, ParsedExpr, TypeDecl}; [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: `Type` [INFO] [stdout] --> src/semantics/tc/error.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::ast::{Type, Span}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `strict_provenance` has been stable since 1.84.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | #![feature(strict_provenance)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `strict_provenance` has been stable since 1.84.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | #![feature(strict_provenance)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> src/semantics/tc/error.rs:55:56 [INFO] [stdout] | [INFO] [stdout] 55 | TypeCheckerErrorKind::NonExhaustiveMatch { span } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `span: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> src/semantics/tc/error.rs:58:50 [INFO] [stdout] | [INFO] [stdout] 58 | TypeCheckerErrorKind::InfiniteType { span } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `span: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> src/semantics/tc/error.rs:61:51 [INFO] [stdout] | [INFO] [stdout] 61 | TypeCheckerErrorKind::AmbiguousType { span } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `span: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> src/semantics/tc/error.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | span, [INFO] [stdout] | ^^^^ help: try ignoring the field: `span: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> src/semantics/tc/error.rs:74:54 [INFO] [stdout] | [INFO] [stdout] 74 | TypeCheckerErrorKind::UnificationError { span } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `span: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/semantics/tc/mod.rs:80:39 [INFO] [stdout] | [INFO] [stdout] 80 | AnnExpr::App(App { ident, args, span }) => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> src/semantics/tc/mod.rs:80:45 [INFO] [stdout] | [INFO] [stdout] 80 | AnnExpr::App(App { ident, args, span }) => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `span: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/semantics/tc/mod.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 94 | name, [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/semantics/tc/mod.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | args, [INFO] [stdout] | ^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/semantics/tc/mod.rs:96:17 [INFO] [stdout] | [INFO] [stdout] 96 | expr, [INFO] [stdout] | ^^^^ help: try ignoring the field: `expr: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> src/semantics/tc/mod.rs:97:17 [INFO] [stdout] | [INFO] [stdout] 97 | span [INFO] [stdout] | ^^^^ help: try ignoring the field: `span: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/bytecode/chunk.rs:58:36 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn dissassemble(&mut self, name: &str) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> src/semantics/tc/error.rs:55:56 [INFO] [stdout] | [INFO] [stdout] 55 | TypeCheckerErrorKind::NonExhaustiveMatch { span } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `span: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> src/semantics/tc/error.rs:58:50 [INFO] [stdout] | [INFO] [stdout] 58 | TypeCheckerErrorKind::InfiniteType { span } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `span: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> src/semantics/tc/error.rs:61:51 [INFO] [stdout] | [INFO] [stdout] 61 | TypeCheckerErrorKind::AmbiguousType { span } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `span: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> src/semantics/tc/error.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | span, [INFO] [stdout] | ^^^^ help: try ignoring the field: `span: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> src/semantics/tc/error.rs:74:54 [INFO] [stdout] | [INFO] [stdout] 74 | TypeCheckerErrorKind::UnificationError { span } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `span: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/semantics/tc/mod.rs:80:39 [INFO] [stdout] | [INFO] [stdout] 80 | AnnExpr::App(App { ident, args, span }) => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> src/semantics/tc/mod.rs:80:45 [INFO] [stdout] | [INFO] [stdout] 80 | AnnExpr::App(App { ident, args, span }) => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `span: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/semantics/tc/mod.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 94 | name, [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/semantics/tc/mod.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | args, [INFO] [stdout] | ^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/semantics/tc/mod.rs:96:17 [INFO] [stdout] | [INFO] [stdout] 96 | expr, [INFO] [stdout] | ^^^^ help: try ignoring the field: `expr: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> src/semantics/tc/mod.rs:97:17 [INFO] [stdout] | [INFO] [stdout] 97 | span [INFO] [stdout] | ^^^^ help: try ignoring the field: `span: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ret` [INFO] [stdout] --> src/compiler/mod.rs:162:35 [INFO] [stdout] | [INFO] [stdout] 162 | AnnExpr::Let { binds, ret, ann } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `ret: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_span` is never used [INFO] [stdout] --> src/ast/mod.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 136 | impl ParsedExpr { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 137 | pub fn get_span(&self) -> &Span { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_span` is never used [INFO] [stdout] --> src/ast/mod.rs:290:12 [INFO] [stdout] | [INFO] [stdout] 289 | impl Type { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 290 | pub fn get_span(&self) -> &Span { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_span` is never used [INFO] [stdout] --> src/ast/mod.rs:312:12 [INFO] [stdout] | [INFO] [stdout] 311 | impl Pattern { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 312 | pub fn get_span(&self) -> &Span { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `expect` is never used [INFO] [stdout] --> src/parser/mod.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 40 | impl<'a> Parser<'a> { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 117 | fn expect(&mut self, token: Token<'a>) -> ParserResult> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ExpectedNewline`, `UnexpectedEOF`, `UnexpectedTokenInPattern`, and `TooMuchExpr` are never constructed [INFO] [stdout] --> src/parser/error.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum ErrorKind { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 24 | UnexpectedToken { expected: String, found: Span }, [INFO] [stdout] 25 | ExpectedNewline { found: Span }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | UnexpectedEOF { expected: String }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 27 | UnexpectedEndOfInput, [INFO] [stdout] 28 | UnexpectedTokenInPattern { found: Span }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 29 | TooMuchExpr { found: Span }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ErrorKind` 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: struct `Symbol` is never constructed [INFO] [stdout] --> src/semantics/tc/mod.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Symbol { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Variant` is never used [INFO] [stdout] --> src/semantics/tc/mod.rs:34:6 [INFO] [stdout] | [INFO] [stdout] 34 | type Variant = String; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TypeChecker` is never constructed [INFO] [stdout] --> src/semantics/tc/mod.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct TypeChecker { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_type`, and `analyze_statement` are never used [INFO] [stdout] --> src/semantics/tc/mod.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl TypeChecker { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 48 | pub fn new(filename: &'static str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn get_type(&self, expr: AnnExpr) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn analyze_statement(&mut self, statement: Statement) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Annot` is never used [INFO] [stdout] --> src/semantics/tc/ast.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub type Annot = (Span, Type); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `TypedExpr` is never used [INFO] [stdout] --> src/semantics/tc/ast.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 4 | type TypedExpr = AnnExpr; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_span` is never used [INFO] [stdout] --> src/semantics/tc/ast.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl TypedExpr { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 7 | pub fn get_span(&self) -> &Span { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TypeCheckerErrorKind` is never used [INFO] [stdout] --> src/semantics/tc/error.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum TypeCheckerErrorKind { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TypeCheckerError` is never constructed [INFO] [stdout] --> src/semantics/tc/error.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct TypeCheckerError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `report` is never used [INFO] [stdout] --> src/semantics/tc/error.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl TypeCheckerError { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 37 | pub fn report(&self, filename: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `as_int`, `into_bytecode`, and `from_bytecode` are never used [INFO] [stdout] --> src/bytecode/constant.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Constant { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn as_int(&self) -> i64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn into_bytecode(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn from_bytecode(bytes: &[u8]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dis_constinue` is never read [INFO] [stdout] --> src/bytecode/chunk.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Chunk { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | dis_constinue: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Chunk` 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: methods `getOpCodeCount` and `getConstantCount` are never used [INFO] [stdout] --> src/bytecode/chunk.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Chunk { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn getOpCodeCount(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn getConstantCount(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/mod.rs:226:16 [INFO] [stdout] | [INFO] [stdout] 226 | fn back_up(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 226 | fn back_up(&mut self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser/lexer.rs:209:41 [INFO] [stdout] | [INFO] [stdout] 209 | pub fn lexer<'a>(input: &'a str) -> Vec { [INFO] [stdout] | -- ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 209 | pub fn lexer<'a>(input: &'a str) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `addOpCode` should have a snake case name [INFO] [stdout] --> src/bytecode/chunk.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn addOpCode(&mut self, op: OpCode, span: Span) { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `add_op_code` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `addByte` should have a snake case name [INFO] [stdout] --> src/bytecode/chunk.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn addByte(&mut self, byte: u8, span: Span) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `add_byte` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `addConstant` should have a snake case name [INFO] [stdout] --> src/bytecode/chunk.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn addConstant(&mut self, constant: Constant) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `add_constant` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getOpCode` should have a snake case name [INFO] [stdout] --> src/bytecode/chunk.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn getOpCode(&self, index: usize) -> OpCode { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `get_op_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getConstant` should have a snake case name [INFO] [stdout] --> src/bytecode/chunk.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn getConstant(&self, index: usize) -> Constant { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `get_constant` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getOpCodeCount` should have a snake case name [INFO] [stdout] --> src/bytecode/chunk.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn getOpCodeCount(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_op_code_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getConstantCount` should have a snake case name [INFO] [stdout] --> src/bytecode/chunk.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn getConstantCount(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_constant_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `dissassembleInstruction` should have a snake case name [INFO] [stdout] --> src/bytecode/chunk.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn dissassembleInstruction(&mut self, offset: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `dissassemble_instruction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `constantInstruction` should have a snake case name [INFO] [stdout] --> src/bytecode/chunk.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn constantInstruction(&mut self, name: &str, offset: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `constant_instruction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `simpleInstruction` should have a snake case name [INFO] [stdout] --> src/bytecode/chunk.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn simpleInstruction(&self, name: &str, offset: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `simple_instruction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `addByte` should have a snake case name [INFO] [stdout] --> src/compiler/mod.rs:308:8 [INFO] [stdout] | [INFO] [stdout] 308 | fn addByte(&mut self, byte: u8) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `add_byte` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `addOpCode` should have a snake case name [INFO] [stdout] --> src/compiler/mod.rs:313:8 [INFO] [stdout] | [INFO] [stdout] 313 | fn addOpCode(&mut self, op: OpCode) { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `add_op_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/bytecode/chunk.rs:58:36 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn dissassemble(&mut self, name: &str) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ret` [INFO] [stdout] --> src/compiler/mod.rs:162:35 [INFO] [stdout] | [INFO] [stdout] 162 | AnnExpr::Let { binds, ret, ann } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `ret: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_span` is never used [INFO] [stdout] --> src/ast/mod.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 136 | impl ParsedExpr { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 137 | pub fn get_span(&self) -> &Span { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_span` is never used [INFO] [stdout] --> src/ast/mod.rs:290:12 [INFO] [stdout] | [INFO] [stdout] 289 | impl Type { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 290 | pub fn get_span(&self) -> &Span { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_span` is never used [INFO] [stdout] --> src/ast/mod.rs:312:12 [INFO] [stdout] | [INFO] [stdout] 311 | impl Pattern { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 312 | pub fn get_span(&self) -> &Span { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `expect` is never used [INFO] [stdout] --> src/parser/mod.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 40 | impl<'a> Parser<'a> { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 117 | fn expect(&mut self, token: Token<'a>) -> ParserResult> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ExpectedNewline`, `UnexpectedEOF`, `UnexpectedTokenInPattern`, and `TooMuchExpr` are never constructed [INFO] [stdout] --> src/parser/error.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum ErrorKind { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 24 | UnexpectedToken { expected: String, found: Span }, [INFO] [stdout] 25 | ExpectedNewline { found: Span }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | UnexpectedEOF { expected: String }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 27 | UnexpectedEndOfInput, [INFO] [stdout] 28 | UnexpectedTokenInPattern { found: Span }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 29 | TooMuchExpr { found: Span }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ErrorKind` 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: struct `Symbol` is never constructed [INFO] [stdout] --> src/semantics/tc/mod.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Symbol { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Variant` is never used [INFO] [stdout] --> src/semantics/tc/mod.rs:34:6 [INFO] [stdout] | [INFO] [stdout] 34 | type Variant = String; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TypeChecker` is never constructed [INFO] [stdout] --> src/semantics/tc/mod.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct TypeChecker { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_type`, and `analyze_statement` are never used [INFO] [stdout] --> src/semantics/tc/mod.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl TypeChecker { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 48 | pub fn new(filename: &'static str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn get_type(&self, expr: AnnExpr) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn analyze_statement(&mut self, statement: Statement) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Annot` is never used [INFO] [stdout] --> src/semantics/tc/ast.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub type Annot = (Span, Type); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `TypedExpr` is never used [INFO] [stdout] --> src/semantics/tc/ast.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 4 | type TypedExpr = AnnExpr; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_span` is never used [INFO] [stdout] --> src/semantics/tc/ast.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl TypedExpr { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 7 | pub fn get_span(&self) -> &Span { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TypeCheckerErrorKind` is never used [INFO] [stdout] --> src/semantics/tc/error.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum TypeCheckerErrorKind { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TypeCheckerError` is never constructed [INFO] [stdout] --> src/semantics/tc/error.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct TypeCheckerError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `report` is never used [INFO] [stdout] --> src/semantics/tc/error.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl TypeCheckerError { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 37 | pub fn report(&self, filename: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_int` is never used [INFO] [stdout] --> src/bytecode/constant.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Constant { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn as_int(&self) -> i64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dis_constinue` is never read [INFO] [stdout] --> src/bytecode/chunk.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Chunk { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | dis_constinue: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Chunk` 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: methods `getOpCodeCount` and `getConstantCount` are never used [INFO] [stdout] --> src/bytecode/chunk.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Chunk { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn getOpCodeCount(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn getConstantCount(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/mod.rs:226:16 [INFO] [stdout] | [INFO] [stdout] 226 | fn back_up(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 226 | fn back_up(&mut self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser/lexer.rs:209:41 [INFO] [stdout] | [INFO] [stdout] 209 | pub fn lexer<'a>(input: &'a str) -> Vec { [INFO] [stdout] | -- ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 209 | pub fn lexer<'a>(input: &'a str) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `addOpCode` should have a snake case name [INFO] [stdout] --> src/bytecode/chunk.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn addOpCode(&mut self, op: OpCode, span: Span) { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `add_op_code` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `addByte` should have a snake case name [INFO] [stdout] --> src/bytecode/chunk.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn addByte(&mut self, byte: u8, span: Span) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `add_byte` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `addConstant` should have a snake case name [INFO] [stdout] --> src/bytecode/chunk.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn addConstant(&mut self, constant: Constant) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `add_constant` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getOpCode` should have a snake case name [INFO] [stdout] --> src/bytecode/chunk.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn getOpCode(&self, index: usize) -> OpCode { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `get_op_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getConstant` should have a snake case name [INFO] [stdout] --> src/bytecode/chunk.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn getConstant(&self, index: usize) -> Constant { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `get_constant` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getOpCodeCount` should have a snake case name [INFO] [stdout] --> src/bytecode/chunk.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn getOpCodeCount(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_op_code_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getConstantCount` should have a snake case name [INFO] [stdout] --> src/bytecode/chunk.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn getConstantCount(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_constant_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `dissassembleInstruction` should have a snake case name [INFO] [stdout] --> src/bytecode/chunk.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn dissassembleInstruction(&mut self, offset: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `dissassemble_instruction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `constantInstruction` should have a snake case name [INFO] [stdout] --> src/bytecode/chunk.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn constantInstruction(&mut self, name: &str, offset: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `constant_instruction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `simpleInstruction` should have a snake case name [INFO] [stdout] --> src/bytecode/chunk.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn simpleInstruction(&self, name: &str, offset: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `simple_instruction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `addByte` should have a snake case name [INFO] [stdout] --> src/compiler/mod.rs:308:8 [INFO] [stdout] | [INFO] [stdout] 308 | fn addByte(&mut self, byte: u8) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `add_byte` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `addOpCode` should have a snake case name [INFO] [stdout] --> src/compiler/mod.rs:313:8 [INFO] [stdout] | [INFO] [stdout] 313 | fn addOpCode(&mut self, op: OpCode) { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `add_op_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.94s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: higher-kinded-types v0.1.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "4256e6c8b8810db89c4e71848a4cca59be749d524e2563c463e422e3355219bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4256e6c8b8810db89c4e71848a4cca59be749d524e2563c463e422e3355219bd", kill_on_drop: false }` [INFO] [stdout] 4256e6c8b8810db89c4e71848a4cca59be749d524e2563c463e422e3355219bd