[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] 1dd0967df85246d2e1f5acf8ceb5ffa12041b297 [INFO] checking richwandell/rustjs against try#6f12b8fe67b4eed2e838dab803ed9493b9d62c0f for pr-79073 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frichwandell%2Frustjs" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/richwandell/rustjs on toolchain 6f12b8fe67b4eed2e838dab803ed9493b9d62c0f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6f12b8fe67b4eed2e838dab803ed9493b9d62c0f" "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-1/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" "+6f12b8fe67b4eed2e838dab803ed9493b9d62c0f" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+6f12b8fe67b4eed2e838dab803ed9493b9d62c0f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c6416464ee3b1893bf3027f3e23fdb4ee7f5b717a43e8bc19902ae5adc45dcc7 [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" "c6416464ee3b1893bf3027f3e23fdb4ee7f5b717a43e8bc19902ae5adc45dcc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c6416464ee3b1893bf3027f3e23fdb4ee7f5b717a43e8bc19902ae5adc45dcc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6416464ee3b1893bf3027f3e23fdb4ee7f5b717a43e8bc19902ae5adc45dcc7", kill_on_drop: false }` [INFO] [stdout] c6416464ee3b1893bf3027f3e23fdb4ee7f5b717a43e8bc19902ae5adc45dcc7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+6f12b8fe67b4eed2e838dab803ed9493b9d62c0f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2c5efee90a81d9411807258fbbe1f516b6775beadd7fbb3ec337e796eccdee9e [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" "2c5efee90a81d9411807258fbbe1f516b6775beadd7fbb3ec337e796eccdee9e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Checking bytebuffer v0.2.1 [INFO] [stderr] Checking atty v0.2.14 [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/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/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/tests/math.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::compiler::compiler::{Compiler}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::compiler::op_codes::Op` [INFO] [stdout] --> src/compiler/tests/math.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::compiler::op_codes::Op; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/compiler/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::compiler::Compiler` [INFO] [stdout] --> src/compiler/tests/variables.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::compiler::compiler::Compiler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::compiler::op_codes::Op` [INFO] [stdout] --> src/compiler/tests/variables.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::compiler::op_codes::Op; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lexer::lexer::Lexer` [INFO] [stdout] --> src/compiler/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/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/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/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::compiler::Compiler` [INFO] [stdout] --> src/compiler/tests/functions.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::compiler::compiler::Compiler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::compiler::op_codes::Op` [INFO] [stdout] --> src/compiler/tests/functions.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::compiler::op_codes::Op; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/compiler/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/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::compiler::Compiler` [INFO] [stdout] --> src/compiler/tests/for_statements.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::compiler::compiler::Compiler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lexer::lexer::Lexer` [INFO] [stdout] --> src/compiler/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/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::op_codes::Op` [INFO] [stdout] --> src/compiler/tests/for_statements.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::compiler::op_codes::Op; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lexer::lexer::Lexer` [INFO] [stdout] --> src/compiler/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/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/tests/to_bytes.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::compiler::compiler::{Compiler}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_bytes` [INFO] [stdout] --> src/compiler/tests/to_bytes.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::compiler::to_bytes::{to_bytes}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::compiler::to_bytes::from_bytes` [INFO] [stdout] --> src/compiler/tests/from_bytes.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::compiler::to_bytes::from_bytes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::compiler::op_codes::Op` [INFO] [stdout] --> src/compiler/tests/from_bytes.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::compiler::op_codes::Op; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/compiler/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/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/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::compiler::Compiler` [INFO] [stdout] --> src/compiler/tests/objects.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::compiler::compiler::Compiler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::compiler::op_codes::Op` [INFO] [stdout] --> src/compiler/tests/objects.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::compiler::op_codes::Op; [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::compiler::Compiler` [INFO] [stdout] --> src/vm/tests/math.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::compiler::compiler::Compiler; [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::compiler::Compiler` [INFO] [stdout] --> src/vm/tests/for_loop.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::compiler::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::compiler::Compiler` [INFO] [stdout] --> src/vm/tests/functions.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::compiler::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::compiler::Compiler` [INFO] [stdout] --> src/vm/tests/objects.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::compiler::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::collections::HashMap` [INFO] [stdout] --> src/vm/scope/insert.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/vm/scope/insert.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location` [INFO] [stdout] --> src/vm/scope/insert.rs:46:57 [INFO] [stdout] | [INFO] [stdout] 46 | if let JSItem::Located { scope, location, object } = vm.objects.remove(&real_path).unwrap() { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `location: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location` [INFO] [stdout] --> src/vm/scope/insert.rs:46:57 [INFO] [stdout] | [INFO] [stdout] 46 | if let JSItem::Located { scope, location, object } = vm.objects.remove(&real_path).unwrap() { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `location: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `next_str` [INFO] [stdout] --> src/compiler/to_bytes.rs:92:4 [INFO] [stdout] | [INFO] [stdout] 92 | fn next_str(i: usize, bytes: &Vec) -> (String, usize) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `from_bytes` [INFO] [stdout] --> src/compiler/to_bytes.rs:109:15 [INFO] [stdout] | [INFO] [stdout] 109 | pub(crate) fn from_bytes(bytes: Vec) -> Vec { [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: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | file.write_all(&bytes); [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/main.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | file.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: unused `std::result::Result` that must be used [INFO] [stdout] --> src/vm/vm.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | set_object(self, loc.clone(), value, true); [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: 110 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | file.write_all(&bytes); [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/main.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | file.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: unused `std::result::Result` that must be used [INFO] [stdout] --> src/vm/vm.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | set_object(self, loc.clone(), value, true); [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: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.37s [INFO] running `Command { std: "docker" "inspect" "2c5efee90a81d9411807258fbbe1f516b6775beadd7fbb3ec337e796eccdee9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c5efee90a81d9411807258fbbe1f516b6775beadd7fbb3ec337e796eccdee9e", kill_on_drop: false }` [INFO] [stdout] 2c5efee90a81d9411807258fbbe1f516b6775beadd7fbb3ec337e796eccdee9e