[INFO] fetching crate topdown-rs 0.3.3... [INFO] testing topdown-rs-0.3.3 against 1.60.0 for beta-1.61-1 [INFO] extracting crate topdown-rs 0.3.3 into /workspace/builds/worker-36/source [INFO] validating manifest of crates.io crate topdown-rs 0.3.3 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate topdown-rs 0.3.3 [INFO] finished tweaking crates.io crate topdown-rs 0.3.3 [INFO] tweaked toml for crates.io crate topdown-rs 0.3.3 written to /workspace/builds/worker-36/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-36/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 850907a1c85760a3e769ea40ed3af172817afd365064f429917a8578ad6d0871 [INFO] running `Command { std: "docker" "start" "-a" "850907a1c85760a3e769ea40ed3af172817afd365064f429917a8578ad6d0871", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "850907a1c85760a3e769ea40ed3af172817afd365064f429917a8578ad6d0871", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "850907a1c85760a3e769ea40ed3af172817afd365064f429917a8578ad6d0871", kill_on_drop: false }` [INFO] [stdout] 850907a1c85760a3e769ea40ed3af172817afd365064f429917a8578ad6d0871 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5a0d879721b95f13d94d02444c232b5e63f0880919d94f4cc7ef64ec47aecd55 [INFO] running `Command { std: "docker" "start" "-a" "5a0d879721b95f13d94d02444c232b5e63f0880919d94f4cc7ef64ec47aecd55", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling topdown-rs v0.3.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused attribute [INFO] [stdout] --> src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #![crate_type = "dylib"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] note: attribute also specified here [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![crate_type = "rlib"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/chainl.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | term: &'a (Parser+'a), [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] 4 - term: &'a (Parser+'a), [INFO] [stdout] 4 + term: &'a (dyn Parser+'a), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/chainl.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | operator: &'a (Parser T + 'a>>+'a), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - operator: &'a (Parser T + 'a>>+'a), [INFO] [stdout] 5 + operator: &'a (dyn Parser T + 'a>>+'a), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/chainl.rs:5:31 [INFO] [stdout] | [INFO] [stdout] 5 | operator: &'a (Parser T + 'a>>+'a), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - operator: &'a (Parser T + 'a>>+'a), [INFO] [stdout] 5 + operator: &'a (Parser T + 'a>>+'a), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/chainr.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | term: &'a (Parser+'a), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 4 - term: &'a (Parser+'a), [INFO] [stdout] 4 + term: &'a (dyn Parser+'a), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/chainr.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | operator: &'a (Parser T + 'a>>+'a), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - operator: &'a (Parser T + 'a>>+'a), [INFO] [stdout] 5 + operator: &'a (dyn Parser T + 'a>>+'a), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/chainr.rs:5:31 [INFO] [stdout] | [INFO] [stdout] 5 | operator: &'a (Parser T + 'a>>+'a), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - operator: &'a (Parser T + 'a>>+'a), [INFO] [stdout] 5 + operator: &'a (Parser T + 'a>>+'a), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/choice.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | parsers: &'a [&'a(Parser+'a)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 4 - parsers: &'a [&'a(Parser+'a)] [INFO] [stdout] 4 + parsers: &'a [&'a(dyn Parser+'a)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/until.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | parser: &'a (Parser+'a) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 4 - parser: &'a (Parser+'a) [INFO] [stdout] 4 + parser: &'a (dyn Parser+'a) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/many.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | parser: &'a (Parser+'a) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 4 - parser: &'a (Parser+'a) [INFO] [stdout] 4 + parser: &'a (dyn Parser+'a) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/many1.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | parser: &'a (Parser+'a) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 4 - parser: &'a (Parser+'a) [INFO] [stdout] 4 + parser: &'a (dyn Parser+'a) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/try.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | parser: &'a (Parser + 'a) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 4 - parser: &'a (Parser + 'a) [INFO] [stdout] 4 + parser: &'a (dyn Parser + 'a) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cond.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | cond: &'a (Parser + 'a), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 4 - cond: &'a (Parser + 'a), [INFO] [stdout] 4 + cond: &'a (dyn Parser + 'a), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cond.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | parser: &'a (Parser + 'a), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - parser: &'a (Parser + 'a), [INFO] [stdout] 5 + parser: &'a (dyn Parser + 'a), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/opt.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | parser: &'a (Parser+'a), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 4 - parser: &'a (Parser+'a), [INFO] [stdout] 4 + parser: &'a (dyn Parser+'a), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/split.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | parser: &'a (Parser+'a), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 4 - parser: &'a (Parser+'a), [INFO] [stdout] 4 + parser: &'a (dyn Parser+'a), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/split.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | delim: &'a (Parser+'a), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - delim: &'a (Parser+'a), [INFO] [stdout] 5 + delim: &'a (dyn Parser+'a), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/many_until.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | parser: &'a (Parser+'a), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - parser: &'a (Parser+'a), [INFO] [stdout] 5 + parser: &'a (dyn Parser+'a), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/many_until.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | stop: &'a (Parser+'a) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 - stop: &'a (Parser+'a) [INFO] [stdout] 6 + stop: &'a (dyn Parser+'a) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 47 | hooks: Vec<&'a (ParserHook+'a)>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 - hooks: Vec<&'a (ParserHook+'a)>, [INFO] [stdout] 47 + hooks: Vec<&'a (dyn ParserHook+'a)>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:178:43 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn add_hook(&mut self, hook: &'a (ParserHook+'a)) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 178 - pub fn add_hook(&mut self, hook: &'a (ParserHook+'a)) { [INFO] [stdout] 178 + pub fn add_hook(&mut self, hook: &'a (dyn ParserHook+'a)) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:195:37 [INFO] [stdout] | [INFO] [stdout] 195 | pub fn accept(&mut self, p: &Parser) -> ParserResult { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 195 - pub fn accept(&mut self, p: &Parser) -> ParserResult { [INFO] [stdout] 195 + pub fn accept(&mut self, p: &dyn Parser) -> ParserResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/chainl.rs:9:30 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn chainl<'a, T>(p: &'a (Parser+'a), o: &'a (Parser T + 'a>>+'a), a: bool) -> Chainl<'a, T> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - pub fn chainl<'a, T>(p: &'a (Parser+'a), o: &'a (Parser T + 'a>>+'a), a: bool) -> Chainl<'a, T> { [INFO] [stdout] 9 + pub fn chainl<'a, T>(p: &'a (dyn Parser+'a), o: &'a (Parser T + 'a>>+'a), a: bool) -> Chainl<'a, T> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/chainl.rs:9:53 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn chainl<'a, T>(p: &'a (Parser+'a), o: &'a (Parser T + 'a>>+'a), a: bool) -> Chainl<'a, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - pub fn chainl<'a, T>(p: &'a (Parser+'a), o: &'a (Parser T + 'a>>+'a), a: bool) -> Chainl<'a, T> { [INFO] [stdout] 9 + pub fn chainl<'a, T>(p: &'a (Parser+'a), o: &'a (dyn Parser T + 'a>>+'a), a: bool) -> Chainl<'a, T> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/chainl.rs:9:64 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn chainl<'a, T>(p: &'a (Parser+'a), o: &'a (Parser T + 'a>>+'a), a: bool) -> Chainl<'a, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - pub fn chainl<'a, T>(p: &'a (Parser+'a), o: &'a (Parser T + 'a>>+'a), a: bool) -> Chainl<'a, T> { [INFO] [stdout] 9 + pub fn chainl<'a, T>(p: &'a (Parser+'a), o: &'a (Parser T + 'a>>+'a), a: bool) -> Chainl<'a, T> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/chainr.rs:9:30 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn chainr<'a, T>(p: &'a (Parser+'a), o: &'a (Parser T + 'a>> + 'a), a: bool) -> Chainr<'a, T> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - pub fn chainr<'a, T>(p: &'a (Parser+'a), o: &'a (Parser T + 'a>> + 'a), a: bool) -> Chainr<'a, T> { [INFO] [stdout] 9 + pub fn chainr<'a, T>(p: &'a (dyn Parser+'a), o: &'a (Parser T + 'a>> + 'a), a: bool) -> Chainr<'a, T> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/chainr.rs:9:53 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn chainr<'a, T>(p: &'a (Parser+'a), o: &'a (Parser T + 'a>> + 'a), a: bool) -> Chainr<'a, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - pub fn chainr<'a, T>(p: &'a (Parser+'a), o: &'a (Parser T + 'a>> + 'a), a: bool) -> Chainr<'a, T> { [INFO] [stdout] 9 + pub fn chainr<'a, T>(p: &'a (Parser+'a), o: &'a (dyn Parser T + 'a>> + 'a), a: bool) -> Chainr<'a, T> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/chainr.rs:9:64 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn chainr<'a, T>(p: &'a (Parser+'a), o: &'a (Parser T + 'a>> + 'a), a: bool) -> Chainr<'a, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - pub fn chainr<'a, T>(p: &'a (Parser+'a), o: &'a (Parser T + 'a>> + 'a), a: bool) -> Chainr<'a, T> { [INFO] [stdout] 9 + pub fn chainr<'a, T>(p: &'a (Parser+'a), o: &'a (Parser T + 'a>> + 'a), a: bool) -> Chainr<'a, T> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/choice.rs:7:35 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn choice<'a, T>(p: &'a [&'a (Parser + 'a)]) -> Choice<'a, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 - pub fn choice<'a, T>(p: &'a [&'a (Parser + 'a)]) -> Choice<'a, T> { [INFO] [stdout] 7 + pub fn choice<'a, T>(p: &'a [&'a (dyn Parser + 'a)]) -> Choice<'a, T> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/until.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn until<'a, T>(t:&'a (Parser+'a)) -> Until<'a, T> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 - pub fn until<'a, T>(t:&'a (Parser+'a)) -> Until<'a, T> { [INFO] [stdout] 7 + pub fn until<'a, T>(t:&'a (dyn Parser+'a)) -> Until<'a, T> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/many.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn many<'a, T>(p: &'a (Parser + 'a)) -> Many<'a, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 - pub fn many<'a, T>(p: &'a (Parser + 'a)) -> Many<'a, T> { [INFO] [stdout] 7 + pub fn many<'a, T>(p: &'a (dyn Parser + 'a)) -> Many<'a, T> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/many1.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn many1<'a, T>(p: &'a (Parser + 'a)) -> Many1<'a, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 - pub fn many1<'a, T>(p: &'a (Parser + 'a)) -> Many1<'a, T> { [INFO] [stdout] 7 + pub fn many1<'a, T>(p: &'a (dyn Parser + 'a)) -> Many1<'a, T> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/try.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn try<'a, T>(p: &'a(Parser+'a)) -> Try<'a, T> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 - pub fn try<'a, T>(p: &'a(Parser+'a)) -> Try<'a, T> { [INFO] [stdout] 7 + pub fn try<'a, T>(p: &'a(dyn Parser+'a)) -> Try<'a, T> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cond.rs:9:37 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn cond<'a, S, T:Clone>(c: &'a (Parser + 'a), p: &'a (Parser + 'a), e: T) -> Cond<'a, S, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - pub fn cond<'a, S, T:Clone>(c: &'a (Parser + 'a), p: &'a (Parser + 'a), e: T) -> Cond<'a, S, T> { [INFO] [stdout] 9 + pub fn cond<'a, S, T:Clone>(c: &'a (dyn Parser + 'a), p: &'a (Parser + 'a), e: T) -> Cond<'a, S, T> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cond.rs:9:62 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn cond<'a, S, T:Clone>(c: &'a (Parser + 'a), p: &'a (Parser + 'a), e: T) -> Cond<'a, S, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - pub fn cond<'a, S, T:Clone>(c: &'a (Parser + 'a), p: &'a (Parser + 'a), e: T) -> Cond<'a, S, T> { [INFO] [stdout] 9 + pub fn cond<'a, S, T:Clone>(c: &'a (Parser + 'a), p: &'a (dyn Parser + 'a), e: T) -> Cond<'a, S, T> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/opt.rs:8:32 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn opt<'a, T:Clone>(p:&'a (Parser+'a), d: T) -> Opt<'a, T> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 fn opt<'a, T:Clone>(p:&'a (Parser+'a), d: T) -> Opt<'a, T> { [INFO] [stdout] 8 + pub fn opt<'a, T:Clone>(p:&'a (dyn Parser+'a), d: T) -> Opt<'a, T> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/split.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn split<'a, T>(p: &'a (Parser + 'a), d: &'a (Parser + 'a), a: bool) -> Split<'a, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - pub fn split<'a, T>(p: &'a (Parser + 'a), d: &'a (Parser + 'a), a: bool) -> Split<'a, T> { [INFO] [stdout] 9 + pub fn split<'a, T>(p: &'a (dyn Parser + 'a), d: &'a (Parser + 'a), a: bool) -> Split<'a, T> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/split.rs:9:54 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn split<'a, T>(p: &'a (Parser + 'a), d: &'a (Parser + 'a), a: bool) -> Split<'a, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - pub fn split<'a, T>(p: &'a (Parser + 'a), d: &'a (Parser + 'a), a: bool) -> Split<'a, T> { [INFO] [stdout] 9 + pub fn split<'a, T>(p: &'a (Parser + 'a), d: &'a (dyn Parser + 'a), a: bool) -> Split<'a, T> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/many_until.rs:9:37 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn many_until<'a, S, T>(p: &'a (Parser + 'a), s: &'a (Parser + 'a)) -> ManyUntil<'a, S, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - pub fn many_until<'a, S, T>(p: &'a (Parser + 'a), s: &'a (Parser + 'a)) -> ManyUntil<'a, S, T> { [INFO] [stdout] 9 + pub fn many_until<'a, S, T>(p: &'a (dyn Parser + 'a), s: &'a (Parser + 'a)) -> ManyUntil<'a, S, T> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/many_until.rs:9:62 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn many_until<'a, S, T>(p: &'a (Parser + 'a), s: &'a (Parser + 'a)) -> ManyUntil<'a, S, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - pub fn many_until<'a, S, T>(p: &'a (Parser + 'a), s: &'a (Parser + 'a)) -> ManyUntil<'a, S, T> { [INFO] [stdout] 9 + pub fn many_until<'a, S, T>(p: &'a (Parser + 'a), s: &'a (dyn Parser + 'a)) -> ManyUntil<'a, S, T> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.05s [INFO] running `Command { std: "docker" "inspect" "5a0d879721b95f13d94d02444c232b5e63f0880919d94f4cc7ef64ec47aecd55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a0d879721b95f13d94d02444c232b5e63f0880919d94f4cc7ef64ec47aecd55", kill_on_drop: false }` [INFO] [stdout] 5a0d879721b95f13d94d02444c232b5e63f0880919d94f4cc7ef64ec47aecd55 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/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" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 08a9b5f9ced9ed23d376eb77c55c74b1a2b0d1abe27b95ff42b2cf1c2fd847ad [INFO] running `Command { std: "docker" "start" "-a" "08a9b5f9ced9ed23d376eb77c55c74b1a2b0d1abe27b95ff42b2cf1c2fd847ad", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] warning: unused attribute [INFO] [stdout] --> src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #![crate_type = "dylib"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] note: attribute also specified here [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![crate_type = "rlib"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/chainl.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | term: &'a (Parser+'a), [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] 4 - term: &'a (Parser+'a), [INFO] [stdout] 4 + term: &'a (dyn Parser+'a), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/chainl.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | operator: &'a (Parser T + 'a>>+'a), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - operator: &'a (Parser T + 'a>>+'a), [INFO] [stdout] 5 + operator: &'a (dyn Parser T + 'a>>+'a), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/chainl.rs:5:31 [INFO] [stdout] | [INFO] [stdout] 5 | operator: &'a (Parser T + 'a>>+'a), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - operator: &'a (Parser T + 'a>>+'a), [INFO] [stdout] 5 + operator: &'a (Parser T + 'a>>+'a), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/chainr.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | term: &'a (Parser+'a), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 4 - term: &'a (Parser+'a), [INFO] [stdout] 4 + term: &'a (dyn Parser+'a), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/chainr.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | operator: &'a (Parser T + 'a>>+'a), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - operator: &'a (Parser T + 'a>>+'a), [INFO] [stdout] 5 + operator: &'a (dyn Parser T + 'a>>+'a), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/chainr.rs:5:31 [INFO] [stdout] | [INFO] [stdout] 5 | operator: &'a (Parser T + 'a>>+'a), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - operator: &'a (Parser T + 'a>>+'a), [INFO] [stdout] 5 + operator: &'a (Parser T + 'a>>+'a), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/choice.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | parsers: &'a [&'a(Parser+'a)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 4 - parsers: &'a [&'a(Parser+'a)] [INFO] [stdout] 4 + parsers: &'a [&'a(dyn Parser+'a)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/until.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | parser: &'a (Parser+'a) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 4 - parser: &'a (Parser+'a) [INFO] [stdout] 4 + parser: &'a (dyn Parser+'a) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/many.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | parser: &'a (Parser+'a) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 4 - parser: &'a (Parser+'a) [INFO] [stdout] 4 + parser: &'a (dyn Parser+'a) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/many1.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | parser: &'a (Parser+'a) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 4 - parser: &'a (Parser+'a) [INFO] [stdout] 4 + parser: &'a (dyn Parser+'a) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/try.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | parser: &'a (Parser + 'a) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 4 - parser: &'a (Parser + 'a) [INFO] [stdout] 4 + parser: &'a (dyn Parser + 'a) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cond.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | cond: &'a (Parser + 'a), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 4 - cond: &'a (Parser + 'a), [INFO] [stdout] 4 + cond: &'a (dyn Parser + 'a), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cond.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | parser: &'a (Parser + 'a), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - parser: &'a (Parser + 'a), [INFO] [stdout] 5 + parser: &'a (dyn Parser + 'a), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/opt.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | parser: &'a (Parser+'a), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 4 - parser: &'a (Parser+'a), [INFO] [stdout] 4 + parser: &'a (dyn Parser+'a), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/split.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | parser: &'a (Parser+'a), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 4 - parser: &'a (Parser+'a), [INFO] [stdout] 4 + parser: &'a (dyn Parser+'a), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/split.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | delim: &'a (Parser+'a), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - delim: &'a (Parser+'a), [INFO] [stdout] 5 + delim: &'a (dyn Parser+'a), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/many_until.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | parser: &'a (Parser+'a), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - parser: &'a (Parser+'a), [INFO] [stdout] 5 + parser: &'a (dyn Parser+'a), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/many_until.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | stop: &'a (Parser+'a) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 - stop: &'a (Parser+'a) [INFO] [stdout] 6 + stop: &'a (dyn Parser+'a) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 47 | hooks: Vec<&'a (ParserHook+'a)>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 - hooks: Vec<&'a (ParserHook+'a)>, [INFO] [stdout] 47 + hooks: Vec<&'a (dyn ParserHook+'a)>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:178:43 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn add_hook(&mut self, hook: &'a (ParserHook+'a)) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 178 - pub fn add_hook(&mut self, hook: &'a (ParserHook+'a)) { [INFO] [stdout] 178 + pub fn add_hook(&mut self, hook: &'a (dyn ParserHook+'a)) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:195:37 [INFO] [stdout] | [INFO] [stdout] 195 | pub fn accept(&mut self, p: &Parser) -> ParserResult { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 195 - pub fn accept(&mut self, p: &Parser) -> ParserResult { [INFO] [stdout] 195 + pub fn accept(&mut self, p: &dyn Parser) -> ParserResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/chainl.rs:9:30 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn chainl<'a, T>(p: &'a (Parser+'a), o: &'a (Parser T + 'a>>+'a), a: bool) -> Chainl<'a, T> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - pub fn chainl<'a, T>(p: &'a (Parser+'a), o: &'a (Parser T + 'a>>+'a), a: bool) -> Chainl<'a, T> { [INFO] [stdout] 9 + pub fn chainl<'a, T>(p: &'a (dyn Parser+'a), o: &'a (Parser T + 'a>>+'a), a: bool) -> Chainl<'a, T> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/chainl.rs:9:53 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn chainl<'a, T>(p: &'a (Parser+'a), o: &'a (Parser T + 'a>>+'a), a: bool) -> Chainl<'a, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - pub fn chainl<'a, T>(p: &'a (Parser+'a), o: &'a (Parser T + 'a>>+'a), a: bool) -> Chainl<'a, T> { [INFO] [stdout] 9 + pub fn chainl<'a, T>(p: &'a (Parser+'a), o: &'a (dyn Parser T + 'a>>+'a), a: bool) -> Chainl<'a, T> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/chainl.rs:9:64 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn chainl<'a, T>(p: &'a (Parser+'a), o: &'a (Parser T + 'a>>+'a), a: bool) -> Chainl<'a, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - pub fn chainl<'a, T>(p: &'a (Parser+'a), o: &'a (Parser T + 'a>>+'a), a: bool) -> Chainl<'a, T> { [INFO] [stdout] 9 + pub fn chainl<'a, T>(p: &'a (Parser+'a), o: &'a (Parser T + 'a>>+'a), a: bool) -> Chainl<'a, T> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/chainr.rs:9:30 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn chainr<'a, T>(p: &'a (Parser+'a), o: &'a (Parser T + 'a>> + 'a), a: bool) -> Chainr<'a, T> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - pub fn chainr<'a, T>(p: &'a (Parser+'a), o: &'a (Parser T + 'a>> + 'a), a: bool) -> Chainr<'a, T> { [INFO] [stdout] 9 + pub fn chainr<'a, T>(p: &'a (dyn Parser+'a), o: &'a (Parser T + 'a>> + 'a), a: bool) -> Chainr<'a, T> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/chainr.rs:9:53 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn chainr<'a, T>(p: &'a (Parser+'a), o: &'a (Parser T + 'a>> + 'a), a: bool) -> Chainr<'a, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - pub fn chainr<'a, T>(p: &'a (Parser+'a), o: &'a (Parser T + 'a>> + 'a), a: bool) -> Chainr<'a, T> { [INFO] [stdout] 9 + pub fn chainr<'a, T>(p: &'a (Parser+'a), o: &'a (dyn Parser T + 'a>> + 'a), a: bool) -> Chainr<'a, T> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/chainr.rs:9:64 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn chainr<'a, T>(p: &'a (Parser+'a), o: &'a (Parser T + 'a>> + 'a), a: bool) -> Chainr<'a, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - pub fn chainr<'a, T>(p: &'a (Parser+'a), o: &'a (Parser T + 'a>> + 'a), a: bool) -> Chainr<'a, T> { [INFO] [stdout] 9 + pub fn chainr<'a, T>(p: &'a (Parser+'a), o: &'a (Parser T + 'a>> + 'a), a: bool) -> Chainr<'a, T> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/choice.rs:7:35 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn choice<'a, T>(p: &'a [&'a (Parser + 'a)]) -> Choice<'a, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 - pub fn choice<'a, T>(p: &'a [&'a (Parser + 'a)]) -> Choice<'a, T> { [INFO] [stdout] 7 + pub fn choice<'a, T>(p: &'a [&'a (dyn Parser + 'a)]) -> Choice<'a, T> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/until.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn until<'a, T>(t:&'a (Parser+'a)) -> Until<'a, T> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 - pub fn until<'a, T>(t:&'a (Parser+'a)) -> Until<'a, T> { [INFO] [stdout] 7 + pub fn until<'a, T>(t:&'a (dyn Parser+'a)) -> Until<'a, T> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/many.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn many<'a, T>(p: &'a (Parser + 'a)) -> Many<'a, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 - pub fn many<'a, T>(p: &'a (Parser + 'a)) -> Many<'a, T> { [INFO] [stdout] 7 + pub fn many<'a, T>(p: &'a (dyn Parser + 'a)) -> Many<'a, T> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/many1.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn many1<'a, T>(p: &'a (Parser + 'a)) -> Many1<'a, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 - pub fn many1<'a, T>(p: &'a (Parser + 'a)) -> Many1<'a, T> { [INFO] [stdout] 7 + pub fn many1<'a, T>(p: &'a (dyn Parser + 'a)) -> Many1<'a, T> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/try.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn try<'a, T>(p: &'a(Parser+'a)) -> Try<'a, T> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 - pub fn try<'a, T>(p: &'a(Parser+'a)) -> Try<'a, T> { [INFO] [stdout] 7 + pub fn try<'a, T>(p: &'a(dyn Parser+'a)) -> Try<'a, T> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling topdown-rs v0.3.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cond.rs:9:37 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn cond<'a, S, T:Clone>(c: &'a (Parser + 'a), p: &'a (Parser + 'a), e: T) -> Cond<'a, S, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - pub fn cond<'a, S, T:Clone>(c: &'a (Parser + 'a), p: &'a (Parser + 'a), e: T) -> Cond<'a, S, T> { [INFO] [stdout] 9 + pub fn cond<'a, S, T:Clone>(c: &'a (dyn Parser + 'a), p: &'a (Parser + 'a), e: T) -> Cond<'a, S, T> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cond.rs:9:62 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn cond<'a, S, T:Clone>(c: &'a (Parser + 'a), p: &'a (Parser + 'a), e: T) -> Cond<'a, S, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - pub fn cond<'a, S, T:Clone>(c: &'a (Parser + 'a), p: &'a (Parser + 'a), e: T) -> Cond<'a, S, T> { [INFO] [stdout] 9 + pub fn cond<'a, S, T:Clone>(c: &'a (Parser + 'a), p: &'a (dyn Parser + 'a), e: T) -> Cond<'a, S, T> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/opt.rs:8:32 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn opt<'a, T:Clone>(p:&'a (Parser+'a), d: T) -> Opt<'a, T> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 fn opt<'a, T:Clone>(p:&'a (Parser+'a), d: T) -> Opt<'a, T> { [INFO] [stdout] 8 + pub fn opt<'a, T:Clone>(p:&'a (dyn Parser+'a), d: T) -> Opt<'a, T> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/split.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn split<'a, T>(p: &'a (Parser + 'a), d: &'a (Parser + 'a), a: bool) -> Split<'a, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - pub fn split<'a, T>(p: &'a (Parser + 'a), d: &'a (Parser + 'a), a: bool) -> Split<'a, T> { [INFO] [stdout] 9 + pub fn split<'a, T>(p: &'a (dyn Parser + 'a), d: &'a (Parser + 'a), a: bool) -> Split<'a, T> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/split.rs:9:54 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn split<'a, T>(p: &'a (Parser + 'a), d: &'a (Parser + 'a), a: bool) -> Split<'a, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - pub fn split<'a, T>(p: &'a (Parser + 'a), d: &'a (Parser + 'a), a: bool) -> Split<'a, T> { [INFO] [stdout] 9 + pub fn split<'a, T>(p: &'a (Parser + 'a), d: &'a (dyn Parser + 'a), a: bool) -> Split<'a, T> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/many_until.rs:9:37 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn many_until<'a, S, T>(p: &'a (Parser + 'a), s: &'a (Parser + 'a)) -> ManyUntil<'a, S, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - pub fn many_until<'a, S, T>(p: &'a (Parser + 'a), s: &'a (Parser + 'a)) -> ManyUntil<'a, S, T> { [INFO] [stdout] 9 + pub fn many_until<'a, S, T>(p: &'a (dyn Parser + 'a), s: &'a (Parser + 'a)) -> ManyUntil<'a, S, T> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/many_until.rs:9:62 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn many_until<'a, S, T>(p: &'a (Parser + 'a), s: &'a (Parser + 'a)) -> ManyUntil<'a, S, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - pub fn many_until<'a, S, T>(p: &'a (Parser + 'a), s: &'a (Parser + 'a)) -> ManyUntil<'a, S, T> { [INFO] [stdout] 9 + pub fn many_until<'a, S, T>(p: &'a (Parser + 'a), s: &'a (dyn Parser + 'a)) -> ManyUntil<'a, S, T> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `unstable` [INFO] [stdout] --> examples/interpreter/main.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #![allow(unstable)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected parameter name, found `:` [INFO] [stdout] --> examples/interpreter/parser.rs:342:32 [INFO] [stdout] | [INFO] [stdout] 342 | "*" => (Box::new(|&: a:AST, b:AST| BinOp(MUL, Box::new(a.clone()), Box::new(b.clone())))) as Box AST>, [INFO] [stdout] | ^ expected parameter name [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected parameter name, found `:` [INFO] [stdout] --> examples/interpreter/parser.rs:343:32 [INFO] [stdout] | [INFO] [stdout] 343 | "/" => (Box::new(|&: a:AST, b:AST| BinOp(DIV, Box::new(a.clone()), Box::new(b.clone())))) as Box AST>, [INFO] [stdout] | ^ expected parameter name [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected parameter name, found `:` [INFO] [stdout] --> examples/interpreter/parser.rs:344:32 [INFO] [stdout] | [INFO] [stdout] 344 | "%" => (Box::new(|&: a:AST, b:AST| BinOp(MOD, Box::new(a.clone()), Box::new(b.clone())))) as Box AST>, [INFO] [stdout] | ^ expected parameter name [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected parameter name, found `:` [INFO] [stdout] --> examples/interpreter/parser.rs:353:32 [INFO] [stdout] | [INFO] [stdout] 353 | "+" => (Box::new(|&: a:AST, b:AST| BinOp(ADD, Box::new(a.clone()), Box::new(b.clone())))) as Box AST>, [INFO] [stdout] | ^ expected parameter name [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected parameter name, found `:` [INFO] [stdout] --> examples/interpreter/parser.rs:354:32 [INFO] [stdout] | [INFO] [stdout] 354 | "-" => (Box::new(|&: a:AST, b:AST| BinOp(SUB, Box::new(a.clone()), Box::new(b.clone())))) as Box AST>, [INFO] [stdout] | ^ expected parameter name [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected parameter name, found `:` [INFO] [stdout] --> examples/interpreter/parser.rs:355:33 [INFO] [stdout] | [INFO] [stdout] 355 | "==" => (Box::new(|&: a:AST, b:AST| BinOp(EQ, Box::new(a.clone()), Box::new(b.clone())))) as Box AST>, [INFO] [stdout] | ^ expected parameter name [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected parameter name, found `:` [INFO] [stdout] --> examples/interpreter/parser.rs:356:33 [INFO] [stdout] | [INFO] [stdout] 356 | "!=" => (Box::new(|&: a:AST, b:AST| BinOp(NE, Box::new(a.clone()), Box::new(b.clone())))) as Box AST>, [INFO] [stdout] | ^ expected parameter name [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected parameter name, found `:` [INFO] [stdout] --> examples/interpreter/parser.rs:357:32 [INFO] [stdout] | [INFO] [stdout] 357 | ">" => (Box::new(|&: a:AST, b:AST| BinOp(GT, Box::new(a.clone()), Box::new(b.clone())))) as Box AST>, [INFO] [stdout] | ^ expected parameter name [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected parameter name, found `:` [INFO] [stdout] --> examples/interpreter/parser.rs:358:33 [INFO] [stdout] | [INFO] [stdout] 358 | ">=" => (Box::new(|&: a:AST, b:AST| BinOp(GE, Box::new(a.clone()), Box::new(b.clone())))) as Box AST>, [INFO] [stdout] | ^ expected parameter name [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected parameter name, found `:` [INFO] [stdout] --> examples/interpreter/parser.rs:359:32 [INFO] [stdout] | [INFO] [stdout] 359 | "<" => (Box::new(|&: a:AST, b:AST| BinOp(LT, Box::new(a.clone()), Box::new(b.clone())))) as Box AST>, [INFO] [stdout] | ^ expected parameter name [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected parameter name, found `:` [INFO] [stdout] --> examples/interpreter/parser.rs:360:33 [INFO] [stdout] | [INFO] [stdout] 360 | "<=" => (Box::new(|&: a:AST, b:AST| BinOp(LE, Box::new(a.clone()), Box::new(b.clone())))) as Box AST>, [INFO] [stdout] | ^ expected parameter name [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected parameter name, found `:` [INFO] [stdout] --> examples/interpreter/parser.rs:369:33 [INFO] [stdout] | [INFO] [stdout] 369 | "||" => (Box::new(|&: a:AST, b:AST| BinOp(LOR, Box::new(a.clone()), Box::new(b.clone())))) as Box AST>, [INFO] [stdout] | ^ expected parameter name [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected parameter name, found `:` [INFO] [stdout] --> examples/interpreter/parser.rs:370:33 [INFO] [stdout] | [INFO] [stdout] 370 | "&&" => (Box::new(|&: a:AST, b:AST| BinOp(LAND, Box::new(a.clone()), Box::new(b.clone())))) as Box AST>, [INFO] [stdout] | ^ expected parameter name [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::old_io` [INFO] [stdout] --> examples/interpreter/main.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | use std::old_io::File; [INFO] [stdout] | ^^^^^^ could not find `old_io` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Show` in this scope [INFO] [stdout] --> examples/interpreter/parser.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Show, Clone)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Show` in this scope [INFO] [stdout] --> examples/interpreter/parser.rs:36:23 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Clone, Copy, Show)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute [INFO] [stdout] --> src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #![crate_type = "dylib"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] note: attribute also specified here [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![crate_type = "rlib"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Show` in module `fmt` [INFO] [stdout] --> examples/interpreter/parser.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | impl fmt::Show for BinOps { [INFO] [stdout] | ^^^^ not found in `fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> examples/interpreter/interpreter.rs:453:26 [INFO] [stdout] | [INFO] [stdout] 453 | for i in range(0, r) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `args` in module `os` [INFO] [stdout] --> examples/interpreter/main.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | let a = os::args(); [INFO] [stdout] | ^^^^ not found in `os` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 7 | use std::env::args; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> examples/interpreter/main.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 18 | let path = Path::new(a[1].clone()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> examples/interpreter/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(box_patterns)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> examples/interpreter/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(slicing_syntax)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the attribute [INFO] [stdout] | [INFO] [stdout] = help: the feature `slicing_syntax` has been stable since 1.0.0 and no longer requires an attribute to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> examples/interpreter/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(box_syntax)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/chainl.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | term: &'a (Parser+'a), [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] 4 - term: &'a (Parser+'a), [INFO] [stdout] 4 + term: &'a (dyn Parser+'a), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/chainl.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | operator: &'a (Parser T + 'a>>+'a), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - operator: &'a (Parser T + 'a>>+'a), [INFO] [stdout] 5 + operator: &'a (dyn Parser T + 'a>>+'a), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/chainl.rs:5:31 [INFO] [stdout] | [INFO] [stdout] 5 | operator: &'a (Parser T + 'a>>+'a), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - operator: &'a (Parser T + 'a>>+'a), [INFO] [stdout] 5 + operator: &'a (Parser T + 'a>>+'a), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/chainr.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | term: &'a (Parser+'a), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 4 - term: &'a (Parser+'a), [INFO] [stdout] 4 + term: &'a (dyn Parser+'a), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/chainr.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | operator: &'a (Parser T + 'a>>+'a), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - operator: &'a (Parser T + 'a>>+'a), [INFO] [stdout] 5 + operator: &'a (dyn Parser T + 'a>>+'a), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/chainr.rs:5:31 [INFO] [stdout] | [INFO] [stdout] 5 | operator: &'a (Parser T + 'a>>+'a), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - operator: &'a (Parser T + 'a>>+'a), [INFO] [stdout] 5 + operator: &'a (Parser T + 'a>>+'a), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/choice.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | parsers: &'a [&'a(Parser+'a)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 4 - parsers: &'a [&'a(Parser+'a)] [INFO] [stdout] 4 + parsers: &'a [&'a(dyn Parser+'a)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/until.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | parser: &'a (Parser+'a) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 4 - parser: &'a (Parser+'a) [INFO] [stdout] 4 + parser: &'a (dyn Parser+'a) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/many.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | parser: &'a (Parser+'a) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 4 - parser: &'a (Parser+'a) [INFO] [stdout] 4 + parser: &'a (dyn Parser+'a) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/many1.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | parser: &'a (Parser+'a) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 4 - parser: &'a (Parser+'a) [INFO] [stdout] 4 + parser: &'a (dyn Parser+'a) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/try.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | parser: &'a (Parser + 'a) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 4 - parser: &'a (Parser + 'a) [INFO] [stdout] 4 + parser: &'a (dyn Parser + 'a) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cond.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | cond: &'a (Parser + 'a), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 4 - cond: &'a (Parser + 'a), [INFO] [stdout] 4 + cond: &'a (dyn Parser + 'a), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cond.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | parser: &'a (Parser + 'a), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - parser: &'a (Parser + 'a), [INFO] [stdout] 5 + parser: &'a (dyn Parser + 'a), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/opt.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | parser: &'a (Parser+'a), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 4 - parser: &'a (Parser+'a), [INFO] [stdout] 4 + parser: &'a (dyn Parser+'a), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/split.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | parser: &'a (Parser+'a), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 4 - parser: &'a (Parser+'a), [INFO] [stdout] 4 + parser: &'a (dyn Parser+'a), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/split.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | delim: &'a (Parser+'a), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - delim: &'a (Parser+'a), [INFO] [stdout] 5 + delim: &'a (dyn Parser+'a), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/many_until.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | parser: &'a (Parser+'a), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - parser: &'a (Parser+'a), [INFO] [stdout] 5 + parser: &'a (dyn Parser+'a), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/many_until.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | stop: &'a (Parser+'a) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 - stop: &'a (Parser+'a) [INFO] [stdout] 6 + stop: &'a (dyn Parser+'a) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 47 | hooks: Vec<&'a (ParserHook+'a)>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 - hooks: Vec<&'a (ParserHook+'a)>, [INFO] [stdout] 47 + hooks: Vec<&'a (dyn ParserHook+'a)>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:178:43 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn add_hook(&mut self, hook: &'a (ParserHook+'a)) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 178 - pub fn add_hook(&mut self, hook: &'a (ParserHook+'a)) { [INFO] [stdout] 178 + pub fn add_hook(&mut self, hook: &'a (dyn ParserHook+'a)) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:195:37 [INFO] [stdout] | [INFO] [stdout] 195 | pub fn accept(&mut self, p: &Parser) -> ParserResult { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 195 - pub fn accept(&mut self, p: &Parser) -> ParserResult { [INFO] [stdout] 195 + pub fn accept(&mut self, p: &dyn Parser) -> ParserResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/chainl.rs:9:30 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn chainl<'a, T>(p: &'a (Parser+'a), o: &'a (Parser T + 'a>>+'a), a: bool) -> Chainl<'a, T> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - pub fn chainl<'a, T>(p: &'a (Parser+'a), o: &'a (Parser T + 'a>>+'a), a: bool) -> Chainl<'a, T> { [INFO] [stdout] 9 + pub fn chainl<'a, T>(p: &'a (dyn Parser+'a), o: &'a (Parser T + 'a>>+'a), a: bool) -> Chainl<'a, T> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/chainl.rs:9:53 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn chainl<'a, T>(p: &'a (Parser+'a), o: &'a (Parser T + 'a>>+'a), a: bool) -> Chainl<'a, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - pub fn chainl<'a, T>(p: &'a (Parser+'a), o: &'a (Parser T + 'a>>+'a), a: bool) -> Chainl<'a, T> { [INFO] [stdout] 9 + pub fn chainl<'a, T>(p: &'a (Parser+'a), o: &'a (dyn Parser T + 'a>>+'a), a: bool) -> Chainl<'a, T> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/chainl.rs:9:64 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn chainl<'a, T>(p: &'a (Parser+'a), o: &'a (Parser T + 'a>>+'a), a: bool) -> Chainl<'a, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - pub fn chainl<'a, T>(p: &'a (Parser+'a), o: &'a (Parser T + 'a>>+'a), a: bool) -> Chainl<'a, T> { [INFO] [stdout] 9 + pub fn chainl<'a, T>(p: &'a (Parser+'a), o: &'a (Parser T + 'a>>+'a), a: bool) -> Chainl<'a, T> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/chainr.rs:9:30 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn chainr<'a, T>(p: &'a (Parser+'a), o: &'a (Parser T + 'a>> + 'a), a: bool) -> Chainr<'a, T> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - pub fn chainr<'a, T>(p: &'a (Parser+'a), o: &'a (Parser T + 'a>> + 'a), a: bool) -> Chainr<'a, T> { [INFO] [stdout] 9 + pub fn chainr<'a, T>(p: &'a (dyn Parser+'a), o: &'a (Parser T + 'a>> + 'a), a: bool) -> Chainr<'a, T> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/chainr.rs:9:53 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn chainr<'a, T>(p: &'a (Parser+'a), o: &'a (Parser T + 'a>> + 'a), a: bool) -> Chainr<'a, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - pub fn chainr<'a, T>(p: &'a (Parser+'a), o: &'a (Parser T + 'a>> + 'a), a: bool) -> Chainr<'a, T> { [INFO] [stdout] 9 + pub fn chainr<'a, T>(p: &'a (Parser+'a), o: &'a (dyn Parser T + 'a>> + 'a), a: bool) -> Chainr<'a, T> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/chainr.rs:9:64 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn chainr<'a, T>(p: &'a (Parser+'a), o: &'a (Parser T + 'a>> + 'a), a: bool) -> Chainr<'a, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - pub fn chainr<'a, T>(p: &'a (Parser+'a), o: &'a (Parser T + 'a>> + 'a), a: bool) -> Chainr<'a, T> { [INFO] [stdout] 9 + pub fn chainr<'a, T>(p: &'a (Parser+'a), o: &'a (Parser T + 'a>> + 'a), a: bool) -> Chainr<'a, T> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/choice.rs:7:35 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn choice<'a, T>(p: &'a [&'a (Parser + 'a)]) -> Choice<'a, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 - pub fn choice<'a, T>(p: &'a [&'a (Parser + 'a)]) -> Choice<'a, T> { [INFO] [stdout] 7 + pub fn choice<'a, T>(p: &'a [&'a (dyn Parser + 'a)]) -> Choice<'a, T> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/until.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn until<'a, T>(t:&'a (Parser+'a)) -> Until<'a, T> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 - pub fn until<'a, T>(t:&'a (Parser+'a)) -> Until<'a, T> { [INFO] [stdout] 7 + pub fn until<'a, T>(t:&'a (dyn Parser+'a)) -> Until<'a, T> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 23 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0425, E0432, E0433, E0554. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/many.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn many<'a, T>(p: &'a (Parser + 'a)) -> Many<'a, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 - pub fn many<'a, T>(p: &'a (Parser + 'a)) -> Many<'a, T> { [INFO] [stdout] 7 + pub fn many<'a, T>(p: &'a (dyn Parser + 'a)) -> Many<'a, T> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/many1.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn many1<'a, T>(p: &'a (Parser + 'a)) -> Many1<'a, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 - pub fn many1<'a, T>(p: &'a (Parser + 'a)) -> Many1<'a, T> { [INFO] [stdout] 7 + pub fn many1<'a, T>(p: &'a (dyn Parser + 'a)) -> Many1<'a, T> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/try.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn try<'a, T>(p: &'a(Parser+'a)) -> Try<'a, T> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 - pub fn try<'a, T>(p: &'a(Parser+'a)) -> Try<'a, T> { [INFO] [stdout] 7 + pub fn try<'a, T>(p: &'a(dyn Parser+'a)) -> Try<'a, T> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cond.rs:9:37 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn cond<'a, S, T:Clone>(c: &'a (Parser + 'a), p: &'a (Parser + 'a), e: T) -> Cond<'a, S, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - pub fn cond<'a, S, T:Clone>(c: &'a (Parser + 'a), p: &'a (Parser + 'a), e: T) -> Cond<'a, S, T> { [INFO] [stdout] 9 + pub fn cond<'a, S, T:Clone>(c: &'a (dyn Parser + 'a), p: &'a (Parser + 'a), e: T) -> Cond<'a, S, T> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cond.rs:9:62 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn cond<'a, S, T:Clone>(c: &'a (Parser + 'a), p: &'a (Parser + 'a), e: T) -> Cond<'a, S, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - pub fn cond<'a, S, T:Clone>(c: &'a (Parser + 'a), p: &'a (Parser + 'a), e: T) -> Cond<'a, S, T> { [INFO] [stdout] 9 + pub fn cond<'a, S, T:Clone>(c: &'a (Parser + 'a), p: &'a (dyn Parser + 'a), e: T) -> Cond<'a, S, T> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/opt.rs:8:32 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn opt<'a, T:Clone>(p:&'a (Parser+'a), d: T) -> Opt<'a, T> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 fn opt<'a, T:Clone>(p:&'a (Parser+'a), d: T) -> Opt<'a, T> { [INFO] [stdout] 8 + pub fn opt<'a, T:Clone>(p:&'a (dyn Parser+'a), d: T) -> Opt<'a, T> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/split.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn split<'a, T>(p: &'a (Parser + 'a), d: &'a (Parser + 'a), a: bool) -> Split<'a, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - pub fn split<'a, T>(p: &'a (Parser + 'a), d: &'a (Parser + 'a), a: bool) -> Split<'a, T> { [INFO] [stdout] 9 + pub fn split<'a, T>(p: &'a (dyn Parser + 'a), d: &'a (Parser + 'a), a: bool) -> Split<'a, T> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/split.rs:9:54 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn split<'a, T>(p: &'a (Parser + 'a), d: &'a (Parser + 'a), a: bool) -> Split<'a, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - pub fn split<'a, T>(p: &'a (Parser + 'a), d: &'a (Parser + 'a), a: bool) -> Split<'a, T> { [INFO] [stdout] 9 + pub fn split<'a, T>(p: &'a (Parser + 'a), d: &'a (dyn Parser + 'a), a: bool) -> Split<'a, T> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/many_until.rs:9:37 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn many_until<'a, S, T>(p: &'a (Parser + 'a), s: &'a (Parser + 'a)) -> ManyUntil<'a, S, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - pub fn many_until<'a, S, T>(p: &'a (Parser + 'a), s: &'a (Parser + 'a)) -> ManyUntil<'a, S, T> { [INFO] [stdout] 9 + pub fn many_until<'a, S, T>(p: &'a (dyn Parser + 'a), s: &'a (Parser + 'a)) -> ManyUntil<'a, S, T> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/many_until.rs:9:62 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn many_until<'a, S, T>(p: &'a (Parser + 'a), s: &'a (Parser + 'a)) -> ManyUntil<'a, S, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - pub fn many_until<'a, S, T>(p: &'a (Parser + 'a), s: &'a (Parser + 'a)) -> ManyUntil<'a, S, T> { [INFO] [stdout] 9 + pub fn many_until<'a, S, T>(p: &'a (Parser + 'a), s: &'a (dyn Parser + 'a)) -> ManyUntil<'a, S, T> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/chainl.rs:56:25 [INFO] [stdout] | [INFO] [stdout] 56 | impl<'a> Parser isize + 'a>> for Op<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 56 - impl<'a> Parser isize + 'a>> for Op<'a> { [INFO] [stdout] 56 + impl<'a> Parser isize + 'a>> for Op<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `topdown-rs` due to 24 previous errors; 1 warning emitted [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/chainl.rs:57:64 [INFO] [stdout] | [INFO] [stdout] 57 | fn _parse(&self, cs: &mut CharSeq) -> ParserResult isize + 'a>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 57 - fn _parse(&self, cs: &mut CharSeq) -> ParserResult isize + 'a>> { [INFO] [stdout] 57 + fn _parse(&self, cs: &mut CharSeq) -> ParserResult isize + 'a>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/chainr.rs:49:25 [INFO] [stdout] | [INFO] [stdout] 49 | impl<'a> Parser isize + 'a>> for Op<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - impl<'a> Parser isize + 'a>> for Op<'a> { [INFO] [stdout] 49 + impl<'a> Parser isize + 'a>> for Op<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/chainr.rs:50:64 [INFO] [stdout] | [INFO] [stdout] 50 | fn _parse(&self, cs: &mut CharSeq) -> ParserResult isize + 'a>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - fn _parse(&self, cs: &mut CharSeq) -> ParserResult isize + 'a>> { [INFO] [stdout] 50 + fn _parse(&self, cs: &mut CharSeq) -> ParserResult isize + 'a>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0392]: parameter `'a` is never used [INFO] [stdout] --> src/chainl.rs:54:15 [INFO] [stdout] | [INFO] [stdout] 54 | struct Op<'a>; [INFO] [stdout] | ^^ unused parameter [INFO] [stdout] | [INFO] [stdout] = help: consider removing `'a`, referring to it in a field, or using a marker such as `PhantomData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0392]: parameter `'a` is never used [INFO] [stdout] --> src/chainr.rs:47:15 [INFO] [stdout] | [INFO] [stdout] 47 | struct Op<'a>; [INFO] [stdout] | ^^ unused parameter [INFO] [stdout] | [INFO] [stdout] = help: consider removing `'a`, referring to it in a field, or using a marker such as `PhantomData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 44 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0392`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "08a9b5f9ced9ed23d376eb77c55c74b1a2b0d1abe27b95ff42b2cf1c2fd847ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08a9b5f9ced9ed23d376eb77c55c74b1a2b0d1abe27b95ff42b2cf1c2fd847ad", kill_on_drop: false }` [INFO] [stdout] 08a9b5f9ced9ed23d376eb77c55c74b1a2b0d1abe27b95ff42b2cf1c2fd847ad