[INFO] cloning repository https://github.com/iskyd/lox
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/iskyd/lox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiskyd%2Flox", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiskyd%2Flox'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 325b044ed3e789692020dbb926ca10673b3ea2e8
[INFO] checking iskyd/lox against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiskyd%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] started tweaking git repo https://github.com/iskyd/lox
[INFO] finished tweaking git repo https://github.com/iskyd/lox
[INFO] tweaked toml for git repo https://github.com/iskyd/lox written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/iskyd/lox on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/iskyd/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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 023e9c6d7761ff84ab073610b6d8abad2cbd3c2ffc4a3e78fb53ed11b3a96434
[INFO] running `Command { std: "docker" "start" "-a" "023e9c6d7761ff84ab073610b6d8abad2cbd3c2ffc4a3e78fb53ed11b3a96434", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "023e9c6d7761ff84ab073610b6d8abad2cbd3c2ffc4a3e78fb53ed11b3a96434", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "023e9c6d7761ff84ab073610b6d8abad2cbd3c2ffc4a3e78fb53ed11b3a96434", kill_on_drop: false }`
[INFO] [stdout] 023e9c6d7761ff84ab073610b6d8abad2cbd3c2ffc4a3e78fb53ed11b3a96434
[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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1c1a5bb0a1eef93427ba3ca57e4ffe4d7cb2309093d5cb1897ed7d4043ec06b2
[INFO] running `Command { std: "docker" "start" "-a" "1c1a5bb0a1eef93427ba3ca57e4ffe4d7cb2309093d5cb1897ed7d4043ec06b2", kill_on_drop: false }`
[INFO] [stderr]     Checking lox v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::tokens::Literal`
[INFO] [stdout]  --> src/ast.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::tokens::Literal;
[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: `crate::tokens::Literal`
[INFO] [stdout]  --> src/ast.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::tokens::Literal;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AstPrinter` is never constructed
[INFO] [stdout]  --> src/ast.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | struct AstPrinter {}
[INFO] [stdout]   |        ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `print` is never used
[INFO] [stdout]  --> src/ast.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | impl AstPrinter {
[INFO] [stdout]   | --------------- associated function in this implementation
[INFO] [stdout] 7 |     pub fn print(e: Expr) -> String {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LexicalError` is never constructed
[INFO] [stdout]  --> src/errors.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct LexicalError {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/errors.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | impl LexicalError {
[INFO] [stdout]    | ----------------- associated function in this implementation
[INFO] [stdout] 24 |     pub fn new(message: String, line: usize, position: usize) -> LexicalError {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Expr` is never used
[INFO] [stdout]  --> src/expr.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub enum Expr {
[INFO] [stdout]   |          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Scanner` is never constructed
[INFO] [stdout]  --> src/token_scanner.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Scanner<'a> {
[INFO] [stdout]   |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `scan` are never used
[INFO] [stdout]   --> src/token_scanner.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl<'a> Scanner<'a> {
[INFO] [stdout]    | -------------------- associated items in this implementation
[INFO] [stdout] 13 |     pub fn new(source: &'a [u8]) -> Result<Self, &'static str> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn scan(mut self) -> Result<Vec<Token>, LexicalError> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Literal` is never used
[INFO] [stdout]  --> src/tokens.rs:1:10
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub enum Literal {
[INFO] [stdout]   |          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_str` is never used
[INFO] [stdout]  --> src/tokens.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | impl Literal {
[INFO] [stdout]   | ------------ method in this implementation
[INFO] [stdout] 7 |     pub fn to_str(&self) -> String {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `TokenType` is never used
[INFO] [stdout]   --> src/tokens.rs:20:10
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub enum TokenType {
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `get_type_by_reserved_keyword` is never used
[INFO] [stdout]   --> src/tokens.rs:70:12
[INFO] [stdout]    |
[INFO] [stdout] 69 | impl TokenType {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] 70 |     pub fn get_type_by_reserved_keyword(k: &str) -> Option<TokenType> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Token` is never constructed
[INFO] [stdout]   --> src/tokens.rs:93:12
[INFO] [stdout]    |
[INFO] [stdout] 93 | pub struct Token {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/tokens.rs:103:12
[INFO] [stdout]     |
[INFO] [stdout] 102 | impl Token {
[INFO] [stdout]     | ---------- associated function in this implementation
[INFO] [stdout] 103 |     pub fn new(
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_alpha` is never used
[INFO] [stdout]  --> src/utils.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn is_alpha(c: char) -> bool {
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_alphanumeric` is never used
[INFO] [stdout]  --> src/utils.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn is_alphanumeric(c: char) -> bool {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<String, Infallible>
[INFO] [stdout]    --> src/token_scanner.rs:292:44
[INFO] [stdout]     |
[INFO] [stdout] 292 | ...                   value: substr.parse().unwrap(),
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Comma`, `Dot`, `Plus`, `Semicolon`, and `Eof` are never constructed
[INFO] [stdout]   --> src/tokens.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub enum TokenType {
[INFO] [stdout]    |          --------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 26 |     Comma,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 27 |     Dot,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 28 |     Minus,
[INFO] [stdout] 29 |     Plus,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 30 |     Semicolon,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 66 |     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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `line`, `position_start`, `position_end`, and `literal` are never read
[INFO] [stdout]   --> src/tokens.rs:96:9
[INFO] [stdout]    |
[INFO] [stdout] 93 | pub struct Token {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 96 |     pub line: usize,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 97 |     pub position_start: usize,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 98 |     pub position_end: usize,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 99 |     pub literal: Option<Literal>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `lox` (bin "lox") due to 1 previous error; 16 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: this type will no longer be must used: Result<String, Infallible>
[INFO] [stdout]    --> src/token_scanner.rs:292:44
[INFO] [stdout]     |
[INFO] [stdout] 292 | ...                   value: substr.parse().unwrap(),
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `lox` (bin "lox" test) due to 1 previous error; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "1c1a5bb0a1eef93427ba3ca57e4ffe4d7cb2309093d5cb1897ed7d4043ec06b2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1c1a5bb0a1eef93427ba3ca57e4ffe4d7cb2309093d5cb1897ed7d4043ec06b2", kill_on_drop: false }`
[INFO] [stdout] 1c1a5bb0a1eef93427ba3ca57e4ffe4d7cb2309093d5cb1897ed7d4043ec06b2
