[INFO] fetching crate reic 0.1.0...
[INFO] building reic-0.1.0 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1
[INFO] extracting crate reic 0.1.0 into /workspace/builds/worker-6-tc2/source
[INFO] removed /workspace/builds/worker-6-tc2/source/.cargo/config.toml
[INFO] started tweaking crates.io crate reic 0.1.0
[INFO] finished tweaking crates.io crate reic 0.1.0
[INFO] tweaked toml for crates.io crate reic 0.1.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate reic 0.1.0 on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate reic 0.1.0 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 72df8876711b5e6a212acd30c4b84479a7e0032f74218253f709c3810dad6aa4
[INFO] running `Command { std: "docker" "start" "-a" "72df8876711b5e6a212acd30c4b84479a7e0032f74218253f709c3810dad6aa4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "72df8876711b5e6a212acd30c4b84479a7e0032f74218253f709c3810dad6aa4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "72df8876711b5e6a212acd30c4b84479a7e0032f74218253f709c3810dad6aa4", kill_on_drop: false }`
[INFO] [stdout] 72df8876711b5e6a212acd30c4b84479a7e0032f74218253f709c3810dad6aa4
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c0a59114696e94c69a049572c66dbe043a6f30eab84be889559373bd88a7327b
[INFO] running `Command { std: "docker" "start" "-a" "c0a59114696e94c69a049572c66dbe043a6f30eab84be889559373bd88a7327b", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.126
[INFO] [stderr]    Compiling proc-macro2 v1.0.39
[INFO] [stderr]    Compiling crossbeam-utils v0.8.11
[INFO] [stderr]    Compiling unicode-ident v1.0.0
[INFO] [stderr]    Compiling syn v1.0.95
[INFO] [stderr]    Compiling proc-macro-hack v0.5.19
[INFO] [stderr]    Compiling once_cell v1.13.0
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.10
[INFO] [stderr]    Compiling rayon-core v1.9.3
[INFO] [stderr]    Compiling itoa v1.0.2
[INFO] [stderr]    Compiling serde v1.0.140
[INFO] [stderr]    Compiling rayon v1.5.3
[INFO] [stderr]    Compiling serde_derive v1.0.137
[INFO] [stderr]    Compiling utf8-ranges v1.0.5
[INFO] [stderr]    Compiling beef v0.5.1
[INFO] [stderr]    Compiling time-macros v0.2.4
[INFO] [stderr]    Compiling num_threads v0.1.6
[INFO] [stderr]    Compiling regex-syntax v0.6.25
[INFO] [stderr]    Compiling indexmap v1.9.1
[INFO] [stderr]    Compiling ryu v1.0.10
[INFO] [stderr]    Compiling either v1.7.0
[INFO] [stderr]    Compiling unsafe-libyaml v0.2.1
[INFO] [stderr]    Compiling crossbeam-channel v0.5.6
[INFO] [stderr]    Compiling quote v1.0.18
[INFO] [stderr]    Compiling getrandom v0.2.6
[INFO] [stderr]    Compiling crossbeam-deque v0.8.2
[INFO] [stderr]    Compiling const-random-macro v0.1.13
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling num_cpus v1.13.1
[INFO] [stderr]    Compiling colored v2.0.0
[INFO] [stderr]    Compiling time v0.3.12
[INFO] [stderr]    Compiling const-random v0.1.13
[INFO] [stderr]    Compiling ahash v0.3.8
[INFO] [stderr]    Compiling serde_yaml v0.9.0
[INFO] [stderr]    Compiling chumsky v0.8.0
[INFO] [stderr]    Compiling simple_logger v2.2.0
[INFO] [stderr]    Compiling logos-derive v0.12.0
[INFO] [stderr]    Compiling derive-new v0.5.9
[INFO] [stderr]    Compiling logos v0.12.0
[INFO] [stderr]    Compiling reic v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout]  --> src/ast.rs:2:20
[INFO] [stdout]   |
[INFO] [stdout] 2 | use serde_derive::{Deserialize, Serialize};
[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: `slice::Iter`
[INFO] [stdout]  --> src/lexer.rs:3:23
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::{ops::Range, slice::Iter};
[INFO] [stdout]   |                       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Primitive`, `ReiType`, and `symtab::Identifier`
[INFO] [stdout]  --> src/parser.rs:4:65
[INFO] [stdout]   |
[INFO] [stdout] 4 |         ArgList, Content, Expr, Fn, FnCall, ModExpr, ParamList, Primitive, ReiType, TypeModifier,
[INFO] [stdout]   |                                                                 ^^^^^^^^^  ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 9 |     symtab::Identifier,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `lazy_static::lazy_static`
[INFO] [stdout]  --> src/symtab.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use lazy_static::lazy_static;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Deserialize`
[INFO] [stdout]  --> src/symtab.rs:2:20
[INFO] [stdout]   |
[INFO] [stdout] 2 | use serde_derive::{Deserialize, Serialize};
[INFO] [stdout]   |                    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sync::Mutex`
[INFO] [stdout]  --> src/symtab.rs:3:33
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::{collections::HashMap, sync::Mutex};
[INFO] [stdout]   |                                 ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/parser.rs:180:19
[INFO] [stdout]     |
[INFO] [stdout] 179 |             fn_return_type: todo!(),
[INFO] [stdout]     |                             ------- any code following this expression is unreachable
[INFO] [stdout] 180 |             args: todo!(),
[INFO] [stdout]     |                   ^^^^^^^ unreachable expression
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]     = note: this warning originates in the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lexer.rs:254:9
[INFO] [stdout]     |
[INFO] [stdout] 254 |     let mut tokens = Token::lexer(file);
[INFO] [stdout]     |         ----^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lexer.rs:256:9
[INFO] [stdout]     |
[INFO] [stdout] 256 |     let mut str_ = tokens.source();
[INFO] [stdout]     |         ----^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p`
[INFO] [stdout]   --> src/parser.rs:64:12
[INFO] [stdout]    |
[INFO] [stdout] 64 |         Ok(p) => {
[INFO] [stdout]    |            ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/parser.rs:83:13
[INFO] [stdout]    |
[INFO] [stdout] 83 |         Err(e) => expr_none!(),
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/parser.rs:94:9
[INFO] [stdout]    |
[INFO] [stdout] 94 |     for i in 0..MAX_PARAMS {
[INFO] [stdout]    |         ^
[INFO] [stdout]    |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 94 |     for _i in 0..MAX_PARAMS {
[INFO] [stdout]    |         +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MAX_PARAMS`
[INFO] [stdout]    |
[INFO] [stdout] 94 -     for i in 0..MAX_PARAMS {
[INFO] [stdout] 94 +     for parser::MAX_PARAMS in 0..MAX_PARAMS {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `paramlist`
[INFO] [stdout]    --> src/parser.rs:165:13
[INFO] [stdout]     |
[INFO] [stdout] 165 |         let paramlist = param_list_expr(parser)?;
[INFO] [stdout]     |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_paramlist`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `expr_body`
[INFO] [stdout]    --> src/parser.rs:174:13
[INFO] [stdout]     |
[INFO] [stdout] 174 |         let expr_body = expr(parser)?;
[INFO] [stdout]     |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expr_body`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `res`
[INFO] [stdout]    --> src/parser.rs:176:13
[INFO] [stdout]     |
[INFO] [stdout] 176 |         let res = Fn {
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_res`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/parser.rs:240:17
[INFO] [stdout]     |
[INFO] [stdout] 240 |             Err(e) => break,
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `var_def_expr` is never used
[INFO] [stdout]   --> src/parser.rs:24:4
[INFO] [stdout]    |
[INFO] [stdout] 24 | fn var_def_expr(parser: &mut Parser) -> ExprRes<VarDef> {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DEFAULT_NAME` is never used
[INFO] [stdout]  --> src/ast.rs:8:7
[INFO] [stdout]   |
[INFO] [stdout] 8 | const DEFAULT_NAME: &'static str = "content";
[INFO] [stdout]   |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Parser`, `Token`, and `tokenise`
[INFO] [stdout]  --> src/main.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 |     lexer::{Parser, tokenise, Token, tokenise_into_parser},
[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: `std::fs::read_to_string`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::fs::read_to_string;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ops::Range`
[INFO] [stdout]  --> src/main.rs:9:16
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::{env, ops::Range};
[INFO] [stdout]   |                ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `path::Path` and `process::exit`
[INFO] [stdout]   --> src/main.rs:10:11
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::{path::Path, process::exit};
[INFO] [stdout]    |           ^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 |     let mut res = tokenise_into_parser(&open_project(&args));
[INFO] [stdout]    |         ----^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.60s
[INFO] running `Command { std: "docker" "inspect" "c0a59114696e94c69a049572c66dbe043a6f30eab84be889559373bd88a7327b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c0a59114696e94c69a049572c66dbe043a6f30eab84be889559373bd88a7327b", kill_on_drop: false }`
[INFO] [stdout] c0a59114696e94c69a049572c66dbe043a6f30eab84be889559373bd88a7327b
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b51a53cd2e5cf1f01cb5d4477130cdc7cd3482ab66e4fa3814d776e25c301920
[INFO] running `Command { std: "docker" "start" "-a" "b51a53cd2e5cf1f01cb5d4477130cdc7cd3482ab66e4fa3814d776e25c301920", kill_on_drop: false }`
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout]  --> src/ast.rs:2:20
[INFO] [stdout]   |
[INFO] [stdout] 2 | use serde_derive::{Deserialize, Serialize};
[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: `slice::Iter`
[INFO] [stdout]  --> src/lexer.rs:3:23
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::{ops::Range, slice::Iter};
[INFO] [stdout]   |                       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Primitive`, `ReiType`, and `symtab::Identifier`
[INFO] [stdout]  --> src/parser.rs:4:65
[INFO] [stdout]   |
[INFO] [stdout] 4 |         ArgList, Content, Expr, Fn, FnCall, ModExpr, ParamList, Primitive, ReiType, TypeModifier,
[INFO] [stdout]   |                                                                 ^^^^^^^^^  ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 9 |     symtab::Identifier,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `lazy_static::lazy_static`
[INFO] [stdout]  --> src/symtab.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use lazy_static::lazy_static;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Deserialize`
[INFO] [stdout]  --> src/symtab.rs:2:20
[INFO] [stdout]   |
[INFO] [stdout] 2 | use serde_derive::{Deserialize, Serialize};
[INFO] [stdout]   |                    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sync::Mutex`
[INFO] [stdout]  --> src/symtab.rs:3:33
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::{collections::HashMap, sync::Mutex};
[INFO] [stdout]   |                                 ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/parser.rs:180:19
[INFO] [stdout]     |
[INFO] [stdout] 179 |             fn_return_type: todo!(),
[INFO] [stdout]     |                             ------- any code following this expression is unreachable
[INFO] [stdout] 180 |             args: todo!(),
[INFO] [stdout]     |                   ^^^^^^^ unreachable expression
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]     = note: this warning originates in the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lexer.rs:254:9
[INFO] [stdout]     |
[INFO] [stdout] 254 |     let mut tokens = Token::lexer(file);
[INFO] [stdout]     |         ----^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lexer.rs:256:9
[INFO] [stdout]     |
[INFO] [stdout] 256 |     let mut str_ = tokens.source();
[INFO] [stdout]     |         ----^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p`
[INFO] [stdout]   --> src/parser.rs:64:12
[INFO] [stdout]    |
[INFO] [stdout] 64 |         Ok(p) => {
[INFO] [stdout]    |            ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling reic v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/parser.rs:83:13
[INFO] [stdout]    |
[INFO] [stdout] 83 |         Err(e) => expr_none!(),
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/parser.rs:94:9
[INFO] [stdout]    |
[INFO] [stdout] 94 |     for i in 0..MAX_PARAMS {
[INFO] [stdout]    |         ^
[INFO] [stdout]    |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 94 |     for _i in 0..MAX_PARAMS {
[INFO] [stdout]    |         +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MAX_PARAMS`
[INFO] [stdout]    |
[INFO] [stdout] 94 -     for i in 0..MAX_PARAMS {
[INFO] [stdout] 94 +     for parser::MAX_PARAMS in 0..MAX_PARAMS {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `paramlist`
[INFO] [stdout]    --> src/parser.rs:165:13
[INFO] [stdout]     |
[INFO] [stdout] 165 |         let paramlist = param_list_expr(parser)?;
[INFO] [stdout]     |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_paramlist`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `expr_body`
[INFO] [stdout]    --> src/parser.rs:174:13
[INFO] [stdout]     |
[INFO] [stdout] 174 |         let expr_body = expr(parser)?;
[INFO] [stdout]     |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expr_body`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `res`
[INFO] [stdout]    --> src/parser.rs:176:13
[INFO] [stdout]     |
[INFO] [stdout] 176 |         let res = Fn {
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_res`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/parser.rs:240:17
[INFO] [stdout]     |
[INFO] [stdout] 240 |             Err(e) => break,
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `var_def_expr` is never used
[INFO] [stdout]   --> src/parser.rs:24:4
[INFO] [stdout]    |
[INFO] [stdout] 24 | fn var_def_expr(parser: &mut Parser) -> ExprRes<VarDef> {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DEFAULT_NAME` is never used
[INFO] [stdout]  --> src/ast.rs:8:7
[INFO] [stdout]   |
[INFO] [stdout] 8 | const DEFAULT_NAME: &'static str = "content";
[INFO] [stdout]   |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Parser`, `Token`, and `tokenise`
[INFO] [stdout]  --> src/main.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 |     lexer::{Parser, tokenise, Token, tokenise_into_parser},
[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: `std::fs::read_to_string`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::fs::read_to_string;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ops::Range`
[INFO] [stdout]  --> src/main.rs:9:16
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::{env, ops::Range};
[INFO] [stdout]   |                ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `path::Path` and `process::exit`
[INFO] [stdout]   --> src/main.rs:10:11
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::{path::Path, process::exit};
[INFO] [stdout]    |           ^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 |     let mut res = tokenise_into_parser(&open_project(&args));
[INFO] [stdout]    |         ----^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Parser`, `Token`, and `tokenise`
[INFO] [stdout]  --> src/main.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 |     lexer::{Parser, tokenise, Token, tokenise_into_parser},
[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: `std::fs::read_to_string`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::fs::read_to_string;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ops::Range`
[INFO] [stdout]  --> src/main.rs:9:16
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::{env, ops::Range};
[INFO] [stdout]   |                ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `path::Path` and `process::exit`
[INFO] [stdout]   --> src/main.rs:10:11
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::{path::Path, process::exit};
[INFO] [stdout]    |           ^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 |     let mut res = tokenise_into_parser(&open_project(&args));
[INFO] [stdout]    |         ----^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout]  --> src/ast.rs:2:20
[INFO] [stdout]   |
[INFO] [stdout] 2 | use serde_derive::{Deserialize, Serialize};
[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: `slice::Iter`
[INFO] [stdout]  --> src/lexer.rs:3:23
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::{ops::Range, slice::Iter};
[INFO] [stdout]   |                       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Primitive`, `ReiType`, and `symtab::Identifier`
[INFO] [stdout]  --> src/parser.rs:4:65
[INFO] [stdout]   |
[INFO] [stdout] 4 |         ArgList, Content, Expr, Fn, FnCall, ModExpr, ParamList, Primitive, ReiType, TypeModifier,
[INFO] [stdout]   |                                                                 ^^^^^^^^^  ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 9 |     symtab::Identifier,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `lazy_static::lazy_static`
[INFO] [stdout]  --> src/symtab.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use lazy_static::lazy_static;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Deserialize`
[INFO] [stdout]  --> src/symtab.rs:2:20
[INFO] [stdout]   |
[INFO] [stdout] 2 | use serde_derive::{Deserialize, Serialize};
[INFO] [stdout]   |                    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sync::Mutex`
[INFO] [stdout]  --> src/symtab.rs:3:33
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::{collections::HashMap, sync::Mutex};
[INFO] [stdout]   |                                 ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/parser.rs:180:19
[INFO] [stdout]     |
[INFO] [stdout] 179 |             fn_return_type: todo!(),
[INFO] [stdout]     |                             ------- any code following this expression is unreachable
[INFO] [stdout] 180 |             args: todo!(),
[INFO] [stdout]     |                   ^^^^^^^ unreachable expression
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]     = note: this warning originates in the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lexer.rs:254:9
[INFO] [stdout]     |
[INFO] [stdout] 254 |     let mut tokens = Token::lexer(file);
[INFO] [stdout]     |         ----^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lexer.rs:256:9
[INFO] [stdout]     |
[INFO] [stdout] 256 |     let mut str_ = tokens.source();
[INFO] [stdout]     |         ----^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p`
[INFO] [stdout]   --> src/parser.rs:64:12
[INFO] [stdout]    |
[INFO] [stdout] 64 |         Ok(p) => {
[INFO] [stdout]    |            ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/parser.rs:83:13
[INFO] [stdout]    |
[INFO] [stdout] 83 |         Err(e) => expr_none!(),
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/parser.rs:94:9
[INFO] [stdout]    |
[INFO] [stdout] 94 |     for i in 0..MAX_PARAMS {
[INFO] [stdout]    |         ^
[INFO] [stdout]    |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 94 |     for _i in 0..MAX_PARAMS {
[INFO] [stdout]    |         +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MAX_PARAMS`
[INFO] [stdout]    |
[INFO] [stdout] 94 -     for i in 0..MAX_PARAMS {
[INFO] [stdout] 94 +     for parser::MAX_PARAMS in 0..MAX_PARAMS {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `paramlist`
[INFO] [stdout]    --> src/parser.rs:165:13
[INFO] [stdout]     |
[INFO] [stdout] 165 |         let paramlist = param_list_expr(parser)?;
[INFO] [stdout]     |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_paramlist`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `expr_body`
[INFO] [stdout]    --> src/parser.rs:174:13
[INFO] [stdout]     |
[INFO] [stdout] 174 |         let expr_body = expr(parser)?;
[INFO] [stdout]     |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expr_body`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `res`
[INFO] [stdout]    --> src/parser.rs:176:13
[INFO] [stdout]     |
[INFO] [stdout] 176 |         let res = Fn {
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_res`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/parser.rs:240:17
[INFO] [stdout]     |
[INFO] [stdout] 240 |             Err(e) => break,
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DEFAULT_NAME` is never used
[INFO] [stdout]  --> src/ast.rs:8:7
[INFO] [stdout]   |
[INFO] [stdout] 8 | const DEFAULT_NAME: &'static str = "content";
[INFO] [stdout]   |       ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `var_def_expr` is never used
[INFO] [stdout]   --> src/parser.rs:24:4
[INFO] [stdout]    |
[INFO] [stdout] 24 | fn var_def_expr(parser: &mut Parser) -> ExprRes<VarDef> {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.08s
[INFO] running `Command { std: "docker" "inspect" "b51a53cd2e5cf1f01cb5d4477130cdc7cd3482ab66e4fa3814d776e25c301920", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b51a53cd2e5cf1f01cb5d4477130cdc7cd3482ab66e4fa3814d776e25c301920", kill_on_drop: false }`
[INFO] [stdout] b51a53cd2e5cf1f01cb5d4477130cdc7cd3482ab66e4fa3814d776e25c301920
