[INFO] cloning repository https://github.com/RyosukeCla/parser-combinator-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RyosukeCla/parser-combinator-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRyosukeCla%2Fparser-combinator-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRyosukeCla%2Fparser-combinator-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 22562e349a512a6cf1c34af09fbaf7b26e16de6b [INFO] testing RyosukeCla/parser-combinator-rs against 1.55.0 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRyosukeCla%2Fparser-combinator-rs" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/RyosukeCla/parser-combinator-rs on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/RyosukeCla/parser-combinator-rs [INFO] finished tweaking git repo https://github.com/RyosukeCla/parser-combinator-rs [INFO] tweaked toml for git repo https://github.com/RyosukeCla/parser-combinator-rs written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/RyosukeCla/parser-combinator-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e6792e4d6c722d12a1e29db77cc697326bbf5640e9dcbab3271927d65fc7bf23 [INFO] running `Command { std: "docker" "start" "-a" "e6792e4d6c722d12a1e29db77cc697326bbf5640e9dcbab3271927d65fc7bf23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e6792e4d6c722d12a1e29db77cc697326bbf5640e9dcbab3271927d65fc7bf23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6792e4d6c722d12a1e29db77cc697326bbf5640e9dcbab3271927d65fc7bf23", kill_on_drop: false }` [INFO] [stdout] e6792e4d6c722d12a1e29db77cc697326bbf5640e9dcbab3271927d65fc7bf23 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc4278f241c66742c9b7456a0c5c0667ccd74d530c4ef4841809017de81177f7 [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" "dc4278f241c66742c9b7456a0c5c0667ccd74d530c4ef4841809017de81177f7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.45 [INFO] [stderr] Compiling memchr v2.1.2 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Compiling parser_comb v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/base.rs:44:30 [INFO] [stdout] | [INFO] [stdout] 44 | fn box_clone(&self) -> Box>; [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/char.rs:22:30 [INFO] [stdout] | [INFO] [stdout] 22 | fn box_clone(&self) -> Box> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/choice.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | parsers: Vec>>, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/choice.rs:21:30 [INFO] [stdout] | [INFO] [stdout] 21 | fn box_clone(&self) -> Box> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/choice.rs:22:30 [INFO] [stdout] | [INFO] [stdout] 22 | let mut parsers: Vec>> = vec![]; [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/identity_map.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | parser: Box>, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/identity_map.rs:18:30 [INFO] [stdout] | [INFO] [stdout] 18 | fn box_clone(&self) -> Box> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/lazy.rs:6:33 [INFO] [stdout] | [INFO] [stdout] 6 | parser: Rc>>>>, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/lazy.rs:26:30 [INFO] [stdout] | [INFO] [stdout] 26 | fn box_clone(&self) -> Box> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/many.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | parser: Box>, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/many.rs:14:30 [INFO] [stdout] | [INFO] [stdout] 14 | fn box_clone(&self) -> Box> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/map.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | parser: Box>, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/map.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | mapper: Rc) -> Node>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Node) -> Node` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/map.rs:22:30 [INFO] [stdout] | [INFO] [stdout] 22 | fn box_clone(&self) -> Box> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/opt.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | parser: Box>, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/opt.rs:14:30 [INFO] [stdout] | [INFO] [stdout] 14 | fn box_clone(&self) -> Box> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/regexp.rs:24:30 [INFO] [stdout] | [INFO] [stdout] 24 | fn box_clone(&self) -> Box> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/seq.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | parsers: Vec>>, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/seq.rs:21:30 [INFO] [stdout] | [INFO] [stdout] 21 | fn box_clone(&self) -> Box> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/seq.rs:22:30 [INFO] [stdout] | [INFO] [stdout] 22 | let mut parsers: Vec>> = vec![]; [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/token.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | fn box_clone(&self) -> Box> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:53:19 [INFO] [stdout] | [INFO] [stdout] 53 | pub parser: Box>, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:69:30 [INFO] [stdout] | [INFO] [stdout] 69 | fn box_clone(&self) -> Box> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.47s [INFO] running `Command { std: "docker" "inspect" "dc4278f241c66742c9b7456a0c5c0667ccd74d530c4ef4841809017de81177f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc4278f241c66742c9b7456a0c5c0667ccd74d530c4ef4841809017de81177f7", kill_on_drop: false }` [INFO] [stdout] dc4278f241c66742c9b7456a0c5c0667ccd74d530c4ef4841809017de81177f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f5f23b95b4a8341b6ddbdfcc8e86473f337dac3b5960d87b07f536b05a4a794d [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" "f5f23b95b4a8341b6ddbdfcc8e86473f337dac3b5960d87b07f536b05a4a794d", kill_on_drop: false }` [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/base.rs:44:30 [INFO] [stdout] | [INFO] [stdout] 44 | fn box_clone(&self) -> Box>; [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/char.rs:22:30 [INFO] [stdout] | [INFO] [stdout] 22 | fn box_clone(&self) -> Box> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/choice.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | parsers: Vec>>, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/choice.rs:21:30 [INFO] [stdout] | [INFO] [stdout] 21 | fn box_clone(&self) -> Box> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/choice.rs:22:30 [INFO] [stdout] | [INFO] [stdout] 22 | let mut parsers: Vec>> = vec![]; [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/identity_map.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | parser: Box>, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/identity_map.rs:18:30 [INFO] [stdout] | [INFO] [stdout] 18 | fn box_clone(&self) -> Box> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/lazy.rs:6:33 [INFO] [stdout] | [INFO] [stdout] 6 | parser: Rc>>>>, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/lazy.rs:26:30 [INFO] [stdout] | [INFO] [stdout] 26 | fn box_clone(&self) -> Box> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/many.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | parser: Box>, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/many.rs:14:30 [INFO] [stdout] | [INFO] [stdout] 14 | fn box_clone(&self) -> Box> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/map.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | parser: Box>, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/map.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | mapper: Rc) -> Node>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Node) -> Node` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/map.rs:22:30 [INFO] [stdout] | [INFO] [stdout] 22 | fn box_clone(&self) -> Box> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/opt.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | parser: Box>, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/opt.rs:14:30 [INFO] [stdout] | [INFO] [stdout] 14 | fn box_clone(&self) -> Box> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/regexp.rs:24:30 [INFO] [stdout] | [INFO] [stdout] 24 | fn box_clone(&self) -> Box> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/seq.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | parsers: Vec>>, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/seq.rs:21:30 [INFO] [stdout] | [INFO] [stdout] 21 | fn box_clone(&self) -> Box> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/seq.rs:22:30 [INFO] [stdout] | [INFO] [stdout] 22 | let mut parsers: Vec>> = vec![]; [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/token.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | fn box_clone(&self) -> Box> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:53:19 [INFO] [stdout] | [INFO] [stdout] 53 | pub parser: Box>, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:69:30 [INFO] [stdout] | [INFO] [stdout] 69 | fn box_clone(&self) -> Box> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling parser_comb v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> examples/clang.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parser_comb::parser::map::Map` [INFO] [stdout] --> examples/clang.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use parser_comb::parser::map::Map; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Node`, `Type`, `debug_parse`, `filter`, `map`, `type_map`, `unwrap` [INFO] [stdout] --> examples/clang.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | char, choice, debug_parse, exclude_empty, extract, filter, flatten, identity_map, kind, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] 6 | kind_ignore, lazy, many, many1, map, opt, regexp, sep, seq, token, trim, type_map, unwrap, wrap, [INFO] [stdout] | ^^^ ^^^^^^^^ ^^^^^^ [INFO] [stdout] 7 | Node, Parser, ParserCombinator, Type, [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/base.rs:44:30 [INFO] [stdout] | [INFO] [stdout] 44 | fn box_clone(&self) -> Box>; [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/char.rs:22:30 [INFO] [stdout] | [INFO] [stdout] 22 | fn box_clone(&self) -> Box> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/choice.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | parsers: Vec>>, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/choice.rs:21:30 [INFO] [stdout] | [INFO] [stdout] 21 | fn box_clone(&self) -> Box> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/choice.rs:22:30 [INFO] [stdout] | [INFO] [stdout] 22 | let mut parsers: Vec>> = vec![]; [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/identity_map.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | parser: Box>, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/identity_map.rs:18:30 [INFO] [stdout] | [INFO] [stdout] 18 | fn box_clone(&self) -> Box> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/lazy.rs:6:33 [INFO] [stdout] | [INFO] [stdout] 6 | parser: Rc>>>>, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/lazy.rs:26:30 [INFO] [stdout] | [INFO] [stdout] 26 | fn box_clone(&self) -> Box> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/many.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | parser: Box>, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/many.rs:14:30 [INFO] [stdout] | [INFO] [stdout] 14 | fn box_clone(&self) -> Box> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/map.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | parser: Box>, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/map.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | mapper: Rc) -> Node>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Node) -> Node` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/map.rs:22:30 [INFO] [stdout] | [INFO] [stdout] 22 | fn box_clone(&self) -> Box> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/opt.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | parser: Box>, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/opt.rs:14:30 [INFO] [stdout] | [INFO] [stdout] 14 | fn box_clone(&self) -> Box> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/regexp.rs:24:30 [INFO] [stdout] | [INFO] [stdout] 24 | fn box_clone(&self) -> Box> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/seq.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | parsers: Vec>>, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/seq.rs:21:30 [INFO] [stdout] | [INFO] [stdout] 21 | fn box_clone(&self) -> Box> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/seq.rs:22:30 [INFO] [stdout] | [INFO] [stdout] 22 | let mut parsers: Vec>> = vec![]; [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/token.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | fn box_clone(&self) -> Box> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:53:19 [INFO] [stdout] | [INFO] [stdout] 53 | pub parser: Box>, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:69:30 [INFO] [stdout] | [INFO] [stdout] 69 | fn box_clone(&self) -> Box> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Parser` [INFO] [stdout] --> examples/clang.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | Node, Parser, ParserCombinator, Type, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.65s [INFO] running `Command { std: "docker" "inspect" "f5f23b95b4a8341b6ddbdfcc8e86473f337dac3b5960d87b07f536b05a4a794d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5f23b95b4a8341b6ddbdfcc8e86473f337dac3b5960d87b07f536b05a4a794d", kill_on_drop: false }` [INFO] [stdout] f5f23b95b4a8341b6ddbdfcc8e86473f337dac3b5960d87b07f536b05a4a794d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 215842fdbb5fce45d095a299b5fda196a88cd3c12fb858def5535f2ca62d0cbe [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" "215842fdbb5fce45d095a299b5fda196a88cd3c12fb858def5535f2ca62d0cbe", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser/base.rs:44:30 [INFO] [stderr] | [INFO] [stderr] 44 | fn box_clone(&self) -> Box>; [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser/char.rs:22:30 [INFO] [stderr] | [INFO] [stderr] 22 | fn box_clone(&self) -> Box> { [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser/choice.rs:4:20 [INFO] [stderr] | [INFO] [stderr] 4 | parsers: Vec>>, [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser/choice.rs:21:30 [INFO] [stderr] | [INFO] [stderr] 21 | fn box_clone(&self) -> Box> { [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser/choice.rs:22:30 [INFO] [stderr] | [INFO] [stderr] 22 | let mut parsers: Vec>> = vec![]; [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser/identity_map.rs:4:15 [INFO] [stderr] | [INFO] [stderr] 4 | parser: Box>, [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser/identity_map.rs:18:30 [INFO] [stderr] | [INFO] [stderr] 18 | fn box_clone(&self) -> Box> { [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser/lazy.rs:6:33 [INFO] [stderr] | [INFO] [stderr] 6 | parser: Rc>>>>, [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser/lazy.rs:26:30 [INFO] [stderr] | [INFO] [stderr] 26 | fn box_clone(&self) -> Box> { [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser/many.rs:4:15 [INFO] [stderr] | [INFO] [stderr] 4 | parser: Box>, [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser/many.rs:14:30 [INFO] [stderr] | [INFO] [stderr] 14 | fn box_clone(&self) -> Box> { [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser/map.rs:5:15 [INFO] [stderr] | [INFO] [stderr] 5 | parser: Box>, [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser/map.rs:6:18 [INFO] [stderr] | [INFO] [stderr] 6 | mapper: Rc) -> Node>>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Node) -> Node` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser/map.rs:22:30 [INFO] [stderr] | [INFO] [stderr] 22 | fn box_clone(&self) -> Box> { [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser/opt.rs:4:15 [INFO] [stderr] | [INFO] [stderr] 4 | parser: Box>, [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser/opt.rs:14:30 [INFO] [stderr] | [INFO] [stderr] 14 | fn box_clone(&self) -> Box> { [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser/regexp.rs:24:30 [INFO] [stderr] | [INFO] [stderr] 24 | fn box_clone(&self) -> Box> { [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser/seq.rs:4:20 [INFO] [stderr] | [INFO] [stderr] 4 | parsers: Vec>>, [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser/seq.rs:21:30 [INFO] [stderr] | [INFO] [stderr] 21 | fn box_clone(&self) -> Box> { [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser/seq.rs:22:30 [INFO] [stderr] | [INFO] [stderr] 22 | let mut parsers: Vec>> = vec![]; [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser/token.rs:16:30 [INFO] [stderr] | [INFO] [stderr] 16 | fn box_clone(&self) -> Box> { [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser/mod.rs:53:19 [INFO] [stderr] | [INFO] [stderr] 53 | pub parser: Box>, [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser/mod.rs:69:30 [INFO] [stderr] | [INFO] [stderr] 69 | fn box_clone(&self) -> Box> { [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: `parser_comb` (lib) generated 23 warnings [INFO] [stderr] warning: `parser_comb` (lib test) generated 23 warnings (23 duplicates) [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> examples/clang.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `parser_comb::parser::map::Map` [INFO] [stderr] --> examples/clang.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use parser_comb::parser::map::Map; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Node`, `Type`, `debug_parse`, `filter`, `map`, `type_map`, `unwrap` [INFO] [stderr] --> examples/clang.rs:5:17 [INFO] [stderr] | [INFO] [stderr] 5 | char, choice, debug_parse, exclude_empty, extract, filter, flatten, identity_map, kind, [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^ [INFO] [stderr] 6 | kind_ignore, lazy, many, many1, map, opt, regexp, sep, seq, token, trim, type_map, unwrap, wrap, [INFO] [stderr] | ^^^ ^^^^^^^^ ^^^^^^ [INFO] [stderr] 7 | Node, Parser, ParserCombinator, Type, [INFO] [stderr] | ^^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Parser` [INFO] [stderr] --> examples/clang.rs:7:9 [INFO] [stderr] | [INFO] [stderr] 7 | Node, Parser, ParserCombinator, Type, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `parser_comb` (example "clang") generated 4 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/parser_comb-a0445494c707b839) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests parser_comb [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "215842fdbb5fce45d095a299b5fda196a88cd3c12fb858def5535f2ca62d0cbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "215842fdbb5fce45d095a299b5fda196a88cd3c12fb858def5535f2ca62d0cbe", kill_on_drop: false }` [INFO] [stdout] 215842fdbb5fce45d095a299b5fda196a88cd3c12fb858def5535f2ca62d0cbe