[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] 92be9a78e780627f81a388cb276a9fbb75bbe742 [INFO] building richwandell/rustjs 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%2Frichwandell%2Frustjs" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/richwandell/rustjs 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/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-0-tc1/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: 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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded byteorder v0.3.13 [INFO] [stderr] Downloaded hermit-abi v0.1.15 [INFO] [stderr] Downloaded libc v0.2.76 [INFO] [stderr] Downloaded bytebuffer v0.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7f82bd835adbced7cc3084a12467c2b74ce9ecd8440818a0bd348875dcfe9666 [INFO] running `Command { std: "docker" "start" "-a" "7f82bd835adbced7cc3084a12467c2b74ce9ecd8440818a0bd348875dcfe9666", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7f82bd835adbced7cc3084a12467c2b74ce9ecd8440818a0bd348875dcfe9666", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f82bd835adbced7cc3084a12467c2b74ce9ecd8440818a0bd348875dcfe9666", kill_on_drop: false }` [INFO] [stdout] 7f82bd835adbced7cc3084a12467c2b74ce9ecd8440818a0bd348875dcfe9666 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -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] 4db5a5e375b5e8de4f5bd476dfb67841d356b61ce86c3c88b579adb24092181f [INFO] running `Command { std: "docker" "start" "-a" "4db5a5e375b5e8de4f5bd476dfb67841d356b61ce86c3c88b579adb24092181f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling byteorder v0.3.13 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling bytebuffer v0.2.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling 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: `std::fs` [INFO] [stdout] --> src/compiler/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/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/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::compiler::Compiler` [INFO] [stdout] --> src/compiler/tests/if_statements.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | 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/if_statements.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::compiler::op_codes::Op; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `mutable_borrow_reservation_conflict` has been removed: now allowed, see issue #59159 for more information [INFO] [stdout] --> src/ast_interpreter/interpreter.rs:219:33 [INFO] [stdout] | [INFO] [stdout] 219 | #[allow(mutable_borrow_reservation_conflict)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `mutable_borrow_reservation_conflict` has been removed: now allowed, see issue #59159 for more information [INFO] [stdout] --> src/ast_interpreter/interpreter.rs:223:33 [INFO] [stdout] | [INFO] [stdout] 223 | #[allow(mutable_borrow_reservation_conflict)] [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/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::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::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::compiler::Compiler` [INFO] [stdout] --> src/vm/tests/if_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/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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lexer/line_char_iterator.rs:22:65 [INFO] [stdout] | [INFO] [stdout] 22 | Err(why) => panic!("couldn't open {}: {}", display, Error::to_string(&why)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 | Err(why) => panic!("couldn't open {}: {}", display, ::to_string(&why)), [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LineCharIterator` is never constructed [INFO] [stdout] --> src/lexer/line_char_iterator.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) struct LineCharIterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `prev` are never used [INFO] [stdout] --> src/lexer/line_char_iterator.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 13 | impl LineCharIterator { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 14 | [INFO] [stdout] 15 | pub(crate) fn new(file_name: &str) -> LineCharIterator { [INFO] [stdout] | ^^^ [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 `next_str` is never used [INFO] [stdout] --> src/compiler/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 `from_bytes` is never used [INFO] [stdout] --> src/compiler/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: field `function_scope` is never read [INFO] [stdout] --> src/ast_interpreter/interpreter.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) struct Interpreter { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | pub(crate) function_scope: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/ast_interpreter/interpreter.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 23 | impl Interpreter { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 24 | [INFO] [stdout] 25 | pub(crate) fn new() -> Interpreter { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | fn get_object(&mut self, name: &String) -> Result<(JSItem, usize), ()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | fn replace_object(&mut self, scope: usize, object: JSItem, name: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | fn add_params_to_scope(&mut self, mut names: Vec, mut items: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | fn call_identifier(&mut self, name: String, arguments: Vec) -> Result{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | fn make_params(&mut self, mut params: Vec, mut arguments: Vec) -> (Vec, Vec) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | fn call_function(&mut self, params: Vec, arguments: Vec, body: Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [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] 194 | fn call_func_ex(&mut self, ex: Expression, _this_path: Vec, arguments: Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [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] 235 | fn call_member_ex(&mut self, object: Box, property: Box, arguments: Vec) -> Result{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | fn visit_binop(&mut self, a: Box, op: Operator, b: Box) -> JSItem { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 265 | fn visit_call_ex(&mut self, callee: Box, arguments: Vec) -> JSItem { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 279 | fn visit_ident(&mut self, name: String) -> JSItem { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 337 | fn visit_ex_up(&mut self, ex: Box) -> JSItem { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 359 | fn visit_member_expression(&mut self, object: Box, property: Box) -> JSItem { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 376 | fn visit_array_expression(&mut self, items: Vec, _properties: HashMap) -> JSItem { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 395 | fn visit_ex(&mut self, ex: Box) -> JSItem { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 433 | fn create_new_scope(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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] 467 | fn declare_function_in_scope(&mut self, mutable: bool, name: String, params: Vec, body: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 485 | fn assign_variable(&mut self, operator: AssignOp, left: JSItem, right: JSItem) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 540 | fn visit_st(&mut self, st: Box) -> JSItem { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 577 | fn visit(&mut self, tree: JSItem) -> JSItem { [INFO] [stdout] | ^^^^^ [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 `bin_add` is never used [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 `bin_sub` is never used [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 `bin_mul` is never used [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 `bin_div` is never used [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 `bin_less` is never used [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 `create_std_objects` is never used [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 `create_object` is never used [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 `array_constructor` is never used [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 `std_array_push` is never used [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 `create_array` is never used [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 `std_fun_apply` is never used [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 `create_function` is never used [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 `inherit` is never used [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: struct `LogVec` is never constructed [INFO] [stdout] --> src/ast_interpreter/std/console.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct LogVec(Vec); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `std_log` is never used [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 `create_console` is never used [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 `o_to_v` is never used [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 `find_object_scope` is never used [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 `find_o_r` is never used [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 `find_object_from_reference` is never used [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 `find_reference_from_member_expression` is never used [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 `InsertResult` is never used [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 `insert_o_r_o` is never used [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 `insert_o_r` is never used [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 `set_object` is never used [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.77s [INFO] running `Command { std: "docker" "inspect" "4db5a5e375b5e8de4f5bd476dfb67841d356b61ce86c3c88b579adb24092181f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4db5a5e375b5e8de4f5bd476dfb67841d356b61ce86c3c88b579adb24092181f", kill_on_drop: false }` [INFO] [stdout] 4db5a5e375b5e8de4f5bd476dfb67841d356b61ce86c3c88b579adb24092181f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -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] 4aadd1a836c295aa37fa44eaf870d2fa088faca8036342faab32a97b9bda8ddf [INFO] running `Command { std: "docker" "start" "-a" "4aadd1a836c295aa37fa44eaf870d2fa088faca8036342faab32a97b9bda8ddf", kill_on_drop: false }` [INFO] [stderr] Compiling rustjs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lint `mutable_borrow_reservation_conflict` has been removed: now allowed, see issue #59159 for more information [INFO] [stdout] --> src/ast_interpreter/interpreter.rs:219:33 [INFO] [stdout] | [INFO] [stdout] 219 | #[allow(mutable_borrow_reservation_conflict)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `mutable_borrow_reservation_conflict` has been removed: now allowed, see issue #59159 for more information [INFO] [stdout] --> src/ast_interpreter/interpreter.rs:223:33 [INFO] [stdout] | [INFO] [stdout] 223 | #[allow(mutable_borrow_reservation_conflict)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lexer/line_char_iterator.rs:22:65 [INFO] [stdout] | [INFO] [stdout] 22 | Err(why) => panic!("couldn't open {}: {}", display, Error::to_string(&why)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 | Err(why) => panic!("couldn't open {}: {}", display, ::to_string(&why)), [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.17s [INFO] running `Command { std: "docker" "inspect" "4aadd1a836c295aa37fa44eaf870d2fa088faca8036342faab32a97b9bda8ddf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4aadd1a836c295aa37fa44eaf870d2fa088faca8036342faab32a97b9bda8ddf", kill_on_drop: false }` [INFO] [stdout] 4aadd1a836c295aa37fa44eaf870d2fa088faca8036342faab32a97b9bda8ddf