[INFO] cloning repository https://github.com/gilesv/lox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gilesv/lox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgilesv%2Flox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgilesv%2Flox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cd2920bbf2c6f13b597b9f6917777eecb491f03e [INFO] checking gilesv/lox against master#22572d0994593197593e2a1b7b18d720a9a349a7 for pr-126452-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgilesv%2Flox" "/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/gilesv/lox on toolchain 22572d0994593197593e2a1b7b18d720a9a349a7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gilesv/lox [INFO] finished tweaking git repo https://github.com/gilesv/lox [INFO] tweaked toml for git repo https://github.com/gilesv/lox written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/gilesv/lox 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" "+22572d0994593197593e2a1b7b18d720a9a349a7" "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-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f62ec52c49cc937abf7640a8250ba5ac404f0816b8326e961cf8634342be1ee8 [INFO] running `Command { std: "docker" "start" "-a" "f62ec52c49cc937abf7640a8250ba5ac404f0816b8326e961cf8634342be1ee8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f62ec52c49cc937abf7640a8250ba5ac404f0816b8326e961cf8634342be1ee8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f62ec52c49cc937abf7640a8250ba5ac404f0816b8326e961cf8634342be1ee8", kill_on_drop: false }` [INFO] [stdout] f62ec52c49cc937abf7640a8250ba5ac404f0816b8326e961cf8634342be1ee8 [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" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bc2d84a10c25b0f43b6e67aed9a177440f9a81eac6ae31422d710f8eeb7dfe21 [INFO] running `Command { std: "docker" "start" "-a" "bc2d84a10c25b0f43b6e67aed9a177440f9a81eac6ae31422d710f8eeb7dfe21", kill_on_drop: false }` [INFO] [stderr] Checking lox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:35:65 [INFO] [stdout] | [INFO] [stdout] 35 | Err(why) => panic!("couldn't open {}: {}", display, why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:42:65 [INFO] [stdout] | [INFO] [stdout] 42 | Err(why) => panic!("couldn't read {}: {}", display, why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:35:65 [INFO] [stdout] | [INFO] [stdout] 35 | Err(why) => panic!("couldn't open {}: {}", display, why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:42:65 [INFO] [stdout] | [INFO] [stdout] 42 | Err(why) => panic!("couldn't read {}: {}", display, why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/scanner.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 6 | enum TokenType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 31 | Identifier, String, Number, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | And, [INFO] [stdout] | ^^^ [INFO] [stdout] 35 | Class, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 36 | Else, [INFO] [stdout] | ^^^^ [INFO] [stdout] 37 | False, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 38 | Fun, [INFO] [stdout] | ^^^ [INFO] [stdout] 39 | For, [INFO] [stdout] | ^^^ [INFO] [stdout] 40 | If, [INFO] [stdout] | ^^ [INFO] [stdout] 41 | Nil, [INFO] [stdout] | ^^^ [INFO] [stdout] 42 | Or, [INFO] [stdout] | ^^ [INFO] [stdout] 43 | [INFO] [stdout] 44 | Print, Return, Super, This, True, Var, While, [INFO] [stdout] | ^^^^^ ^^^^^^ ^^^^^ ^^^^ ^^^^ ^^^ ^^^^^ [INFO] [stdout] 45 | [INFO] [stdout] 46 | Eof [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `line` is never read [INFO] [stdout] --> src/scanner.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Token { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 53 | line: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | run(source); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 51 | let _ = run(source); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/scanner.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 6 | enum TokenType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 31 | Identifier, String, Number, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | And, [INFO] [stdout] | ^^^ [INFO] [stdout] 35 | Class, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 36 | Else, [INFO] [stdout] | ^^^^ [INFO] [stdout] 37 | False, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 38 | Fun, [INFO] [stdout] | ^^^ [INFO] [stdout] 39 | For, [INFO] [stdout] | ^^^ [INFO] [stdout] 40 | If, [INFO] [stdout] | ^^ [INFO] [stdout] 41 | Nil, [INFO] [stdout] | ^^^ [INFO] [stdout] 42 | Or, [INFO] [stdout] | ^^ [INFO] [stdout] 43 | [INFO] [stdout] 44 | Print, Return, Super, This, True, Var, While, [INFO] [stdout] | ^^^^^ ^^^^^^ ^^^^^ ^^^^ ^^^^ ^^^ ^^^^^ [INFO] [stdout] 45 | [INFO] [stdout] 46 | Eof [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `line` is never read [INFO] [stdout] --> src/scanner.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Token { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 53 | line: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | run(source); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 51 | let _ = run(source); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] running `Command { std: "docker" "inspect" "bc2d84a10c25b0f43b6e67aed9a177440f9a81eac6ae31422d710f8eeb7dfe21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc2d84a10c25b0f43b6e67aed9a177440f9a81eac6ae31422d710f8eeb7dfe21", kill_on_drop: false }` [INFO] [stdout] bc2d84a10c25b0f43b6e67aed9a177440f9a81eac6ae31422d710f8eeb7dfe21 [INFO] checking gilesv/lox against try#6289438dbad80b1a0029c66dd3f6abf57c2c51be for pr-126452-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgilesv%2Flox" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gilesv/lox on toolchain 6289438dbad80b1a0029c66dd3f6abf57c2c51be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gilesv/lox [INFO] finished tweaking git repo https://github.com/gilesv/lox [INFO] tweaked toml for git repo https://github.com/gilesv/lox written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/gilesv/lox 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" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3df100373d68d487008706301c764dbc1b05e12476b9813d81bf28ca37429aec [INFO] running `Command { std: "docker" "start" "-a" "3df100373d68d487008706301c764dbc1b05e12476b9813d81bf28ca37429aec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3df100373d68d487008706301c764dbc1b05e12476b9813d81bf28ca37429aec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3df100373d68d487008706301c764dbc1b05e12476b9813d81bf28ca37429aec", kill_on_drop: false }` [INFO] [stdout] 3df100373d68d487008706301c764dbc1b05e12476b9813d81bf28ca37429aec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c961219205de2683f5842f5ca79bc9a029c17683993e7d8f5f03abeb61207987 [INFO] running `Command { std: "docker" "start" "-a" "c961219205de2683f5842f5ca79bc9a029c17683993e7d8f5f03abeb61207987", kill_on_drop: false }` [INFO] [stderr] Checking lox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:35:65 [INFO] [stdout] | [INFO] [stdout] 35 | Err(why) => panic!("couldn't open {}: {}", display, why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:42:65 [INFO] [stdout] | [INFO] [stdout] 42 | Err(why) => panic!("couldn't read {}: {}", display, why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/scanner.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 6 | enum TokenType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 31 | Identifier, String, Number, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | And, [INFO] [stdout] | ^^^ [INFO] [stdout] 35 | Class, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 36 | Else, [INFO] [stdout] | ^^^^ [INFO] [stdout] 37 | False, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 38 | Fun, [INFO] [stdout] | ^^^ [INFO] [stdout] 39 | For, [INFO] [stdout] | ^^^ [INFO] [stdout] 40 | If, [INFO] [stdout] | ^^ [INFO] [stdout] 41 | Nil, [INFO] [stdout] | ^^^ [INFO] [stdout] 42 | Or, [INFO] [stdout] | ^^ [INFO] [stdout] 43 | [INFO] [stdout] 44 | Print, Return, Super, This, True, Var, While, [INFO] [stdout] | ^^^^^ ^^^^^^ ^^^^^ ^^^^ ^^^^ ^^^ ^^^^^ [INFO] [stdout] 45 | [INFO] [stdout] 46 | Eof [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `line` is never read [INFO] [stdout] --> src/scanner.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Token { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 53 | line: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | run(source); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 51 | let _ = run(source); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:35:65 [INFO] [stdout] | [INFO] [stdout] 35 | Err(why) => panic!("couldn't open {}: {}", display, why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:42:65 [INFO] [stdout] | [INFO] [stdout] 42 | Err(why) => panic!("couldn't read {}: {}", display, why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/scanner.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 6 | enum TokenType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 31 | Identifier, String, Number, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | And, [INFO] [stdout] | ^^^ [INFO] [stdout] 35 | Class, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 36 | Else, [INFO] [stdout] | ^^^^ [INFO] [stdout] 37 | False, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 38 | Fun, [INFO] [stdout] | ^^^ [INFO] [stdout] 39 | For, [INFO] [stdout] | ^^^ [INFO] [stdout] 40 | If, [INFO] [stdout] | ^^ [INFO] [stdout] 41 | Nil, [INFO] [stdout] | ^^^ [INFO] [stdout] 42 | Or, [INFO] [stdout] | ^^ [INFO] [stdout] 43 | [INFO] [stdout] 44 | Print, Return, Super, This, True, Var, While, [INFO] [stdout] | ^^^^^ ^^^^^^ ^^^^^ ^^^^ ^^^^ ^^^ ^^^^^ [INFO] [stdout] 45 | [INFO] [stdout] 46 | Eof [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `line` is never read [INFO] [stdout] --> src/scanner.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Token { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 53 | line: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | run(source); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 51 | let _ = run(source); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] running `Command { std: "docker" "inspect" "c961219205de2683f5842f5ca79bc9a029c17683993e7d8f5f03abeb61207987", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c961219205de2683f5842f5ca79bc9a029c17683993e7d8f5f03abeb61207987", kill_on_drop: false }` [INFO] [stdout] c961219205de2683f5842f5ca79bc9a029c17683993e7d8f5f03abeb61207987