[INFO] cloning repository https://github.com/richwandell/rustjs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/richwandell/rustjs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frichwandell%2Frustjs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frichwandell%2Frustjs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d6480aa2adf2d7eaede2131c8337eaa5acf8a83c [INFO] checking richwandell/rustjs against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frichwandell%2Frustjs" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/richwandell/rustjs on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/richwandell/rustjs [INFO] finished tweaking git repo https://github.com/richwandell/rustjs [INFO] tweaked toml for git repo https://github.com/richwandell/rustjs written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/richwandell/rustjs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c7830df81a40c340d27518fa72c668fa95e802415dffce3ccdbbc38b86dc1ea6 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c7830df81a40c340d27518fa72c668fa95e802415dffce3ccdbbc38b86dc1ea6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c7830df81a40c340d27518fa72c668fa95e802415dffce3ccdbbc38b86dc1ea6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7830df81a40c340d27518fa72c668fa95e802415dffce3ccdbbc38b86dc1ea6", kill_on_drop: false }` [INFO] [stdout] c7830df81a40c340d27518fa72c668fa95e802415dffce3ccdbbc38b86dc1ea6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 86e21b2627ab5932f66976d49fda83d7e4e44e470091e46dc85e5f46f7f1801f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "86e21b2627ab5932f66976d49fda83d7e4e44e470091e46dc85e5f46f7f1801f", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking bytebuffer v0.2.1 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking rustjs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::lexer::lexer::Lexer` [INFO] [stdout] --> src/compiler_bytecode/tests/math.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::lexer::lexer::Lexer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::parser::Parser` [INFO] [stdout] --> src/compiler_bytecode/tests/math.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::parser::parser::Parser; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Compiler` [INFO] [stdout] --> src/compiler_bytecode/tests/math.rs:3:42 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::compiler_bytecode::compiler::{Compiler}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::compiler_bytecode::op_codes::Op` [INFO] [stdout] --> src/compiler_bytecode/tests/math.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::compiler_bytecode::op_codes::Op; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/compiler_bytecode/tests/variables.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::compiler_bytecode::compiler::Compiler` [INFO] [stdout] --> src/compiler_bytecode/tests/variables.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::compiler_bytecode::compiler::Compiler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::compiler_bytecode::op_codes::Op` [INFO] [stdout] --> src/compiler_bytecode/tests/variables.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::compiler_bytecode::op_codes::Op; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lexer::lexer::Lexer` [INFO] [stdout] --> src/compiler_bytecode/tests/variables.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::lexer::lexer::Lexer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::parser::Parser` [INFO] [stdout] --> src/compiler_bytecode/tests/variables.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::parser::parser::Parser; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lexer::lexer::Lexer` [INFO] [stdout] --> src/compiler_bytecode/tests/functions.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::lexer::lexer::Lexer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::parser::Parser` [INFO] [stdout] --> src/compiler_bytecode/tests/functions.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::parser::parser::Parser; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::compiler_bytecode::compiler::Compiler` [INFO] [stdout] --> src/compiler_bytecode/tests/functions.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::compiler_bytecode::compiler::Compiler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::compiler_bytecode::op_codes::Op` [INFO] [stdout] --> src/compiler_bytecode/tests/functions.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::compiler_bytecode::op_codes::Op; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/compiler_bytecode/tests/functions.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/compiler_bytecode/tests/for_statements.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::compiler_bytecode::compiler::Compiler` [INFO] [stdout] --> src/compiler_bytecode/tests/for_statements.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::compiler_bytecode::compiler::Compiler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lexer::lexer::Lexer` [INFO] [stdout] --> src/compiler_bytecode/tests/for_statements.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::lexer::lexer::Lexer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::parser::Parser` [INFO] [stdout] --> src/compiler_bytecode/tests/for_statements.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::parser::parser::Parser; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::compiler_bytecode::op_codes::Op` [INFO] [stdout] --> src/compiler_bytecode/tests/for_statements.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::compiler_bytecode::op_codes::Op; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lexer::lexer::Lexer` [INFO] [stdout] --> src/compiler_bytecode/tests/to_bytes.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::lexer::lexer::Lexer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::parser::Parser` [INFO] [stdout] --> src/compiler_bytecode/tests/to_bytes.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::parser::parser::Parser; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Compiler` [INFO] [stdout] --> src/compiler_bytecode/tests/to_bytes.rs:3:42 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::compiler_bytecode::compiler::{Compiler}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_bytes` [INFO] [stdout] --> src/compiler_bytecode/tests/to_bytes.rs:4:42 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::compiler_bytecode::to_bytes::{to_bytes}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::compiler_bytecode::to_bytes::from_bytes` [INFO] [stdout] --> src/compiler_bytecode/tests/from_bytes.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::compiler_bytecode::to_bytes::from_bytes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::compiler_bytecode::op_codes::Op` [INFO] [stdout] --> src/compiler_bytecode/tests/from_bytes.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::compiler_bytecode::op_codes::Op; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/compiler_bytecode/tests/objects.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lexer::lexer::Lexer` [INFO] [stdout] --> src/compiler_bytecode/tests/objects.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::lexer::lexer::Lexer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::parser::Parser` [INFO] [stdout] --> src/compiler_bytecode/tests/objects.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::parser::parser::Parser; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::compiler_bytecode::compiler::Compiler` [INFO] [stdout] --> src/compiler_bytecode/tests/objects.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::compiler_bytecode::compiler::Compiler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::compiler_bytecode::op_codes::Op` [INFO] [stdout] --> src/compiler_bytecode/tests/objects.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::compiler_bytecode::op_codes::Op; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/compiler_bytecode/tests/if_statements.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lexer::lexer::Lexer` [INFO] [stdout] --> src/compiler_bytecode/tests/if_statements.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::lexer::lexer::Lexer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::parser::Parser` [INFO] [stdout] --> src/compiler_bytecode/tests/if_statements.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::parser::parser::Parser; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::compiler_bytecode::compiler::Compiler` [INFO] [stdout] --> src/compiler_bytecode/tests/if_statements.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::compiler_bytecode::compiler::Compiler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::compiler_bytecode::op_codes::Op` [INFO] [stdout] --> src/compiler_bytecode/tests/if_statements.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::compiler_bytecode::op_codes::Op; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/compiler_wasm/tests/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/compiler_wasm/tests/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::compiler_wasm::compiler::WasmCompiler` [INFO] [stdout] --> src/compiler_wasm/tests/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::compiler_wasm::compiler::WasmCompiler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/compiler_wasm/tests/read_bytes.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/compiler_wasm/tests/read_bytes.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lexer::lexer::Lexer` [INFO] [stdout] --> src/vm/tests/math.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::lexer::lexer::Lexer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::parser::Parser` [INFO] [stdout] --> src/vm/tests/math.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::parser::parser::Parser; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::symbols::JSItem` [INFO] [stdout] --> src/vm/tests/math.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::parser::symbols::JSItem; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::vm::vm::Vm` [INFO] [stdout] --> src/vm/tests/math.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::vm::vm::Vm; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::compiler_bytecode::compiler::Compiler` [INFO] [stdout] --> src/vm/tests/math.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::compiler_bytecode::compiler::Compiler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/vm/tests/math.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `INFINITY` [INFO] [stdout] --> src/vm/tests/math.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | use std::f64::{INFINITY}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/vm/tests/for_loop.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::compiler_bytecode::compiler::Compiler` [INFO] [stdout] --> src/vm/tests/for_loop.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::compiler_bytecode::compiler::Compiler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lexer::lexer::Lexer` [INFO] [stdout] --> src/vm/tests/for_loop.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::lexer::lexer::Lexer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::parser::Parser` [INFO] [stdout] --> src/vm/tests/for_loop.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::parser::parser::Parser; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `JSItem` [INFO] [stdout] --> src/vm/tests/for_loop.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::parser::symbols::{JSItem}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::vm::vm::Vm` [INFO] [stdout] --> src/vm/tests/for_loop.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::vm::vm::Vm; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lexer::lexer::Lexer` [INFO] [stdout] --> src/vm/tests/functions.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::lexer::lexer::Lexer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::parser::Parser` [INFO] [stdout] --> src/vm/tests/functions.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::parser::parser::Parser; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::compiler_bytecode::compiler::Compiler` [INFO] [stdout] --> src/vm/tests/functions.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::compiler_bytecode::compiler::Compiler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::vm::vm::Vm` [INFO] [stdout] --> src/vm/tests/functions.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::vm::vm::Vm; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::symbols::JSItem` [INFO] [stdout] --> src/vm/tests/functions.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::parser::symbols::JSItem; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/vm/tests/functions.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/vm/tests/objects.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lexer::lexer::Lexer` [INFO] [stdout] --> src/vm/tests/objects.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::lexer::lexer::Lexer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::parser::Parser` [INFO] [stdout] --> src/vm/tests/objects.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::parser::parser::Parser; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::compiler_bytecode::compiler::Compiler` [INFO] [stdout] --> src/vm/tests/objects.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::compiler_bytecode::compiler::Compiler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::vm::vm::Vm` [INFO] [stdout] --> src/vm/tests/objects.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::vm::vm::Vm; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::symbols::JSItem` [INFO] [stdout] --> src/vm/tests/objects.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::parser::symbols::JSItem; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/vm/tests/if_statements.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::compiler_bytecode::compiler::Compiler` [INFO] [stdout] --> src/vm/tests/if_statements.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::compiler_bytecode::compiler::Compiler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lexer::lexer::Lexer` [INFO] [stdout] --> src/vm/tests/if_statements.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::lexer::lexer::Lexer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::parser::Parser` [INFO] [stdout] --> src/vm/tests/if_statements.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::parser::parser::Parser; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::symbols::JSItem` [INFO] [stdout] --> src/vm/tests/if_statements.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::parser::symbols::JSItem; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::vm::vm::Vm` [INFO] [stdout] --> src/vm/tests/if_statements.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::vm::vm::Vm; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/lexer/line_char_iterator.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) fn new(file_name: &str) -> LineCharIterator { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `prev` [INFO] [stdout] --> src/lexer/line_char_iterator.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | pub(crate) fn prev(&mut self) -> Option<(usize, usize, char)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `next_str` [INFO] [stdout] --> src/compiler_bytecode/to_bytes.rs:104:4 [INFO] [stdout] | [INFO] [stdout] 104 | fn next_str(i: usize, bytes: &Vec) -> (String, usize) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `from_bytes` [INFO] [stdout] --> src/compiler_bytecode/to_bytes.rs:121:15 [INFO] [stdout] | [INFO] [stdout] 121 | pub(crate) fn from_bytes(bytes: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `WasmCompiler` [INFO] [stdout] --> src/compiler_wasm/compiler.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | pub(crate) struct WasmCompiler { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/compiler_wasm/compiler.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) fn new() -> WasmCompiler { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_bytes` [INFO] [stdout] --> src/compiler_wasm/compiler.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | pub(crate) fn get_bytes(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_module` [INFO] [stdout] --> src/compiler_wasm/compiler.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | fn write_module(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_func_type_sec` [INFO] [stdout] --> src/compiler_wasm/compiler.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | fn write_func_type_sec(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_func_sec` [INFO] [stdout] --> src/compiler_wasm/compiler.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | fn write_func_sec(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_export_sec` [INFO] [stdout] --> src/compiler_wasm/compiler.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | fn write_export_sec(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_code_sec` [INFO] [stdout] --> src/compiler_wasm/compiler.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 112 | fn write_code_sec(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_func` [INFO] [stdout] --> src/compiler_wasm/compiler.rs:131:19 [INFO] [stdout] | [INFO] [stdout] 131 | pub(crate) fn add_func(&mut self, params: Vec, returns: Vec, code: Vec, export: bool, name: &str) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `function_scope` [INFO] [stdout] --> src/ast_interpreter/interpreter.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) function_scope: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/ast_interpreter/interpreter.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) fn new() -> Interpreter { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_object` [INFO] [stdout] --> src/ast_interpreter/interpreter.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | fn get_object(&mut self, name: &String) -> Result<(JSItem, usize), ()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `replace_object` [INFO] [stdout] --> src/ast_interpreter/interpreter.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | fn replace_object(&mut self, scope: usize, object: JSItem, name: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_params_to_scope` [INFO] [stdout] --> src/ast_interpreter/interpreter.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | fn add_params_to_scope(&mut self, mut names: Vec, mut items: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `call_identifier` [INFO] [stdout] --> src/ast_interpreter/interpreter.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | fn call_identifier(&mut self, name: String, arguments: Vec) -> Result{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `make_params` [INFO] [stdout] --> src/ast_interpreter/interpreter.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 99 | fn make_params(&mut self, mut params: Vec, mut arguments: Vec) -> (Vec, Vec) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `call_function` [INFO] [stdout] --> src/ast_interpreter/interpreter.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 126 | fn call_function(&mut self, params: Vec, arguments: Vec, body: Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `call_std` [INFO] [stdout] --> src/ast_interpreter/interpreter.rs:142:8 [INFO] [stdout] | [INFO] [stdout] 142 | fn call_std(&mut self, this_path: Vec, func: StdFun, params: Vec, arguments: Vec) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `call_func_ex` [INFO] [stdout] --> src/ast_interpreter/interpreter.rs:194:8 [INFO] [stdout] | [INFO] [stdout] 194 | fn call_func_ex(&mut self, ex: Expression, _this_path: Vec, arguments: Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `call_object_reference` [INFO] [stdout] --> src/ast_interpreter/interpreter.rs:205:8 [INFO] [stdout] | [INFO] [stdout] 205 | fn call_object_reference(&mut self, this_path: Vec, reference: Vec, arguments: Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `call_member_ex` [INFO] [stdout] --> src/ast_interpreter/interpreter.rs:235:8 [INFO] [stdout] | [INFO] [stdout] 235 | fn call_member_ex(&mut self, object: Box, property: Box, arguments: Vec) -> Result{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `visit_binop` [INFO] [stdout] --> src/ast_interpreter/interpreter.rs:242:8 [INFO] [stdout] | [INFO] [stdout] 242 | fn visit_binop(&mut self, a: Box, op: Operator, b: Box) -> JSItem { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `visit_call_ex` [INFO] [stdout] --> src/ast_interpreter/interpreter.rs:265:8 [INFO] [stdout] | [INFO] [stdout] 265 | fn visit_call_ex(&mut self, callee: Box, arguments: Vec) -> JSItem { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `visit_ident` [INFO] [stdout] --> src/ast_interpreter/interpreter.rs:279:8 [INFO] [stdout] | [INFO] [stdout] 279 | fn visit_ident(&mut self, name: String) -> JSItem { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `visit_ex_up` [INFO] [stdout] --> src/ast_interpreter/interpreter.rs:337:8 [INFO] [stdout] | [INFO] [stdout] 337 | fn visit_ex_up(&mut self, ex: Box) -> JSItem { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `visit_member_expression` [INFO] [stdout] --> src/ast_interpreter/interpreter.rs:359:8 [INFO] [stdout] | [INFO] [stdout] 359 | fn visit_member_expression(&mut self, object: Box, property: Box) -> JSItem { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `visit_array_expression` [INFO] [stdout] --> src/ast_interpreter/interpreter.rs:376:8 [INFO] [stdout] | [INFO] [stdout] 376 | fn visit_array_expression(&mut self, items: Vec, _properties: HashMap) -> JSItem { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `visit_ex` [INFO] [stdout] --> src/ast_interpreter/interpreter.rs:395:8 [INFO] [stdout] | [INFO] [stdout] 395 | fn visit_ex(&mut self, ex: Box) -> JSItem { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create_new_scope` [INFO] [stdout] --> src/ast_interpreter/interpreter.rs:433:8 [INFO] [stdout] | [INFO] [stdout] 433 | fn create_new_scope(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `visit_for_statement` [INFO] [stdout] --> src/ast_interpreter/interpreter.rs:445:8 [INFO] [stdout] | [INFO] [stdout] 445 | fn visit_for_statement(&mut self, init: JSItem, test: JSItem, update: JSItem, body: Vec) -> JSItem { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `declare_function_in_scope` [INFO] [stdout] --> src/ast_interpreter/interpreter.rs:467:8 [INFO] [stdout] | [INFO] [stdout] 467 | fn declare_function_in_scope(&mut self, mutable: bool, name: String, params: Vec, body: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `assign_variable` [INFO] [stdout] --> src/ast_interpreter/interpreter.rs:485:8 [INFO] [stdout] | [INFO] [stdout] 485 | fn assign_variable(&mut self, operator: AssignOp, left: JSItem, right: JSItem) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `visit_st` [INFO] [stdout] --> src/ast_interpreter/interpreter.rs:540:8 [INFO] [stdout] | [INFO] [stdout] 540 | fn visit_st(&mut self, st: Box) -> JSItem { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `visit` [INFO] [stdout] --> src/ast_interpreter/interpreter.rs:577:8 [INFO] [stdout] | [INFO] [stdout] 577 | fn visit(&mut self, tree: JSItem) -> JSItem { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `interpret` [INFO] [stdout] --> src/ast_interpreter/interpreter.rs:597:19 [INFO] [stdout] | [INFO] [stdout] 597 | pub(crate) fn interpret(&mut self, js_item: JSItem) -> JSItem { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `bin_add` [INFO] [stdout] --> src/ast_interpreter/bin_op.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) fn bin_add(a: JSItem, b: JSItem) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `bin_sub` [INFO] [stdout] --> src/ast_interpreter/bin_op.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | pub(crate) fn bin_sub(a: JSItem, b: JSItem) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `bin_mul` [INFO] [stdout] --> src/ast_interpreter/bin_op.rs:51:15 [INFO] [stdout] | [INFO] [stdout] 51 | pub(crate) fn bin_mul(a: JSItem, b: JSItem) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `bin_div` [INFO] [stdout] --> src/ast_interpreter/bin_op.rs:65:15 [INFO] [stdout] | [INFO] [stdout] 65 | pub(crate) fn bin_div(a: JSItem, b: JSItem) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `bin_less` [INFO] [stdout] --> src/ast_interpreter/bin_op.rs:79:15 [INFO] [stdout] | [INFO] [stdout] 79 | pub(crate) fn bin_less(a: JSItem, b: JSItem) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_object` [INFO] [stdout] --> src/ast_interpreter/std/object.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) fn create_object(mut int: Interpreter) -> Interpreter { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `array_constructor` [INFO] [stdout] --> src/ast_interpreter/std/array.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) fn array_constructor(mut arguments: Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `std_array_push` [INFO] [stdout] --> src/ast_interpreter/std/array.rs:59:15 [INFO] [stdout] | [INFO] [stdout] 59 | pub(crate) fn std_array_push(interpreter: &mut Interpreter, this_path: Vec, mut args: (Vec, Vec)) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_array` [INFO] [stdout] --> src/ast_interpreter/std/array.rs:90:15 [INFO] [stdout] | [INFO] [stdout] 90 | pub(crate) fn create_array(mut int: Interpreter) -> Interpreter { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `std_fun_apply` [INFO] [stdout] --> src/ast_interpreter/std/function.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) fn std_fun_apply(interpreter: &mut Interpreter, this_path: Vec, args: (Vec, Vec)) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_function` [INFO] [stdout] --> src/ast_interpreter/std/function.rs:41:15 [INFO] [stdout] | [INFO] [stdout] 41 | pub(crate) fn create_function(mut int: Interpreter) -> Interpreter { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `inherit` [INFO] [stdout] --> src/ast_interpreter/std/inherit.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) fn inherit(int: &Interpreter, from: JSItem, to: JSItem) -> JSItem { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `std_log` [INFO] [stdout] --> src/ast_interpreter/std/console.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) fn std_log(params: Vec) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_console` [INFO] [stdout] --> src/ast_interpreter/std/console.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) fn create_console(mut int: Interpreter) -> Interpreter { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_std_objects` [INFO] [stdout] --> src/ast_interpreter/std/mod.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) fn create_std_objects(mut int: Interpreter) -> Interpreter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `o_to_v` [INFO] [stdout] --> src/ast_interpreter/helpers.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) fn o_to_v(js_out: JSItem, assign_op: AssignOp) -> JSItem { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_object_scope` [INFO] [stdout] --> src/ast_interpreter/helpers.rs:59:15 [INFO] [stdout] | [INFO] [stdout] 59 | pub(crate) fn find_object_scope<'a>(interpreter: &'a Interpreter, name: &String) -> Result<(usize, &'a Interpreter), ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_o_r` [INFO] [stdout] --> src/ast_interpreter/helpers.rs:71:15 [INFO] [stdout] | [INFO] [stdout] 71 | pub(crate) fn find_o_r(interpreter: &Interpreter, mut scope_num: usize, mut path: Vec) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_object_from_reference` [INFO] [stdout] --> src/ast_interpreter/helpers.rs:163:15 [INFO] [stdout] | [INFO] [stdout] 163 | pub(crate) fn find_object_from_reference(int: &Interpreter, mut path: Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_reference_from_member_expression` [INFO] [stdout] --> src/ast_interpreter/helpers.rs:175:15 [INFO] [stdout] | [INFO] [stdout] 175 | pub(crate) fn find_reference_from_member_expression(exp: Expression) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `InsertResult` [INFO] [stdout] --> src/ast_interpreter/scope/insert.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) enum InsertResult { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `insert_o_r_o` [INFO] [stdout] --> src/ast_interpreter/scope/insert.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn insert_o_r_o(object: &mut HashMap, mut path: Vec, new_item: JSItem) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `insert_o_r` [INFO] [stdout] --> src/ast_interpreter/scope/insert.rs:63:4 [INFO] [stdout] | [INFO] [stdout] 63 | fn insert_o_r(scopes: &mut Vec>, mut path: Vec, new_item: JSItem) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `set_object` [INFO] [stdout] --> src/ast_interpreter/scope/insert.rs:161:15 [INFO] [stdout] | [INFO] [stdout] 161 | pub(crate) fn set_object(int: &mut Interpreter, mut path: Vec, obj: JSItem) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 134 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/compiler_wasm/tests/mod.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let output = comp.get_bytes(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `import_sec` [INFO] [stdout] --> src/compiler_wasm/compiler.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | import_sec: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `type_idx` [INFO] [stdout] --> src/compiler_wasm/compiler.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | type_idx: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `table_sec` [INFO] [stdout] --> src/compiler_wasm/compiler.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | table_sec: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `mem_sec` [INFO] [stdout] --> src/compiler_wasm/compiler.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | mem_sec: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `global_sec` [INFO] [stdout] --> src/compiler_wasm/compiler.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | global_sec: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `start_sec` [INFO] [stdout] --> src/compiler_wasm/compiler.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | start_sec: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `elem_sec` [INFO] [stdout] --> src/compiler_wasm/compiler.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | elem_sec: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `data_sec` [INFO] [stdout] --> src/compiler_wasm/compiler.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | data_sec: Vec> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/compiler_wasm/tests/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | file.write_all(&comp.output); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/compiler_wasm/tests/read_bytes.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | f.read_to_end(&mut buffer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.14s [INFO] running `Command { std: "docker" "inspect" "86e21b2627ab5932f66976d49fda83d7e4e44e470091e46dc85e5f46f7f1801f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86e21b2627ab5932f66976d49fda83d7e4e44e470091e46dc85e5f46f7f1801f", kill_on_drop: false }` [INFO] [stdout] 86e21b2627ab5932f66976d49fda83d7e4e44e470091e46dc85e5f46f7f1801f