[INFO] cloning repository https://github.com/ahabhgk/clox-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ahabhgk/clox-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fahabhgk%2Fclox-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fahabhgk%2Fclox-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8c9d7cd2d5557c75e0f75a510daa758eb2fdafd3
[INFO] testing ahabhgk/clox-rs against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fahabhgk%2Fclox-rs" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ahabhgk/clox-rs
[INFO] finished tweaking git repo https://github.com/ahabhgk/clox-rs
[INFO] tweaked toml for git repo https://github.com/ahabhgk/clox-rs written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ahabhgk/clox-rs on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ahabhgk/clox-rs 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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d3074829757ec84f83e40a6f1507d989bc138ea2fe4d52ed5add1d1b7d958569
[INFO] running `Command { std: "docker" "start" "-a" "d3074829757ec84f83e40a6f1507d989bc138ea2fe4d52ed5add1d1b7d958569", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d3074829757ec84f83e40a6f1507d989bc138ea2fe4d52ed5add1d1b7d958569", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d3074829757ec84f83e40a6f1507d989bc138ea2fe4d52ed5add1d1b7d958569", kill_on_drop: false }`
[INFO] [stdout] d3074829757ec84f83e40a6f1507d989bc138ea2fe4d52ed5add1d1b7d958569
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 70d9c529fb52c1d734aeb2a3f6c688508ddfdeba5105fa9ca7fd2968e9f87bae
[INFO] running `Command { std: "docker" "start" "-a" "70d9c529fb52c1d734aeb2a3f6c688508ddfdeba5105fa9ca7fd2968e9f87bae", kill_on_drop: false }`
[INFO] [stderr]    Compiling clox-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Function`
[INFO] [stdout]  --> src/chunk.rs:5:20
[INFO] [stdout]   |
[INFO] [stdout] 5 |   value::{Closure, Function, Value},
[INFO] [stdout]   |                    ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Function`
[INFO] [stdout]  --> src/parser.rs:8:20
[INFO] [stdout]   |
[INFO] [stdout] 8 |   value::{Closure, Function, FunctionKind, Value},
[INFO] [stdout]   |                    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `cell::RefCell` and `rc::Rc`
[INFO] [stdout]  --> src/value.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{cell::RefCell, fmt, rc::Rc};
[INFO] [stdout]   |           ^^^^^^^^^^^^^       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Function`
[INFO] [stdout]  --> src/vm.rs:6:20
[INFO] [stdout]   |
[INFO] [stdout] 6 |   value::{Closure, Function, Upvalue, Value},
[INFO] [stdout]   |                    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Source` is never constructed
[INFO] [stdout]  --> src/source.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct Source<'s> {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]   --> src/source.rs:9:10
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl<'s> Source<'s> {
[INFO] [stdout]    | ------------------- associated items in this implementation
[INFO] [stdout]  9 |   pub fn new(source: &'s str) -> Self {
[INFO] [stdout]    |          ^^^
[INFO] [stdout] ...
[INFO] [stdout] 16 |   fn advance(&mut self) -> Option<char> {
[INFO] [stdout]    |      ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |   fn current(&self) -> Option<char> {
[INFO] [stdout]    |      ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |   fn peek(&self) -> Option<char> {
[INFO] [stdout]    |      ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |   fn peek_next(&self) -> Option<char> {
[INFO] [stdout]    |      ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |   fn get(&self, index: usize) -> Option<char> {
[INFO] [stdout]    |      ^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |   fn slice(&self, start: usize, end: usize) -> &str {
[INFO] [stdout]    |      ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |   fn test(&mut self, expected: char) -> bool {
[INFO] [stdout]    |      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get` is never used
[INFO] [stdout]    --> src/scope.rs:120:10
[INFO] [stdout]     |
[INFO] [stdout] 104 | impl Scope {
[INFO] [stdout]     | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 120 |   pub fn get(&self, name: &str) -> Option<&Local> {
[INFO] [stdout]     |          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.14s
[INFO] running `Command { std: "docker" "inspect" "70d9c529fb52c1d734aeb2a3f6c688508ddfdeba5105fa9ca7fd2968e9f87bae", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "70d9c529fb52c1d734aeb2a3f6c688508ddfdeba5105fa9ca7fd2968e9f87bae", kill_on_drop: false }`
[INFO] [stdout] 70d9c529fb52c1d734aeb2a3f6c688508ddfdeba5105fa9ca7fd2968e9f87bae
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] e6aa30956e43546a593bbe70ecf3973319278442ac12de819dce5996df3ef306
[INFO] running `Command { std: "docker" "start" "-a" "e6aa30956e43546a593bbe70ecf3973319278442ac12de819dce5996df3ef306", kill_on_drop: false }`
[INFO] [stderr]    Compiling dissimilar v1.0.3
[INFO] [stderr]    Compiling once_cell v1.9.0
[INFO] [stdout] warning: unused import: `Function`
[INFO] [stdout]  --> src/chunk.rs:5:20
[INFO] [stdout]   |
[INFO] [stdout] 5 |   value::{Closure, Function, Value},
[INFO] [stdout]   |                    ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Function`
[INFO] [stdout]  --> src/parser.rs:8:20
[INFO] [stdout]   |
[INFO] [stdout] 8 |   value::{Closure, Function, FunctionKind, Value},
[INFO] [stdout]   |                    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `cell::RefCell` and `rc::Rc`
[INFO] [stdout]  --> src/value.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{cell::RefCell, fmt, rc::Rc};
[INFO] [stdout]   |           ^^^^^^^^^^^^^       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Function`
[INFO] [stdout]  --> src/vm.rs:6:20
[INFO] [stdout]   |
[INFO] [stdout] 6 |   value::{Closure, Function, Upvalue, Value},
[INFO] [stdout]   |                    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Source` is never constructed
[INFO] [stdout]  --> src/source.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct Source<'s> {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]   --> src/source.rs:9:10
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl<'s> Source<'s> {
[INFO] [stdout]    | ------------------- associated items in this implementation
[INFO] [stdout]  9 |   pub fn new(source: &'s str) -> Self {
[INFO] [stdout]    |          ^^^
[INFO] [stdout] ...
[INFO] [stdout] 16 |   fn advance(&mut self) -> Option<char> {
[INFO] [stdout]    |      ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |   fn current(&self) -> Option<char> {
[INFO] [stdout]    |      ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |   fn peek(&self) -> Option<char> {
[INFO] [stdout]    |      ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |   fn peek_next(&self) -> Option<char> {
[INFO] [stdout]    |      ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |   fn get(&self, index: usize) -> Option<char> {
[INFO] [stdout]    |      ^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |   fn slice(&self, start: usize, end: usize) -> &str {
[INFO] [stdout]    |      ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |   fn test(&mut self, expected: char) -> bool {
[INFO] [stdout]    |      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get` is never used
[INFO] [stdout]    --> src/scope.rs:120:10
[INFO] [stdout]     |
[INFO] [stdout] 104 | impl Scope {
[INFO] [stdout]     | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 120 |   pub fn get(&self, name: &str) -> Option<&Local> {
[INFO] [stdout]     |          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling expect-test v1.2.2
[INFO] [stderr]    Compiling clox-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Function`
[INFO] [stdout]  --> src/chunk.rs:5:20
[INFO] [stdout]   |
[INFO] [stdout] 5 |   value::{Closure, Function, Value},
[INFO] [stdout]   |                    ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Function`
[INFO] [stdout]  --> src/parser.rs:8:20
[INFO] [stdout]   |
[INFO] [stdout] 8 |   value::{Closure, Function, FunctionKind, Value},
[INFO] [stdout]   |                    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `cell::RefCell` and `rc::Rc`
[INFO] [stdout]  --> src/value.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{cell::RefCell, fmt, rc::Rc};
[INFO] [stdout]   |           ^^^^^^^^^^^^^       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Function`
[INFO] [stdout]  --> src/vm.rs:6:20
[INFO] [stdout]   |
[INFO] [stdout] 6 |   value::{Closure, Function, Upvalue, Value},
[INFO] [stdout]   |                    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Source` is never constructed
[INFO] [stdout]  --> src/source.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct Source<'s> {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]   --> src/source.rs:9:10
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl<'s> Source<'s> {
[INFO] [stdout]    | ------------------- associated items in this implementation
[INFO] [stdout]  9 |   pub fn new(source: &'s str) -> Self {
[INFO] [stdout]    |          ^^^
[INFO] [stdout] ...
[INFO] [stdout] 16 |   fn advance(&mut self) -> Option<char> {
[INFO] [stdout]    |      ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |   fn current(&self) -> Option<char> {
[INFO] [stdout]    |      ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |   fn peek(&self) -> Option<char> {
[INFO] [stdout]    |      ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |   fn peek_next(&self) -> Option<char> {
[INFO] [stdout]    |      ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |   fn get(&self, index: usize) -> Option<char> {
[INFO] [stdout]    |      ^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |   fn slice(&self, start: usize, end: usize) -> &str {
[INFO] [stdout]    |      ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |   fn test(&mut self, expected: char) -> bool {
[INFO] [stdout]    |      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get` is never used
[INFO] [stdout]    --> src/scope.rs:120:10
[INFO] [stdout]     |
[INFO] [stdout] 104 | impl Scope {
[INFO] [stdout]     | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 120 |   pub fn get(&self, name: &str) -> Option<&Local> {
[INFO] [stdout]     |          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.27s
[INFO] running `Command { std: "docker" "inspect" "e6aa30956e43546a593bbe70ecf3973319278442ac12de819dce5996df3ef306", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e6aa30956e43546a593bbe70ecf3973319278442ac12de819dce5996df3ef306", kill_on_drop: false }`
[INFO] [stdout] e6aa30956e43546a593bbe70ecf3973319278442ac12de819dce5996df3ef306
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 885e417023b9416cb0099ab3e9bcef10bae9854bced5ea5f67da2a8a47e514cc
[INFO] running `Command { std: "docker" "start" "-a" "885e417023b9416cb0099ab3e9bcef10bae9854bced5ea5f67da2a8a47e514cc", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `Function`
[INFO] [stderr]  --> src/chunk.rs:5:20
[INFO] [stderr]   |
[INFO] [stderr] 5 |   value::{Closure, Function, Value},
[INFO] [stderr]   |                    ^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Function`
[INFO] [stderr]  --> src/parser.rs:8:20
[INFO] [stderr]   |
[INFO] [stderr] 8 |   value::{Closure, Function, FunctionKind, Value},
[INFO] [stderr]   |                    ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `cell::RefCell` and `rc::Rc`
[INFO] [stderr]  --> src/value.rs:1:11
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::{cell::RefCell, fmt, rc::Rc};
[INFO] [stderr]   |           ^^^^^^^^^^^^^       ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Function`
[INFO] [stderr]  --> src/vm.rs:6:20
[INFO] [stderr]   |
[INFO] [stderr] 6 |   value::{Closure, Function, Upvalue, Value},
[INFO] [stderr]   |                    ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Source` is never constructed
[INFO] [stderr]  --> src/source.rs:3:12
[INFO] [stderr]   |
[INFO] [stderr] 3 | pub struct Source<'s> {
[INFO] [stderr]   |            ^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: multiple associated items are never used
[INFO] [stderr]   --> src/source.rs:9:10
[INFO] [stderr]    |
[INFO] [stderr]  8 | impl<'s> Source<'s> {
[INFO] [stderr]    | ------------------- associated items in this implementation
[INFO] [stderr]  9 |   pub fn new(source: &'s str) -> Self {
[INFO] [stderr]    |          ^^^
[INFO] [stderr] ...
[INFO] [stderr] 16 |   fn advance(&mut self) -> Option<char> {
[INFO] [stderr]    |      ^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 21 |   fn current(&self) -> Option<char> {
[INFO] [stderr]    |      ^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 26 |   fn peek(&self) -> Option<char> {
[INFO] [stderr]    |      ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 30 |   fn peek_next(&self) -> Option<char> {
[INFO] [stderr]    |      ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 34 |   fn get(&self, index: usize) -> Option<char> {
[INFO] [stderr]    |      ^^^
[INFO] [stderr] ...
[INFO] [stderr] 38 |   fn slice(&self, start: usize, end: usize) -> &str {
[INFO] [stderr]    |      ^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 43 |   fn test(&mut self, expected: char) -> bool {
[INFO] [stderr]    |      ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `get` is never used
[INFO] [stderr]    --> src/scope.rs:120:10
[INFO] [stderr]     |
[INFO] [stderr] 104 | impl Scope {
[INFO] [stderr]     | ---------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 120 |   pub fn get(&self, name: &str) -> Option<&Local> {
[INFO] [stderr]     |          ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `clox-rs` (lib) generated 7 warnings (run `cargo fix --lib -p clox-rs` to apply 4 suggestions)
[INFO] [stderr] warning: `clox-rs` (lib test) generated 7 warnings (7 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/build/clox-rs/358c25505fddc0e2/deps/clox_rs-358c25505fddc0e2)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/build/clox-rs/928d08580e7d76e2/deps/clox_rs-928d08580e7d76e2)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/mod.rs (/opt/rustwide/target/debug/build/clox-rs/d222ee47f15a319d/deps/mod-d222ee47f15a319d)
[INFO] [stdout] 
[INFO] [stdout] running 18 tests
[INFO] [stdout] test chapter_19 ... ok
[INFO] [stdout] test chapter_17 ... ok
[INFO] [stdout] test chapter_21 ... ok
[INFO] [stdout] test chapter_21_global_init ... ok
[INFO] [stdout] test chapter_21_global_uninit ... ok
[INFO] [stdout] test chapter_21_print_statement ... ok
[INFO] [stdout] test chapter_22_local_uninit ... ok
[INFO] [stdout] test chapter_23_and_or ... ok
[INFO] [stdout] test chapter_23_for ... ok
[INFO] [stdout] test chapter_24_parameters ... FAILED
[INFO] [stdout] test chapter_22_local ... ok
[INFO] [stdout] test chapter_23_if_else ... ok
[INFO] [stdout] test chapter_23_while ... ok
[INFO] [stdout] test chapter_25_debug_op_closure ... ok
[INFO] [stdout] test chapter_18 ... ok
[INFO] [stdout] test chapter_22 ... ok
[INFO] [stdout] test chapter_25_upvalue_object ... FAILED
[INFO] [stdout] test chapter_24_call_frames ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- chapter_24_parameters stdout ----
[INFO] [stdout] [src/vm.rs:311:11] &closure = <fun sum>
[INFO] [stdout] [src/vm.rs:311:11] &closure.upvalues = []
[INFO] [stdout] 22
[INFO] [stdout] [src/chunk.rs:271:11] &codes = Enumerate {
[INFO] [stdout]     iter: Iter(
[INFO] [stdout]         [
[INFO] [stdout]             8,
[INFO] [stdout]             0,
[INFO] [stdout]             0,
[INFO] [stdout]             2,
[INFO] [stdout]             7,
[INFO] [stdout]             3,
[INFO] [stdout]             0,
[INFO] [stdout]             4,
[INFO] [stdout]             0,
[INFO] [stdout]             5,
[INFO] [stdout]             0,
[INFO] [stdout]             6,
[INFO] [stdout]             25,
[INFO] [stdout]             3,
[INFO] [stdout]             15,
[INFO] [stdout]             21,
[INFO] [stdout]             1,
[INFO] [stdout]             27,
[INFO] [stdout]         ],
[INFO] [stdout]     ),
[INFO] [stdout]     count: 2,
[INFO] [stdout] }
[INFO] [stdout] [src/chunk.rs:271:11] &closure = <fun sum>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] [1m[91merror[97m: expect test failed[0m
[INFO] [stdout]    [1m[34m-->[0m tests/mod.rs:749:3
[INFO] [stdout] 
[INFO] [stdout] You can update all `expect![[]]` tests by running:
[INFO] [stdout] 
[INFO] [stdout]     env UPDATE_EXPECT=1 cargo test
[INFO] [stdout] 
[INFO] [stdout] To update a single test, place the cursor on `expect` token and use `run` feature of rust-analyzer.
[INFO] [stdout] 
[INFO] [stdout] [1mExpect[0m:
[INFO] [stdout] ----
[INFO] [stdout] == <fun sum> ==
[INFO] [stdout] 0000 GetLocal            1
[INFO] [stdout] 0002 GetLocal            2
[INFO] [stdout] 0004 Add
[INFO] [stdout] 0005 GetLocal            3
[INFO] [stdout] 0007 Add
[INFO] [stdout] 0008 Return
[INFO] [stdout] 0009 Nil
[INFO] [stdout] 0010 Return
[INFO] [stdout] == <script> ==
[INFO] [stdout] 0000 Closure             1 '<fun sum>'
[INFO] [stdout] 0002 DefineGlobal        0 '"sum"'
[INFO] [stdout] 0004 Constant            2 '4'
[INFO] [stdout] 0006 GetGlobal           3 '"sum"'
[INFO] [stdout] 0008 Constant            4 '5'
[INFO] [stdout] 0010 Constant            5 '6'
[INFO] [stdout] 0012 Constant            6 '7'
[INFO] [stdout] 0014 Call                3
[INFO] [stdout] 0016 Add
[INFO] [stdout] 0017 Print
[INFO] [stdout] 0018 Nil
[INFO] [stdout] 0019 Return
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] ----
[INFO] [stdout] 
[INFO] [stdout] [1mActual[0m:
[INFO] [stdout] ----
[INFO] [stdout] == <fun sum> ==
[INFO] [stdout] 0000 GetLocal            1
[INFO] [stdout] 0002 GetLocal            2
[INFO] [stdout] 0004 Add
[INFO] [stdout] 0005 GetLocal            3
[INFO] [stdout] 0007 Add
[INFO] [stdout] 0008 Return
[INFO] [stdout] 0009 Nil
[INFO] [stdout] 0010 Return
[INFO] [stdout] == <script> ==
[INFO] [stdout] 0000 Closure             1 <fun sum>
[INFO] [stdout] 0002 DefineGlobal        0 '"sum"'
[INFO] [stdout] 0004 Constant            2 '4'
[INFO] [stdout] 0006 GetGlobal           3 '"sum"'
[INFO] [stdout] 0008 Constant            4 '5'
[INFO] [stdout] 0010 Constant            5 '6'
[INFO] [stdout] 0012 Constant            6 '7'
[INFO] [stdout] 0014 Call                3
[INFO] [stdout] 0016 Add
[INFO] [stdout] 0017 Print
[INFO] [stdout] 0018 Nil
[INFO] [stdout] 0019 Return
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] ----
[INFO] [stdout] 
[INFO] [stdout] [1mDiff[0m:
[INFO] [stdout] ----
[INFO] [stdout] == <fun sum> ==
[INFO] [stdout] 0000 GetLocal            1
[INFO] [stdout] 0002 GetLocal            2
[INFO] [stdout] 0004 Add
[INFO] [stdout] 0005 GetLocal            3
[INFO] [stdout] 0007 Add
[INFO] [stdout] 0008 Return
[INFO] [stdout] 0009 Nil
[INFO] [stdout] 0010 Return
[INFO] [stdout] == <script> ==
[INFO] [stdout] 0000 Closure             1 [41m'[0m<fun sum>[41m'[0m
[INFO] [stdout] 0002 DefineGlobal        0 '"sum"'
[INFO] [stdout] 0004 Constant            2 '4'
[INFO] [stdout] 0006 GetGlobal           3 '"sum"'
[INFO] [stdout] 0008 Constant            4 '5'
[INFO] [stdout] 0010 Constant            5 '6'
[INFO] [stdout] 0012 Constant            6 '7'
[INFO] [stdout] 0014 Call                3
[INFO] [stdout] 0016 Add
[INFO] [stdout] 0017 Print
[INFO] [stdout] 0018 Nil
[INFO] [stdout] 0019 Return
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] ----
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] ---- chapter_25_upvalue_object stdout ----
[INFO] [stdout] [src/vm.rs:311:11] &closure = <fun outer>
[INFO] [stdout] [src/vm.rs:311:11] &closure.upvalues = []
[INFO] [stdout] [src/vm.rs:311:11] &closure = <fun inner>
[INFO] [stdout] [src/vm.rs:311:11] &closure.upvalues = [
[INFO] [stdout]     Upvalue {
[INFO] [stdout]         location: 0x00007a99c8000e20,
[INFO] [stdout]     },
[INFO] [stdout] ]
[INFO] [stdout] [src/vm.rs:201:11] index = 0
[INFO] [stdout] [src/vm.rs:201:11] &frame.closure = <fun inner>
[INFO] [stdout] [src/vm.rs:201:11] &frame.closure.upvalues = [
[INFO] [stdout]     Upvalue {
[INFO] [stdout]         location: 0x00007a99c8000e20,
[INFO] [stdout]     },
[INFO] [stdout] ]
[INFO] [stdout] "outside"
[INFO] [stdout] [src/chunk.rs:271:11] &codes = Enumerate {
[INFO] [stdout]     iter: Iter(
[INFO] [stdout]         [
[INFO] [stdout]             1,
[INFO] [stdout]             1,
[INFO] [stdout]             5,
[INFO] [stdout]             2,
[INFO] [stdout]             25,
[INFO] [stdout]             0,
[INFO] [stdout]             4,
[INFO] [stdout]             1,
[INFO] [stdout]             27,
[INFO] [stdout]         ],
[INFO] [stdout]     ),
[INFO] [stdout]     count: 4,
[INFO] [stdout] }
[INFO] [stdout] [src/chunk.rs:271:11] &closure = <fun inner>
[INFO] [stdout] [src/chunk.rs:271:11] &codes = Enumerate {
[INFO] [stdout]     iter: Iter(
[INFO] [stdout]         [
[INFO] [stdout]             8,
[INFO] [stdout]             0,
[INFO] [stdout]             7,
[INFO] [stdout]             2,
[INFO] [stdout]             25,
[INFO] [stdout]             0,
[INFO] [stdout]             4,
[INFO] [stdout]             1,
[INFO] [stdout]             27,
[INFO] [stdout]         ],
[INFO] [stdout]     ),
[INFO] [stdout]     count: 2,
[INFO] [stdout] }
[INFO] [stdout] [src/chunk.rs:271:11] &closure = <fun outer>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] [1m[91merror[97m: expect test failed[0m
[INFO] [stdout]    [1m[34m-->[0m tests/mod.rs:875:3
[INFO] [stdout] 
[INFO] [stdout] [1mExpect[0m:
[INFO] [stdout] ----
[INFO] [stdout] == VM Stack Snapshot ==
[INFO] [stdout] [<script>]
[INFO] [stdout] [<script>, <fun outer>]
[INFO] [stdout] [<script>]
[INFO] [stdout] [<script>, <fun outer>]
[INFO] [stdout] [<script>, <fun outer>]
[INFO] [stdout] [<script>, <fun outer>, "outside"]
[INFO] [stdout] [<script>, <fun outer>, "outside", <fun inner>]
[INFO] [stdout] [<script>, <fun outer>, "outside", <fun inner>, <fun inner>]
[INFO] [stdout] [<script>, <fun outer>, "outside", <fun inner>, <fun inner>]
[INFO] [stdout] [<script>, <fun outer>, "outside", <fun inner>, <fun inner>, "outer"]
[INFO] [stdout] [<script>, <fun outer>, "outside", <fun inner>, <fun inner>]
[INFO] [stdout] [<script>, <fun outer>, "outside", <fun inner>, <fun inner>, nil]
[INFO] [stdout] [<script>, <fun outer>, "outside", <fun inner>, nil]
[INFO] [stdout] [<script>, <fun outer>, "outside", <fun inner>]
[INFO] [stdout] [<script>, <fun outer>, "outside", <fun inner>, nil]
[INFO] [stdout] [<script>, nil]
[INFO] [stdout] [<script>]
[INFO] [stdout] [<script>, nil]
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] ----
[INFO] [stdout] 
[INFO] [stdout] [1mActual[0m:
[INFO] [stdout] ----
[INFO] [stdout] == VM Stack Snapshot ==
[INFO] [stdout] [<script>]
[INFO] [stdout] [<script>, <fun outer>]
[INFO] [stdout] [<script>]
[INFO] [stdout] [<script>, <fun outer>]
[INFO] [stdout] [<script>, <fun outer>]
[INFO] [stdout] [<script>, <fun outer>, "outside"]
[INFO] [stdout] [<script>, <fun outer>, "outside", <fun inner>]
[INFO] [stdout] [<script>, <fun outer>, "outside", <fun inner>, <fun inner>]
[INFO] [stdout] [<script>, <fun outer>, "outside", <fun inner>, <fun inner>]
[INFO] [stdout] [<script>, <fun outer>, "outside", <fun inner>, <fun inner>, "outside"]
[INFO] [stdout] [<script>, <fun outer>, "outside", <fun inner>, <fun inner>]
[INFO] [stdout] [<script>, <fun outer>, "outside", <fun inner>, <fun inner>, nil]
[INFO] [stdout] [<script>, <fun outer>, "outside", <fun inner>, nil]
[INFO] [stdout] [<script>, <fun outer>, "outside", <fun inner>]
[INFO] [stdout] [<script>, <fun outer>, "outside", <fun inner>, nil]
[INFO] [stdout] [<script>, nil]
[INFO] [stdout] [<script>]
[INFO] [stdout] [<script>, nil]
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] ----
[INFO] [stdout] 
[INFO] [stdout] [1mDiff[0m:
[INFO] [stdout] ----
[INFO] [stdout] == VM Stack Snapshot ==
[INFO] [stdout] [<script>]
[INFO] [stdout] [<script>, <fun outer>]
[INFO] [stdout] [<script>]
[INFO] [stdout] [<script>, <fun outer>]
[INFO] [stdout] [<script>, <fun outer>]
[INFO] [stdout] [<script>, <fun outer>, "outside"]
[INFO] [stdout] [<script>, <fun outer>, "outside", <fun inner>]
[INFO] [stdout] [<script>, <fun outer>, "outside", <fun inner>, <fun inner>]
[INFO] [stdout] [<script>, <fun outer>, "outside", <fun inner>, <fun inner>]
[INFO] [stdout] [<script>, <fun outer>, "outside", <fun inner>, <fun inner>, "out[42msid[0me[41mr[0m"]
[INFO] [stdout] [<script>, <fun outer>, "outside", <fun inner>, <fun inner>]
[INFO] [stdout] [<script>, <fun outer>, "outside", <fun inner>, <fun inner>, nil]
[INFO] [stdout] [<script>, <fun outer>, "outside", <fun inner>, nil]
[INFO] [stdout] [<script>, <fun outer>, "outside", <fun inner>]
[INFO] [stdout] [<script>, <fun outer>, "outside", <fun inner>, nil]
[INFO] [stdout] [<script>, nil]
[INFO] [stdout] [<script>]
[INFO] [stdout] [<script>, nil]
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] ----
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] ---- chapter_24_call_frames stdout ----
[INFO] [stdout] [src/vm.rs:311:11] &closure = <fun first>
[INFO] [stdout] [src/vm.rs:311:11] &closure.upvalues = []
[INFO] [stdout] [src/vm.rs:311:11] &closure = <fun second>
[INFO] [stdout] [src/vm.rs:311:11] &closure.upvalues = []
[INFO] [stdout] [src/chunk.rs:271:11] &codes = Enumerate {
[INFO] [stdout]     iter: Iter(
[INFO] [stdout]         [
[INFO] [stdout]             8,
[INFO] [stdout]             0,
[INFO] [stdout]             26,
[INFO] [stdout]             3,
[INFO] [stdout]             8,
[INFO] [stdout]             2,
[INFO] [stdout]             7,
[INFO] [stdout]             4,
[INFO] [stdout]             25,
[INFO] [stdout]             0,
[INFO] [stdout]             4,
[INFO] [stdout]             1,
[INFO] [stdout]             27,
[INFO] [stdout]         ],
[INFO] [stdout]     ),
[INFO] [stdout]     count: 2,
[INFO] [stdout] }
[INFO] [stdout] [src/chunk.rs:271:11] &closure = <fun first>
[INFO] [stdout] [src/chunk.rs:271:11] &codes = Enumerate {
[INFO] [stdout]     iter: Iter(
[INFO] [stdout]         [
[INFO] [stdout]             8,
[INFO] [stdout]             2,
[INFO] [stdout]             7,
[INFO] [stdout]             4,
[INFO] [stdout]             25,
[INFO] [stdout]             0,
[INFO] [stdout]             4,
[INFO] [stdout]             1,
[INFO] [stdout]             27,
[INFO] [stdout]         ],
[INFO] [stdout]     ),
[INFO] [stdout]     count: 6,
[INFO] [stdout] }
[INFO] [stdout] [src/chunk.rs:271:11] &closure = <fun second>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] [1m[91merror[97m: expect test failed[0m
[INFO] [stdout]    [1m[34m-->[0m tests/mod.rs:678:3
[INFO] [stdout] 
[INFO] [stdout] [1mExpect[0m:
[INFO] [stdout] ----
[INFO] [stdout] == <fun first> ==
[INFO] [stdout] 0000 Constant            0 '1'
[INFO] [stdout] 0002 GetGlobal           1 '"second"'
[INFO] [stdout] 0004 Call                0
[INFO] [stdout] 0006 Pop
[INFO] [stdout] 0007 Constant            2 '2'
[INFO] [stdout] 0009 Nil
[INFO] [stdout] 0010 Return
[INFO] [stdout] == <fun second> ==
[INFO] [stdout] 0000 Constant            0 '3'
[INFO] [stdout] 0002 Constant            1 '4'
[INFO] [stdout] 0004 Nil
[INFO] [stdout] 0005 Return
[INFO] [stdout] == <script> ==
[INFO] [stdout] 0000 Closure             1 '<fun first>'
[INFO] [stdout] 0002 DefineGlobal        0 '"first"'
[INFO] [stdout] 0004 Closure             3 '<fun second>'
[INFO] [stdout] 0006 DefineGlobal        2 '"second"'
[INFO] [stdout] 0008 GetGlobal           4 '"first"'
[INFO] [stdout] 0010 Call                0
[INFO] [stdout] 0012 Pop
[INFO] [stdout] 0013 Nil
[INFO] [stdout] 0014 Return
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] ----
[INFO] [stdout] 
[INFO] [stdout] [1mActual[0m:
[INFO] [stdout] ----
[INFO] [stdout] == <fun first> ==
[INFO] [stdout] 0000 Constant            0 '1'
[INFO] [stdout] 0002 GetGlobal           1 '"second"'
[INFO] [stdout] 0004 Call                0
[INFO] [stdout] 0006 Pop
[INFO] [stdout] 0007 Constant            2 '2'
[INFO] [stdout] 0009 Nil
[INFO] [stdout] 0010 Return
[INFO] [stdout] == <fun second> ==
[INFO] [stdout] 0000 Constant            0 '3'
[INFO] [stdout] 0002 Constant            1 '4'
[INFO] [stdout] 0004 Nil
[INFO] [stdout] 0005 Return
[INFO] [stdout] == <script> ==
[INFO] [stdout] 0000 Closure             1 <fun first>
[INFO] [stdout] 0002 DefineGlobal        0 '"first"'
[INFO] [stdout] 0004 Closure             3 <fun second>
[INFO] [stdout] 0006 DefineGlobal        2 '"second"'
[INFO] [stdout] 0008 GetGlobal           4 '"first"'
[INFO] [stdout] 0010 Call                0
[INFO] [stdout] 0012 Pop
[INFO] [stdout] 0013 Nil
[INFO] [stdout] 0014 Return
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] ----
[INFO] [stdout] 
[INFO] [stdout] [1mDiff[0m:
[INFO] [stdout] ----
[INFO] [stdout] == <fun first> ==
[INFO] [stdout] 0000 Constant            0 '1'
[INFO] [stdout] 0002 GetGlobal           1 '"second"'
[INFO] [stdout] 0004 Call                0
[INFO] [stdout] 0006 Pop
[INFO] [stdout] 0007 Constant            2 '2'
[INFO] [stdout] 0009 Nil
[INFO] [stdout] 0010 Return
[INFO] [stdout] == <fun second> ==
[INFO] [stdout] 0000 Constant            0 '3'
[INFO] [stdout] 0002 Constant            1 '4'
[INFO] [stdout] 0004 Nil
[INFO] [stdout] 0005 Return
[INFO] [stdout] == <script> ==
[INFO] [stdout] 0000 Closure             1 [41m'[0m<fun first>[41m'[0m
[INFO] [stdout] 0002 DefineGlobal        0 '"first"'
[INFO] [stdout] 0004 Closure             3 [41m'[0m<fun second>[41m'[0m
[INFO] [stdout] 0006 DefineGlobal        2 '"second"'
[INFO] [stdout] 0008 GetGlobal           4 '"first"'
[INFO] [stdout] 0010 Call                0
[INFO] [stdout] 0012 Pop
[INFO] [stdout] 0013 Nil
[INFO] [stdout] 0014 Return
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] ----
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     chapter_24_call_frames
[INFO] [stdout]     chapter_24_parameters
[INFO] [stdout]     chapter_25_upvalue_object
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 15 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--test mod`
[INFO] running `Command { std: "docker" "inspect" "885e417023b9416cb0099ab3e9bcef10bae9854bced5ea5f67da2a8a47e514cc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "885e417023b9416cb0099ab3e9bcef10bae9854bced5ea5f67da2a8a47e514cc", kill_on_drop: false }`
[INFO] [stdout] 885e417023b9416cb0099ab3e9bcef10bae9854bced5ea5f67da2a8a47e514cc
