[INFO] cloning repository https://github.com/kelnos/rlox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kelnos/rlox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkelnos%2Frlox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkelnos%2Frlox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e2fe2f72e2e04bc74fdcb3f3936e6b8c51a27e14 [INFO] checking kelnos/rlox against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkelnos%2Frlox" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kelnos/rlox on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kelnos/rlox [INFO] finished tweaking git repo https://github.com/kelnos/rlox [INFO] tweaked toml for git repo https://github.com/kelnos/rlox written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/kelnos/rlox already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a10b065719e4c39931984ef3681c9dfa494a0c39cc9fcf2405ba06473fcc4fdd [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a10b065719e4c39931984ef3681c9dfa494a0c39cc9fcf2405ba06473fcc4fdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a10b065719e4c39931984ef3681c9dfa494a0c39cc9fcf2405ba06473fcc4fdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a10b065719e4c39931984ef3681c9dfa494a0c39cc9fcf2405ba06473fcc4fdd", kill_on_drop: false }` [INFO] [stdout] a10b065719e4c39931984ef3681c9dfa494a0c39cc9fcf2405ba06473fcc4fdd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bd478ecc187d43ac2c900d5cbf4ebdce20f74410f653c17b686fc4229e86b510 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "bd478ecc187d43ac2c900d5cbf4ebdce20f74410f653c17b686fc4229e86b510", kill_on_drop: false }` [INFO] [stderr] Checking lazy_static v0.2.10 [INFO] [stderr] Checking rlox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConstLexemeTokenType` [INFO] [stdout] --> src/token.rs:208:17 [INFO] [stdout] | [INFO] [stdout] 208 | let t = ConstLexemeTokenType::And.token(42); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `ConstLexemeTokenType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VariableTokenType` [INFO] [stdout] --> src/token.rs:221:17 [INFO] [stdout] | [INFO] [stdout] 221 | let t = VariableTokenType::String.token( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `VariableTokenType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `False` in this scope [INFO] [stdout] --> src/token.rs:214:17 [INFO] [stdout] | [INFO] [stdout] 214 | let t = False.token(42); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 204 | use token::TokenType::False; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter.rs:52:98 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn interpret(environment: Rc>, statements: Vec) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter.rs:64:67 [INFO] [stdout] | [INFO] [stdout] 64 | fn execute_stmt(state: &mut State, stmt: &Stmt) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter.rs:75:79 [INFO] [stdout] | [INFO] [stdout] 75 | fn execute_block(state: &mut State, statements: &Vec) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter.rs:87:78 [INFO] [stdout] | [INFO] [stdout] 87 | fn execute_expression_stmt(state: &mut State, expr: &Expr) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter.rs:91:153 [INFO] [stdout] | [INFO] [stdout] 91 | ...Option>, body: &Stmt) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter.rs:111:128 [INFO] [stdout] | [INFO] [stdout] 111 | fn execute_if_stmt(state: &mut State, expr: &Expr, then_branch: &Box, else_branch: &Option>) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter.rs:126:73 [INFO] [stdout] | [INFO] [stdout] 126 | fn execute_print_stmt(state: &mut State, expr: &Expr) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter.rs:133:100 [INFO] [stdout] | [INFO] [stdout] 133 | fn execute_var_stmt(state: &mut State, name: &Token, initializer: &Option) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter.rs:143:81 [INFO] [stdout] | [INFO] [stdout] 143 | fn evaluate_expression(state: &mut State, expr: &Expr) -> Result, Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter.rs:161:92 [INFO] [stdout] | [INFO] [stdout] 161 | fn evaluate_assign(state: &mut State, name: &Token, value: &Expr) -> Result, Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter.rs:172:109 [INFO] [stdout] | [INFO] [stdout] 172 | fn evaluate_binary(state: &mut State, left: &Expr, operator: &Token, right: &Expr) -> Result, Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter.rs:187:83 [INFO] [stdout] | [INFO] [stdout] 187 | fn arithmetic(left: &Value, operator: &Token, right: &Value) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter.rs:218:80 [INFO] [stdout] | [INFO] [stdout] 218 | fn compare(left: &Value, operator: &Token, right: &Value) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter.rs:234:85 [INFO] [stdout] | [INFO] [stdout] 234 | fn evaluate_grouping(state: &mut State, expression: &Expr) -> Result, Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter.rs:238:84 [INFO] [stdout] | [INFO] [stdout] 238 | fn evaluate_literal(_state: &mut State, value: Rc) -> Result, Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter.rs:242:110 [INFO] [stdout] | [INFO] [stdout] 242 | fn evaluate_logical(state: &mut State, left: &Expr, operator: &Token, right: &Expr) -> Result, Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter.rs:256:95 [INFO] [stdout] | [INFO] [stdout] 256 | fn evaluate_unary(state: &mut State, operator: &Token, right: &Expr) -> Result, Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:62:63 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn parse(tokens: Vec) -> Result, Vec>> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:105:74 [INFO] [stdout] | [INFO] [stdout] 105 | fn declaration(iter: &mut Peekable>) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:113:78 [INFO] [stdout] | [INFO] [stdout] 113 | fn var_declaration(iter: &mut Peekable>) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:124:72 [INFO] [stdout] | [INFO] [stdout] 124 | fn statement(iter: &mut Peekable>) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:140:75 [INFO] [stdout] | [INFO] [stdout] 140 | fn if_statement(iter: &mut Peekable>) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:153:78 [INFO] [stdout] | [INFO] [stdout] 153 | fn print_statement(iter: &mut Peekable>) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:160:78 [INFO] [stdout] | [INFO] [stdout] 160 | fn while_statement(iter: &mut Peekable>) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:169:76 [INFO] [stdout] | [INFO] [stdout] 169 | fn for_statement(iter: &mut Peekable>) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:192:83 [INFO] [stdout] | [INFO] [stdout] 192 | fn block_statement(iter: &mut Peekable>) -> Result, Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:205:83 [INFO] [stdout] | [INFO] [stdout] 205 | fn expression_statement(iter: &mut Peekable>) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:212:79 [INFO] [stdout] | [INFO] [stdout] 212 | fn parse_expression(iter: &mut Peekable>) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:216:79 [INFO] [stdout] | [INFO] [stdout] 216 | fn parse_assignment(iter: &mut Peekable>) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:233:110 [INFO] [stdout] | [INFO] [stdout] 233 | matches: &[TokenType], parse_operand: fn(&mut Peekable>) -> Result>, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:234:82 [INFO] [stdout] | [INFO] [stdout] 234 | expr_builder: fn(Expr, Token, Expr) -> Expr) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:242:71 [INFO] [stdout] | [INFO] [stdout] 242 | fn parse_or(iter: &mut Peekable>) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:246:72 [INFO] [stdout] | [INFO] [stdout] 246 | fn parse_and(iter: &mut Peekable>) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:250:77 [INFO] [stdout] | [INFO] [stdout] 250 | fn parse_equality(iter: &mut Peekable>) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:254:79 [INFO] [stdout] | [INFO] [stdout] 254 | fn parse_comparison(iter: &mut Peekable>) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:258:77 [INFO] [stdout] | [INFO] [stdout] 258 | fn parse_addition(iter: &mut Peekable>) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:262:83 [INFO] [stdout] | [INFO] [stdout] 262 | fn parse_multiplication(iter: &mut Peekable>) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:266:74 [INFO] [stdout] | [INFO] [stdout] 266 | fn parse_unary(iter: &mut Peekable>) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:273:76 [INFO] [stdout] | [INFO] [stdout] 273 | fn parse_primary(iter: &mut Peekable>) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:274:70 [INFO] [stdout] | [INFO] [stdout] 274 | iter.next().ok_or(ParseError::new(&*EXPECT_PRIMARY, None) as Box).and_then(|token| { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:321:94 [INFO] [stdout] | [INFO] [stdout] 321 | fn consume(iter: &mut Peekable>, matches: &[TokenType]) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:326:66 [INFO] [stdout] | [INFO] [stdout] 326 | Err(ParseError::new_arr(matches, Some(token)) as Box) [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:328:64 [INFO] [stdout] | [INFO] [stdout] 328 | }).unwrap_or(Err(ParseError::new_arr(matches, None) as Box)) [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scanner.rs:178:56 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn scan(source: &String) -> Result, Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:24:90 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn run(environment: Rc>, source: &String) -> Result<(), Vec>> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter.rs:52:98 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn interpret(environment: Rc>, statements: Vec) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter.rs:64:67 [INFO] [stdout] | [INFO] [stdout] 64 | fn execute_stmt(state: &mut State, stmt: &Stmt) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter.rs:75:79 [INFO] [stdout] | [INFO] [stdout] 75 | fn execute_block(state: &mut State, statements: &Vec) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter.rs:87:78 [INFO] [stdout] | [INFO] [stdout] 87 | fn execute_expression_stmt(state: &mut State, expr: &Expr) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter.rs:91:153 [INFO] [stdout] | [INFO] [stdout] 91 | ...Option>, body: &Stmt) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter.rs:111:128 [INFO] [stdout] | [INFO] [stdout] 111 | fn execute_if_stmt(state: &mut State, expr: &Expr, then_branch: &Box, else_branch: &Option>) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter.rs:126:73 [INFO] [stdout] | [INFO] [stdout] 126 | fn execute_print_stmt(state: &mut State, expr: &Expr) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter.rs:133:100 [INFO] [stdout] | [INFO] [stdout] 133 | fn execute_var_stmt(state: &mut State, name: &Token, initializer: &Option) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter.rs:143:81 [INFO] [stdout] | [INFO] [stdout] 143 | fn evaluate_expression(state: &mut State, expr: &Expr) -> Result, Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter.rs:161:92 [INFO] [stdout] | [INFO] [stdout] 161 | fn evaluate_assign(state: &mut State, name: &Token, value: &Expr) -> Result, Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter.rs:172:109 [INFO] [stdout] | [INFO] [stdout] 172 | fn evaluate_binary(state: &mut State, left: &Expr, operator: &Token, right: &Expr) -> Result, Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter.rs:187:83 [INFO] [stdout] | [INFO] [stdout] 187 | fn arithmetic(left: &Value, operator: &Token, right: &Value) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter.rs:218:80 [INFO] [stdout] | [INFO] [stdout] 218 | fn compare(left: &Value, operator: &Token, right: &Value) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter.rs:234:85 [INFO] [stdout] | [INFO] [stdout] 234 | fn evaluate_grouping(state: &mut State, expression: &Expr) -> Result, Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter.rs:238:84 [INFO] [stdout] | [INFO] [stdout] 238 | fn evaluate_literal(_state: &mut State, value: Rc) -> Result, Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter.rs:242:110 [INFO] [stdout] | [INFO] [stdout] 242 | fn evaluate_logical(state: &mut State, left: &Expr, operator: &Token, right: &Expr) -> Result, Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter.rs:256:95 [INFO] [stdout] | [INFO] [stdout] 256 | fn evaluate_unary(state: &mut State, operator: &Token, right: &Expr) -> Result, Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:62:63 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn parse(tokens: Vec) -> Result, Vec>> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:105:74 [INFO] [stdout] | [INFO] [stdout] 105 | fn declaration(iter: &mut Peekable>) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:113:78 [INFO] [stdout] | [INFO] [stdout] 113 | fn var_declaration(iter: &mut Peekable>) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:124:72 [INFO] [stdout] | [INFO] [stdout] 124 | fn statement(iter: &mut Peekable>) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:140:75 [INFO] [stdout] | [INFO] [stdout] 140 | fn if_statement(iter: &mut Peekable>) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:153:78 [INFO] [stdout] | [INFO] [stdout] 153 | fn print_statement(iter: &mut Peekable>) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:160:78 [INFO] [stdout] | [INFO] [stdout] 160 | fn while_statement(iter: &mut Peekable>) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:169:76 [INFO] [stdout] | [INFO] [stdout] 169 | fn for_statement(iter: &mut Peekable>) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:192:83 [INFO] [stdout] | [INFO] [stdout] 192 | fn block_statement(iter: &mut Peekable>) -> Result, Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:205:83 [INFO] [stdout] | [INFO] [stdout] 205 | fn expression_statement(iter: &mut Peekable>) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:212:79 [INFO] [stdout] | [INFO] [stdout] 212 | fn parse_expression(iter: &mut Peekable>) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:216:79 [INFO] [stdout] | [INFO] [stdout] 216 | fn parse_assignment(iter: &mut Peekable>) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:233:110 [INFO] [stdout] | [INFO] [stdout] 233 | matches: &[TokenType], parse_operand: fn(&mut Peekable>) -> Result>, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:234:82 [INFO] [stdout] | [INFO] [stdout] 234 | expr_builder: fn(Expr, Token, Expr) -> Expr) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:242:71 [INFO] [stdout] | [INFO] [stdout] 242 | fn parse_or(iter: &mut Peekable>) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:246:72 [INFO] [stdout] | [INFO] [stdout] 246 | fn parse_and(iter: &mut Peekable>) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:250:77 [INFO] [stdout] | [INFO] [stdout] 250 | fn parse_equality(iter: &mut Peekable>) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:254:79 [INFO] [stdout] | [INFO] [stdout] 254 | fn parse_comparison(iter: &mut Peekable>) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:258:77 [INFO] [stdout] | [INFO] [stdout] 258 | fn parse_addition(iter: &mut Peekable>) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:262:83 [INFO] [stdout] | [INFO] [stdout] 262 | fn parse_multiplication(iter: &mut Peekable>) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:266:74 [INFO] [stdout] | [INFO] [stdout] 266 | fn parse_unary(iter: &mut Peekable>) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:273:76 [INFO] [stdout] | [INFO] [stdout] 273 | fn parse_primary(iter: &mut Peekable>) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:274:70 [INFO] [stdout] | [INFO] [stdout] 274 | iter.next().ok_or(ParseError::new(&*EXPECT_PRIMARY, None) as Box).and_then(|token| { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:321:94 [INFO] [stdout] | [INFO] [stdout] 321 | fn consume(iter: &mut Peekable>, matches: &[TokenType]) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:326:66 [INFO] [stdout] | [INFO] [stdout] 326 | Err(ParseError::new_arr(matches, Some(token)) as Box) [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:328:64 [INFO] [stdout] | [INFO] [stdout] 328 | }).unwrap_or(Err(ParseError::new_arr(matches, None) as Box)) [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scanner.rs:178:56 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn scan(source: &String) -> Result, Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:24:90 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn run(environment: Rc>, source: &String) -> Result<(), Vec>> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/parser.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / lazy_static! { [INFO] [stdout] 15 | | static ref EXPECT_PRIMARY: Vec = { [INFO] [stdout] 16 | | vec![Number, Str, True, False, Nil, LeftParen, Identifier] [INFO] [stdout] 17 | | }; [INFO] [stdout] 18 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/parser.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / lazy_static! { [INFO] [stdout] 15 | | static ref EXPECT_PRIMARY: Vec = { [INFO] [stdout] 16 | | vec![Number, Str, True, False, Nil, LeftParen, Identifier] [INFO] [stdout] 17 | | }; [INFO] [stdout] 18 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/scanner.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | / lazy_static! { [INFO] [stdout] 39 | | static ref KEYWORDS: HashMap<&'static str, fn(u32) -> Token> = { [INFO] [stdout] 40 | | let mut m = HashMap::new(); [INFO] [stdout] 41 | | m.insert("and", create_and as fn(u32) -> Token); [INFO] [stdout] ... | [INFO] [stdout] 60 | | }; [INFO] [stdout] 61 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/scanner.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | / lazy_static! { [INFO] [stdout] 39 | | static ref KEYWORDS: HashMap<&'static str, fn(u32) -> Token> = { [INFO] [stdout] 40 | | let mut m = HashMap::new(); [INFO] [stdout] 41 | | m.insert("and", create_and as fn(u32) -> Token); [INFO] [stdout] ... | [INFO] [stdout] 60 | | }; [INFO] [stdout] 61 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/parser.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / lazy_static! { [INFO] [stdout] 15 | | static ref EXPECT_PRIMARY: Vec = { [INFO] [stdout] 16 | | vec![Number, Str, True, False, Nil, LeftParen, Identifier] [INFO] [stdout] 17 | | }; [INFO] [stdout] 18 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/parser.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / lazy_static! { [INFO] [stdout] 15 | | static ref EXPECT_PRIMARY: Vec = { [INFO] [stdout] 16 | | vec![Number, Str, True, False, Nil, LeftParen, Identifier] [INFO] [stdout] 17 | | }; [INFO] [stdout] 18 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/scanner.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | / lazy_static! { [INFO] [stdout] 39 | | static ref KEYWORDS: HashMap<&'static str, fn(u32) -> Token> = { [INFO] [stdout] 40 | | let mut m = HashMap::new(); [INFO] [stdout] 41 | | m.insert("and", create_and as fn(u32) -> Token); [INFO] [stdout] ... | [INFO] [stdout] 60 | | }; [INFO] [stdout] 61 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/scanner.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | / lazy_static! { [INFO] [stdout] 39 | | static ref KEYWORDS: HashMap<&'static str, fn(u32) -> Token> = { [INFO] [stdout] 40 | | let mut m = HashMap::new(); [INFO] [stdout] 41 | | m.insert("and", create_and as fn(u32) -> Token); [INFO] [stdout] ... | [INFO] [stdout] 60 | | }; [INFO] [stdout] 61 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/interpreter.rs:42:30 [INFO] [stdout] | [INFO] [stdout] 42 | write!(f, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/interpreter.rs:42:30 [INFO] [stdout] | [INFO] [stdout] 42 | write!(f, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/parser.rs:52:30 [INFO] [stdout] | [INFO] [stdout] 52 | write!(f, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/parser.rs:52:30 [INFO] [stdout] | [INFO] [stdout] 52 | write!(f, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arguments` [INFO] [stdout] --> src/callable.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | fn call(arguments: &Vec<&Value>) -> Value { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arguments` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arguments` [INFO] [stdout] --> src/function.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | fn call(arguments: &Vec<&Value>) -> Value { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arguments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 51 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rlox` [INFO] [stdout] warning: 53 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "bd478ecc187d43ac2c900d5cbf4ebdce20f74410f653c17b686fc4229e86b510", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd478ecc187d43ac2c900d5cbf4ebdce20f74410f653c17b686fc4229e86b510", kill_on_drop: false }` [INFO] [stdout] bd478ecc187d43ac2c900d5cbf4ebdce20f74410f653c17b686fc4229e86b510