[INFO] cloning repository https://github.com/itsrainingmani/monkeylang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/itsrainingmani/monkeylang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitsrainingmani%2Fmonkeylang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitsrainingmani%2Fmonkeylang'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitsrainingmani%2Fmonkeylang: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/itsrainingmani/monkeylang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/itsrainingmani/monkeylang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitsrainingmani%2Fmonkeylang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitsrainingmani%2Fmonkeylang'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitsrainingmani%2Fmonkeylang: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 2) [INFO] cloning repository https://github.com/itsrainingmani/monkeylang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/itsrainingmani/monkeylang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitsrainingmani%2Fmonkeylang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitsrainingmani%2Fmonkeylang'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitsrainingmani%2Fmonkeylang: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 3) [INFO] cloning repository https://github.com/itsrainingmani/monkeylang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/itsrainingmani/monkeylang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitsrainingmani%2Fmonkeylang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitsrainingmani%2Fmonkeylang'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitsrainingmani%2Fmonkeylang: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 4) [INFO] cloning repository https://github.com/itsrainingmani/monkeylang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/itsrainingmani/monkeylang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitsrainingmani%2Fmonkeylang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitsrainingmani%2Fmonkeylang'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitsrainingmani%2Fmonkeylang: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 5) [INFO] cloning repository https://github.com/itsrainingmani/monkeylang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/itsrainingmani/monkeylang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitsrainingmani%2Fmonkeylang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitsrainingmani%2Fmonkeylang'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitsrainingmani%2Fmonkeylang: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 6) [INFO] cloning repository https://github.com/itsrainingmani/monkeylang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/itsrainingmani/monkeylang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitsrainingmani%2Fmonkeylang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitsrainingmani%2Fmonkeylang'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitsrainingmani%2Fmonkeylang: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 7) [INFO] cloning repository https://github.com/itsrainingmani/monkeylang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/itsrainingmani/monkeylang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitsrainingmani%2Fmonkeylang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitsrainingmani%2Fmonkeylang'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitsrainingmani%2Fmonkeylang: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 8) [INFO] cloning repository https://github.com/itsrainingmani/monkeylang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/itsrainingmani/monkeylang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitsrainingmani%2Fmonkeylang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitsrainingmani%2Fmonkeylang'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitsrainingmani%2Fmonkeylang: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 9) [INFO] cloning repository https://github.com/itsrainingmani/monkeylang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/itsrainingmani/monkeylang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitsrainingmani%2Fmonkeylang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitsrainingmani%2Fmonkeylang'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitsrainingmani%2Fmonkeylang: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 10) [INFO] cloning repository https://github.com/itsrainingmani/monkeylang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/itsrainingmani/monkeylang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitsrainingmani%2Fmonkeylang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitsrainingmani%2Fmonkeylang'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitsrainingmani%2Fmonkeylang: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 11) [INFO] cloning repository https://github.com/itsrainingmani/monkeylang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/itsrainingmani/monkeylang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitsrainingmani%2Fmonkeylang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitsrainingmani%2Fmonkeylang'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitsrainingmani%2Fmonkeylang: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 12) [INFO] cloning repository https://github.com/itsrainingmani/monkeylang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/itsrainingmani/monkeylang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitsrainingmani%2Fmonkeylang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitsrainingmani%2Fmonkeylang'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitsrainingmani%2Fmonkeylang: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 13) [INFO] cloning repository https://github.com/itsrainingmani/monkeylang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/itsrainingmani/monkeylang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitsrainingmani%2Fmonkeylang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitsrainingmani%2Fmonkeylang'... [INFO] [stderr] error: failed to write new configuration file /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitsrainingmani%2Fmonkeylang/config.lock [INFO] [stderr] fatal: could not set 'core.repositoryformatversion' to '0' [WARN] Retrying crate fetch in 3 seconds (attempt 14) [INFO] cloning repository https://github.com/itsrainingmani/monkeylang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/itsrainingmani/monkeylang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitsrainingmani%2Fmonkeylang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitsrainingmani%2Fmonkeylang'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4ab39e047dfbc9b06bf585ce42dba89d94d1405f [INFO] checking itsrainingmani/monkeylang against try#2b43d8e161cfe46fae25518efb124c3c1d0fa392 for pr-145604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitsrainingmani%2Fmonkeylang" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/itsrainingmani/monkeylang [INFO] finished tweaking git repo https://github.com/itsrainingmani/monkeylang [INFO] tweaked toml for git repo https://github.com/itsrainingmani/monkeylang written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/itsrainingmani/monkeylang on toolchain 2b43d8e161cfe46fae25518efb124c3c1d0fa392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2b43d8e161cfe46fae25518efb124c3c1d0fa392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/itsrainingmani/monkeylang 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" "+2b43d8e161cfe46fae25518efb124c3c1d0fa392" "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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+2b43d8e161cfe46fae25518efb124c3c1d0fa392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] Error response from daemon: mkdir /var/lib/docker/overlay2/e30e6449afce026bdf049a5c3ddc0c75660292ed05e5882ba4c9a7275f61c946-init: no space left on device [INFO] checking itsrainingmani/monkeylang against try#2b43d8e161cfe46fae25518efb124c3c1d0fa392 for pr-145604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitsrainingmani%2Fmonkeylang" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/itsrainingmani/monkeylang [INFO] finished tweaking git repo https://github.com/itsrainingmani/monkeylang [INFO] tweaked toml for git repo https://github.com/itsrainingmani/monkeylang written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/itsrainingmani/monkeylang on toolchain 2b43d8e161cfe46fae25518efb124c3c1d0fa392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2b43d8e161cfe46fae25518efb124c3c1d0fa392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/itsrainingmani/monkeylang 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" "+2b43d8e161cfe46fae25518efb124c3c1d0fa392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+2b43d8e161cfe46fae25518efb124c3c1d0fa392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fd30f436f3f5df7bcc814e931862c00909ac861cc342cccdc3f8915b72e3d194 [INFO] running `Command { std: "docker" "start" "-a" "fd30f436f3f5df7bcc814e931862c00909ac861cc342cccdc3f8915b72e3d194", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fd30f436f3f5df7bcc814e931862c00909ac861cc342cccdc3f8915b72e3d194", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd30f436f3f5df7bcc814e931862c00909ac861cc342cccdc3f8915b72e3d194", kill_on_drop: false }` [INFO] [stdout] fd30f436f3f5df7bcc814e931862c00909ac861cc342cccdc3f8915b72e3d194 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+2b43d8e161cfe46fae25518efb124c3c1d0fa392" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 37cdbd8ef1f0c595edf923c2ce0716d2c8b0bc8bdebff679976e1100c2a7726f [INFO] running `Command { std: "docker" "start" "-a" "37cdbd8ef1f0c595edf923c2ce0716d2c8b0bc8bdebff679976e1100c2a7726f", kill_on_drop: false }` [INFO] [stderr] Checking monkey v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ast::*` [INFO] [stdout] --> src/lib.rs:346:17 [INFO] [stdout] | [INFO] [stdout] 346 | use super::{ast::*, lexer::*, token::*}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ast::*` [INFO] [stdout] --> src/lib.rs:346:17 [INFO] [stdout] | [INFO] [stdout] 346 | use super::{ast::*, lexer::*, token::*}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/lib.rs:287:13 [INFO] [stdout] | [INFO] [stdout] 265 | / loop { [INFO] [stdout] 266 | | let mut input = String::new(); [INFO] [stdout] 267 | | let mut lexer = Lexer::new(String::from("something")); [INFO] [stdout] 268 | | print!("{} ", self.prompt); [INFO] [stdout] ... | [INFO] [stdout] 286 | | } [INFO] [stdout] | |_____________- any code following this expression is unreachable [INFO] [stdout] 287 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/lib.rs:287:13 [INFO] [stdout] | [INFO] [stdout] 265 | / loop { [INFO] [stdout] 266 | | let mut input = String::new(); [INFO] [stdout] 267 | | let mut lexer = Lexer::new(String::from("something")); [INFO] [stdout] 268 | | print!("{} ", self.prompt); [INFO] [stdout] ... | [INFO] [stdout] 286 | | } [INFO] [stdout] | |_____________- any code following this expression is unreachable [INFO] [stdout] 287 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `value` are never read [INFO] [stdout] --> src/lib.rs:304:9 [INFO] [stdout] | [INFO] [stdout] 302 | pub struct LetStmt<'a> { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 303 | token: Token, // the Token::LET token [INFO] [stdout] 304 | name: &'a Identifier, // holds the identifier of the binding [INFO] [stdout] | ^^^^ [INFO] [stdout] 305 | value: dyn Expression, // the expression that produces a value [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> src/lib.rs:318:9 [INFO] [stdout] | [INFO] [stdout] 316 | pub struct Identifier { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 317 | token: Token, [INFO] [stdout] 318 | value: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lexer`, `cur_token`, and `peek_token` are never read [INFO] [stdout] --> src/lib.rs:349:9 [INFO] [stdout] | [INFO] [stdout] 348 | pub struct Parser<'a> { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 349 | lexer: &'a mut Lexer, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 350 | [INFO] [stdout] 351 | cur_token: Token, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 352 | peek_token: Token, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `next_token`, and `parse_program` are never used [INFO] [stdout] --> src/lib.rs:356:12 [INFO] [stdout] | [INFO] [stdout] 355 | impl<'a> Parser<'a> { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 356 | fn new(lexer: &mut Lexer) -> Parser { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 366 | fn next_token(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 371 | fn parse_program() {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:356:23 [INFO] [stdout] | [INFO] [stdout] 356 | fn new(lexer: &mut Lexer) -> Parser { [INFO] [stdout] | ^^^^^^^^^^ ------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 356 | fn new(lexer: &mut Lexer) -> Parser<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `value` are never read [INFO] [stdout] --> src/lib.rs:304:9 [INFO] [stdout] | [INFO] [stdout] 302 | pub struct LetStmt<'a> { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 303 | token: Token, // the Token::LET token [INFO] [stdout] 304 | name: &'a Identifier, // holds the identifier of the binding [INFO] [stdout] | ^^^^ [INFO] [stdout] 305 | value: dyn Expression, // the expression that produces a value [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> src/lib.rs:318:9 [INFO] [stdout] | [INFO] [stdout] 316 | pub struct Identifier { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 317 | token: Token, [INFO] [stdout] 318 | value: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lexer`, `cur_token`, and `peek_token` are never read [INFO] [stdout] --> src/lib.rs:349:9 [INFO] [stdout] | [INFO] [stdout] 348 | pub struct Parser<'a> { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 349 | lexer: &'a mut Lexer, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 350 | [INFO] [stdout] 351 | cur_token: Token, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 352 | peek_token: Token, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `next_token`, and `parse_program` are never used [INFO] [stdout] --> src/lib.rs:356:12 [INFO] [stdout] | [INFO] [stdout] 355 | impl<'a> Parser<'a> { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 356 | fn new(lexer: &mut Lexer) -> Parser { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 366 | fn next_token(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 371 | fn parse_program() {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:356:23 [INFO] [stdout] | [INFO] [stdout] 356 | fn new(lexer: &mut Lexer) -> Parser { [INFO] [stdout] | ^^^^^^^^^^ ------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 356 | fn new(lexer: &mut Lexer) -> Parser<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/lexer_test.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | let mut lex = Lexer::new(String::from("hello \n\r\t world")); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] running `Command { std: "docker" "inspect" "37cdbd8ef1f0c595edf923c2ce0716d2c8b0bc8bdebff679976e1100c2a7726f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37cdbd8ef1f0c595edf923c2ce0716d2c8b0bc8bdebff679976e1100c2a7726f", kill_on_drop: false }` [INFO] [stdout] 37cdbd8ef1f0c595edf923c2ce0716d2c8b0bc8bdebff679976e1100c2a7726f