[INFO] cloning repository https://github.com/shahuwang/Rustparse [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shahuwang/Rustparse" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshahuwang%2FRustparse", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshahuwang%2FRustparse'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bb31d897e59dd4d4e70c3edb04f20e68c04cb846 [INFO] checking shahuwang/Rustparse against master#3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 for pr-65819 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshahuwang%2FRustparse" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/shahuwang/Rustparse on toolchain 3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/shahuwang/Rustparse [INFO] finished tweaking git repo https://github.com/shahuwang/Rustparse [INFO] tweaked toml for git repo https://github.com/shahuwang/Rustparse written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/shahuwang/Rustparse already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-11/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c2c286b42581c7c20b70edd44b4976515b9a30351f09462f7390a7863a50f214 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c2c286b42581c7c20b70edd44b4976515b9a30351f09462f7390a7863a50f214", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c2c286b42581c7c20b70edd44b4976515b9a30351f09462f7390a7863a50f214", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2c286b42581c7c20b70edd44b4976515b9a30351f09462f7390a7863a50f214", kill_on_drop: false }` [INFO] [stdout] c2c286b42581c7c20b70edd44b4976515b9a30351f09462f7390a7863a50f214 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de71c34d7ce542148f61fc7ffc006c560abb516fe1288c94b76c9ac7e7cf901f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "de71c34d7ce542148f61fc7ffc006c560abb516fe1288c94b76c9ac7e7cf901f", kill_on_drop: false }` [INFO] [stderr] Checking lazy_static v0.1.16 [INFO] [stderr] Checking parse v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/parse/node.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/parse/node.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/parse/node.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/parse/node.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `posTrait` should have an upper camel case name [INFO] [stdout] --> src/parse/node.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | trait posTrait{ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `PosTrait` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parse/node.rs:40:23 [INFO] [stdout] | [INFO] [stdout] 40 | fn match_node U>(node: &NodeType, f:F) -> Option{ [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Node` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parse/node.rs:67:25 [INFO] [stdout] | [INFO] [stdout] 67 | let f = |n:&Node|->String{ [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parse/lex.rs:259:27 [INFO] [stdout] | [INFO] [stdout] 259 | let mut state:Box; [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn StateFn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parse/lex.rs:303:49 [INFO] [stdout] | [INFO] [stdout] 303 | fn scan(&self, l: &mut Lexer) -> Option>; [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn StateFn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parse/lex.rs:308:49 [INFO] [stdout] | [INFO] [stdout] 308 | fn scan(&self, l: &mut Lexer) -> Option>{ [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn StateFn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parse/lex.rs:333:46 [INFO] [stdout] | [INFO] [stdout] 333 | fn scan(&self, l:&mut Lexer)->Option>{ [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn StateFn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parse/lex.rs:347:46 [INFO] [stdout] | [INFO] [stdout] 347 | fn scan(&self, l:&mut Lexer)->Option>{ [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn StateFn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parse/lex.rs:356:46 [INFO] [stdout] | [INFO] [stdout] 356 | fn scan(&self, l:&mut Lexer)->Option>{ [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn StateFn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parse/lex.rs:384:46 [INFO] [stdout] | [INFO] [stdout] 384 | fn scan(&self, l:&mut Lexer)->Option>{ [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn StateFn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parse/lex.rs:407:46 [INFO] [stdout] | [INFO] [stdout] 407 | fn scan(&self, l:&mut Lexer)->Option>{ [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn StateFn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parse/lex.rs:497:48 [INFO] [stdout] | [INFO] [stdout] 497 | fn scan(&self, l:&mut Lexer) -> Option>{ [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn StateFn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parse/lex.rs:533:48 [INFO] [stdout] | [INFO] [stdout] 533 | fn scan(&self, l:&mut Lexer) -> Option>{ [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn StateFn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parse/lex.rs:552:48 [INFO] [stdout] | [INFO] [stdout] 552 | fn scan(&self, l:&mut Lexer) -> Option>{ [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn StateFn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parse/lex.rs:562:48 [INFO] [stdout] | [INFO] [stdout] 562 | fn scan(&self, l:&mut Lexer) -> Option>{ [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn StateFn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parse/lex.rs:596:48 [INFO] [stdout] | [INFO] [stdout] 596 | fn scan(&self, l:&mut Lexer) -> Option>{ [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn StateFn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parse/lex.rs:601:72 [INFO] [stdout] | [INFO] [stdout] 601 | fn state_field_or_variable(l: &mut Lexer, typ: ItemType) -> Option>{ [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn StateFn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parse/lex.rs:629:48 [INFO] [stdout] | [INFO] [stdout] 629 | fn scan(&self, l:&mut Lexer) -> Option>{ [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn StateFn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parse/lex.rs:659:48 [INFO] [stdout] | [INFO] [stdout] 659 | fn scan(&self, l:&mut Lexer) -> Option>{ [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn StateFn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parse::lex::*` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use parse::lex::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parse::parse::*` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use parse::parse::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parse::node::*` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use parse::node::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/parse/node.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/parse/node.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/parse/node.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/parse/node.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `posTrait` should have an upper camel case name [INFO] [stdout] --> src/parse/node.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | trait posTrait{ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `PosTrait` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parse/node.rs:40:23 [INFO] [stdout] | [INFO] [stdout] 40 | fn match_node U>(node: &NodeType, f:F) -> Option{ [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Node` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parse/node.rs:67:25 [INFO] [stdout] | [INFO] [stdout] 67 | let f = |n:&Node|->String{ [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parse/lex.rs:259:27 [INFO] [stdout] | [INFO] [stdout] 259 | let mut state:Box; [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn StateFn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parse/lex.rs:303:49 [INFO] [stdout] | [INFO] [stdout] 303 | fn scan(&self, l: &mut Lexer) -> Option>; [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn StateFn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parse/lex.rs:308:49 [INFO] [stdout] | [INFO] [stdout] 308 | fn scan(&self, l: &mut Lexer) -> Option>{ [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn StateFn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parse/lex.rs:333:46 [INFO] [stdout] | [INFO] [stdout] 333 | fn scan(&self, l:&mut Lexer)->Option>{ [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn StateFn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parse/lex.rs:347:46 [INFO] [stdout] | [INFO] [stdout] 347 | fn scan(&self, l:&mut Lexer)->Option>{ [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn StateFn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parse/lex.rs:356:46 [INFO] [stdout] | [INFO] [stdout] 356 | fn scan(&self, l:&mut Lexer)->Option>{ [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn StateFn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parse/lex.rs:384:46 [INFO] [stdout] | [INFO] [stdout] 384 | fn scan(&self, l:&mut Lexer)->Option>{ [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn StateFn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parse/lex.rs:407:46 [INFO] [stdout] | [INFO] [stdout] 407 | fn scan(&self, l:&mut Lexer)->Option>{ [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn StateFn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parse/lex.rs:497:48 [INFO] [stdout] | [INFO] [stdout] 497 | fn scan(&self, l:&mut Lexer) -> Option>{ [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn StateFn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parse/lex.rs:533:48 [INFO] [stdout] | [INFO] [stdout] 533 | fn scan(&self, l:&mut Lexer) -> Option>{ [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn StateFn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parse/lex.rs:552:48 [INFO] [stdout] | [INFO] [stdout] 552 | fn scan(&self, l:&mut Lexer) -> Option>{ [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn StateFn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parse/lex.rs:562:48 [INFO] [stdout] | [INFO] [stdout] 562 | fn scan(&self, l:&mut Lexer) -> Option>{ [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn StateFn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parse/lex.rs:596:48 [INFO] [stdout] | [INFO] [stdout] 596 | fn scan(&self, l:&mut Lexer) -> Option>{ [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn StateFn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parse/lex.rs:601:72 [INFO] [stdout] | [INFO] [stdout] 601 | fn state_field_or_variable(l: &mut Lexer, typ: ItemType) -> Option>{ [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn StateFn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parse/lex.rs:629:48 [INFO] [stdout] | [INFO] [stdout] 629 | fn scan(&self, l:&mut Lexer) -> Option>{ [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn StateFn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parse/lex.rs:659:48 [INFO] [stdout] | [INFO] [stdout] 659 | fn scan(&self, l:&mut Lexer) -> Option>{ [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn StateFn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parse::lex::*` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use parse::lex::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parse::parse::*` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use parse::parse::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parse::node::*` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use parse::node::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn node::Node + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/parse/node.rs:40:20 [INFO] [stdout] | [INFO] [stdout] 40 | fn match_node U>(node: &NodeType, f:F) -> Option{ [INFO] [stdout] | ^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `((dyn node::Node + 'static),)`, the trait `Sized` is not implemented for `(dyn node::Node + 'static)` [INFO] [stdout] = note: required because it appears within the type `((dyn node::Node + 'static),)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn node::Node + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/parse/node.rs:40:20 [INFO] [stdout] | [INFO] [stdout] 40 | fn match_node U>(node: &NodeType, f:F) -> Option{ [INFO] [stdout] | ^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `((dyn node::Node + 'static),)`, the trait `Sized` is not implemented for `(dyn node::Node + 'static)` [INFO] [stdout] = note: required because it appears within the type `((dyn node::Node + 'static),)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `parse` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "de71c34d7ce542148f61fc7ffc006c560abb516fe1288c94b76c9ac7e7cf901f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de71c34d7ce542148f61fc7ffc006c560abb516fe1288c94b76c9ac7e7cf901f", kill_on_drop: false }` [INFO] [stdout] de71c34d7ce542148f61fc7ffc006c560abb516fe1288c94b76c9ac7e7cf901f