[INFO] cloning repository https://github.com/hdwater/monkey-interpreter
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hdwater/monkey-interpreter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhdwater%2Fmonkey-interpreter", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhdwater%2Fmonkey-interpreter'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] fc2f90c50b1d6fe9d4d803b59330d3a011223195
[INFO] testing hdwater/monkey-interpreter against 1.97.0-beta.6 for beta-1.98-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhdwater%2Fmonkey-interpreter" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/hdwater/monkey-interpreter
[INFO] finished tweaking git repo https://github.com/hdwater/monkey-interpreter
[INFO] tweaked toml for git repo https://github.com/hdwater/monkey-interpreter written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/hdwater/monkey-interpreter on toolchain 1.97.0-beta.6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/hdwater/monkey-interpreter 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" "+1.97.0-beta.6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] d1e4b76eba804905c3d5efd06debb9364a8a7df34d2cb5f7fcbbfb0e80b6489a
[INFO] running `Command { std: "docker" "start" "d1e4b76eba804905c3d5efd06debb9364a8a7df34d2cb5f7fcbbfb0e80b6489a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d1e4b76eba804905c3d5efd06debb9364a8a7df34d2cb5f7fcbbfb0e80b6489a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d1e4b76eba804905c3d5efd06debb9364a8a7df34d2cb5f7fcbbfb0e80b6489a" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d1e4b76eba804905c3d5efd06debb9364a8a7df34d2cb5f7fcbbfb0e80b6489a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d1e4b76eba804905c3d5efd06debb9364a8a7df34d2cb5f7fcbbfb0e80b6489a" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling monkey-interpreter v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait `Node` is never used
[INFO] [stdout]  --> src/ast.rs:3:7
[INFO] [stdout]   |
[INFO] [stdout] 3 | trait Node {
[INFO] [stdout]   |       ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Statement` is never used
[INFO] [stdout]  --> src/ast.rs:7:7
[INFO] [stdout]   |
[INFO] [stdout] 7 | trait Statement where Self: Node {
[INFO] [stdout]   |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Expression` is never used
[INFO] [stdout]   --> src/ast.rs:11:7
[INFO] [stdout]    |
[INFO] [stdout] 11 | trait Expression where Self: Node {
[INFO] [stdout]    |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Program` is never constructed
[INFO] [stdout]   --> src/ast.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | struct Program {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LetStatement` is never constructed
[INFO] [stdout]   --> src/ast.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 29 | struct LetStatement {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Identifier` is never constructed
[INFO] [stdout]   --> src/ast.rs:46:8
[INFO] [stdout]    |
[INFO] [stdout] 46 | struct Identifier {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.18s
[INFO] running `Command { std: "docker" "inspect" "d1e4b76eba804905c3d5efd06debb9364a8a7df34d2cb5f7fcbbfb0e80b6489a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d1e4b76eba804905c3d5efd06debb9364a8a7df34d2cb5f7fcbbfb0e80b6489a" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling monkey-interpreter v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `root`
[INFO] [stdout]   --> src/ast.rs:91:13
[INFO] [stdout]    |
[INFO] [stdout] 91 |         let root = Program {
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_root`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `token_literal` is never used
[INFO] [stdout]  --> src/ast.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | trait Node {
[INFO] [stdout]   |       ---- method in this trait
[INFO] [stdout] 4 |     fn token_literal(&self) -> String;
[INFO] [stdout]   |        ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `statement_node` is never used
[INFO] [stdout]  --> src/ast.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | trait Statement where Self: Node {
[INFO] [stdout]   |       --------- method in this trait
[INFO] [stdout] 8 |     fn statement_node(&self);
[INFO] [stdout]   |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `expression_node` is never used
[INFO] [stdout]   --> src/ast.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | trait Expression where Self: Node {
[INFO] [stdout]    |       ---------- method in this trait
[INFO] [stdout] 12 |     fn expression_node(&self);
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `statements` is never read
[INFO] [stdout]   --> src/ast.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | struct Program {
[INFO] [stdout]    |        ------- field in this struct
[INFO] [stdout] 16 |     statements: Vec<Box<dyn Statement>>
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `token`, `name`, and `value` are never read
[INFO] [stdout]   --> src/ast.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | struct LetStatement {
[INFO] [stdout]    |        ------------ fields in this struct
[INFO] [stdout] 30 |     token: Token,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 31 |     name: Box<Identifier>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 32 |     value: Box<dyn Expression>
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `token` and `value` are never read
[INFO] [stdout]   --> src/ast.rs:47:5
[INFO] [stdout]    |
[INFO] [stdout] 46 | struct Identifier {
[INFO] [stdout]    |        ---------- fields in this struct
[INFO] [stdout] 47 |     token: Token,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 48 |     value: String
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Identifier` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s
[INFO] running `Command { std: "docker" "inspect" "d1e4b76eba804905c3d5efd06debb9364a8a7df34d2cb5f7fcbbfb0e80b6489a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d1e4b76eba804905c3d5efd06debb9364a8a7df34d2cb5f7fcbbfb0e80b6489a" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr] warning: unused variable: `root`
[INFO] [stderr]   --> src/ast.rs:91:13
[INFO] [stderr]    |
[INFO] [stderr] 91 |         let root = Program {
[INFO] [stderr]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_root`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: method `token_literal` is never used
[INFO] [stderr]  --> src/ast.rs:4:8
[INFO] [stderr]   |
[INFO] [stderr] 3 | trait Node {
[INFO] [stderr]   |       ---- method in this trait
[INFO] [stderr] 4 |     fn token_literal(&self) -> String;
[INFO] [stderr]   |        ^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: method `statement_node` is never used
[INFO] [stderr]  --> src/ast.rs:8:8
[INFO] [stderr]   |
[INFO] [stderr] 7 | trait Statement where Self: Node {
[INFO] [stderr]   |       --------- method in this trait
[INFO] [stderr] 8 |     fn statement_node(&self);
[INFO] [stderr]   |        ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `expression_node` is never used
[INFO] [stderr]   --> src/ast.rs:12:8
[INFO] [stderr]    |
[INFO] [stderr] 11 | trait Expression where Self: Node {
[INFO] [stderr]    |       ---------- method in this trait
[INFO] [stderr] 12 |     fn expression_node(&self);
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `statements` is never read
[INFO] [stderr]   --> src/ast.rs:16:5
[INFO] [stderr]    |
[INFO] [stderr] 15 | struct Program {
[INFO] [stderr]    |        ------- field in this struct
[INFO] [stderr] 16 |     statements: Vec<Box<dyn Statement>>
[INFO] [stderr]    |     ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `token`, `name`, and `value` are never read
[INFO] [stderr]   --> src/ast.rs:30:5
[INFO] [stderr]    |
[INFO] [stderr] 29 | struct LetStatement {
[INFO] [stderr]    |        ------------ fields in this struct
[INFO] [stderr] 30 |     token: Token,
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr] 31 |     name: Box<Identifier>,
[INFO] [stderr]    |     ^^^^
[INFO] [stderr] 32 |     value: Box<dyn Expression>
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `token` and `value` are never read
[INFO] [stderr]   --> src/ast.rs:47:5
[INFO] [stderr]    |
[INFO] [stderr] 46 | struct Identifier {
[INFO] [stderr]    |        ---------- fields in this struct
[INFO] [stderr] 47 |     token: Token,
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr] 48 |     value: String
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Identifier` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: `monkey-interpreter` (bin "monkey-interpreter" test) generated 7 warnings (run `cargo fix --bin "monkey-interpreter" -p monkey-interpreter --tests` to apply 1 suggestion)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.01s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/monkey_interpreter-7723c0d895f72dc6)
[INFO] [stdout] 
[INFO] [stdout] running 7 tests
[INFO] [stdout] test ast::tests::simply_way_construct_ast ... ok
[INFO] [stdout] test lexer::tests::always_eof_after_lexing ... ok
[INFO] [stdout] test lexer::tests::tokenize_all_tokens ... ok
[INFO] [stdout] test lexer::tests::eof_token_on_empty_input ... ok
[INFO] [stdout] test lexer::tests::tokenize_multi_character_tokens ... ok
[INFO] [stdout] test lexer::tests::tokenize_two_characters_tokens ... ok
[INFO] [stdout] test lexer::tests::tokenize_single_character_tokens ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "d1e4b76eba804905c3d5efd06debb9364a8a7df34d2cb5f7fcbbfb0e80b6489a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d1e4b76eba804905c3d5efd06debb9364a8a7df34d2cb5f7fcbbfb0e80b6489a", kill_on_drop: false }`
[INFO] [stdout] d1e4b76eba804905c3d5efd06debb9364a8a7df34d2cb5f7fcbbfb0e80b6489a
