[INFO] cloning repository https://github.com/blogscot/a-simple-interpreter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/blogscot/a-simple-interpreter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fblogscot%2Fa-simple-interpreter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fblogscot%2Fa-simple-interpreter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 05f1043c4beda3ea9050d079d0c084fab5d0f590 [INFO] testing blogscot/a-simple-interpreter against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fblogscot%2Fa-simple-interpreter" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/blogscot/a-simple-interpreter on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/blogscot/a-simple-interpreter [INFO] finished tweaking git repo https://github.com/blogscot/a-simple-interpreter [INFO] tweaked toml for git repo https://github.com/blogscot/a-simple-interpreter written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/blogscot/a-simple-interpreter already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c167d424bf361251a2fd46cbff68cde0dc024f8dcf6183fdae134752a9d41da0 [INFO] running `Command { std: "docker" "start" "-a" "c167d424bf361251a2fd46cbff68cde0dc024f8dcf6183fdae134752a9d41da0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c167d424bf361251a2fd46cbff68cde0dc024f8dcf6183fdae134752a9d41da0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c167d424bf361251a2fd46cbff68cde0dc024f8dcf6183fdae134752a9d41da0", kill_on_drop: false }` [INFO] [stdout] c167d424bf361251a2fd46cbff68cde0dc024f8dcf6183fdae134752a9d41da0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d53fdbfde14f9cba0ff64f160935a4649306fa972dcf56c22b9d28b6b42fe251 [INFO] running `Command { std: "docker" "start" "-a" "d53fdbfde14f9cba0ff64f160935a4649306fa972dcf56c22b9d28b6b42fe251", kill_on_drop: false }` [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling libc v0.2.40 [INFO] [stderr] Compiling ucd-util v0.1.1 [INFO] [stderr] Compiling lazy_static v1.0.0 [INFO] [stderr] Compiling regex v1.0.0 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling mopa v0.2.2 [INFO] [stderr] Compiling regex-syntax v0.6.0 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling thread_local v0.3.5 [INFO] [stderr] Compiling aho-corasick v0.6.4 [INFO] [stderr] Compiling basic-interpreter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lexer/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / lazy_static! { [INFO] [stdout] 9 | | static ref RESERVED_WORDS: HashMap<&'static str, Token> = { [INFO] [stdout] 10 | | let mut reserved_words = HashMap::new(); [INFO] [stdout] 11 | | reserved_words.insert("PROGRAM", Program); [INFO] [stdout] ... | [INFO] [stdout] 20 | | }; [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | pub left: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 49 - pub left: Box, [INFO] [stdout] 49 + pub left: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:50:18 [INFO] [stdout] | [INFO] [stdout] 50 | pub right: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 50 - pub right: Box, [INFO] [stdout] 50 + pub right: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | pub expr: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 108 - pub expr: Box, [INFO] [stdout] 108 + pub expr: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:124:25 [INFO] [stdout] | [INFO] [stdout] 124 | pub children: Vec>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 124 - pub children: Vec>, [INFO] [stdout] 124 + pub children: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:140:23 [INFO] [stdout] | [INFO] [stdout] 140 | pub identifier: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 140 - pub identifier: Box, [INFO] [stdout] 140 + pub identifier: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:141:17 [INFO] [stdout] | [INFO] [stdout] 141 | pub expr: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 141 - pub expr: Box, [INFO] [stdout] 141 + pub expr: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:187:18 [INFO] [stdout] | [INFO] [stdout] 187 | pub block: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 187 - pub block: Box, [INFO] [stdout] 187 + pub block: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:204:23 [INFO] [stdout] | [INFO] [stdout] 204 | pub params: Vec>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 204 - pub params: Vec>, [INFO] [stdout] 204 + pub params: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:205:18 [INFO] [stdout] | [INFO] [stdout] 205 | pub block: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 205 - pub block: Box, [INFO] [stdout] 205 + pub block: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:245:29 [INFO] [stdout] | [INFO] [stdout] 245 | pub declarations: Vec>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 245 - pub declarations: Vec>, [INFO] [stdout] 245 + pub declarations: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:246:31 [INFO] [stdout] | [INFO] [stdout] 246 | pub compound_statement: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 246 - pub compound_statement: Box, [INFO] [stdout] 246 + pub compound_statement: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/mod.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | pub root_node: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 - pub root_node: Box, [INFO] [stdout] 8 + pub root_node: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/mod.rs:24:38 [INFO] [stdout] | [INFO] [stdout] 24 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 24 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:42:32 [INFO] [stdout] | [INFO] [stdout] 42 | fn program(&mut self) -> Box { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 - fn program(&mut self) -> Box { [INFO] [stdout] 42 + fn program(&mut self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:52:30 [INFO] [stdout] | [INFO] [stdout] 52 | fn block(&mut self) -> Box { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 52 - fn block(&mut self) -> Box { [INFO] [stdout] 52 + fn block(&mut self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:59:43 [INFO] [stdout] | [INFO] [stdout] 59 | fn compound_statement(&mut self) -> Box { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 59 - fn compound_statement(&mut self) -> Box { [INFO] [stdout] 59 + fn compound_statement(&mut self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:67:41 [INFO] [stdout] | [INFO] [stdout] 67 | fn declarations(&mut self) -> Vec> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 67 - fn declarations(&mut self) -> Vec> { [INFO] [stdout] 67 + fn declarations(&mut self) -> Vec> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:87:46 [INFO] [stdout] | [INFO] [stdout] 87 | fn procedure_declaration(&mut self) -> Box { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 87 - fn procedure_declaration(&mut self) -> Box { [INFO] [stdout] 87 + fn procedure_declaration(&mut self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:106:50 [INFO] [stdout] | [INFO] [stdout] 106 | fn formal_parameter_list(&mut self) -> Vec> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 106 - fn formal_parameter_list(&mut self) -> Vec> { [INFO] [stdout] 106 + fn formal_parameter_list(&mut self) -> Vec> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:117:46 [INFO] [stdout] | [INFO] [stdout] 117 | fn formal_parameters(&mut self) -> Vec> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 117 - fn formal_parameters(&mut self) -> Vec> { [INFO] [stdout] 117 + fn formal_parameters(&mut self) -> Vec> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:141:49 [INFO] [stdout] | [INFO] [stdout] 141 | fn variable_declaration(&mut self) -> Vec> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 141 - fn variable_declaration(&mut self) -> Vec> { [INFO] [stdout] 141 + fn variable_declaration(&mut self) -> Vec> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:177:43 [INFO] [stdout] | [INFO] [stdout] 177 | fn statement_list(&mut self) -> Vec> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 177 - fn statement_list(&mut self) -> Vec> { [INFO] [stdout] 177 + fn statement_list(&mut self) -> Vec> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:196:34 [INFO] [stdout] | [INFO] [stdout] 196 | fn statement(&mut self) -> Box { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 196 - fn statement(&mut self) -> Box { [INFO] [stdout] 196 + fn statement(&mut self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:206:45 [INFO] [stdout] | [INFO] [stdout] 206 | fn assignment_statement(&mut self) -> Box { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 206 - fn assignment_statement(&mut self) -> Box { [INFO] [stdout] 206 + fn assignment_statement(&mut self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:226:26 [INFO] [stdout] | [INFO] [stdout] 226 | fn empty(&self) -> Box { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 226 - fn empty(&self) -> Box { [INFO] [stdout] 226 + fn empty(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:229:31 [INFO] [stdout] | [INFO] [stdout] 229 | fn factor(&mut self) -> Box { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 229 - fn factor(&mut self) -> Box { [INFO] [stdout] 229 + fn factor(&mut self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:262:29 [INFO] [stdout] | [INFO] [stdout] 262 | fn term(&mut self) -> Box { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 262 - fn term(&mut self) -> Box { [INFO] [stdout] 262 + fn term(&mut self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:276:29 [INFO] [stdout] | [INFO] [stdout] 276 | fn expr(&mut self) -> Box { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 276 - fn expr(&mut self) -> Box { [INFO] [stdout] 276 + fn expr(&mut self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:288:34 [INFO] [stdout] | [INFO] [stdout] 288 | pub fn parse(&mut self) -> Box { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 288 - pub fn parse(&mut self) -> Box { [INFO] [stdout] 288 + pub fn parse(&mut self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:54:29 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn to_string(node: &Box) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 54 - pub fn to_string(node: &Box) -> String { [INFO] [stdout] 54 + pub fn to_string(node: &Box) -> String { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult; [INFO] [stdout] 9 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:26:38 [INFO] [stdout] | [INFO] [stdout] 26 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 26 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:43:38 [INFO] [stdout] | [INFO] [stdout] 43 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 43 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 43 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:91:24 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn new(left: Box, right: Box, operator: Token) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 91 - pub fn new(left: Box, right: Box, operator: Token) -> Self { [INFO] [stdout] 91 + pub fn new(left: Box, right: Box, operator: Token) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:91:42 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn new(left: Box, right: Box, operator: Token) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 91 - pub fn new(left: Box, right: Box, operator: Token) -> Self { [INFO] [stdout] 91 + pub fn new(left: Box, right: Box, operator: Token) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:101:38 [INFO] [stdout] | [INFO] [stdout] 101 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 101 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 101 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:112:41 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn new(operator: Token, expr: Box) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 112 - pub fn new(operator: Token, expr: Box) -> Self { [INFO] [stdout] 112 + pub fn new(operator: Token, expr: Box) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:118:38 [INFO] [stdout] | [INFO] [stdout] 118 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 118 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 118 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:128:32 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn new(children: Vec>) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 128 - pub fn new(children: Vec>) -> Self { [INFO] [stdout] 128 + pub fn new(children: Vec>) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:134:38 [INFO] [stdout] | [INFO] [stdout] 134 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 134 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 134 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:146:30 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn new(identifier: Box, expr: Box, operator: Token) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 146 - pub fn new(identifier: Box, expr: Box, operator: Token) -> Self { [INFO] [stdout] 146 + pub fn new(identifier: Box, expr: Box, operator: Token) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:146:47 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn new(identifier: Box, expr: Box, operator: Token) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 146 - pub fn new(identifier: Box, expr: Box, operator: Token) -> Self { [INFO] [stdout] 146 + pub fn new(identifier: Box, expr: Box, operator: Token) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:156:38 [INFO] [stdout] | [INFO] [stdout] 156 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 156 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 156 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:172:38 [INFO] [stdout] | [INFO] [stdout] 172 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 172 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 172 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:180:38 [INFO] [stdout] | [INFO] [stdout] 180 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 180 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 180 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:191:44 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn new(identifier: Token, block: Box) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 191 - pub fn new(identifier: Token, block: Box) -> Self { [INFO] [stdout] 191 + pub fn new(identifier: Token, block: Box) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:197:38 [INFO] [stdout] | [INFO] [stdout] 197 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 197 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 197 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:209:48 [INFO] [stdout] | [INFO] [stdout] 209 | pub fn new(proc_name: Token, params: Vec>, block: Box) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 209 - pub fn new(proc_name: Token, params: Vec>, block: Box) -> Self { [INFO] [stdout] 209 + pub fn new(proc_name: Token, params: Vec>, block: Box) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:209:67 [INFO] [stdout] | [INFO] [stdout] 209 | pub fn new(proc_name: Token, params: Vec>, block: Box) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 209 - pub fn new(proc_name: Token, params: Vec>, block: Box) -> Self { [INFO] [stdout] 209 + pub fn new(proc_name: Token, params: Vec>, block: Box) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:219:38 [INFO] [stdout] | [INFO] [stdout] 219 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 219 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 219 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:239:38 [INFO] [stdout] | [INFO] [stdout] 239 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 239 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 239 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:250:36 [INFO] [stdout] | [INFO] [stdout] 250 | pub fn new(declarations: Vec>, compound_statement: Box) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 250 - pub fn new(declarations: Vec>, compound_statement: Box) -> Self { [INFO] [stdout] 250 + pub fn new(declarations: Vec>, compound_statement: Box) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:250:68 [INFO] [stdout] | [INFO] [stdout] 250 | pub fn new(declarations: Vec>, compound_statement: Box) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 250 - pub fn new(declarations: Vec>, compound_statement: Box) -> Self { [INFO] [stdout] 250 + pub fn new(declarations: Vec>, compound_statement: Box) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:259:38 [INFO] [stdout] | [INFO] [stdout] 259 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 259 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 259 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:279:38 [INFO] [stdout] | [INFO] [stdout] 279 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 279 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 279 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:296:38 [INFO] [stdout] | [INFO] [stdout] 296 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 296 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 296 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/visitor.rs:5:34 [INFO] [stdout] | [INFO] [stdout] 5 | fn visit(&mut self, node: &Box) -> NumberResult { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 - fn visit(&mut self, node: &Box) -> NumberResult { [INFO] [stdout] 5 + fn visit(&mut self, node: &Box) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:71:35 [INFO] [stdout] | [INFO] [stdout] 71 | let mut declarations: Vec> = vec![]; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 71 - let mut declarations: Vec> = vec![]; [INFO] [stdout] 71 + let mut declarations: Vec> = vec![]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:90:29 [INFO] [stdout] | [INFO] [stdout] 90 | let mut params: Vec> = vec![]; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 90 - let mut params: Vec> = vec![]; [INFO] [stdout] 90 + let mut params: Vec> = vec![]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:134:37 [INFO] [stdout] | [INFO] [stdout] 134 | let mut parameter_list: Vec> = vec![]; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 134 - let mut parameter_list: Vec> = vec![]; [INFO] [stdout] 134 + let mut parameter_list: Vec> = vec![]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:158:39 [INFO] [stdout] | [INFO] [stdout] 158 | let mut var_declarations: Vec> = vec![]; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 158 - let mut var_declarations: Vec> = vec![]; [INFO] [stdout] 158 + let mut var_declarations: Vec> = vec![]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `kind` [INFO] [stdout] --> src/utils/number.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | kind: NumberErrorKind, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `ParseNumberError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/utils/number.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/symbols/symbol.rs:70:14 [INFO] [stdout] | [INFO] [stdout] 70 | panic!(format!("Error, Invalid Symbol! {}", symbol)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 70 - panic!(format!("Error, Invalid Symbol! {}", symbol)); [INFO] [stdout] 70 + panic!("Error, Invalid Symbol! {}", symbol); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 64 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lexer/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / lazy_static! { [INFO] [stdout] 9 | | static ref RESERVED_WORDS: HashMap<&'static str, Token> = { [INFO] [stdout] 10 | | let mut reserved_words = HashMap::new(); [INFO] [stdout] 11 | | reserved_words.insert("PROGRAM", Program); [INFO] [stdout] ... | [INFO] [stdout] 20 | | }; [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:40:29 [INFO] [stdout] | [INFO] [stdout] 40 | fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 - fn main() -> Result<(), Box> { [INFO] [stdout] 40 + fn main() -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | pub left: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 49 - pub left: Box, [INFO] [stdout] 49 + pub left: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:50:18 [INFO] [stdout] | [INFO] [stdout] 50 | pub right: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 50 - pub right: Box, [INFO] [stdout] 50 + pub right: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | pub expr: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 108 - pub expr: Box, [INFO] [stdout] 108 + pub expr: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:124:25 [INFO] [stdout] | [INFO] [stdout] 124 | pub children: Vec>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 124 - pub children: Vec>, [INFO] [stdout] 124 + pub children: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:140:23 [INFO] [stdout] | [INFO] [stdout] 140 | pub identifier: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 140 - pub identifier: Box, [INFO] [stdout] 140 + pub identifier: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:141:17 [INFO] [stdout] | [INFO] [stdout] 141 | pub expr: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 141 - pub expr: Box, [INFO] [stdout] 141 + pub expr: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:187:18 [INFO] [stdout] | [INFO] [stdout] 187 | pub block: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 187 - pub block: Box, [INFO] [stdout] 187 + pub block: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:204:23 [INFO] [stdout] | [INFO] [stdout] 204 | pub params: Vec>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 204 - pub params: Vec>, [INFO] [stdout] 204 + pub params: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:205:18 [INFO] [stdout] | [INFO] [stdout] 205 | pub block: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 205 - pub block: Box, [INFO] [stdout] 205 + pub block: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:245:29 [INFO] [stdout] | [INFO] [stdout] 245 | pub declarations: Vec>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 245 - pub declarations: Vec>, [INFO] [stdout] 245 + pub declarations: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:246:31 [INFO] [stdout] | [INFO] [stdout] 246 | pub compound_statement: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 246 - pub compound_statement: Box, [INFO] [stdout] 246 + pub compound_statement: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/mod.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | pub root_node: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 - pub root_node: Box, [INFO] [stdout] 8 + pub root_node: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/mod.rs:24:38 [INFO] [stdout] | [INFO] [stdout] 24 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 24 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:42:32 [INFO] [stdout] | [INFO] [stdout] 42 | fn program(&mut self) -> Box { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 - fn program(&mut self) -> Box { [INFO] [stdout] 42 + fn program(&mut self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:52:30 [INFO] [stdout] | [INFO] [stdout] 52 | fn block(&mut self) -> Box { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 52 - fn block(&mut self) -> Box { [INFO] [stdout] 52 + fn block(&mut self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:59:43 [INFO] [stdout] | [INFO] [stdout] 59 | fn compound_statement(&mut self) -> Box { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 59 - fn compound_statement(&mut self) -> Box { [INFO] [stdout] 59 + fn compound_statement(&mut self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:67:41 [INFO] [stdout] | [INFO] [stdout] 67 | fn declarations(&mut self) -> Vec> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 67 - fn declarations(&mut self) -> Vec> { [INFO] [stdout] 67 + fn declarations(&mut self) -> Vec> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:87:46 [INFO] [stdout] | [INFO] [stdout] 87 | fn procedure_declaration(&mut self) -> Box { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 87 - fn procedure_declaration(&mut self) -> Box { [INFO] [stdout] 87 + fn procedure_declaration(&mut self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:106:50 [INFO] [stdout] | [INFO] [stdout] 106 | fn formal_parameter_list(&mut self) -> Vec> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 106 - fn formal_parameter_list(&mut self) -> Vec> { [INFO] [stdout] 106 + fn formal_parameter_list(&mut self) -> Vec> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:117:46 [INFO] [stdout] | [INFO] [stdout] 117 | fn formal_parameters(&mut self) -> Vec> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 117 - fn formal_parameters(&mut self) -> Vec> { [INFO] [stdout] 117 + fn formal_parameters(&mut self) -> Vec> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:141:49 [INFO] [stdout] | [INFO] [stdout] 141 | fn variable_declaration(&mut self) -> Vec> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 141 - fn variable_declaration(&mut self) -> Vec> { [INFO] [stdout] 141 + fn variable_declaration(&mut self) -> Vec> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:177:43 [INFO] [stdout] | [INFO] [stdout] 177 | fn statement_list(&mut self) -> Vec> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 177 - fn statement_list(&mut self) -> Vec> { [INFO] [stdout] 177 + fn statement_list(&mut self) -> Vec> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:196:34 [INFO] [stdout] | [INFO] [stdout] 196 | fn statement(&mut self) -> Box { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 196 - fn statement(&mut self) -> Box { [INFO] [stdout] 196 + fn statement(&mut self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:206:45 [INFO] [stdout] | [INFO] [stdout] 206 | fn assignment_statement(&mut self) -> Box { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 206 - fn assignment_statement(&mut self) -> Box { [INFO] [stdout] 206 + fn assignment_statement(&mut self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:226:26 [INFO] [stdout] | [INFO] [stdout] 226 | fn empty(&self) -> Box { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 226 - fn empty(&self) -> Box { [INFO] [stdout] 226 + fn empty(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:229:31 [INFO] [stdout] | [INFO] [stdout] 229 | fn factor(&mut self) -> Box { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 229 - fn factor(&mut self) -> Box { [INFO] [stdout] 229 + fn factor(&mut self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:262:29 [INFO] [stdout] | [INFO] [stdout] 262 | fn term(&mut self) -> Box { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 262 - fn term(&mut self) -> Box { [INFO] [stdout] 262 + fn term(&mut self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:276:29 [INFO] [stdout] | [INFO] [stdout] 276 | fn expr(&mut self) -> Box { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 276 - fn expr(&mut self) -> Box { [INFO] [stdout] 276 + fn expr(&mut self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:288:34 [INFO] [stdout] | [INFO] [stdout] 288 | pub fn parse(&mut self) -> Box { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 288 - pub fn parse(&mut self) -> Box { [INFO] [stdout] 288 + pub fn parse(&mut self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:54:29 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn to_string(node: &Box) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 54 - pub fn to_string(node: &Box) -> String { [INFO] [stdout] 54 + pub fn to_string(node: &Box) -> String { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult; [INFO] [stdout] 9 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:26:38 [INFO] [stdout] | [INFO] [stdout] 26 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 26 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:43:38 [INFO] [stdout] | [INFO] [stdout] 43 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 43 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 43 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:91:24 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn new(left: Box, right: Box, operator: Token) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 91 - pub fn new(left: Box, right: Box, operator: Token) -> Self { [INFO] [stdout] 91 + pub fn new(left: Box, right: Box, operator: Token) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:91:42 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn new(left: Box, right: Box, operator: Token) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 91 - pub fn new(left: Box, right: Box, operator: Token) -> Self { [INFO] [stdout] 91 + pub fn new(left: Box, right: Box, operator: Token) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:101:38 [INFO] [stdout] | [INFO] [stdout] 101 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 101 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 101 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:112:41 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn new(operator: Token, expr: Box) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 112 - pub fn new(operator: Token, expr: Box) -> Self { [INFO] [stdout] 112 + pub fn new(operator: Token, expr: Box) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:118:38 [INFO] [stdout] | [INFO] [stdout] 118 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 118 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 118 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:128:32 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn new(children: Vec>) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 128 - pub fn new(children: Vec>) -> Self { [INFO] [stdout] 128 + pub fn new(children: Vec>) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:134:38 [INFO] [stdout] | [INFO] [stdout] 134 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 134 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 134 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:146:30 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn new(identifier: Box, expr: Box, operator: Token) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 146 - pub fn new(identifier: Box, expr: Box, operator: Token) -> Self { [INFO] [stdout] 146 + pub fn new(identifier: Box, expr: Box, operator: Token) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:146:47 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn new(identifier: Box, expr: Box, operator: Token) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 146 - pub fn new(identifier: Box, expr: Box, operator: Token) -> Self { [INFO] [stdout] 146 + pub fn new(identifier: Box, expr: Box, operator: Token) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:156:38 [INFO] [stdout] | [INFO] [stdout] 156 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 156 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 156 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:172:38 [INFO] [stdout] | [INFO] [stdout] 172 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 172 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 172 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:180:38 [INFO] [stdout] | [INFO] [stdout] 180 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 180 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 180 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:191:44 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn new(identifier: Token, block: Box) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 191 - pub fn new(identifier: Token, block: Box) -> Self { [INFO] [stdout] 191 + pub fn new(identifier: Token, block: Box) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:197:38 [INFO] [stdout] | [INFO] [stdout] 197 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 197 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 197 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:209:48 [INFO] [stdout] | [INFO] [stdout] 209 | pub fn new(proc_name: Token, params: Vec>, block: Box) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 209 - pub fn new(proc_name: Token, params: Vec>, block: Box) -> Self { [INFO] [stdout] 209 + pub fn new(proc_name: Token, params: Vec>, block: Box) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:209:67 [INFO] [stdout] | [INFO] [stdout] 209 | pub fn new(proc_name: Token, params: Vec>, block: Box) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 209 - pub fn new(proc_name: Token, params: Vec>, block: Box) -> Self { [INFO] [stdout] 209 + pub fn new(proc_name: Token, params: Vec>, block: Box) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:219:38 [INFO] [stdout] | [INFO] [stdout] 219 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 219 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 219 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:239:38 [INFO] [stdout] | [INFO] [stdout] 239 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 239 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 239 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:250:36 [INFO] [stdout] | [INFO] [stdout] 250 | pub fn new(declarations: Vec>, compound_statement: Box) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 250 - pub fn new(declarations: Vec>, compound_statement: Box) -> Self { [INFO] [stdout] 250 + pub fn new(declarations: Vec>, compound_statement: Box) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:250:68 [INFO] [stdout] | [INFO] [stdout] 250 | pub fn new(declarations: Vec>, compound_statement: Box) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 250 - pub fn new(declarations: Vec>, compound_statement: Box) -> Self { [INFO] [stdout] 250 + pub fn new(declarations: Vec>, compound_statement: Box) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:259:38 [INFO] [stdout] | [INFO] [stdout] 259 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 259 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 259 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:279:38 [INFO] [stdout] | [INFO] [stdout] 279 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 279 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 279 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:296:38 [INFO] [stdout] | [INFO] [stdout] 296 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 296 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 296 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/visitor.rs:5:34 [INFO] [stdout] | [INFO] [stdout] 5 | fn visit(&mut self, node: &Box) -> NumberResult { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 - fn visit(&mut self, node: &Box) -> NumberResult { [INFO] [stdout] 5 + fn visit(&mut self, node: &Box) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:71:35 [INFO] [stdout] | [INFO] [stdout] 71 | let mut declarations: Vec> = vec![]; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 71 - let mut declarations: Vec> = vec![]; [INFO] [stdout] 71 + let mut declarations: Vec> = vec![]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:90:29 [INFO] [stdout] | [INFO] [stdout] 90 | let mut params: Vec> = vec![]; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 90 - let mut params: Vec> = vec![]; [INFO] [stdout] 90 + let mut params: Vec> = vec![]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:134:37 [INFO] [stdout] | [INFO] [stdout] 134 | let mut parameter_list: Vec> = vec![]; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 134 - let mut parameter_list: Vec> = vec![]; [INFO] [stdout] 134 + let mut parameter_list: Vec> = vec![]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:158:39 [INFO] [stdout] | [INFO] [stdout] 158 | let mut var_declarations: Vec> = vec![]; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 158 - let mut var_declarations: Vec> = vec![]; [INFO] [stdout] 158 + let mut var_declarations: Vec> = vec![]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `kind` [INFO] [stdout] --> src/utils/number.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | kind: NumberErrorKind, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `ParseNumberError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/utils/number.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/symbols/symbol.rs:70:14 [INFO] [stdout] | [INFO] [stdout] 70 | panic!(format!("Error, Invalid Symbol! {}", symbol)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 70 - panic!(format!("Error, Invalid Symbol! {}", symbol)); [INFO] [stdout] 70 + panic!("Error, Invalid Symbol! {}", symbol); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 65 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 28s [INFO] running `Command { std: "docker" "inspect" "d53fdbfde14f9cba0ff64f160935a4649306fa972dcf56c22b9d28b6b42fe251", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d53fdbfde14f9cba0ff64f160935a4649306fa972dcf56c22b9d28b6b42fe251", kill_on_drop: false }` [INFO] [stdout] d53fdbfde14f9cba0ff64f160935a4649306fa972dcf56c22b9d28b6b42fe251 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7df75e7aee98270ae0dc41771dbbc177a8589300fe48fbfe29974e2702aac648 [INFO] running `Command { std: "docker" "start" "-a" "7df75e7aee98270ae0dc41771dbbc177a8589300fe48fbfe29974e2702aac648", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lexer/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / lazy_static! { [INFO] [stdout] 9 | | static ref RESERVED_WORDS: HashMap<&'static str, Token> = { [INFO] [stdout] 10 | | let mut reserved_words = HashMap::new(); [INFO] [stdout] 11 | | reserved_words.insert("PROGRAM", Program); [INFO] [stdout] ... | [INFO] [stdout] 20 | | }; [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | pub left: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 49 - pub left: Box, [INFO] [stdout] 49 + pub left: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:50:18 [INFO] [stdout] | [INFO] [stdout] 50 | pub right: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 50 - pub right: Box, [INFO] [stdout] 50 + pub right: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | pub expr: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 108 - pub expr: Box, [INFO] [stdout] 108 + pub expr: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:124:25 [INFO] [stdout] | [INFO] [stdout] 124 | pub children: Vec>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 124 - pub children: Vec>, [INFO] [stdout] 124 + pub children: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:140:23 [INFO] [stdout] | [INFO] [stdout] 140 | pub identifier: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 140 - pub identifier: Box, [INFO] [stdout] 140 + pub identifier: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:141:17 [INFO] [stdout] | [INFO] [stdout] 141 | pub expr: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 141 - pub expr: Box, [INFO] [stdout] 141 + pub expr: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:187:18 [INFO] [stdout] | [INFO] [stdout] 187 | pub block: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 187 - pub block: Box, [INFO] [stdout] 187 + pub block: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:204:23 [INFO] [stdout] | [INFO] [stdout] 204 | pub params: Vec>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 204 - pub params: Vec>, [INFO] [stdout] 204 + pub params: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:205:18 [INFO] [stdout] | [INFO] [stdout] 205 | pub block: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 205 - pub block: Box, [INFO] [stdout] 205 + pub block: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:245:29 [INFO] [stdout] | [INFO] [stdout] 245 | pub declarations: Vec>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 245 - pub declarations: Vec>, [INFO] [stdout] 245 + pub declarations: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:246:31 [INFO] [stdout] | [INFO] [stdout] 246 | pub compound_statement: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 246 - pub compound_statement: Box, [INFO] [stdout] 246 + pub compound_statement: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/mod.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | pub root_node: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 - pub root_node: Box, [INFO] [stdout] 8 + pub root_node: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/mod.rs:24:38 [INFO] [stdout] | [INFO] [stdout] 24 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 24 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:42:32 [INFO] [stdout] | [INFO] [stdout] 42 | fn program(&mut self) -> Box { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 - fn program(&mut self) -> Box { [INFO] [stdout] 42 + fn program(&mut self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:52:30 [INFO] [stdout] | [INFO] [stdout] 52 | fn block(&mut self) -> Box { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 52 - fn block(&mut self) -> Box { [INFO] [stdout] 52 + fn block(&mut self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:59:43 [INFO] [stdout] | [INFO] [stdout] 59 | fn compound_statement(&mut self) -> Box { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 59 - fn compound_statement(&mut self) -> Box { [INFO] [stdout] 59 + fn compound_statement(&mut self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:67:41 [INFO] [stdout] | [INFO] [stdout] 67 | fn declarations(&mut self) -> Vec> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 67 - fn declarations(&mut self) -> Vec> { [INFO] [stdout] 67 + fn declarations(&mut self) -> Vec> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:87:46 [INFO] [stdout] | [INFO] [stdout] 87 | fn procedure_declaration(&mut self) -> Box { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 87 - fn procedure_declaration(&mut self) -> Box { [INFO] [stdout] 87 + fn procedure_declaration(&mut self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:106:50 [INFO] [stdout] | [INFO] [stdout] 106 | fn formal_parameter_list(&mut self) -> Vec> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 106 - fn formal_parameter_list(&mut self) -> Vec> { [INFO] [stdout] 106 + fn formal_parameter_list(&mut self) -> Vec> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:117:46 [INFO] [stdout] | [INFO] [stdout] 117 | fn formal_parameters(&mut self) -> Vec> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 117 - fn formal_parameters(&mut self) -> Vec> { [INFO] [stdout] 117 + fn formal_parameters(&mut self) -> Vec> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:141:49 [INFO] [stdout] | [INFO] [stdout] 141 | fn variable_declaration(&mut self) -> Vec> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 141 - fn variable_declaration(&mut self) -> Vec> { [INFO] [stdout] 141 + fn variable_declaration(&mut self) -> Vec> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:177:43 [INFO] [stdout] | [INFO] [stdout] 177 | fn statement_list(&mut self) -> Vec> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 177 - fn statement_list(&mut self) -> Vec> { [INFO] [stdout] 177 + fn statement_list(&mut self) -> Vec> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:196:34 [INFO] [stdout] | [INFO] [stdout] 196 | fn statement(&mut self) -> Box { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 196 - fn statement(&mut self) -> Box { [INFO] [stdout] 196 + fn statement(&mut self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:206:45 [INFO] [stdout] | [INFO] [stdout] 206 | fn assignment_statement(&mut self) -> Box { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 206 - fn assignment_statement(&mut self) -> Box { [INFO] [stdout] 206 + fn assignment_statement(&mut self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:226:26 [INFO] [stdout] | [INFO] [stdout] 226 | fn empty(&self) -> Box { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 226 - fn empty(&self) -> Box { [INFO] [stdout] 226 + fn empty(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:229:31 [INFO] [stdout] | [INFO] [stdout] 229 | fn factor(&mut self) -> Box { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 229 - fn factor(&mut self) -> Box { [INFO] [stdout] 229 + fn factor(&mut self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:262:29 [INFO] [stdout] | [INFO] [stdout] 262 | fn term(&mut self) -> Box { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 262 - fn term(&mut self) -> Box { [INFO] [stdout] 262 + fn term(&mut self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:276:29 [INFO] [stdout] | [INFO] [stdout] 276 | fn expr(&mut self) -> Box { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 276 - fn expr(&mut self) -> Box { [INFO] [stdout] 276 + fn expr(&mut self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:288:34 [INFO] [stdout] | [INFO] [stdout] 288 | pub fn parse(&mut self) -> Box { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 288 - pub fn parse(&mut self) -> Box { [INFO] [stdout] 288 + pub fn parse(&mut self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:54:29 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn to_string(node: &Box) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 54 - pub fn to_string(node: &Box) -> String { [INFO] [stdout] 54 + pub fn to_string(node: &Box) -> String { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult; [INFO] [stdout] 9 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:26:38 [INFO] [stdout] | [INFO] [stdout] 26 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 26 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:43:38 [INFO] [stdout] | [INFO] [stdout] 43 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 43 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 43 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:91:24 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn new(left: Box, right: Box, operator: Token) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 91 - pub fn new(left: Box, right: Box, operator: Token) -> Self { [INFO] [stdout] 91 + pub fn new(left: Box, right: Box, operator: Token) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:91:42 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn new(left: Box, right: Box, operator: Token) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 91 - pub fn new(left: Box, right: Box, operator: Token) -> Self { [INFO] [stdout] 91 + pub fn new(left: Box, right: Box, operator: Token) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:101:38 [INFO] [stdout] | [INFO] [stdout] 101 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 101 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 101 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:112:41 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn new(operator: Token, expr: Box) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 112 - pub fn new(operator: Token, expr: Box) -> Self { [INFO] [stdout] 112 + pub fn new(operator: Token, expr: Box) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:118:38 [INFO] [stdout] | [INFO] [stdout] 118 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 118 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 118 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:128:32 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn new(children: Vec>) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 128 - pub fn new(children: Vec>) -> Self { [INFO] [stdout] 128 + pub fn new(children: Vec>) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:134:38 [INFO] [stdout] | [INFO] [stdout] 134 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 134 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 134 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:146:30 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn new(identifier: Box, expr: Box, operator: Token) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 146 - pub fn new(identifier: Box, expr: Box, operator: Token) -> Self { [INFO] [stdout] 146 + pub fn new(identifier: Box, expr: Box, operator: Token) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:146:47 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn new(identifier: Box, expr: Box, operator: Token) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 146 - pub fn new(identifier: Box, expr: Box, operator: Token) -> Self { [INFO] [stdout] 146 + pub fn new(identifier: Box, expr: Box, operator: Token) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:156:38 [INFO] [stdout] | [INFO] [stdout] 156 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 156 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 156 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:172:38 [INFO] [stdout] | [INFO] [stdout] 172 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 172 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 172 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:180:38 [INFO] [stdout] | [INFO] [stdout] 180 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 180 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 180 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:191:44 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn new(identifier: Token, block: Box) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 191 - pub fn new(identifier: Token, block: Box) -> Self { [INFO] [stdout] 191 + pub fn new(identifier: Token, block: Box) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:197:38 [INFO] [stdout] | [INFO] [stdout] 197 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 197 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 197 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:209:48 [INFO] [stdout] | [INFO] [stdout] 209 | pub fn new(proc_name: Token, params: Vec>, block: Box) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 209 - pub fn new(proc_name: Token, params: Vec>, block: Box) -> Self { [INFO] [stdout] 209 + pub fn new(proc_name: Token, params: Vec>, block: Box) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:209:67 [INFO] [stdout] | [INFO] [stdout] 209 | pub fn new(proc_name: Token, params: Vec>, block: Box) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 209 - pub fn new(proc_name: Token, params: Vec>, block: Box) -> Self { [INFO] [stdout] 209 + pub fn new(proc_name: Token, params: Vec>, block: Box) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:219:38 [INFO] [stdout] | [INFO] [stdout] 219 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 219 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 219 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:239:38 [INFO] [stdout] | [INFO] [stdout] 239 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 239 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 239 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:250:36 [INFO] [stdout] | [INFO] [stdout] 250 | pub fn new(declarations: Vec>, compound_statement: Box) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 250 - pub fn new(declarations: Vec>, compound_statement: Box) -> Self { [INFO] [stdout] 250 + pub fn new(declarations: Vec>, compound_statement: Box) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling basic-interpreter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:250:68 [INFO] [stdout] | [INFO] [stdout] 250 | pub fn new(declarations: Vec>, compound_statement: Box) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 250 - pub fn new(declarations: Vec>, compound_statement: Box) -> Self { [INFO] [stdout] 250 + pub fn new(declarations: Vec>, compound_statement: Box) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:259:38 [INFO] [stdout] | [INFO] [stdout] 259 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 259 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 259 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:279:38 [INFO] [stdout] | [INFO] [stdout] 279 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 279 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 279 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:296:38 [INFO] [stdout] | [INFO] [stdout] 296 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 296 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 296 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/visitor.rs:5:34 [INFO] [stdout] | [INFO] [stdout] 5 | fn visit(&mut self, node: &Box) -> NumberResult { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 - fn visit(&mut self, node: &Box) -> NumberResult { [INFO] [stdout] 5 + fn visit(&mut self, node: &Box) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:71:35 [INFO] [stdout] | [INFO] [stdout] 71 | let mut declarations: Vec> = vec![]; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 71 - let mut declarations: Vec> = vec![]; [INFO] [stdout] 71 + let mut declarations: Vec> = vec![]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:90:29 [INFO] [stdout] | [INFO] [stdout] 90 | let mut params: Vec> = vec![]; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 90 - let mut params: Vec> = vec![]; [INFO] [stdout] 90 + let mut params: Vec> = vec![]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:134:37 [INFO] [stdout] | [INFO] [stdout] 134 | let mut parameter_list: Vec> = vec![]; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 134 - let mut parameter_list: Vec> = vec![]; [INFO] [stdout] 134 + let mut parameter_list: Vec> = vec![]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:158:39 [INFO] [stdout] | [INFO] [stdout] 158 | let mut var_declarations: Vec> = vec![]; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 158 - let mut var_declarations: Vec> = vec![]; [INFO] [stdout] 158 + let mut var_declarations: Vec> = vec![]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `kind` [INFO] [stdout] --> src/utils/number.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | kind: NumberErrorKind, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `ParseNumberError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/utils/number.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/symbols/symbol.rs:70:14 [INFO] [stdout] | [INFO] [stdout] 70 | panic!(format!("Error, Invalid Symbol! {}", symbol)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 70 - panic!(format!("Error, Invalid Symbol! {}", symbol)); [INFO] [stdout] 70 + panic!("Error, Invalid Symbol! {}", symbol); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 64 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lexer/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / lazy_static! { [INFO] [stdout] 9 | | static ref RESERVED_WORDS: HashMap<&'static str, Token> = { [INFO] [stdout] 10 | | let mut reserved_words = HashMap::new(); [INFO] [stdout] 11 | | reserved_words.insert("PROGRAM", Program); [INFO] [stdout] ... | [INFO] [stdout] 20 | | }; [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:40:29 [INFO] [stdout] | [INFO] [stdout] 40 | fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 - fn main() -> Result<(), Box> { [INFO] [stdout] 40 + fn main() -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | pub left: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 49 - pub left: Box, [INFO] [stdout] 49 + pub left: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:50:18 [INFO] [stdout] | [INFO] [stdout] 50 | pub right: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 50 - pub right: Box, [INFO] [stdout] 50 + pub right: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | pub expr: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 108 - pub expr: Box, [INFO] [stdout] 108 + pub expr: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:124:25 [INFO] [stdout] | [INFO] [stdout] 124 | pub children: Vec>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 124 - pub children: Vec>, [INFO] [stdout] 124 + pub children: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:140:23 [INFO] [stdout] | [INFO] [stdout] 140 | pub identifier: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 140 - pub identifier: Box, [INFO] [stdout] 140 + pub identifier: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:141:17 [INFO] [stdout] | [INFO] [stdout] 141 | pub expr: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 141 - pub expr: Box, [INFO] [stdout] 141 + pub expr: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:187:18 [INFO] [stdout] | [INFO] [stdout] 187 | pub block: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 187 - pub block: Box, [INFO] [stdout] 187 + pub block: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:204:23 [INFO] [stdout] | [INFO] [stdout] 204 | pub params: Vec>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 204 - pub params: Vec>, [INFO] [stdout] 204 + pub params: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:205:18 [INFO] [stdout] | [INFO] [stdout] 205 | pub block: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 205 - pub block: Box, [INFO] [stdout] 205 + pub block: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:245:29 [INFO] [stdout] | [INFO] [stdout] 245 | pub declarations: Vec>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 245 - pub declarations: Vec>, [INFO] [stdout] 245 + pub declarations: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:246:31 [INFO] [stdout] | [INFO] [stdout] 246 | pub compound_statement: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 246 - pub compound_statement: Box, [INFO] [stdout] 246 + pub compound_statement: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/mod.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | pub root_node: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 - pub root_node: Box, [INFO] [stdout] 8 + pub root_node: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/mod.rs:24:38 [INFO] [stdout] | [INFO] [stdout] 24 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 24 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:42:32 [INFO] [stdout] | [INFO] [stdout] 42 | fn program(&mut self) -> Box { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 - fn program(&mut self) -> Box { [INFO] [stdout] 42 + fn program(&mut self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:52:30 [INFO] [stdout] | [INFO] [stdout] 52 | fn block(&mut self) -> Box { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 52 - fn block(&mut self) -> Box { [INFO] [stdout] 52 + fn block(&mut self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:59:43 [INFO] [stdout] | [INFO] [stdout] 59 | fn compound_statement(&mut self) -> Box { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 59 - fn compound_statement(&mut self) -> Box { [INFO] [stdout] 59 + fn compound_statement(&mut self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:67:41 [INFO] [stdout] | [INFO] [stdout] 67 | fn declarations(&mut self) -> Vec> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 67 - fn declarations(&mut self) -> Vec> { [INFO] [stdout] 67 + fn declarations(&mut self) -> Vec> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:87:46 [INFO] [stdout] | [INFO] [stdout] 87 | fn procedure_declaration(&mut self) -> Box { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 87 - fn procedure_declaration(&mut self) -> Box { [INFO] [stdout] 87 + fn procedure_declaration(&mut self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:106:50 [INFO] [stdout] | [INFO] [stdout] 106 | fn formal_parameter_list(&mut self) -> Vec> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 106 - fn formal_parameter_list(&mut self) -> Vec> { [INFO] [stdout] 106 + fn formal_parameter_list(&mut self) -> Vec> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:117:46 [INFO] [stdout] | [INFO] [stdout] 117 | fn formal_parameters(&mut self) -> Vec> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 117 - fn formal_parameters(&mut self) -> Vec> { [INFO] [stdout] 117 + fn formal_parameters(&mut self) -> Vec> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:141:49 [INFO] [stdout] | [INFO] [stdout] 141 | fn variable_declaration(&mut self) -> Vec> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 141 - fn variable_declaration(&mut self) -> Vec> { [INFO] [stdout] 141 + fn variable_declaration(&mut self) -> Vec> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:177:43 [INFO] [stdout] | [INFO] [stdout] 177 | fn statement_list(&mut self) -> Vec> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 177 - fn statement_list(&mut self) -> Vec> { [INFO] [stdout] 177 + fn statement_list(&mut self) -> Vec> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:196:34 [INFO] [stdout] | [INFO] [stdout] 196 | fn statement(&mut self) -> Box { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 196 - fn statement(&mut self) -> Box { [INFO] [stdout] 196 + fn statement(&mut self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:206:45 [INFO] [stdout] | [INFO] [stdout] 206 | fn assignment_statement(&mut self) -> Box { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 206 - fn assignment_statement(&mut self) -> Box { [INFO] [stdout] 206 + fn assignment_statement(&mut self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:226:26 [INFO] [stdout] | [INFO] [stdout] 226 | fn empty(&self) -> Box { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 226 - fn empty(&self) -> Box { [INFO] [stdout] 226 + fn empty(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:229:31 [INFO] [stdout] | [INFO] [stdout] 229 | fn factor(&mut self) -> Box { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 229 - fn factor(&mut self) -> Box { [INFO] [stdout] 229 + fn factor(&mut self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:262:29 [INFO] [stdout] | [INFO] [stdout] 262 | fn term(&mut self) -> Box { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 262 - fn term(&mut self) -> Box { [INFO] [stdout] 262 + fn term(&mut self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:276:29 [INFO] [stdout] | [INFO] [stdout] 276 | fn expr(&mut self) -> Box { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 276 - fn expr(&mut self) -> Box { [INFO] [stdout] 276 + fn expr(&mut self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:288:34 [INFO] [stdout] | [INFO] [stdout] 288 | pub fn parse(&mut self) -> Box { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 288 - pub fn parse(&mut self) -> Box { [INFO] [stdout] 288 + pub fn parse(&mut self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:54:29 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn to_string(node: &Box) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 54 - pub fn to_string(node: &Box) -> String { [INFO] [stdout] 54 + pub fn to_string(node: &Box) -> String { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult; [INFO] [stdout] 9 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:26:38 [INFO] [stdout] | [INFO] [stdout] 26 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 26 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:43:38 [INFO] [stdout] | [INFO] [stdout] 43 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 43 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 43 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:91:24 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn new(left: Box, right: Box, operator: Token) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 91 - pub fn new(left: Box, right: Box, operator: Token) -> Self { [INFO] [stdout] 91 + pub fn new(left: Box, right: Box, operator: Token) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:91:42 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn new(left: Box, right: Box, operator: Token) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 91 - pub fn new(left: Box, right: Box, operator: Token) -> Self { [INFO] [stdout] 91 + pub fn new(left: Box, right: Box, operator: Token) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:101:38 [INFO] [stdout] | [INFO] [stdout] 101 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 101 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 101 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:112:41 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn new(operator: Token, expr: Box) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 112 - pub fn new(operator: Token, expr: Box) -> Self { [INFO] [stdout] 112 + pub fn new(operator: Token, expr: Box) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:118:38 [INFO] [stdout] | [INFO] [stdout] 118 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 118 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 118 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:128:32 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn new(children: Vec>) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 128 - pub fn new(children: Vec>) -> Self { [INFO] [stdout] 128 + pub fn new(children: Vec>) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:134:38 [INFO] [stdout] | [INFO] [stdout] 134 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 134 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 134 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:146:30 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn new(identifier: Box, expr: Box, operator: Token) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 146 - pub fn new(identifier: Box, expr: Box, operator: Token) -> Self { [INFO] [stdout] 146 + pub fn new(identifier: Box, expr: Box, operator: Token) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:146:47 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn new(identifier: Box, expr: Box, operator: Token) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 146 - pub fn new(identifier: Box, expr: Box, operator: Token) -> Self { [INFO] [stdout] 146 + pub fn new(identifier: Box, expr: Box, operator: Token) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:156:38 [INFO] [stdout] | [INFO] [stdout] 156 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 156 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 156 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:172:38 [INFO] [stdout] | [INFO] [stdout] 172 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 172 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 172 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:180:38 [INFO] [stdout] | [INFO] [stdout] 180 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 180 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 180 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:191:44 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn new(identifier: Token, block: Box) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 191 - pub fn new(identifier: Token, block: Box) -> Self { [INFO] [stdout] 191 + pub fn new(identifier: Token, block: Box) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:197:38 [INFO] [stdout] | [INFO] [stdout] 197 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 197 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 197 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:209:48 [INFO] [stdout] | [INFO] [stdout] 209 | pub fn new(proc_name: Token, params: Vec>, block: Box) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 209 - pub fn new(proc_name: Token, params: Vec>, block: Box) -> Self { [INFO] [stdout] 209 + pub fn new(proc_name: Token, params: Vec>, block: Box) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:209:67 [INFO] [stdout] | [INFO] [stdout] 209 | pub fn new(proc_name: Token, params: Vec>, block: Box) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 209 - pub fn new(proc_name: Token, params: Vec>, block: Box) -> Self { [INFO] [stdout] 209 + pub fn new(proc_name: Token, params: Vec>, block: Box) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:219:38 [INFO] [stdout] | [INFO] [stdout] 219 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 219 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 219 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:239:38 [INFO] [stdout] | [INFO] [stdout] 239 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 239 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 239 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:250:36 [INFO] [stdout] | [INFO] [stdout] 250 | pub fn new(declarations: Vec>, compound_statement: Box) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 250 - pub fn new(declarations: Vec>, compound_statement: Box) -> Self { [INFO] [stdout] 250 + pub fn new(declarations: Vec>, compound_statement: Box) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:250:68 [INFO] [stdout] | [INFO] [stdout] 250 | pub fn new(declarations: Vec>, compound_statement: Box) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 250 - pub fn new(declarations: Vec>, compound_statement: Box) -> Self { [INFO] [stdout] 250 + pub fn new(declarations: Vec>, compound_statement: Box) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:259:38 [INFO] [stdout] | [INFO] [stdout] 259 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 259 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 259 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:279:38 [INFO] [stdout] | [INFO] [stdout] 279 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 279 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 279 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:296:38 [INFO] [stdout] | [INFO] [stdout] 296 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 296 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 296 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/visitor.rs:5:34 [INFO] [stdout] | [INFO] [stdout] 5 | fn visit(&mut self, node: &Box) -> NumberResult { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 - fn visit(&mut self, node: &Box) -> NumberResult { [INFO] [stdout] 5 + fn visit(&mut self, node: &Box) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:71:35 [INFO] [stdout] | [INFO] [stdout] 71 | let mut declarations: Vec> = vec![]; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 71 - let mut declarations: Vec> = vec![]; [INFO] [stdout] 71 + let mut declarations: Vec> = vec![]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:90:29 [INFO] [stdout] | [INFO] [stdout] 90 | let mut params: Vec> = vec![]; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 90 - let mut params: Vec> = vec![]; [INFO] [stdout] 90 + let mut params: Vec> = vec![]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:134:37 [INFO] [stdout] | [INFO] [stdout] 134 | let mut parameter_list: Vec> = vec![]; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 134 - let mut parameter_list: Vec> = vec![]; [INFO] [stdout] 134 + let mut parameter_list: Vec> = vec![]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:158:39 [INFO] [stdout] | [INFO] [stdout] 158 | let mut var_declarations: Vec> = vec![]; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 158 - let mut var_declarations: Vec> = vec![]; [INFO] [stdout] 158 + let mut var_declarations: Vec> = vec![]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `kind` [INFO] [stdout] --> src/utils/number.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | kind: NumberErrorKind, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `ParseNumberError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/utils/number.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/symbols/symbol.rs:70:14 [INFO] [stdout] | [INFO] [stdout] 70 | panic!(format!("Error, Invalid Symbol! {}", symbol)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 70 - panic!(format!("Error, Invalid Symbol! {}", symbol)); [INFO] [stdout] 70 + panic!("Error, Invalid Symbol! {}", symbol); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 65 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lexer/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / lazy_static! { [INFO] [stdout] 9 | | static ref RESERVED_WORDS: HashMap<&'static str, Token> = { [INFO] [stdout] 10 | | let mut reserved_words = HashMap::new(); [INFO] [stdout] 11 | | reserved_words.insert("PROGRAM", Program); [INFO] [stdout] ... | [INFO] [stdout] 20 | | }; [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | pub left: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 49 - pub left: Box, [INFO] [stdout] 49 + pub left: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:50:18 [INFO] [stdout] | [INFO] [stdout] 50 | pub right: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 50 - pub right: Box, [INFO] [stdout] 50 + pub right: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | pub expr: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 108 - pub expr: Box, [INFO] [stdout] 108 + pub expr: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:124:25 [INFO] [stdout] | [INFO] [stdout] 124 | pub children: Vec>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 124 - pub children: Vec>, [INFO] [stdout] 124 + pub children: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:140:23 [INFO] [stdout] | [INFO] [stdout] 140 | pub identifier: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 140 - pub identifier: Box, [INFO] [stdout] 140 + pub identifier: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:141:17 [INFO] [stdout] | [INFO] [stdout] 141 | pub expr: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 141 - pub expr: Box, [INFO] [stdout] 141 + pub expr: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:187:18 [INFO] [stdout] | [INFO] [stdout] 187 | pub block: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 187 - pub block: Box, [INFO] [stdout] 187 + pub block: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:204:23 [INFO] [stdout] | [INFO] [stdout] 204 | pub params: Vec>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 204 - pub params: Vec>, [INFO] [stdout] 204 + pub params: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:205:18 [INFO] [stdout] | [INFO] [stdout] 205 | pub block: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 205 - pub block: Box, [INFO] [stdout] 205 + pub block: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:245:29 [INFO] [stdout] | [INFO] [stdout] 245 | pub declarations: Vec>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 245 - pub declarations: Vec>, [INFO] [stdout] 245 + pub declarations: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:246:31 [INFO] [stdout] | [INFO] [stdout] 246 | pub compound_statement: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 246 - pub compound_statement: Box, [INFO] [stdout] 246 + pub compound_statement: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/mod.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | pub root_node: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 - pub root_node: Box, [INFO] [stdout] 8 + pub root_node: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/mod.rs:24:38 [INFO] [stdout] | [INFO] [stdout] 24 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 24 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:42:32 [INFO] [stdout] | [INFO] [stdout] 42 | fn program(&mut self) -> Box { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 - fn program(&mut self) -> Box { [INFO] [stdout] 42 + fn program(&mut self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:52:30 [INFO] [stdout] | [INFO] [stdout] 52 | fn block(&mut self) -> Box { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 52 - fn block(&mut self) -> Box { [INFO] [stdout] 52 + fn block(&mut self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:59:43 [INFO] [stdout] | [INFO] [stdout] 59 | fn compound_statement(&mut self) -> Box { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 59 - fn compound_statement(&mut self) -> Box { [INFO] [stdout] 59 + fn compound_statement(&mut self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:67:41 [INFO] [stdout] | [INFO] [stdout] 67 | fn declarations(&mut self) -> Vec> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 67 - fn declarations(&mut self) -> Vec> { [INFO] [stdout] 67 + fn declarations(&mut self) -> Vec> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:87:46 [INFO] [stdout] | [INFO] [stdout] 87 | fn procedure_declaration(&mut self) -> Box { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 87 - fn procedure_declaration(&mut self) -> Box { [INFO] [stdout] 87 + fn procedure_declaration(&mut self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:106:50 [INFO] [stdout] | [INFO] [stdout] 106 | fn formal_parameter_list(&mut self) -> Vec> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 106 - fn formal_parameter_list(&mut self) -> Vec> { [INFO] [stdout] 106 + fn formal_parameter_list(&mut self) -> Vec> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:117:46 [INFO] [stdout] | [INFO] [stdout] 117 | fn formal_parameters(&mut self) -> Vec> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 117 - fn formal_parameters(&mut self) -> Vec> { [INFO] [stdout] 117 + fn formal_parameters(&mut self) -> Vec> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:141:49 [INFO] [stdout] | [INFO] [stdout] 141 | fn variable_declaration(&mut self) -> Vec> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 141 - fn variable_declaration(&mut self) -> Vec> { [INFO] [stdout] 141 + fn variable_declaration(&mut self) -> Vec> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:177:43 [INFO] [stdout] | [INFO] [stdout] 177 | fn statement_list(&mut self) -> Vec> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 177 - fn statement_list(&mut self) -> Vec> { [INFO] [stdout] 177 + fn statement_list(&mut self) -> Vec> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:196:34 [INFO] [stdout] | [INFO] [stdout] 196 | fn statement(&mut self) -> Box { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 196 - fn statement(&mut self) -> Box { [INFO] [stdout] 196 + fn statement(&mut self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:206:45 [INFO] [stdout] | [INFO] [stdout] 206 | fn assignment_statement(&mut self) -> Box { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 206 - fn assignment_statement(&mut self) -> Box { [INFO] [stdout] 206 + fn assignment_statement(&mut self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:226:26 [INFO] [stdout] | [INFO] [stdout] 226 | fn empty(&self) -> Box { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 226 - fn empty(&self) -> Box { [INFO] [stdout] 226 + fn empty(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:229:31 [INFO] [stdout] | [INFO] [stdout] 229 | fn factor(&mut self) -> Box { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 229 - fn factor(&mut self) -> Box { [INFO] [stdout] 229 + fn factor(&mut self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:262:29 [INFO] [stdout] | [INFO] [stdout] 262 | fn term(&mut self) -> Box { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 262 - fn term(&mut self) -> Box { [INFO] [stdout] 262 + fn term(&mut self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:276:29 [INFO] [stdout] | [INFO] [stdout] 276 | fn expr(&mut self) -> Box { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 276 - fn expr(&mut self) -> Box { [INFO] [stdout] 276 + fn expr(&mut self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:288:34 [INFO] [stdout] | [INFO] [stdout] 288 | pub fn parse(&mut self) -> Box { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 288 - pub fn parse(&mut self) -> Box { [INFO] [stdout] 288 + pub fn parse(&mut self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:54:29 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn to_string(node: &Box) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 54 - pub fn to_string(node: &Box) -> String { [INFO] [stdout] 54 + pub fn to_string(node: &Box) -> String { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult; [INFO] [stdout] 9 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:26:38 [INFO] [stdout] | [INFO] [stdout] 26 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 26 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:43:38 [INFO] [stdout] | [INFO] [stdout] 43 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 43 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 43 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:91:24 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn new(left: Box, right: Box, operator: Token) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 91 - pub fn new(left: Box, right: Box, operator: Token) -> Self { [INFO] [stdout] 91 + pub fn new(left: Box, right: Box, operator: Token) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:91:42 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn new(left: Box, right: Box, operator: Token) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 91 - pub fn new(left: Box, right: Box, operator: Token) -> Self { [INFO] [stdout] 91 + pub fn new(left: Box, right: Box, operator: Token) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:101:38 [INFO] [stdout] | [INFO] [stdout] 101 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 101 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 101 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:112:41 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn new(operator: Token, expr: Box) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 112 - pub fn new(operator: Token, expr: Box) -> Self { [INFO] [stdout] 112 + pub fn new(operator: Token, expr: Box) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:118:38 [INFO] [stdout] | [INFO] [stdout] 118 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 118 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 118 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:128:32 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn new(children: Vec>) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 128 - pub fn new(children: Vec>) -> Self { [INFO] [stdout] 128 + pub fn new(children: Vec>) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:134:38 [INFO] [stdout] | [INFO] [stdout] 134 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 134 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 134 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:146:30 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn new(identifier: Box, expr: Box, operator: Token) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 146 - pub fn new(identifier: Box, expr: Box, operator: Token) -> Self { [INFO] [stdout] 146 + pub fn new(identifier: Box, expr: Box, operator: Token) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:146:47 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn new(identifier: Box, expr: Box, operator: Token) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 146 - pub fn new(identifier: Box, expr: Box, operator: Token) -> Self { [INFO] [stdout] 146 + pub fn new(identifier: Box, expr: Box, operator: Token) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:156:38 [INFO] [stdout] | [INFO] [stdout] 156 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 156 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 156 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:172:38 [INFO] [stdout] | [INFO] [stdout] 172 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 172 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 172 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:180:38 [INFO] [stdout] | [INFO] [stdout] 180 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 180 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 180 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:191:44 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn new(identifier: Token, block: Box) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 191 - pub fn new(identifier: Token, block: Box) -> Self { [INFO] [stdout] 191 + pub fn new(identifier: Token, block: Box) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:197:38 [INFO] [stdout] | [INFO] [stdout] 197 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 197 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 197 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:209:48 [INFO] [stdout] | [INFO] [stdout] 209 | pub fn new(proc_name: Token, params: Vec>, block: Box) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 209 - pub fn new(proc_name: Token, params: Vec>, block: Box) -> Self { [INFO] [stdout] 209 + pub fn new(proc_name: Token, params: Vec>, block: Box) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:209:67 [INFO] [stdout] | [INFO] [stdout] 209 | pub fn new(proc_name: Token, params: Vec>, block: Box) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 209 - pub fn new(proc_name: Token, params: Vec>, block: Box) -> Self { [INFO] [stdout] 209 + pub fn new(proc_name: Token, params: Vec>, block: Box) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:219:38 [INFO] [stdout] | [INFO] [stdout] 219 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 219 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 219 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:239:38 [INFO] [stdout] | [INFO] [stdout] 239 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 239 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 239 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:250:36 [INFO] [stdout] | [INFO] [stdout] 250 | pub fn new(declarations: Vec>, compound_statement: Box) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 250 - pub fn new(declarations: Vec>, compound_statement: Box) -> Self { [INFO] [stdout] 250 + pub fn new(declarations: Vec>, compound_statement: Box) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:250:68 [INFO] [stdout] | [INFO] [stdout] 250 | pub fn new(declarations: Vec>, compound_statement: Box) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 250 - pub fn new(declarations: Vec>, compound_statement: Box) -> Self { [INFO] [stdout] 250 + pub fn new(declarations: Vec>, compound_statement: Box) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:259:38 [INFO] [stdout] | [INFO] [stdout] 259 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 259 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 259 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:279:38 [INFO] [stdout] | [INFO] [stdout] 279 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 279 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 279 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:296:38 [INFO] [stdout] | [INFO] [stdout] 296 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 296 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 296 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/visitor.rs:5:34 [INFO] [stdout] | [INFO] [stdout] 5 | fn visit(&mut self, node: &Box) -> NumberResult { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 - fn visit(&mut self, node: &Box) -> NumberResult { [INFO] [stdout] 5 + fn visit(&mut self, node: &Box) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:71:35 [INFO] [stdout] | [INFO] [stdout] 71 | let mut declarations: Vec> = vec![]; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 71 - let mut declarations: Vec> = vec![]; [INFO] [stdout] 71 + let mut declarations: Vec> = vec![]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:90:29 [INFO] [stdout] | [INFO] [stdout] 90 | let mut params: Vec> = vec![]; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 90 - let mut params: Vec> = vec![]; [INFO] [stdout] 90 + let mut params: Vec> = vec![]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:134:37 [INFO] [stdout] | [INFO] [stdout] 134 | let mut parameter_list: Vec> = vec![]; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 134 - let mut parameter_list: Vec> = vec![]; [INFO] [stdout] 134 + let mut parameter_list: Vec> = vec![]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:158:39 [INFO] [stdout] | [INFO] [stdout] 158 | let mut var_declarations: Vec> = vec![]; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 158 - let mut var_declarations: Vec> = vec![]; [INFO] [stdout] 158 + let mut var_declarations: Vec> = vec![]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lexer/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / lazy_static! { [INFO] [stdout] 9 | | static ref RESERVED_WORDS: HashMap<&'static str, Token> = { [INFO] [stdout] 10 | | let mut reserved_words = HashMap::new(); [INFO] [stdout] 11 | | reserved_words.insert("PROGRAM", Program); [INFO] [stdout] ... | [INFO] [stdout] 20 | | }; [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:40:29 [INFO] [stdout] | [INFO] [stdout] 40 | fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 - fn main() -> Result<(), Box> { [INFO] [stdout] 40 + fn main() -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | pub left: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 49 - pub left: Box, [INFO] [stdout] 49 + pub left: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:50:18 [INFO] [stdout] | [INFO] [stdout] 50 | pub right: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 50 - pub right: Box, [INFO] [stdout] 50 + pub right: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | pub expr: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 108 - pub expr: Box, [INFO] [stdout] 108 + pub expr: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:124:25 [INFO] [stdout] | [INFO] [stdout] 124 | pub children: Vec>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 124 - pub children: Vec>, [INFO] [stdout] 124 + pub children: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:140:23 [INFO] [stdout] | [INFO] [stdout] 140 | pub identifier: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 140 - pub identifier: Box, [INFO] [stdout] 140 + pub identifier: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:141:17 [INFO] [stdout] | [INFO] [stdout] 141 | pub expr: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 141 - pub expr: Box, [INFO] [stdout] 141 + pub expr: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:187:18 [INFO] [stdout] | [INFO] [stdout] 187 | pub block: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 187 - pub block: Box, [INFO] [stdout] 187 + pub block: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:204:23 [INFO] [stdout] | [INFO] [stdout] 204 | pub params: Vec>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 204 - pub params: Vec>, [INFO] [stdout] 204 + pub params: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:205:18 [INFO] [stdout] | [INFO] [stdout] 205 | pub block: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 205 - pub block: Box, [INFO] [stdout] 205 + pub block: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:245:29 [INFO] [stdout] | [INFO] [stdout] 245 | pub declarations: Vec>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 245 - pub declarations: Vec>, [INFO] [stdout] 245 + pub declarations: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:246:31 [INFO] [stdout] | [INFO] [stdout] 246 | pub compound_statement: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 246 - pub compound_statement: Box, [INFO] [stdout] 246 + pub compound_statement: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/mod.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | pub root_node: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 - pub root_node: Box, [INFO] [stdout] 8 + pub root_node: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/mod.rs:24:38 [INFO] [stdout] | [INFO] [stdout] 24 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 24 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:42:32 [INFO] [stdout] | [INFO] [stdout] 42 | fn program(&mut self) -> Box { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 - fn program(&mut self) -> Box { [INFO] [stdout] 42 + fn program(&mut self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:52:30 [INFO] [stdout] | [INFO] [stdout] 52 | fn block(&mut self) -> Box { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 52 - fn block(&mut self) -> Box { [INFO] [stdout] 52 + fn block(&mut self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:59:43 [INFO] [stdout] | [INFO] [stdout] 59 | fn compound_statement(&mut self) -> Box { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 59 - fn compound_statement(&mut self) -> Box { [INFO] [stdout] 59 + fn compound_statement(&mut self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:67:41 [INFO] [stdout] | [INFO] [stdout] 67 | fn declarations(&mut self) -> Vec> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 67 - fn declarations(&mut self) -> Vec> { [INFO] [stdout] 67 + fn declarations(&mut self) -> Vec> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:87:46 [INFO] [stdout] | [INFO] [stdout] 87 | fn procedure_declaration(&mut self) -> Box { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 87 - fn procedure_declaration(&mut self) -> Box { [INFO] [stdout] 87 + fn procedure_declaration(&mut self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:106:50 [INFO] [stdout] | [INFO] [stdout] 106 | fn formal_parameter_list(&mut self) -> Vec> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 106 - fn formal_parameter_list(&mut self) -> Vec> { [INFO] [stdout] 106 + fn formal_parameter_list(&mut self) -> Vec> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:117:46 [INFO] [stdout] | [INFO] [stdout] 117 | fn formal_parameters(&mut self) -> Vec> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 117 - fn formal_parameters(&mut self) -> Vec> { [INFO] [stdout] 117 + fn formal_parameters(&mut self) -> Vec> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:141:49 [INFO] [stdout] | [INFO] [stdout] 141 | fn variable_declaration(&mut self) -> Vec> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 141 - fn variable_declaration(&mut self) -> Vec> { [INFO] [stdout] 141 + fn variable_declaration(&mut self) -> Vec> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:177:43 [INFO] [stdout] | [INFO] [stdout] 177 | fn statement_list(&mut self) -> Vec> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 177 - fn statement_list(&mut self) -> Vec> { [INFO] [stdout] 177 + fn statement_list(&mut self) -> Vec> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:196:34 [INFO] [stdout] | [INFO] [stdout] 196 | fn statement(&mut self) -> Box { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 196 - fn statement(&mut self) -> Box { [INFO] [stdout] 196 + fn statement(&mut self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:206:45 [INFO] [stdout] | [INFO] [stdout] 206 | fn assignment_statement(&mut self) -> Box { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 206 - fn assignment_statement(&mut self) -> Box { [INFO] [stdout] 206 + fn assignment_statement(&mut self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:226:26 [INFO] [stdout] | [INFO] [stdout] 226 | fn empty(&self) -> Box { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 226 - fn empty(&self) -> Box { [INFO] [stdout] 226 + fn empty(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:229:31 [INFO] [stdout] | [INFO] [stdout] 229 | fn factor(&mut self) -> Box { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 229 - fn factor(&mut self) -> Box { [INFO] [stdout] 229 + fn factor(&mut self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:262:29 [INFO] [stdout] | [INFO] [stdout] 262 | fn term(&mut self) -> Box { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 262 - fn term(&mut self) -> Box { [INFO] [stdout] 262 + fn term(&mut self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:276:29 [INFO] [stdout] | [INFO] [stdout] 276 | fn expr(&mut self) -> Box { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 276 - fn expr(&mut self) -> Box { [INFO] [stdout] 276 + fn expr(&mut self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:288:34 [INFO] [stdout] | [INFO] [stdout] 288 | pub fn parse(&mut self) -> Box { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 288 - pub fn parse(&mut self) -> Box { [INFO] [stdout] 288 + pub fn parse(&mut self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:54:29 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn to_string(node: &Box) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 54 - pub fn to_string(node: &Box) -> String { [INFO] [stdout] 54 + pub fn to_string(node: &Box) -> String { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult; [INFO] [stdout] 9 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:26:38 [INFO] [stdout] | [INFO] [stdout] 26 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 26 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:43:38 [INFO] [stdout] | [INFO] [stdout] 43 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 43 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 43 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:91:24 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn new(left: Box, right: Box, operator: Token) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 91 - pub fn new(left: Box, right: Box, operator: Token) -> Self { [INFO] [stdout] 91 + pub fn new(left: Box, right: Box, operator: Token) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:91:42 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn new(left: Box, right: Box, operator: Token) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 91 - pub fn new(left: Box, right: Box, operator: Token) -> Self { [INFO] [stdout] 91 + pub fn new(left: Box, right: Box, operator: Token) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:101:38 [INFO] [stdout] | [INFO] [stdout] 101 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 101 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 101 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:112:41 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn new(operator: Token, expr: Box) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 112 - pub fn new(operator: Token, expr: Box) -> Self { [INFO] [stdout] 112 + pub fn new(operator: Token, expr: Box) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:118:38 [INFO] [stdout] | [INFO] [stdout] 118 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 118 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 118 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:128:32 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn new(children: Vec>) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 128 - pub fn new(children: Vec>) -> Self { [INFO] [stdout] 128 + pub fn new(children: Vec>) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:134:38 [INFO] [stdout] | [INFO] [stdout] 134 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 134 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 134 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:146:30 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn new(identifier: Box, expr: Box, operator: Token) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 146 - pub fn new(identifier: Box, expr: Box, operator: Token) -> Self { [INFO] [stdout] 146 + pub fn new(identifier: Box, expr: Box, operator: Token) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:146:47 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn new(identifier: Box, expr: Box, operator: Token) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 146 - pub fn new(identifier: Box, expr: Box, operator: Token) -> Self { [INFO] [stdout] 146 + pub fn new(identifier: Box, expr: Box, operator: Token) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:156:38 [INFO] [stdout] | [INFO] [stdout] 156 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 156 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 156 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:172:38 [INFO] [stdout] | [INFO] [stdout] 172 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 172 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 172 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:180:38 [INFO] [stdout] | [INFO] [stdout] 180 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 180 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 180 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:191:44 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn new(identifier: Token, block: Box) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 191 - pub fn new(identifier: Token, block: Box) -> Self { [INFO] [stdout] 191 + pub fn new(identifier: Token, block: Box) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:197:38 [INFO] [stdout] | [INFO] [stdout] 197 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 197 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 197 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:209:48 [INFO] [stdout] | [INFO] [stdout] 209 | pub fn new(proc_name: Token, params: Vec>, block: Box) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 209 - pub fn new(proc_name: Token, params: Vec>, block: Box) -> Self { [INFO] [stdout] 209 + pub fn new(proc_name: Token, params: Vec>, block: Box) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:209:67 [INFO] [stdout] | [INFO] [stdout] 209 | pub fn new(proc_name: Token, params: Vec>, block: Box) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 209 - pub fn new(proc_name: Token, params: Vec>, block: Box) -> Self { [INFO] [stdout] 209 + pub fn new(proc_name: Token, params: Vec>, block: Box) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:219:38 [INFO] [stdout] | [INFO] [stdout] 219 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 219 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 219 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:239:38 [INFO] [stdout] | [INFO] [stdout] 239 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 239 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 239 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:250:36 [INFO] [stdout] | [INFO] [stdout] 250 | pub fn new(declarations: Vec>, compound_statement: Box) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 250 - pub fn new(declarations: Vec>, compound_statement: Box) -> Self { [INFO] [stdout] 250 + pub fn new(declarations: Vec>, compound_statement: Box) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:250:68 [INFO] [stdout] | [INFO] [stdout] 250 | pub fn new(declarations: Vec>, compound_statement: Box) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 250 - pub fn new(declarations: Vec>, compound_statement: Box) -> Self { [INFO] [stdout] 250 + pub fn new(declarations: Vec>, compound_statement: Box) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:259:38 [INFO] [stdout] | [INFO] [stdout] 259 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 259 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 259 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:279:38 [INFO] [stdout] | [INFO] [stdout] 279 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 279 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 279 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/node.rs:296:38 [INFO] [stdout] | [INFO] [stdout] 296 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 296 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stdout] 296 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/visitor.rs:5:34 [INFO] [stdout] | [INFO] [stdout] 5 | fn visit(&mut self, node: &Box) -> NumberResult { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 - fn visit(&mut self, node: &Box) -> NumberResult { [INFO] [stdout] 5 + fn visit(&mut self, node: &Box) -> NumberResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:71:35 [INFO] [stdout] | [INFO] [stdout] 71 | let mut declarations: Vec> = vec![]; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 71 - let mut declarations: Vec> = vec![]; [INFO] [stdout] 71 + let mut declarations: Vec> = vec![]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:90:29 [INFO] [stdout] | [INFO] [stdout] 90 | let mut params: Vec> = vec![]; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 90 - let mut params: Vec> = vec![]; [INFO] [stdout] 90 + let mut params: Vec> = vec![]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:134:37 [INFO] [stdout] | [INFO] [stdout] 134 | let mut parameter_list: Vec> = vec![]; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 134 - let mut parameter_list: Vec> = vec![]; [INFO] [stdout] 134 + let mut parameter_list: Vec> = vec![]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:158:39 [INFO] [stdout] | [INFO] [stdout] 158 | let mut var_declarations: Vec> = vec![]; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 158 - let mut var_declarations: Vec> = vec![]; [INFO] [stdout] 158 + let mut var_declarations: Vec> = vec![]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `kind` [INFO] [stdout] --> src/utils/number.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | kind: NumberErrorKind, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `ParseNumberError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/utils/number.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/symbols/symbol.rs:70:14 [INFO] [stdout] | [INFO] [stdout] 70 | panic!(format!("Error, Invalid Symbol! {}", symbol)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 70 - panic!(format!("Error, Invalid Symbol! {}", symbol)); [INFO] [stdout] 70 + panic!("Error, Invalid Symbol! {}", symbol); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `kind` [INFO] [stdout] --> src/utils/number.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | kind: NumberErrorKind, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `ParseNumberError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/utils/number.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/symbols/symbol.rs:70:14 [INFO] [stdout] | [INFO] [stdout] 70 | panic!(format!("Error, Invalid Symbol! {}", symbol)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 70 - panic!(format!("Error, Invalid Symbol! {}", symbol)); [INFO] [stdout] 70 + panic!("Error, Invalid Symbol! {}", symbol); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 64 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 65 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 5.30s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/basic_interpreter-b74046910c00d759) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/basic_interpreter-e17debc0288cf38c) [INFO] [stderr] Executable tests/integration_tests.rs (/opt/rustwide/target/debug/deps/integration_tests-fb28f44a21855e19) [INFO] running `Command { std: "docker" "inspect" "7df75e7aee98270ae0dc41771dbbc177a8589300fe48fbfe29974e2702aac648", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7df75e7aee98270ae0dc41771dbbc177a8589300fe48fbfe29974e2702aac648", kill_on_drop: false }` [INFO] [stdout] 7df75e7aee98270ae0dc41771dbbc177a8589300fe48fbfe29974e2702aac648 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7ac25c57d46f601d0344db2693c6c2ecc20f8fd89a5dbbb68e4ae73dfe91fff9 [INFO] running `Command { std: "docker" "start" "-a" "7ac25c57d46f601d0344db2693c6c2ecc20f8fd89a5dbbb68e4ae73dfe91fff9", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/lexer/mod.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | / lazy_static! { [INFO] [stderr] 9 | | static ref RESERVED_WORDS: HashMap<&'static str, Token> = { [INFO] [stderr] 10 | | let mut reserved_words = HashMap::new(); [INFO] [stderr] 11 | | reserved_words.insert("PROGRAM", Program); [INFO] [stderr] ... | [INFO] [stderr] 20 | | }; [INFO] [stderr] 21 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ast/node.rs:49:17 [INFO] [stderr] | [INFO] [stderr] 49 | pub left: Box, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 49 - pub left: Box, [INFO] [stderr] 49 + pub left: Box, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ast/node.rs:50:18 [INFO] [stderr] | [INFO] [stderr] 50 | pub right: Box, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 50 - pub right: Box, [INFO] [stderr] 50 + pub right: Box, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ast/node.rs:108:17 [INFO] [stderr] | [INFO] [stderr] 108 | pub expr: Box, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 108 - pub expr: Box, [INFO] [stderr] 108 + pub expr: Box, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ast/node.rs:124:25 [INFO] [stderr] | [INFO] [stderr] 124 | pub children: Vec>, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 124 - pub children: Vec>, [INFO] [stderr] 124 + pub children: Vec>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ast/node.rs:140:23 [INFO] [stderr] | [INFO] [stderr] 140 | pub identifier: Box, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 140 - pub identifier: Box, [INFO] [stderr] 140 + pub identifier: Box, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ast/node.rs:141:17 [INFO] [stderr] | [INFO] [stderr] 141 | pub expr: Box, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 141 - pub expr: Box, [INFO] [stderr] 141 + pub expr: Box, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ast/node.rs:187:18 [INFO] [stderr] | [INFO] [stderr] 187 | pub block: Box, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 187 - pub block: Box, [INFO] [stderr] 187 + pub block: Box, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ast/node.rs:204:23 [INFO] [stderr] | [INFO] [stderr] 204 | pub params: Vec>, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 204 - pub params: Vec>, [INFO] [stderr] 204 + pub params: Vec>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ast/node.rs:205:18 [INFO] [stderr] | [INFO] [stderr] 205 | pub block: Box, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 205 - pub block: Box, [INFO] [stderr] 205 + pub block: Box, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ast/node.rs:245:29 [INFO] [stderr] | [INFO] [stderr] 245 | pub declarations: Vec>, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 245 - pub declarations: Vec>, [INFO] [stderr] 245 + pub declarations: Vec>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ast/node.rs:246:31 [INFO] [stderr] | [INFO] [stderr] 246 | pub compound_statement: Box, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 246 - pub compound_statement: Box, [INFO] [stderr] 246 + pub compound_statement: Box, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/interpreter/mod.rs:8:22 [INFO] [stderr] | [INFO] [stderr] 8 | pub root_node: Box, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 8 - pub root_node: Box, [INFO] [stderr] 8 + pub root_node: Box, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/interpreter/mod.rs:24:38 [INFO] [stderr] | [INFO] [stderr] 24 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 24 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stderr] 24 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser/mod.rs:42:32 [INFO] [stderr] | [INFO] [stderr] 42 | fn program(&mut self) -> Box { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 42 - fn program(&mut self) -> Box { [INFO] [stderr] 42 + fn program(&mut self) -> Box { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser/mod.rs:52:30 [INFO] [stderr] | [INFO] [stderr] 52 | fn block(&mut self) -> Box { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 52 - fn block(&mut self) -> Box { [INFO] [stderr] 52 + fn block(&mut self) -> Box { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser/mod.rs:59:43 [INFO] [stderr] | [INFO] [stderr] 59 | fn compound_statement(&mut self) -> Box { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 59 - fn compound_statement(&mut self) -> Box { [INFO] [stderr] 59 + fn compound_statement(&mut self) -> Box { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser/mod.rs:67:41 [INFO] [stderr] | [INFO] [stderr] 67 | fn declarations(&mut self) -> Vec> { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 67 - fn declarations(&mut self) -> Vec> { [INFO] [stderr] 67 + fn declarations(&mut self) -> Vec> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser/mod.rs:87:46 [INFO] [stderr] | [INFO] [stderr] 87 | fn procedure_declaration(&mut self) -> Box { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 87 - fn procedure_declaration(&mut self) -> Box { [INFO] [stderr] 87 + fn procedure_declaration(&mut self) -> Box { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser/mod.rs:106:50 [INFO] [stderr] | [INFO] [stderr] 106 | fn formal_parameter_list(&mut self) -> Vec> { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 106 - fn formal_parameter_list(&mut self) -> Vec> { [INFO] [stderr] 106 + fn formal_parameter_list(&mut self) -> Vec> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser/mod.rs:117:46 [INFO] [stderr] | [INFO] [stderr] 117 | fn formal_parameters(&mut self) -> Vec> { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 117 - fn formal_parameters(&mut self) -> Vec> { [INFO] [stderr] 117 + fn formal_parameters(&mut self) -> Vec> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser/mod.rs:141:49 [INFO] [stderr] | [INFO] [stderr] 141 | fn variable_declaration(&mut self) -> Vec> { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 141 - fn variable_declaration(&mut self) -> Vec> { [INFO] [stderr] 141 + fn variable_declaration(&mut self) -> Vec> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser/mod.rs:177:43 [INFO] [stderr] | [INFO] [stderr] 177 | fn statement_list(&mut self) -> Vec> { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 177 - fn statement_list(&mut self) -> Vec> { [INFO] [stderr] 177 + fn statement_list(&mut self) -> Vec> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser/mod.rs:196:34 [INFO] [stderr] | [INFO] [stderr] 196 | fn statement(&mut self) -> Box { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 196 - fn statement(&mut self) -> Box { [INFO] [stderr] 196 + fn statement(&mut self) -> Box { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser/mod.rs:206:45 [INFO] [stderr] | [INFO] [stderr] 206 | fn assignment_statement(&mut self) -> Box { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 206 - fn assignment_statement(&mut self) -> Box { [INFO] [stderr] 206 + fn assignment_statement(&mut self) -> Box { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser/mod.rs:226:26 [INFO] [stderr] | [INFO] [stderr] 226 | fn empty(&self) -> Box { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 226 - fn empty(&self) -> Box { [INFO] [stderr] 226 + fn empty(&self) -> Box { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser/mod.rs:229:31 [INFO] [stderr] | [INFO] [stderr] 229 | fn factor(&mut self) -> Box { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 229 - fn factor(&mut self) -> Box { [INFO] [stderr] 229 + fn factor(&mut self) -> Box { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser/mod.rs:262:29 [INFO] [stderr] | [INFO] [stderr] 262 | fn term(&mut self) -> Box { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 262 - fn term(&mut self) -> Box { [INFO] [stderr] 262 + fn term(&mut self) -> Box { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser/mod.rs:276:29 [INFO] [stderr] | [INFO] [stderr] 276 | fn expr(&mut self) -> Box { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 276 - fn expr(&mut self) -> Box { [INFO] [stderr] 276 + fn expr(&mut self) -> Box { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser/mod.rs:288:34 [INFO] [stderr] | [INFO] [stderr] 288 | pub fn parse(&mut self) -> Box { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 288 - pub fn parse(&mut self) -> Box { [INFO] [stderr] 288 + pub fn parse(&mut self) -> Box { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ast/node.rs:54:29 [INFO] [stderr] | [INFO] [stderr] 54 | pub fn to_string(node: &Box) -> String { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 54 - pub fn to_string(node: &Box) -> String { [INFO] [stderr] 54 + pub fn to_string(node: &Box) -> String { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ast/node.rs:9:38 [INFO] [stderr] | [INFO] [stderr] 9 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 9 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult; [INFO] [stderr] 9 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ast/node.rs:26:38 [INFO] [stderr] | [INFO] [stderr] 26 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 26 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stderr] 26 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ast/node.rs:43:38 [INFO] [stderr] | [INFO] [stderr] 43 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 43 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stderr] 43 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ast/node.rs:91:24 [INFO] [stderr] | [INFO] [stderr] 91 | pub fn new(left: Box, right: Box, operator: Token) -> Self { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 91 - pub fn new(left: Box, right: Box, operator: Token) -> Self { [INFO] [stderr] 91 + pub fn new(left: Box, right: Box, operator: Token) -> Self { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ast/node.rs:91:42 [INFO] [stderr] | [INFO] [stderr] 91 | pub fn new(left: Box, right: Box, operator: Token) -> Self { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 91 - pub fn new(left: Box, right: Box, operator: Token) -> Self { [INFO] [stderr] 91 + pub fn new(left: Box, right: Box, operator: Token) -> Self { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ast/node.rs:101:38 [INFO] [stderr] | [INFO] [stderr] 101 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 101 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stderr] 101 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ast/node.rs:112:41 [INFO] [stderr] | [INFO] [stderr] 112 | pub fn new(operator: Token, expr: Box) -> Self { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 112 - pub fn new(operator: Token, expr: Box) -> Self { [INFO] [stderr] 112 + pub fn new(operator: Token, expr: Box) -> Self { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ast/node.rs:118:38 [INFO] [stderr] | [INFO] [stderr] 118 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 118 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stderr] 118 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ast/node.rs:128:32 [INFO] [stderr] | [INFO] [stderr] 128 | pub fn new(children: Vec>) -> Self { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 128 - pub fn new(children: Vec>) -> Self { [INFO] [stderr] 128 + pub fn new(children: Vec>) -> Self { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ast/node.rs:134:38 [INFO] [stderr] | [INFO] [stderr] 134 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 134 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stderr] 134 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ast/node.rs:146:30 [INFO] [stderr] | [INFO] [stderr] 146 | pub fn new(identifier: Box, expr: Box, operator: Token) -> Self { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 146 - pub fn new(identifier: Box, expr: Box, operator: Token) -> Self { [INFO] [stderr] 146 + pub fn new(identifier: Box, expr: Box, operator: Token) -> Self { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ast/node.rs:146:47 [INFO] [stderr] | [INFO] [stderr] 146 | pub fn new(identifier: Box, expr: Box, operator: Token) -> Self { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 146 - pub fn new(identifier: Box, expr: Box, operator: Token) -> Self { [INFO] [stderr] 146 + pub fn new(identifier: Box, expr: Box, operator: Token) -> Self { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ast/node.rs:156:38 [INFO] [stderr] | [INFO] [stderr] 156 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 156 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stderr] 156 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ast/node.rs:172:38 [INFO] [stderr] | [INFO] [stderr] 172 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 172 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stderr] 172 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ast/node.rs:180:38 [INFO] [stderr] | [INFO] [stderr] 180 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 180 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stderr] 180 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ast/node.rs:191:44 [INFO] [stderr] | [INFO] [stderr] 191 | pub fn new(identifier: Token, block: Box) -> Self { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 191 - pub fn new(identifier: Token, block: Box) -> Self { [INFO] [stderr] 191 + pub fn new(identifier: Token, block: Box) -> Self { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ast/node.rs:197:38 [INFO] [stderr] | [INFO] [stderr] 197 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 197 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stderr] 197 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ast/node.rs:209:48 [INFO] [stderr] | [INFO] [stderr] 209 | pub fn new(proc_name: Token, params: Vec>, block: Box) -> Self { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 209 - pub fn new(proc_name: Token, params: Vec>, block: Box) -> Self { [INFO] [stderr] 209 + pub fn new(proc_name: Token, params: Vec>, block: Box) -> Self { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ast/node.rs:209:67 [INFO] [stderr] | [INFO] [stderr] 209 | pub fn new(proc_name: Token, params: Vec>, block: Box) -> Self { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 209 - pub fn new(proc_name: Token, params: Vec>, block: Box) -> Self { [INFO] [stderr] 209 + pub fn new(proc_name: Token, params: Vec>, block: Box) -> Self { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ast/node.rs:219:38 [INFO] [stderr] | [INFO] [stderr] 219 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 219 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stderr] 219 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ast/node.rs:239:38 [INFO] [stderr] | [INFO] [stderr] 239 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 239 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stderr] 239 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ast/node.rs:250:36 [INFO] [stderr] | [INFO] [stderr] 250 | pub fn new(declarations: Vec>, compound_statement: Box) -> Self { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 250 - pub fn new(declarations: Vec>, compound_statement: Box) -> Self { [INFO] [stderr] 250 + pub fn new(declarations: Vec>, compound_statement: Box) -> Self { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ast/node.rs:250:68 [INFO] [stderr] | [INFO] [stderr] 250 | pub fn new(declarations: Vec>, compound_statement: Box) -> Self { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 250 - pub fn new(declarations: Vec>, compound_statement: Box) -> Self { [INFO] [stderr] 250 + pub fn new(declarations: Vec>, compound_statement: Box) -> Self { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ast/node.rs:259:38 [INFO] [stderr] | [INFO] [stderr] 259 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 259 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stderr] 259 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ast/node.rs:279:38 [INFO] [stderr] | [INFO] [stderr] 279 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 279 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stderr] 279 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ast/node.rs:296:38 [INFO] [stderr] | [INFO] [stderr] 296 | fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 296 - fn accept(&mut self, visitor: &mut NodeVisitor) -> NumberResult { [INFO] [stderr] 296 + fn accept(&mut self, visitor: &mut dyn NodeVisitor) -> NumberResult { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ast/visitor.rs:5:34 [INFO] [stderr] | [INFO] [stderr] 5 | fn visit(&mut self, node: &Box) -> NumberResult { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 5 - fn visit(&mut self, node: &Box) -> NumberResult { [INFO] [stderr] 5 + fn visit(&mut self, node: &Box) -> NumberResult { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser/mod.rs:71:35 [INFO] [stderr] | [INFO] [stderr] 71 | let mut declarations: Vec> = vec![]; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 71 - let mut declarations: Vec> = vec![]; [INFO] [stderr] 71 + let mut declarations: Vec> = vec![]; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser/mod.rs:90:29 [INFO] [stderr] | [INFO] [stderr] 90 | let mut params: Vec> = vec![]; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 90 - let mut params: Vec> = vec![]; [INFO] [stderr] 90 + let mut params: Vec> = vec![]; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser/mod.rs:134:37 [INFO] [stderr] | [INFO] [stderr] 134 | let mut parameter_list: Vec> = vec![]; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 134 - let mut parameter_list: Vec> = vec![]; [INFO] [stderr] 134 + let mut parameter_list: Vec> = vec![]; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser/mod.rs:158:39 [INFO] [stderr] | [INFO] [stderr] 158 | let mut var_declarations: Vec> = vec![]; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 158 - let mut var_declarations: Vec> = vec![]; [INFO] [stderr] 158 + let mut var_declarations: Vec> = vec![]; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field is never read: `kind` [INFO] [stderr] --> src/utils/number.rs:7:3 [INFO] [stderr] | [INFO] [stderr] 7 | kind: NumberErrorKind, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `ParseNumberError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/utils/number.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/symbols/symbol.rs:70:14 [INFO] [stderr] | [INFO] [stderr] 70 | panic!(format!("Error, Invalid Symbol! {}", symbol)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 70 - panic!(format!("Error, Invalid Symbol! {}", symbol)); [INFO] [stderr] 70 + panic!("Error, Invalid Symbol! {}", symbol); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `basic-interpreter` (lib) generated 64 warnings [INFO] [stderr] warning: `basic-interpreter` (lib test) generated 64 warnings (64 duplicates) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:40:29 [INFO] [stderr] | [INFO] [stderr] 40 | fn main() -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 40 - fn main() -> Result<(), Box> { [INFO] [stderr] 40 + fn main() -> Result<(), Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ast/node.rs:49:17 [INFO] [stderr] | [INFO] [stderr] 49 | pub left: Box, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 49 - pub left: Box, [INFO] [stderr] 49 + pub left: Box, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `basic-interpreter` (bin "basic-interpreter" test) generated 65 warnings (63 duplicates) [INFO] [stderr] warning: `basic-interpreter` (bin "basic-interpreter") generated 65 warnings (65 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.77s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/basic_interpreter-b74046910c00d759) [INFO] [stdout] [INFO] [stdout] running 17 tests [INFO] [stdout] test lexer::tests::add_two_single_digit_numbers ... ok [INFO] [stdout] test lexer::tests::divide_two_real_numbers ... ok [INFO] [stdout] test lexer::tests::lex_assignment ... ok [INFO] [stdout] test lexer::tests::lex_expression_in_parens ... ok [INFO] [stdout] test lexer::tests::multiply_two_real_numbers ... ok [INFO] [stdout] test lexer::tests::lex_reserved_keywords ... ok [INFO] [stdout] test lexer::tests::multiply_two_single_digit_numbers ... ok [INFO] [stdout] test symbols::symbol::tests::build_builtin_integer_type ... ok [INFO] [stdout] test symbols::symbol::tests::build_builtin_real_type ... ok [INFO] [stdout] test symbols::symbol::tests::create_integer_variable ... ok [INFO] [stdout] test symbols::symbol::tests::create_real_variable ... ok [INFO] [stdout] test symbols::symbol::tests::define_and_lookup_integer ... ok [INFO] [stdout] test symbols::symbol::tests::define_and_lookup_real ... ok [INFO] [stdout] test symbols::symbol::tests::lookup_unknown_variable ... ok [INFO] [stdout] test lexer::tests::divide_two_integers ... ok [INFO] [stdout] test lexer::tests::lex_comment ... ok [INFO] [stdout] test symbols::symbol::tests::should_panic_build_invalid_builtin - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 17 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/basic_interpreter-e17debc0288cf38c) [INFO] [stdout] [INFO] [stdout] running 17 tests [INFO] [stdout] test lexer::tests::divide_two_integers ... ok [INFO] [stdout] test lexer::tests::add_two_single_digit_numbers ... ok [INFO] [stdout] test lexer::tests::lex_comment ... ok [INFO] [stdout] test symbols::symbol::tests::build_builtin_integer_type ... ok [INFO] [stdout] test symbols::symbol::tests::build_builtin_real_type ... ok [INFO] [stdout] test lexer::tests::lex_assignment ... ok [INFO] [stdout] test symbols::symbol::tests::define_and_lookup_integer ... ok [INFO] [stdout] test symbols::symbol::tests::define_and_lookup_real ... ok [INFO] [stdout] test symbols::symbol::tests::lookup_unknown_variable ... ok [INFO] [stdout] test lexer::tests::multiply_two_real_numbers ... ok [INFO] [stdout] test lexer::tests::lex_reserved_keywords ... ok [INFO] [stdout] test symbols::symbol::tests::create_integer_variable ... ok [INFO] [stdout] test symbols::symbol::tests::create_real_variable ... ok [INFO] [stdout] test lexer::tests::divide_two_real_numbers ... ok [INFO] [stdout] test lexer::tests::multiply_two_single_digit_numbers ... ok [INFO] [stdout] test lexer::tests::lex_expression_in_parens ... ok [INFO] [stdout] test symbols::symbol::tests::should_panic_build_invalid_builtin - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 17 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stderr] Running tests/integration_tests.rs (/opt/rustwide/target/debug/deps/integration_tests-fb28f44a21855e19) [INFO] [stdout] [INFO] [stdout] running 20 tests [INFO] [stdout] Symbol Table Info: [INFO] [stdout] Scope: Global Scope, Level: 1 [INFO] [stdout] Symbol Table Info: [INFO] [stdout] Scope: Global Scope, Level: 1 [INFO] [stdout] Symbol Table Info: [INFO] [stdout] Scope: Global Scope, Level: 1 [INFO] [stdout] Symbol Table Info: [INFO] [stdout] Scope: P1, Level: 2 [INFO] [stdout] Symbol Table Info: [INFO] [stdout] Scope: Global Scope, Level: 1 [INFO] [stdout] Symbol Table Info: [INFO] [stdout] Scope: Global Scope, Level: 1 [INFO] [stdout] Symbol Table Info: [INFO] [stdout] Scope: Global Scope, Level: 1 [INFO] [stdout] Symbol Table Info: [INFO] [stdout] Scope: Alpha, Level: 2 [INFO] [stdout] Symbol Table Info: [INFO] [stdout] Scope: Global Scope, Level: 1 [INFO] [stdout] Symbol Table Info: [INFO] [stdout] Scope: Alpha, Level: 2 [INFO] [stdout] Symbol Table Info: [INFO] [stdout] Scope: Global Scope, Level: 1 [INFO] [stdout] test tests::begin_then_end ... ok [INFO] [stdout] test tests::identifiers_can_start_with_underscore ... ok [INFO] [stdout] test tests::final_statement_does_not_require_semicolon ... ok [INFO] [stdout] Symbol Table Info: [INFO] [stdout] Scope: Global Scope, Level: 1 [INFO] [stdout] Symbol Table Info: [INFO] [stdout] Scope: Global Scope, Level: 1 [INFO] [stdout] Symbol Table Info: [INFO] [stdout] Scope: P1, Level: 2 [INFO] [stdout] Symbol Table Info: [INFO] [stdout] Scope: Global Scope, Level: 1 [INFO] [stdout] Symbol Table Info: [INFO] [stdout] Scope: Global Scope, Level: 1 [INFO] [stdout] test tests::evalutate_addition_and_multiplication ... ok [INFO] [stdout] Symbol Table Info: [INFO] [stdout] Scope: Global Scope, Level: 1 [INFO] [stdout] test tests::program_contains_integer_and_real_variables ... ok [INFO] [stdout] Symbol Table Info: [INFO] [stdout] Scope: Global Scope, Level: 1 [INFO] [stdout] test tests::program_contains_single_statement ... ok [INFO] [stdout] Symbol Table Info: [INFO] [stdout] Scope: Global Scope, Level: 1 [INFO] [stdout] test tests::reserved_words_can_be_in_either_case ... ok [INFO] [stdout] test tests::program_contains_a_compound_statement ... ok [INFO] [stdout] test tests::program_contains_a_compound_statement_with_trailing_statement ... ok [INFO] [stdout] test tests::evalutate_multiple_expression_statement ... ok [INFO] [stdout] test tests::program_contains_multiple_statements ... ok [INFO] [stdout] test tests::parse_procedure ... FAILED [INFO] [stdout] test tests::interpret_formal_parameter_ints ... FAILED [INFO] [stdout] test tests::interpret_multiple_formal_parameters ... FAILED [INFO] [stdout] test tests::parse_nested_procedure ... FAILED [INFO] [stdout] test tests::should_panic_identifiers_cannot_contain_underscores - should panic ... ok [INFO] [stdout] test tests::should_panic_assignment_requires_colon - should panic ... ok [INFO] [stdout] test tests::should_panic_compound_statement_with_trailing_statement_missing_semicolon - should panic ... ok [INFO] [stdout] test tests::should_panic_begin_then_end_without_period - should panic ... ok [INFO] [stdout] test tests::should_panic_assignment_only_has_one_equals_sign - should panic ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- tests::parse_procedure stdout ---- [INFO] [stdout] { REAL => REAL } [INFO] [stdout] { INTEGER => INTEGER } [INFO] [stdout] [INFO] [stdout] { REAL => REAL } [INFO] [stdout] { INTEGER => INTEGER } [INFO] [stdout] { a => a: INTEGER } [INFO] [stdout] [INFO] [stdout] thread 'tests::parse_procedure' panicked at 'assertion failed: `(left == right)` [INFO] [stdout] left: `Err("Found duplicate variable declaration for 'a'!")`, [INFO] [stdout] right: `Ok(Nil)`', tests/integration_tests.rs:261:5 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5569e3823e3d - std::backtrace_rs::backtrace::libunwind::trace::ha359b7f0090e2792 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x5569e3823e3d - std::backtrace_rs::backtrace::trace_unsynchronized::h0584631f25c1d70e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5569e3823e3d - std::sys_common::backtrace::_print_fmt::hdadffd97d279ff14 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x5569e3823e3d - ::fmt::h26f189e611080a74 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x5569e38481ac - core::fmt::write::hfb5d11dfe037e8b7 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/fmt/mod.rs:1194:17 [INFO] [stdout] 5: 0x5569e3820801 - std::io::Write::write_fmt::h6a24ec64406df9e2 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/io/mod.rs:1655:15 [INFO] [stdout] 6: 0x5569e3825b85 - std::sys_common::backtrace::_print::h7a0e44402913ba60 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x5569e3825b85 - std::sys_common::backtrace::print::h9767dc455a84e728 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x5569e3825b85 - std::panicking::default_hook::{{closure}}::h60afd6c8b12988ad [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x5569e3825874 - std::panicking::default_hook::ha7b9bac6813f9d21 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x5569e38260d2 - std::panicking::rust_panic_with_hook::h7b117a162a6f8664 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x5569e3825fb7 - std::panicking::begin_panic_handler::{{closure}}::h346750923c608600 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x5569e38242f4 - std::sys_common::backtrace::__rust_end_short_backtrace::h768c56c6a0c055c0 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x5569e3825ce9 - rust_begin_unwind [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x5569e36664e3 - core::panicking::panic_fmt::h5c41cb2fa118fdbc [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x5569e3846508 - core::panicking::assert_failed_inner::h337b271ded48bc15 [INFO] [stdout] 16: 0x5569e366939a - core::panicking::assert_failed::ha4d802d2ee3e4ddc [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panicking.rs:182:5 [INFO] [stdout] 17: 0x5569e3668520 - integration_tests::tests::parse_procedure::hdb62d06886ffd066 [INFO] [stdout] at /opt/rustwide/workdir/tests/integration_tests.rs:261:5 [INFO] [stdout] 18: 0x5569e36683fa - integration_tests::tests::parse_procedure::{{closure}}::ha2d99f54f8c7d5c2 [INFO] [stdout] at /opt/rustwide/workdir/tests/integration_tests.rs:242:3 [INFO] [stdout] 19: 0x5569e366916e - core::ops::function::FnOnce::call_once::h9a5bf6458bc4d688 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x5569e369e803 - core::ops::function::FnOnce::call_once::h018fc248431ce8de [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x5569e369e803 - test::__rust_begin_short_backtrace::h293b982b6069d6e3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:574:5 [INFO] [stdout] 22: 0x5569e369d5b9 - as core::ops::function::FnOnce>::call_once::h4fc1be1a762c7a46 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 23: 0x5569e369d5b9 - as core::ops::function::FnOnce<()>>::call_once::hd44623ec51b9e897 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 24: 0x5569e369d5b9 - std::panicking::try::do_call::ha8cfa4b025f5b832 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 25: 0x5569e369d5b9 - std::panicking::try::h664f75e41c112145 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 26: 0x5569e369d5b9 - std::panic::catch_unwind::h4932ec05cd60558e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 27: 0x5569e369d5b9 - test::run_test_in_process::ha14a47756671755c [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:597:18 [INFO] [stdout] 28: 0x5569e369d5b9 - test::run_test::run_test_inner::{{closure}}::h0ec9e37c8f67b62d [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:491:39 [INFO] [stdout] 29: 0x5569e366976e - test::run_test::run_test_inner::{{closure}}::hd9d2e7f26d4f59e6 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:518:37 [INFO] [stdout] 30: 0x5569e366976e - std::sys_common::backtrace::__rust_begin_short_backtrace::h41c0a39fac5123f8 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 31: 0x5569e366ecd8 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h69a02ca0bebb6eeb [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 32: 0x5569e366ecd8 - as core::ops::function::FnOnce<()>>::call_once::hdd05632920ce689b [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 33: 0x5569e366ecd8 - std::panicking::try::do_call::hb4947142729b90fd [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 34: 0x5569e366ecd8 - std::panicking::try::h15a7e9b8394e6878 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 35: 0x5569e366ecd8 - std::panic::catch_unwind::hbd3f4a3f9df49b85 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 36: 0x5569e366ecd8 - std::thread::Builder::spawn_unchecked_::{{closure}}::h880b5d5f1b9799f4 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 37: 0x5569e366ecd8 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h304d5eaf401f5061 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x5569e382a8e3 - as core::ops::function::FnOnce>::call_once::hdba7f2afed0c35b3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 39: 0x5569e382a8e3 - as core::ops::function::FnOnce>::call_once::h38b0832765bf7961 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 40: 0x5569e382a8e3 - std::sys::unix::thread::Thread::new::thread_start::h70236dc17753425e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 41: 0x7f52bf876609 - start_thread [INFO] [stdout] 42: 0x7f52bf646163 - clone [INFO] [stdout] 43: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::interpret_formal_parameter_ints stdout ---- [INFO] [stdout] { REAL => REAL } [INFO] [stdout] { INTEGER => INTEGER } [INFO] [stdout] { b => b: INTEGER } [INFO] [stdout] { a => a: INTEGER } [INFO] [stdout] [INFO] [stdout] { x => x: REAL } [INFO] [stdout] { INTEGER => INTEGER } [INFO] [stdout] { REAL => REAL } [INFO] [stdout] { y => y: REAL } [INFO] [stdout] [INFO] [stdout] thread 'tests::interpret_formal_parameter_ints' panicked at 'assertion failed: `(left == right)` [INFO] [stdout] left: `Err("Found duplicate variable declaration for 'y'!")`, [INFO] [stdout] right: `Ok(Nil)`', tests/integration_tests.rs:313:5 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5569e3823e3d - std::backtrace_rs::backtrace::libunwind::trace::ha359b7f0090e2792 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x5569e3823e3d - std::backtrace_rs::backtrace::trace_unsynchronized::h0584631f25c1d70e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5569e3823e3d - std::sys_common::backtrace::_print_fmt::hdadffd97d279ff14 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x5569e3823e3d - ::fmt::h26f189e611080a74 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x5569e38481ac - core::fmt::write::hfb5d11dfe037e8b7 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/fmt/mod.rs:1194:17 [INFO] [stdout] 5: 0x5569e3820801 - std::io::Write::write_fmt::h6a24ec64406df9e2 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/io/mod.rs:1655:15 [INFO] [stdout] 6: 0x5569e3825b85 - std::sys_common::backtrace::_print::h7a0e44402913ba60 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x5569e3825b85 - std::sys_common::backtrace::print::h9767dc455a84e728 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x5569e3825b85 - std::panicking::default_hook::{{closure}}::h60afd6c8b12988ad [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x5569e3825874 - std::panicking::default_hook::ha7b9bac6813f9d21 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x5569e38260d2 - std::panicking::rust_panic_with_hook::h7b117a162a6f8664 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x5569e3825fb7 - std::panicking::begin_panic_handler::{{closure}}::h346750923c608600 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x5569e38242f4 - std::sys_common::backtrace::__rust_end_short_backtrace::h768c56c6a0c055c0 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x5569e3825ce9 - rust_begin_unwind [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x5569e36664e3 - core::panicking::panic_fmt::h5c41cb2fa118fdbc [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x5569e3846508 - core::panicking::assert_failed_inner::h337b271ded48bc15 [INFO] [stdout] 16: 0x5569e366939a - core::panicking::assert_failed::ha4d802d2ee3e4ddc [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panicking.rs:182:5 [INFO] [stdout] 17: 0x5569e3668800 - integration_tests::tests::interpret_formal_parameter_ints::h36dfeda552f9d104 [INFO] [stdout] at /opt/rustwide/workdir/tests/integration_tests.rs:313:5 [INFO] [stdout] 18: 0x5569e36686da - integration_tests::tests::interpret_formal_parameter_ints::{{closure}}::ha021817b1d8265f7 [INFO] [stdout] at /opt/rustwide/workdir/tests/integration_tests.rs:296:3 [INFO] [stdout] 19: 0x5569e36691ae - core::ops::function::FnOnce::call_once::haf7bcdd6c9c24318 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x5569e369e803 - core::ops::function::FnOnce::call_once::h018fc248431ce8de [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x5569e369e803 - test::__rust_begin_short_backtrace::h293b982b6069d6e3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:574:5 [INFO] [stdout] 22: 0x5569e369d5b9 - as core::ops::function::FnOnce>::call_once::h4fc1be1a762c7a46 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 23: 0x5569e369d5b9 - as core::ops::function::FnOnce<()>>::call_once::hd44623ec51b9e897 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 24: 0x5569e369d5b9 - std::panicking::try::do_call::ha8cfa4b025f5b832 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 25: 0x5569e369d5b9 - std::panicking::try::h664f75e41c112145 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 26: 0x5569e369d5b9 - std::panic::catch_unwind::h4932ec05cd60558e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 27: 0x5569e369d5b9 - test::run_test_in_process::ha14a47756671755c [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:597:18 [INFO] [stdout] 28: 0x5569e369d5b9 - test::run_test::run_test_inner::{{closure}}::h0ec9e37c8f67b62d [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:491:39 [INFO] [stdout] 29: 0x5569e366976e - test::run_test::run_test_inner::{{closure}}::hd9d2e7f26d4f59e6 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:518:37 [INFO] [stdout] 30: 0x5569e366976e - std::sys_common::backtrace::__rust_begin_short_backtrace::h41c0a39fac5123f8 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 31: 0x5569e366ecd8 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h69a02ca0bebb6eeb [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 32: 0x5569e366ecd8 - as core::ops::function::FnOnce<()>>::call_once::hdd05632920ce689b [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 33: 0x5569e366ecd8 - std::panicking::try::do_call::hb4947142729b90fd [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 34: 0x5569e366ecd8 - std::panicking::try::h15a7e9b8394e6878 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 35: 0x5569e366ecd8 - std::panic::catch_unwind::hbd3f4a3f9df49b85 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 36: 0x5569e366ecd8 - std::thread::Builder::spawn_unchecked_::{{closure}}::h880b5d5f1b9799f4 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 37: 0x5569e366ecd8 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h304d5eaf401f5061 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x5569e382a8e3 - as core::ops::function::FnOnce>::call_once::hdba7f2afed0c35b3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 39: 0x5569e382a8e3 - as core::ops::function::FnOnce>::call_once::h38b0832765bf7961 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 40: 0x5569e382a8e3 - std::sys::unix::thread::Thread::new::thread_start::h70236dc17753425e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 41: 0x7f52bf876609 - start_thread [INFO] [stdout] 42: 0x7f52bf646163 - clone [INFO] [stdout] 43: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::interpret_multiple_formal_parameters stdout ---- [INFO] [stdout] { b => b: INTEGER } [INFO] [stdout] { REAL => REAL } [INFO] [stdout] { a => a: INTEGER } [INFO] [stdout] { c => c: REAL } [INFO] [stdout] { INTEGER => INTEGER } [INFO] [stdout] [INFO] [stdout] { y => y: REAL } [INFO] [stdout] { REAL => REAL } [INFO] [stdout] { x => x: REAL } [INFO] [stdout] { INTEGER => INTEGER } [INFO] [stdout] [INFO] [stdout] thread 'tests::interpret_multiple_formal_parameters' panicked at 'assertion failed: `(left == right)` [INFO] [stdout] left: `Err("Found duplicate variable declaration for 'y'!")`, [INFO] [stdout] right: `Ok(Nil)`', tests/integration_tests.rs:334:5 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5569e3823e3d - std::backtrace_rs::backtrace::libunwind::trace::ha359b7f0090e2792 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x5569e3823e3d - std::backtrace_rs::backtrace::trace_unsynchronized::h0584631f25c1d70e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5569e3823e3d - std::sys_common::backtrace::_print_fmt::hdadffd97d279ff14 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x5569e3823e3d - ::fmt::h26f189e611080a74 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x5569e38481ac - core::fmt::write::hfb5d11dfe037e8b7 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/fmt/mod.rs:1194:17 [INFO] [stdout] 5: 0x5569e3820801 - std::io::Write::write_fmt::h6a24ec64406df9e2 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/io/mod.rs:1655:15 [INFO] [stdout] 6: 0x5569e3825b85 - std::sys_common::backtrace::_print::h7a0e44402913ba60 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x5569e3825b85 - std::sys_common::backtrace::print::h9767dc455a84e728 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x5569e3825b85 - std::panicking::default_hook::{{closure}}::h60afd6c8b12988ad [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x5569e3825874 - std::panicking::default_hook::ha7b9bac6813f9d21 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x5569e38260d2 - std::panicking::rust_panic_with_hook::h7b117a162a6f8664 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x5569e3825fb7 - std::panicking::begin_panic_handler::{{closure}}::h346750923c608600 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x5569e38242f4 - std::sys_common::backtrace::__rust_end_short_backtrace::h768c56c6a0c055c0 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x5569e3825ce9 - rust_begin_unwind [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x5569e36664e3 - core::panicking::panic_fmt::h5c41cb2fa118fdbc [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x5569e3846508 - core::panicking::assert_failed_inner::h337b271ded48bc15 [INFO] [stdout] 16: 0x5569e366939a - core::panicking::assert_failed::ha4d802d2ee3e4ddc [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panicking.rs:182:5 [INFO] [stdout] 17: 0x5569e3668970 - integration_tests::tests::interpret_multiple_formal_parameters::h1866feef585b4f8d [INFO] [stdout] at /opt/rustwide/workdir/tests/integration_tests.rs:334:5 [INFO] [stdout] 18: 0x5569e366884a - integration_tests::tests::interpret_multiple_formal_parameters::{{closure}}::h6d256c78b1146c6c [INFO] [stdout] at /opt/rustwide/workdir/tests/integration_tests.rs:317:3 [INFO] [stdout] 19: 0x5569e36690ee - core::ops::function::FnOnce::call_once::h7817c14ceb999521 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x5569e369e803 - core::ops::function::FnOnce::call_once::h018fc248431ce8de [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x5569e369e803 - test::__rust_begin_short_backtrace::h293b982b6069d6e3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:574:5 [INFO] [stdout] 22: 0x5569e369d5b9 - as core::ops::function::FnOnce>::call_once::h4fc1be1a762c7a46 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 23: 0x5569e369d5b9 - as core::ops::function::FnOnce<()>>::call_once::hd44623ec51b9e897 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 24: 0x5569e369d5b9 - std::panicking::try::do_call::ha8cfa4b025f5b832 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 25: 0x5569e369d5b9 - std::panicking::try::h664f75e41c112145 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 26: 0x5569e369d5b9 - std::panic::catch_unwind::h4932ec05cd60558e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 27: 0x5569e369d5b9 - test::run_test_in_process::ha14a47756671755c [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:597:18 [INFO] [stdout] 28: 0x5569e369d5b9 - test::run_test::run_test_inner::{{closure}}::h0ec9e37c8f67b62d [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:491:39 [INFO] [stdout] 29: 0x5569e366976e - test::run_test::run_test_inner::{{closure}}::hd9d2e7f26d4f59e6 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:518:37 [INFO] [stdout] 30: 0x5569e366976e - std::sys_common::backtrace::__rust_begin_short_backtrace::h41c0a39fac5123f8 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 31: 0x5569e366ecd8 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h69a02ca0bebb6eeb [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 32: 0x5569e366ecd8 - as core::ops::function::FnOnce<()>>::call_once::hdd05632920ce689b [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 33: 0x5569e366ecd8 - std::panicking::try::do_call::hb4947142729b90fd [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 34: 0x5569e366ecd8 - std::panicking::try::h15a7e9b8394e6878 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 35: 0x5569e366ecd8 - std::panic::catch_unwind::hbd3f4a3f9df49b85 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 36: 0x5569e366ecd8 - std::thread::Builder::spawn_unchecked_::{{closure}}::h880b5d5f1b9799f4 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 37: 0x5569e366ecd8 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h304d5eaf401f5061 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x5569e382a8e3 - as core::ops::function::FnOnce>::call_once::hdba7f2afed0c35b3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 39: 0x5569e382a8e3 - as core::ops::function::FnOnce>::call_once::h38b0832765bf7961 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 40: 0x5569e382a8e3 - std::sys::unix::thread::Thread::new::thread_start::h70236dc17753425e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 41: 0x7f52bf876609 - start_thread [INFO] [stdout] 42: 0x7f52bf646163 - clone [INFO] [stdout] 43: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::parse_nested_procedure stdout ---- [INFO] [stdout] { REAL => REAL } [INFO] [stdout] { INTEGER => INTEGER } [INFO] [stdout] [INFO] [stdout] { INTEGER => INTEGER } [INFO] [stdout] { REAL => REAL } [INFO] [stdout] { a => a: INTEGER } [INFO] [stdout] [INFO] [stdout] thread 'tests::parse_nested_procedure' panicked at 'assertion failed: `(left == right)` [INFO] [stdout] left: `Err("Found duplicate variable declaration for 'a'!")`, [INFO] [stdout] right: `Ok(Nil)`', tests/integration_tests.rs:292:5 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5569e3823e3d - std::backtrace_rs::backtrace::libunwind::trace::ha359b7f0090e2792 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x5569e3823e3d - std::backtrace_rs::backtrace::trace_unsynchronized::h0584631f25c1d70e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5569e3823e3d - std::sys_common::backtrace::_print_fmt::hdadffd97d279ff14 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x5569e3823e3d - ::fmt::h26f189e611080a74 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x5569e38481ac - core::fmt::write::hfb5d11dfe037e8b7 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/fmt/mod.rs:1194:17 [INFO] [stdout] 5: 0x5569e3820801 - std::io::Write::write_fmt::h6a24ec64406df9e2 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/io/mod.rs:1655:15 [INFO] [stdout] 6: 0x5569e3825b85 - std::sys_common::backtrace::_print::h7a0e44402913ba60 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x5569e3825b85 - std::sys_common::backtrace::print::h9767dc455a84e728 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x5569e3825b85 - std::panicking::default_hook::{{closure}}::h60afd6c8b12988ad [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x5569e3825874 - std::panicking::default_hook::ha7b9bac6813f9d21 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x5569e38260d2 - std::panicking::rust_panic_with_hook::h7b117a162a6f8664 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x5569e3825fb7 - std::panicking::begin_panic_handler::{{closure}}::h346750923c608600 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x5569e38242f4 - std::sys_common::backtrace::__rust_end_short_backtrace::h768c56c6a0c055c0 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x5569e3825ce9 - rust_begin_unwind [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x5569e36664e3 - core::panicking::panic_fmt::h5c41cb2fa118fdbc [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x5569e3846508 - core::panicking::assert_failed_inner::h337b271ded48bc15 [INFO] [stdout] 16: 0x5569e366939a - core::panicking::assert_failed::ha4d802d2ee3e4ddc [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panicking.rs:182:5 [INFO] [stdout] 17: 0x5569e3668690 - integration_tests::tests::parse_nested_procedure::h57412bdd82bf6e22 [INFO] [stdout] at /opt/rustwide/workdir/tests/integration_tests.rs:292:5 [INFO] [stdout] 18: 0x5569e366856a - integration_tests::tests::parse_nested_procedure::{{closure}}::h36a7d41109897016 [INFO] [stdout] at /opt/rustwide/workdir/tests/integration_tests.rs:265:3 [INFO] [stdout] 19: 0x5569e3668d9e - core::ops::function::FnOnce::call_once::h069bdce74115aa29 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x5569e369e803 - core::ops::function::FnOnce::call_once::h018fc248431ce8de [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x5569e369e803 - test::__rust_begin_short_backtrace::h293b982b6069d6e3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:574:5 [INFO] [stdout] 22: 0x5569e369d5b9 - as core::ops::function::FnOnce>::call_once::h4fc1be1a762c7a46 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 23: 0x5569e369d5b9 - as core::ops::function::FnOnce<()>>::call_once::hd44623ec51b9e897 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 24: 0x5569e369d5b9 - std::panicking::try::do_call::ha8cfa4b025f5b832 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 25: 0x5569e369d5b9 - std::panicking::try::h664f75e41c112145 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 26: 0x5569e369d5b9 - std::panic::catch_unwind::h4932ec05cd60558e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 27: 0x5569e369d5b9 - test::run_test_in_process::ha14a47756671755c [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:597:18 [INFO] [stdout] 28: 0x5569e369d5b9 - test::run_test::run_test_inner::{{closure}}::h0ec9e37c8f67b62d [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:491:39 [INFO] [stdout] 29: 0x5569e366976e - test::run_test::run_test_inner::{{closure}}::hd9d2e7f26d4f59e6 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:518:37 [INFO] [stdout] 30: 0x5569e366976e - std::sys_common::backtrace::__rust_begin_short_backtrace::h41c0a39fac5123f8 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 31: 0x5569e366ecd8 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h69a02ca0bebb6eeb [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 32: 0x5569e366ecd8 - as core::ops::function::FnOnce<()>>::call_once::hdd05632920ce689b [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 33: 0x5569e366ecd8 - std::panicking::try::do_call::hb4947142729b90fd [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 34: 0x5569e366ecd8 - std::panicking::try::h15a7e9b8394e6878 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 35: 0x5569e366ecd8 - std::panic::catch_unwind::hbd3f4a3f9df49b85 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 36: 0x5569e366ecd8 - std::thread::Builder::spawn_unchecked_::{{closure}}::h880b5d5f1b9799f4 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 37: 0x5569e366ecd8 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h304d5eaf401f5061 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x5569e382a8e3 - as core::ops::function::FnOnce>::call_once::hdba7f2afed0c35b3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 39: 0x5569e382a8e3 - as core::ops::function::FnOnce>::call_once::h38b0832765bf7961 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 40: 0x5569e382a8e3 - std::sys::unix::thread::Thread::new::thread_start::h70236dc17753425e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 41: 0x7f52bf876609 - start_thread [INFO] [stdout] 42: 0x7f52bf646163 - clone [INFO] [stdout] 43: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] tests::interpret_formal_parameter_ints [INFO] [stdout] tests::interpret_multiple_formal_parameters [INFO] [stdout] tests::parse_nested_procedure [INFO] [stdout] tests::parse_procedure [INFO] [stdout] [INFO] [stdout] test result: FAILED. 16 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.17s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--test integration_tests' [INFO] running `Command { std: "docker" "inspect" "7ac25c57d46f601d0344db2693c6c2ecc20f8fd89a5dbbb68e4ae73dfe91fff9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ac25c57d46f601d0344db2693c6c2ecc20f8fd89a5dbbb68e4ae73dfe91fff9", kill_on_drop: false }` [INFO] [stdout] 7ac25c57d46f601d0344db2693c6c2ecc20f8fd89a5dbbb68e4ae73dfe91fff9