[INFO] cloning repository https://github.com/jawm/protolang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jawm/protolang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjawm%2Fprotolang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjawm%2Fprotolang'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 529add6bdffa68d173674f024985a3650da11ee7 [INFO] checking jawm/protolang against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjawm%2Fprotolang" "/workspace/builds/worker-15/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-15/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jawm/protolang on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jawm/protolang [INFO] finished tweaking git repo https://github.com/jawm/protolang [INFO] tweaked toml for git repo https://github.com/jawm/protolang written to /workspace/builds/worker-15/source/Cargo.toml [INFO] crate git repo https://github.com/jawm/protolang already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: file found to be present in multiple build targets: /workspace/builds/worker-15/source/src/main.rs [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ebd1bdaca5d1afc13faaacbd8471101b949dd1060ed55ee9fbd95791bed897f7 [INFO] running `Command { std: "docker" "start" "-a" "ebd1bdaca5d1afc13faaacbd8471101b949dd1060ed55ee9fbd95791bed897f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ebd1bdaca5d1afc13faaacbd8471101b949dd1060ed55ee9fbd95791bed897f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebd1bdaca5d1afc13faaacbd8471101b949dd1060ed55ee9fbd95791bed897f7", kill_on_drop: false }` [INFO] [stdout] ebd1bdaca5d1afc13faaacbd8471101b949dd1060ed55ee9fbd95791bed897f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 25f62060fd1c101adad4a2fa1887c58f4b509eb938acb7f4539219cfe05898bb [INFO] running `Command { std: "docker" "start" "-a" "25f62060fd1c101adad4a2fa1887c58f4b509eb938acb7f4539219cfe05898bb", kill_on_drop: false }` [INFO] [stderr] warning: file found to be present in multiple build targets: /opt/rustwide/workdir/src/main.rs [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.36 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.47 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling bumpalo v2.4.3 [INFO] [stderr] Compiling ucd-trie v0.1.2 [INFO] [stderr] Compiling libc v0.2.55 [INFO] [stderr] Compiling wasm-bindgen v0.2.47 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking pest v2.1.1 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Compiling pest_meta v2.1.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.47 [INFO] [stderr] Compiling pest_generator v2.1.0 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.47 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.47 [INFO] [stderr] Checking js-sys v0.3.24 [INFO] [stderr] Checking compiler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0437]: type `Ok` is not a member of trait `Try` [INFO] [stdout] --> src/interpreter/mod.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | type Ok = Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not a member of trait `Try` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0437]: type `Error` is not a member of trait `Try` [INFO] [stdout] --> src/interpreter/mod.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | type Error = ExprError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not a member of trait `Try` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `into_result` is not a member of trait `Try` [INFO] [stdout] --> src/interpreter/mod.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | / fn into_result(self) -> Result { [INFO] [stdout] 38 | | match self { [INFO] [stdout] 39 | | ExprResult::Value(v) => Ok(v), [INFO] [stdout] 40 | | ExprResult::ControlFlow(c) => Err(ExprError::ControlFlow(c)), [INFO] [stdout] 41 | | ExprResult::Err(e) => Err(ExprError::Err(e)) [INFO] [stdout] 42 | | } [INFO] [stdout] 43 | | } [INFO] [stdout] | |_____^ not a member of trait `Try` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `from_error` is not a member of trait `Try` [INFO] [stdout] --> src/interpreter/mod.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | / fn from_error(v: Self::Error) -> Self { [INFO] [stdout] 46 | | match v { [INFO] [stdout] 47 | | ExprError::ControlFlow(c) => ExprResult::ControlFlow(c), [INFO] [stdout] 48 | | ExprError::Err(e) => ExprResult::Err(e) [INFO] [stdout] 49 | | } [INFO] [stdout] 50 | | } [INFO] [stdout] | |_____^ not a member of trait `Try` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `from_ok` is not a member of trait `Try` [INFO] [stdout] --> src/interpreter/mod.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | / fn from_ok(v: Self::Ok) -> Self { [INFO] [stdout] 53 | | ExprResult::Value(v) [INFO] [stdout] 54 | | } [INFO] [stdout] | |_____^ not a member of trait `Try` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0437]: type `Ok` is not a member of trait `Try` [INFO] [stdout] --> src/interpreter/mod.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | type Ok = Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not a member of trait `Try` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0437]: type `Error` is not a member of trait `Try` [INFO] [stdout] --> src/interpreter/mod.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | type Error = ExprError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not a member of trait `Try` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `into_result` is not a member of trait `Try` [INFO] [stdout] --> src/interpreter/mod.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | / fn into_result(self) -> Result { [INFO] [stdout] 38 | | match self { [INFO] [stdout] 39 | | ExprResult::Value(v) => Ok(v), [INFO] [stdout] 40 | | ExprResult::ControlFlow(c) => Err(ExprError::ControlFlow(c)), [INFO] [stdout] 41 | | ExprResult::Err(e) => Err(ExprError::Err(e)) [INFO] [stdout] 42 | | } [INFO] [stdout] 43 | | } [INFO] [stdout] | |_____^ not a member of trait `Try` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `from_error` is not a member of trait `Try` [INFO] [stdout] --> src/interpreter/mod.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | / fn from_error(v: Self::Error) -> Self { [INFO] [stdout] 46 | | match v { [INFO] [stdout] 47 | | ExprError::ControlFlow(c) => ExprResult::ControlFlow(c), [INFO] [stdout] 48 | | ExprError::Err(e) => ExprResult::Err(e) [INFO] [stdout] 49 | | } [INFO] [stdout] 50 | | } [INFO] [stdout] | |_____^ not a member of trait `Try` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `from_ok` is not a member of trait `Try` [INFO] [stdout] --> src/interpreter/mod.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | / fn from_ok(v: Self::Ok) -> Self { [INFO] [stdout] 53 | | ExprResult::Value(v) [INFO] [stdout] 54 | | } [INFO] [stdout] | |_____^ not a member of trait `Try` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0437]: type `Ok` is not a member of trait `Try` [INFO] [stdout] --> src/interpreter/mod.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | type Ok = Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not a member of trait `Try` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0437]: type `Error` is not a member of trait `Try` [INFO] [stdout] --> src/interpreter/mod.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | type Error = ExprError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not a member of trait `Try` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `into_result` is not a member of trait `Try` [INFO] [stdout] --> src/interpreter/mod.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | / fn into_result(self) -> Result { [INFO] [stdout] 38 | | match self { [INFO] [stdout] 39 | | ExprResult::Value(v) => Ok(v), [INFO] [stdout] 40 | | ExprResult::ControlFlow(c) => Err(ExprError::ControlFlow(c)), [INFO] [stdout] 41 | | ExprResult::Err(e) => Err(ExprError::Err(e)) [INFO] [stdout] 42 | | } [INFO] [stdout] 43 | | } [INFO] [stdout] | |_____^ not a member of trait `Try` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `from_error` is not a member of trait `Try` [INFO] [stdout] --> src/interpreter/mod.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | / fn from_error(v: Self::Error) -> Self { [INFO] [stdout] 46 | | match v { [INFO] [stdout] 47 | | ExprError::ControlFlow(c) => ExprResult::ControlFlow(c), [INFO] [stdout] 48 | | ExprError::Err(e) => ExprResult::Err(e) [INFO] [stdout] 49 | | } [INFO] [stdout] 50 | | } [INFO] [stdout] | |_____^ not a member of trait `Try` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `from_ok` is not a member of trait `Try` [INFO] [stdout] --> src/interpreter/mod.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | / fn from_ok(v: Self::Ok) -> Self { [INFO] [stdout] 53 | | ExprResult::Value(v) [INFO] [stdout] 54 | | } [INFO] [stdout] | |_____^ not a member of trait `Try` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0437]: type `Ok` is not a member of trait `Try` [INFO] [stdout] --> src/interpreter/mod.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | type Ok = Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not a member of trait `Try` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0437]: type `Error` is not a member of trait `Try` [INFO] [stdout] --> src/interpreter/mod.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | type Error = ExprError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not a member of trait `Try` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `into_result` is not a member of trait `Try` [INFO] [stdout] --> src/interpreter/mod.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | / fn into_result(self) -> Result { [INFO] [stdout] 38 | | match self { [INFO] [stdout] 39 | | ExprResult::Value(v) => Ok(v), [INFO] [stdout] 40 | | ExprResult::ControlFlow(c) => Err(ExprError::ControlFlow(c)), [INFO] [stdout] 41 | | ExprResult::Err(e) => Err(ExprError::Err(e)) [INFO] [stdout] 42 | | } [INFO] [stdout] 43 | | } [INFO] [stdout] | |_____^ not a member of trait `Try` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `from_error` is not a member of trait `Try` [INFO] [stdout] --> src/interpreter/mod.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | / fn from_error(v: Self::Error) -> Self { [INFO] [stdout] 46 | | match v { [INFO] [stdout] 47 | | ExprError::ControlFlow(c) => ExprResult::ControlFlow(c), [INFO] [stdout] 48 | | ExprError::Err(e) => ExprResult::Err(e) [INFO] [stdout] 49 | | } [INFO] [stdout] 50 | | } [INFO] [stdout] | |_____^ not a member of trait `Try` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `from_ok` is not a member of trait `Try` [INFO] [stdout] --> src/interpreter/mod.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | / fn from_ok(v: Self::Ok) -> Self { [INFO] [stdout] 53 | | ExprResult::Value(v) [INFO] [stdout] 54 | | } [INFO] [stdout] | |_____^ not a member of trait `Try` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SubCommand` [INFO] [stdout] --> src/main.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | use clap::{App, Arg, SubCommand}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufReader` [INFO] [stdout] --> src/main.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 14 | use std::io::{BufRead, BufReader, Write}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::interpreter::Value` [INFO] [stdout] --> src/errors.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::interpreter::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Token` [INFO] [stdout] --> src/errors.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::lex::tokens::{Token, TokenType}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Binary` [INFO] [stdout] --> src/ast/expression.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fmt::{Binary, Display, Error, Formatter}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ast::expression::UnaryOperation` [INFO] [stdout] --> src/ast/printer.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::ast::expression::UnaryOperation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SubCommand` [INFO] [stdout] --> src/main.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | use clap::{App, Arg, SubCommand}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SubCommand` [INFO] [stdout] --> src/main.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | use clap::{App, Arg, SubCommand}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SubCommand` [INFO] [stdout] --> src/main.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | use clap::{App, Arg, SubCommand}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::borrow::Borrow` [INFO] [stdout] --> src/lex/lex.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use core::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lex::tokens::Token` [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use lex::tokens::Token; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lex::Lexer` [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use lex::Lexer; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TokenType`, `Token` [INFO] [stdout] --> src/parse/mod.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::lex::tokens::{Token, TokenType}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufReader` [INFO] [stdout] --> src/main.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 14 | use std::io::{BufRead, BufReader, Write}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufReader` [INFO] [stdout] --> src/main.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 14 | use std::io::{BufRead, BufReader, Write}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::interpreter::Value` [INFO] [stdout] --> src/errors.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::interpreter::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> src/parse/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Token` [INFO] [stdout] --> src/errors.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::lex::tokens::{Token, TokenType}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::Peekable` [INFO] [stdout] --> src/parse/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::iter::Peekable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Binary` [INFO] [stdout] --> src/ast/expression.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fmt::{Binary, Display, Error, Formatter}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufReader` [INFO] [stdout] --> src/main.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 14 | use std::io::{BufRead, BufReader, Write}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::interpreter::Value` [INFO] [stdout] --> src/errors.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::interpreter::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wasm_bindgen::__rt::core::hint::unreachable_unchecked` [INFO] [stdout] --> src/parse/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use wasm_bindgen::__rt::core::hint::unreachable_unchecked; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ast::expression::UnaryOperation` [INFO] [stdout] --> src/ast/printer.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::ast::expression::UnaryOperation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Token` [INFO] [stdout] --> src/errors.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::lex::tokens::{Token, TokenType}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wasm_bindgen::__rt::std::process::exit` [INFO] [stdout] --> src/parse/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use wasm_bindgen::__rt::std::process::exit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::borrow::Borrow` [INFO] [stdout] --> src/lex/lex.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use core::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Binary` [INFO] [stdout] --> src/ast/expression.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fmt::{Binary, Display, Error, Formatter}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ast::expression::UnaryOperation` [INFO] [stdout] --> src/ast/printer.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::ast::expression::UnaryOperation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::errors::Error` [INFO] [stdout] --> src/main.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use crate::errors::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lex::tokens::Token` [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use lex::tokens::Token; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::borrow::Borrow` [INFO] [stdout] --> src/lex/lex.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use core::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ast::expression::ExpressionVisitor` [INFO] [stdout] --> src/main.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use crate::ast::expression::ExpressionVisitor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lex::Lexer` [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use lex::Lexer; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lex::tokens::Token` [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use lex::tokens::Token; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cell`, `Ref` [INFO] [stdout] --> src/interpreter/mod.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use std::cell::{Cell, Ref, RefCell}; [INFO] [stdout] | ^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TokenType`, `Token` [INFO] [stdout] --> src/parse/mod.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::lex::tokens::{Token, TokenType}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lex::Lexer` [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use lex::Lexer; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> src/parse/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Binary` [INFO] [stdout] --> src/interpreter/mod.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | use std::fmt::{Binary, Debug, Display, Formatter}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TokenType`, `Token` [INFO] [stdout] --> src/parse/mod.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::lex::tokens::{Token, TokenType}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::interpreter::Value` [INFO] [stdout] --> src/errors.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::interpreter::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::Peekable` [INFO] [stdout] --> src/parse/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::iter::Peekable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SystemTime`, `UNIX_EPOCH` [INFO] [stdout] --> src/interpreter/mod.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | use std::time::{SystemTime, UNIX_EPOCH}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wasm_bindgen::__rt::core::hint::unreachable_unchecked` [INFO] [stdout] --> src/parse/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use wasm_bindgen::__rt::core::hint::unreachable_unchecked; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wasm_bindgen::__rt::std::process::exit` [INFO] [stdout] --> src/parse/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use wasm_bindgen::__rt::std::process::exit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/mod.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | Callable(Rc), [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Callable` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::errors::Error` [INFO] [stdout] --> src/main.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use crate::errors::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Token` [INFO] [stdout] --> src/errors.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::lex::tokens::{Token, TokenType}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ast::expression::ExpressionVisitor` [INFO] [stdout] --> src/main.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use crate::ast::expression::ExpressionVisitor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:136:21 [INFO] [stdout] | [INFO] [stdout] 136 | output: &'a mut std::io::Write, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::io::Write` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Binary` [INFO] [stdout] --> src/ast/expression.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fmt::{Binary, Display, Error, Formatter}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> src/parse/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cell`, `Ref` [INFO] [stdout] --> src/interpreter/mod.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use std::cell::{Cell, Ref, RefCell}; [INFO] [stdout] | ^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::Peekable` [INFO] [stdout] --> src/parse/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::iter::Peekable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Binary` [INFO] [stdout] --> src/interpreter/mod.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | use std::fmt::{Binary, Debug, Display, Formatter}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wasm_bindgen::__rt::core::hint::unreachable_unchecked` [INFO] [stdout] --> src/parse/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use wasm_bindgen::__rt::core::hint::unreachable_unchecked; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SystemTime`, `UNIX_EPOCH` [INFO] [stdout] --> src/interpreter/mod.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | use std::time::{SystemTime, UNIX_EPOCH}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wasm_bindgen::__rt::std::process::exit` [INFO] [stdout] --> src/parse/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use wasm_bindgen::__rt::std::process::exit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ast::expression::UnaryOperation` [INFO] [stdout] --> src/ast/printer.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::ast::expression::UnaryOperation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::errors::Error` [INFO] [stdout] --> src/main.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use crate::errors::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/mod.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | Callable(Rc), [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Callable` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ast::expression::ExpressionVisitor` [INFO] [stdout] --> src/main.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use crate::ast::expression::ExpressionVisitor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::borrow::Borrow` [INFO] [stdout] --> src/lex/lex.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use core::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:136:21 [INFO] [stdout] | [INFO] [stdout] 136 | output: &'a mut std::io::Write, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::io::Write` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cell`, `Ref` [INFO] [stdout] --> src/interpreter/mod.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use std::cell::{Cell, Ref, RefCell}; [INFO] [stdout] | ^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lex::tokens::Token` [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use lex::tokens::Token; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lex::Lexer` [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use lex::Lexer; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Binary` [INFO] [stdout] --> src/interpreter/mod.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | use std::fmt::{Binary, Debug, Display, Formatter}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SystemTime`, `UNIX_EPOCH` [INFO] [stdout] --> src/interpreter/mod.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | use std::time::{SystemTime, UNIX_EPOCH}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TokenType`, `Token` [INFO] [stdout] --> src/parse/mod.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::lex::tokens::{Token, TokenType}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/mod.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | Callable(Rc), [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Callable` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> src/parse/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:136:21 [INFO] [stdout] | [INFO] [stdout] 136 | output: &'a mut std::io::Write, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::io::Write` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::Peekable` [INFO] [stdout] --> src/parse/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::iter::Peekable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wasm_bindgen::__rt::core::hint::unreachable_unchecked` [INFO] [stdout] --> src/parse/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use wasm_bindgen::__rt::core::hint::unreachable_unchecked; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wasm_bindgen::__rt::std::process::exit` [INFO] [stdout] --> src/parse/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use wasm_bindgen::__rt::std::process::exit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::errors::Error` [INFO] [stdout] --> src/main.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use crate::errors::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ast::expression::ExpressionVisitor` [INFO] [stdout] --> src/main.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use crate::ast::expression::ExpressionVisitor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cell`, `Ref` [INFO] [stdout] --> src/interpreter/mod.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use std::cell::{Cell, Ref, RefCell}; [INFO] [stdout] | ^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Binary` [INFO] [stdout] --> src/interpreter/mod.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | use std::fmt::{Binary, Debug, Display, Formatter}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SystemTime`, `UNIX_EPOCH` [INFO] [stdout] --> src/interpreter/mod.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | use std::time::{SystemTime, UNIX_EPOCH}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/mod.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | Callable(Rc), [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Callable` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:136:21 [INFO] [stdout] | [INFO] [stdout] 136 | output: &'a mut std::io::Write, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::io::Write` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'try_trait_v2' [INFO] [stdout] --> src/interpreter/mod.rs:12:36 [INFO] [stdout] | [INFO] [stdout] 12 | use std::ops::{Add, Div, Mul, Sub, Try}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #84277 for more information [INFO] [stdout] = help: add `#![feature(try_trait_v2)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'try_trait_v2' [INFO] [stdout] --> src/interpreter/mod.rs:33:6 [INFO] [stdout] | [INFO] [stdout] 33 | impl Try for ExprResult { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #84277 for more information [INFO] [stdout] = help: add `#![feature(try_trait_v2)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'try_trait_v2' [INFO] [stdout] --> src/interpreter/mod.rs:12:36 [INFO] [stdout] | [INFO] [stdout] 12 | use std::ops::{Add, Div, Mul, Sub, Try}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #84277 for more information [INFO] [stdout] = help: add `#![feature(try_trait_v2)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'try_trait_v2' [INFO] [stdout] --> src/interpreter/mod.rs:33:6 [INFO] [stdout] | [INFO] [stdout] 33 | impl Try for ExprResult { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #84277 for more information [INFO] [stdout] = help: add `#![feature(try_trait_v2)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Ok` not found for `Self` [INFO] [stdout] --> src/interpreter/mod.rs:37:42 [INFO] [stdout] | [INFO] [stdout] 37 | fn into_result(self) -> Result { [INFO] [stdout] | ^^ associated type `Ok` not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Error` not found for `Self` [INFO] [stdout] --> src/interpreter/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | fn into_result(self) -> Result { [INFO] [stdout] | ^^^^^ associated type `Error` not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Error` not found for `Self` [INFO] [stdout] --> src/interpreter/mod.rs:45:28 [INFO] [stdout] | [INFO] [stdout] 45 | fn from_error(v: Self::Error) -> Self { [INFO] [stdout] | ^^^^^ associated type `Error` not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Ok` not found for `Self` [INFO] [stdout] --> src/interpreter/mod.rs:52:25 [INFO] [stdout] | [INFO] [stdout] 52 | fn from_ok(v: Self::Ok) -> Self { [INFO] [stdout] | ^^ associated type `Ok` not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'try_trait_v2' [INFO] [stdout] --> src/interpreter/mod.rs:12:36 [INFO] [stdout] | [INFO] [stdout] 12 | use std::ops::{Add, Div, Mul, Sub, Try}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #84277 for more information [INFO] [stdout] = help: add `#![feature(try_trait_v2)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'try_trait_v2' [INFO] [stdout] --> src/interpreter/mod.rs:33:6 [INFO] [stdout] | [INFO] [stdout] 33 | impl Try for ExprResult { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #84277 for more information [INFO] [stdout] = help: add `#![feature(try_trait_v2)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Ok` not found for `Self` [INFO] [stdout] --> src/interpreter/mod.rs:37:42 [INFO] [stdout] | [INFO] [stdout] 37 | fn into_result(self) -> Result { [INFO] [stdout] | ^^ associated type `Ok` not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Error` not found for `Self` [INFO] [stdout] --> src/interpreter/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | fn into_result(self) -> Result { [INFO] [stdout] | ^^^^^ associated type `Error` not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0220, E0407, E0437, E0658. [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'try_trait_v2' [INFO] [stdout] --> src/interpreter/mod.rs:12:36 [INFO] [stdout] | [INFO] [stdout] 12 | use std::ops::{Add, Div, Mul, Sub, Try}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #84277 for more information [INFO] [stdout] = help: add `#![feature(try_trait_v2)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0220`. [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Error` not found for `Self` [INFO] [stdout] --> src/interpreter/mod.rs:45:28 [INFO] [stdout] | [INFO] [stdout] 45 | fn from_error(v: Self::Error) -> Self { [INFO] [stdout] | ^^^^^ associated type `Error` not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'try_trait_v2' [INFO] [stdout] --> src/interpreter/mod.rs:33:6 [INFO] [stdout] | [INFO] [stdout] 33 | impl Try for ExprResult { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #84277 for more information [INFO] [stdout] = help: add `#![feature(try_trait_v2)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Ok` not found for `Self` [INFO] [stdout] --> src/interpreter/mod.rs:52:25 [INFO] [stdout] | [INFO] [stdout] 52 | fn from_ok(v: Self::Ok) -> Self { [INFO] [stdout] | ^^ associated type `Ok` not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Ok` not found for `Self` [INFO] [stdout] --> src/interpreter/mod.rs:37:42 [INFO] [stdout] | [INFO] [stdout] 37 | fn into_result(self) -> Result { [INFO] [stdout] | ^^ associated type `Ok` not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Error` not found for `Self` [INFO] [stdout] --> src/interpreter/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | fn into_result(self) -> Result { [INFO] [stdout] | ^^^^^ associated type `Error` not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Error` not found for `Self` [INFO] [stdout] --> src/interpreter/mod.rs:45:28 [INFO] [stdout] | [INFO] [stdout] 45 | fn from_error(v: Self::Error) -> Self { [INFO] [stdout] | ^^^^^ associated type `Error` not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Ok` not found for `Self` [INFO] [stdout] --> src/interpreter/mod.rs:52:25 [INFO] [stdout] | [INFO] [stdout] 52 | fn from_ok(v: Self::Ok) -> Self { [INFO] [stdout] | ^^ associated type `Ok` not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0220, E0407, E0437, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0220`. [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Ok` not found for `Self` [INFO] [stdout] --> src/interpreter/mod.rs:37:42 [INFO] [stdout] | [INFO] [stdout] 37 | fn into_result(self) -> Result { [INFO] [stdout] | ^^ associated type `Ok` not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Error` not found for `Self` [INFO] [stdout] --> src/interpreter/mod.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | fn into_result(self) -> Result { [INFO] [stdout] | ^^^^^ associated type `Error` not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Error` not found for `Self` [INFO] [stdout] --> src/interpreter/mod.rs:45:28 [INFO] [stdout] | [INFO] [stdout] 45 | fn from_error(v: Self::Error) -> Self { [INFO] [stdout] | ^^^^^ associated type `Error` not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Ok` not found for `Self` [INFO] [stdout] --> src/interpreter/mod.rs:52:25 [INFO] [stdout] | [INFO] [stdout] 52 | fn from_ok(v: Self::Ok) -> Self { [INFO] [stdout] | ^^ associated type `Ok` not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0220, E0407, E0437, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0220`. [INFO] [stdout] [INFO] [stderr] error: could not compile `compiler` due to 12 previous errors; 22 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 11 previous errors; 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0220, E0407, E0437, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0220`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "25f62060fd1c101adad4a2fa1887c58f4b509eb938acb7f4539219cfe05898bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25f62060fd1c101adad4a2fa1887c58f4b509eb938acb7f4539219cfe05898bb", kill_on_drop: false }` [INFO] [stdout] 25f62060fd1c101adad4a2fa1887c58f4b509eb938acb7f4539219cfe05898bb