[INFO] cloning repository https://github.com/Pyrodash/jmath [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Pyrodash/jmath" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPyrodash%2Fjmath", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPyrodash%2Fjmath'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 092248801590c3f91d5eb65bd41832410a71d200 [INFO] building Pyrodash/jmath against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPyrodash%2Fjmath" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Pyrodash/jmath on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Pyrodash/jmath [INFO] finished tweaking git repo https://github.com/Pyrodash/jmath [INFO] tweaked toml for git repo https://github.com/Pyrodash/jmath written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Pyrodash/jmath 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded io-lifetimes v0.7.3 [INFO] [stderr] Downloaded fd-lock v3.0.6 [INFO] [stderr] Downloaded rustyline v10.0.0 [INFO] [stderr] Downloaded rustix v0.35.9 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b5f882974eb7951dfa4aa9450f31af3caf99ad9e7df0d9a2a870ce0e4c3faf51 [INFO] running `Command { std: "docker" "start" "-a" "b5f882974eb7951dfa4aa9450f31af3caf99ad9e7df0d9a2a870ce0e4c3faf51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b5f882974eb7951dfa4aa9450f31af3caf99ad9e7df0d9a2a870ce0e4c3faf51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5f882974eb7951dfa4aa9450f31af3caf99ad9e7df0d9a2a870ce0e4c3faf51", kill_on_drop: false }` [INFO] [stdout] b5f882974eb7951dfa4aa9450f31af3caf99ad9e7df0d9a2a870ce0e4c3faf51 [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 -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fbc9d5c15d435a5383803fb31c5c7067aab8ce77af610ae8bedae902208b1a0d [INFO] running `Command { std: "docker" "start" "-a" "fbc9d5c15d435a5383803fb31c5c7067aab8ce77af610ae8bedae902208b1a0d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling io-lifetimes v0.7.3 [INFO] [stderr] Compiling rustix v0.35.9 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling linux-raw-sys v0.0.46 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling endian-type v0.1.2 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling utf8parse v0.2.0 [INFO] [stderr] Compiling nibble_vec v0.1.0 [INFO] [stderr] Compiling radix_trie v0.2.1 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling nix v0.24.2 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling fd-lock v3.0.6 [INFO] [stderr] Compiling rustyline v10.0.0 [INFO] [stderr] Compiling jmath v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/parser.rs:356:46 [INFO] [stdout] | [INFO] [stdout] 355 | impl<'a> Parser<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 356 | pub fn new(source: &'a mut Lexer<'a>) -> Parser { [INFO] [stdout] | ^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/ast.rs:83:48 [INFO] [stdout] | [INFO] [stdout] 83 | Node::Function { name, parameters, body } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `body: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/interpreter.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | for i in 0..cols { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/interpreter.rs:169:33 [INFO] [stdout] | [INFO] [stdout] 169 | Node::Declaration { name, kind } => todo!("Unimplemented"), [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kind` [INFO] [stdout] --> src/interpreter.rs:169:39 [INFO] [stdout] | [INFO] [stdout] 169 | Node::Declaration { name, kind } => todo!("Unimplemented"), [INFO] [stdout] | ^^^^ help: try ignoring the field: `kind: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/interpreter.rs:170:30 [INFO] [stdout] | [INFO] [stdout] 170 | Node::Function { name, parameters, body } => todo!("Unimplemented"), [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parameters` [INFO] [stdout] --> src/interpreter.rs:170:36 [INFO] [stdout] | [INFO] [stdout] 170 | Node::Function { name, parameters, body } => todo!("Unimplemented"), [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `parameters: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/interpreter.rs:170:48 [INFO] [stdout] | [INFO] [stdout] 170 | Node::Function { name, parameters, body } => todo!("Unimplemented"), [INFO] [stdout] | ^^^^ help: try ignoring the field: `body: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `Number` should have an upper case name [INFO] [stdout] --> src/symbol.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const Number: Symbol = Symbol::Native { name: "Number" }; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `NUMBER` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `Decimal` should have an upper case name [INFO] [stdout] --> src/symbol.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const Decimal: Symbol = Symbol::Native { name: "Decimal" }; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper case: `DECIMAL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `Array` should have an upper case name [INFO] [stdout] --> src/symbol.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const Array: Symbol = Symbol::Native { name: "Array" }; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `ARRAY` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `symName` should have a snake case name [INFO] [stdout] --> src/symbol.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let symName: &'a str; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `sym_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/parser.rs:356:46 [INFO] [stdout] | [INFO] [stdout] 355 | impl<'a> Parser<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 356 | pub fn new(source: &'a mut Lexer<'a>) -> Parser { [INFO] [stdout] | ^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/ast.rs:83:48 [INFO] [stdout] | [INFO] [stdout] 83 | Node::Function { name, parameters, body } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `body: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/interpreter.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | for i in 0..cols { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/interpreter.rs:169:33 [INFO] [stdout] | [INFO] [stdout] 169 | Node::Declaration { name, kind } => todo!("Unimplemented"), [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kind` [INFO] [stdout] --> src/interpreter.rs:169:39 [INFO] [stdout] | [INFO] [stdout] 169 | Node::Declaration { name, kind } => todo!("Unimplemented"), [INFO] [stdout] | ^^^^ help: try ignoring the field: `kind: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/interpreter.rs:170:30 [INFO] [stdout] | [INFO] [stdout] 170 | Node::Function { name, parameters, body } => todo!("Unimplemented"), [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parameters` [INFO] [stdout] --> src/interpreter.rs:170:36 [INFO] [stdout] | [INFO] [stdout] 170 | Node::Function { name, parameters, body } => todo!("Unimplemented"), [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `parameters: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/interpreter.rs:170:48 [INFO] [stdout] | [INFO] [stdout] 170 | Node::Function { name, parameters, body } => todo!("Unimplemented"), [INFO] [stdout] | ^^^^ help: try ignoring the field: `body: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:103:22 [INFO] [stdout] | [INFO] [stdout] 103 | pub struct Block<'a>(pub Vec>); [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Block` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `powi` is never used [INFO] [stdout] --> src/memory.rs:380:12 [INFO] [stdout] | [INFO] [stdout] 379 | impl Value { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 380 | pub fn powi(self, rhs: i32) -> Value { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `pop` and `len` are never used [INFO] [stdout] --> src/memory.rs:468:12 [INFO] [stdout] | [INFO] [stdout] 441 | impl CallStack { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 468 | pub fn pop(&mut self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 472 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_record` and `from_stack` are never used [INFO] [stdout] --> src/interpreter.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 66 | impl Interpreter { [INFO] [stdout] | ---------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn from_record(record: ActivationRecord) -> Interpreter { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn from_stack(stack: CallStack) -> Interpreter { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.16s [INFO] running `Command { std: "docker" "inspect" "fbc9d5c15d435a5383803fb31c5c7067aab8ce77af610ae8bedae902208b1a0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbc9d5c15d435a5383803fb31c5c7067aab8ce77af610ae8bedae902208b1a0d", kill_on_drop: false }` [INFO] [stdout] fbc9d5c15d435a5383803fb31c5c7067aab8ce77af610ae8bedae902208b1a0d [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 -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7ccd111080293c6c550df73df5ef231b1b5e1c6b36a92e4861fe7d171d360c12 [INFO] running `Command { std: "docker" "start" "-a" "7ccd111080293c6c550df73df5ef231b1b5e1c6b36a92e4861fe7d171d360c12", kill_on_drop: false }` [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/parser.rs:356:46 [INFO] [stdout] | [INFO] [stdout] 355 | impl<'a> Parser<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 356 | pub fn new(source: &'a mut Lexer<'a>) -> Parser { [INFO] [stdout] | ^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/ast.rs:83:48 [INFO] [stdout] | [INFO] [stdout] 83 | Node::Function { name, parameters, body } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `body: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling jmath v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/interpreter.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | for i in 0..cols { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/interpreter.rs:169:33 [INFO] [stdout] | [INFO] [stdout] 169 | Node::Declaration { name, kind } => todo!("Unimplemented"), [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kind` [INFO] [stdout] --> src/interpreter.rs:169:39 [INFO] [stdout] | [INFO] [stdout] 169 | Node::Declaration { name, kind } => todo!("Unimplemented"), [INFO] [stdout] | ^^^^ help: try ignoring the field: `kind: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/interpreter.rs:170:30 [INFO] [stdout] | [INFO] [stdout] 170 | Node::Function { name, parameters, body } => todo!("Unimplemented"), [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parameters` [INFO] [stdout] --> src/interpreter.rs:170:36 [INFO] [stdout] | [INFO] [stdout] 170 | Node::Function { name, parameters, body } => todo!("Unimplemented"), [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `parameters: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/interpreter.rs:170:48 [INFO] [stdout] | [INFO] [stdout] 170 | Node::Function { name, parameters, body } => todo!("Unimplemented"), [INFO] [stdout] | ^^^^ help: try ignoring the field: `body: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `Number` should have an upper case name [INFO] [stdout] --> src/symbol.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const Number: Symbol = Symbol::Native { name: "Number" }; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `NUMBER` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `Decimal` should have an upper case name [INFO] [stdout] --> src/symbol.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const Decimal: Symbol = Symbol::Native { name: "Decimal" }; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper case: `DECIMAL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `Array` should have an upper case name [INFO] [stdout] --> src/symbol.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const Array: Symbol = Symbol::Native { name: "Array" }; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `ARRAY` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `symName` should have a snake case name [INFO] [stdout] --> src/symbol.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let symName: &'a str; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `sym_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/parser.rs:356:46 [INFO] [stdout] | [INFO] [stdout] 355 | impl<'a> Parser<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 356 | pub fn new(source: &'a mut Lexer<'a>) -> Parser { [INFO] [stdout] | ^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/parser.rs:356:46 [INFO] [stdout] | [INFO] [stdout] 355 | impl<'a> Parser<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 356 | pub fn new(source: &'a mut Lexer<'a>) -> Parser { [INFO] [stdout] | ^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/ast.rs:83:48 [INFO] [stdout] | [INFO] [stdout] 83 | Node::Function { name, parameters, body } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `body: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/ast.rs:83:48 [INFO] [stdout] | [INFO] [stdout] 83 | Node::Function { name, parameters, body } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `body: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/interpreter.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | for i in 0..cols { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/interpreter.rs:169:33 [INFO] [stdout] | [INFO] [stdout] 169 | Node::Declaration { name, kind } => todo!("Unimplemented"), [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kind` [INFO] [stdout] --> src/interpreter.rs:169:39 [INFO] [stdout] | [INFO] [stdout] 169 | Node::Declaration { name, kind } => todo!("Unimplemented"), [INFO] [stdout] | ^^^^ help: try ignoring the field: `kind: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/interpreter.rs:170:30 [INFO] [stdout] | [INFO] [stdout] 170 | Node::Function { name, parameters, body } => todo!("Unimplemented"), [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parameters` [INFO] [stdout] --> src/interpreter.rs:170:36 [INFO] [stdout] | [INFO] [stdout] 170 | Node::Function { name, parameters, body } => todo!("Unimplemented"), [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `parameters: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/interpreter.rs:170:48 [INFO] [stdout] | [INFO] [stdout] 170 | Node::Function { name, parameters, body } => todo!("Unimplemented"), [INFO] [stdout] | ^^^^ help: try ignoring the field: `body: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/interpreter.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | for i in 0..cols { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/interpreter.rs:169:33 [INFO] [stdout] | [INFO] [stdout] 169 | Node::Declaration { name, kind } => todo!("Unimplemented"), [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kind` [INFO] [stdout] --> src/interpreter.rs:169:39 [INFO] [stdout] | [INFO] [stdout] 169 | Node::Declaration { name, kind } => todo!("Unimplemented"), [INFO] [stdout] | ^^^^ help: try ignoring the field: `kind: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/interpreter.rs:170:30 [INFO] [stdout] | [INFO] [stdout] 170 | Node::Function { name, parameters, body } => todo!("Unimplemented"), [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parameters` [INFO] [stdout] --> src/interpreter.rs:170:36 [INFO] [stdout] | [INFO] [stdout] 170 | Node::Function { name, parameters, body } => todo!("Unimplemented"), [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `parameters: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/interpreter.rs:170:48 [INFO] [stdout] | [INFO] [stdout] 170 | Node::Function { name, parameters, body } => todo!("Unimplemented"), [INFO] [stdout] | ^^^^ help: try ignoring the field: `body: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `Number` should have an upper case name [INFO] [stdout] --> src/symbol.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const Number: Symbol = Symbol::Native { name: "Number" }; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `NUMBER` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `Decimal` should have an upper case name [INFO] [stdout] --> src/symbol.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const Decimal: Symbol = Symbol::Native { name: "Decimal" }; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper case: `DECIMAL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `Array` should have an upper case name [INFO] [stdout] --> src/symbol.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const Array: Symbol = Symbol::Native { name: "Array" }; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `ARRAY` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `symName` should have a snake case name [INFO] [stdout] --> src/symbol.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let symName: &'a str; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `sym_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:103:22 [INFO] [stdout] | [INFO] [stdout] 103 | pub struct Block<'a>(pub Vec>); [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Block` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `powi` is never used [INFO] [stdout] --> src/memory.rs:380:12 [INFO] [stdout] | [INFO] [stdout] 379 | impl Value { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 380 | pub fn powi(self, rhs: i32) -> Value { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `pop` and `len` are never used [INFO] [stdout] --> src/memory.rs:468:12 [INFO] [stdout] | [INFO] [stdout] 441 | impl CallStack { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 468 | pub fn pop(&mut self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 472 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_record` and `from_stack` are never used [INFO] [stdout] --> src/interpreter.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 66 | impl Interpreter { [INFO] [stdout] | ---------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn from_record(record: ActivationRecord) -> Interpreter { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn from_stack(stack: CallStack) -> Interpreter { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.52s [INFO] running `Command { std: "docker" "inspect" "7ccd111080293c6c550df73df5ef231b1b5e1c6b36a92e4861fe7d171d360c12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ccd111080293c6c550df73df5ef231b1b5e1c6b36a92e4861fe7d171d360c12", kill_on_drop: false }` [INFO] [stdout] 7ccd111080293c6c550df73df5ef231b1b5e1c6b36a92e4861fe7d171d360c12