[INFO] fetching crate peruse 0.3.0... [INFO] testing peruse-0.3.0 against 1.59.0 for beta-1.60-1 [INFO] extracting crate peruse 0.3.0 into /workspace/builds/worker-45/source [INFO] validating manifest of crates.io crate peruse 0.3.0 on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate peruse 0.3.0 [INFO] finished tweaking crates.io crate peruse 0.3.0 [INFO] tweaked toml for crates.io crate peruse 0.3.0 written to /workspace/builds/worker-45/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-45/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-45/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1f8a428c422927ad389fefbebe0760980c2b209d44ebabc561013749ad800f68 [INFO] running `Command { std: "docker" "start" "-a" "1f8a428c422927ad389fefbebe0760980c2b209d44ebabc561013749ad800f68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1f8a428c422927ad389fefbebe0760980c2b209d44ebabc561013749ad800f68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f8a428c422927ad389fefbebe0760980c2b209d44ebabc561013749ad800f68", kill_on_drop: false }` [INFO] [stdout] 1f8a428c422927ad389fefbebe0760980c2b209d44ebabc561013749ad800f68 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-45/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-45/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 94b6b090b854ab01c0b6ccd1fb2a47d87d9ff6ec77ce997cff4e1c80df341440 [INFO] running `Command { std: "docker" "start" "-a" "94b6b090b854ab01c0b6ccd1fb2a47d87d9ff6ec77ce997cff4e1c80df341440", kill_on_drop: false }` [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 memchr v0.1.11 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling peruse v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `parsers::*` [INFO] [stdout] --> src/peruse/slice_parser_tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use parsers::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/peruse/lib.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | mod slice_parser_tests; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `slice_parsers::*` [INFO] [stdout] --> src/peruse/slice_parser_tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use slice_parsers::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/peruse/lib.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | mod slice_parser_tests; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parsers::*` [INFO] [stdout] --> src/peruse/string_parser_tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use parsers::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/peruse/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | mod string_parser_tests; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `string_parsers::*` [INFO] [stdout] --> src/peruse/string_parser_tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use string_parsers::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/peruse/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | mod string_parser_tests; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/peruse/string_parser_tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/peruse/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | mod string_parser_tests; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/peruse/parsers.rs:62:46 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn recursive Box>>(f: F) -> RecursiveParser { [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] 62 - pub fn recursive Box>>(f: F) -> RecursiveParser { [INFO] [stdout] 62 + pub fn recursive Box>>(f: F) -> RecursiveParser { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/peruse/parsers.rs:75:34 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn boxed(b: Box>) -> BoxedParser { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 75 - pub fn boxed(b: Box>) -> BoxedParser { [INFO] [stdout] 75 + pub fn boxed(b: Box>) -> BoxedParser { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/peruse/parsers.rs:152:18 [INFO] [stdout] | [INFO] [stdout] 152 | mapper: Rc 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] 152 - mapper: Rc T>>, [INFO] [stdout] 152 + mapper: Rc T>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/peruse/parsers.rs:330:18 [INFO] [stdout] | [INFO] [stdout] 330 | parser: Rc>> [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 330 - parser: Rc>> [INFO] [stdout] 330 + parser: Rc>> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/peruse/slice_parsers.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 49 | matcher: Rc Option>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - matcher: Rc Option>> [INFO] [stdout] 49 + matcher: Rc Option>> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/peruse/parsers.rs:222:66 [INFO] [stdout] | [INFO] [stdout] 222 | pub struct RecursiveParser where F: Fn() -> Box>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 222 - pub struct RecursiveParser where F: Fn() -> Box>{ [INFO] [stdout] 222 + pub struct RecursiveParser where F: Fn() -> Box>{ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/peruse/parsers.rs:226:79 [INFO] [stdout] | [INFO] [stdout] 226 | impl Parser for RecursiveParser where F: Fn() -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 226 - impl Parser for RecursiveParser where F: Fn() -> Box> { [INFO] [stdout] 226 + impl Parser for RecursiveParser where F: Fn() -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/peruse/parsers.rs:237:89 [INFO] [stdout] | [INFO] [stdout] 237 | impl ParserCombinator for RecursiveParser where F: Fn() -> Box> {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 237 - impl ParserCombinator for RecursiveParser where F: Fn() -> Box> {} [INFO] [stdout] 237 + impl ParserCombinator for RecursiveParser where F: Fn() -> Box> {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/peruse/parsers.rs:239:79 [INFO] [stdout] | [INFO] [stdout] 239 | impl Clone for RecursiveParser where F: Fn() -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 239 - impl Clone for RecursiveParser where F: Fn() -> Box> { [INFO] [stdout] 239 + impl Clone for RecursiveParser where F: Fn() -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/peruse/slice_parsers.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | pub type SliceParser = Parser; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - pub type SliceParser = Parser; [INFO] [stdout] 4 + pub type SliceParser = dyn Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/peruse/string_parsers.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | pub type StringParser = Parser; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 type StringParser = Parser; [INFO] [stdout] 7 + pub type StringParser = dyn Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.44s [INFO] running `Command { std: "docker" "inspect" "94b6b090b854ab01c0b6ccd1fb2a47d87d9ff6ec77ce997cff4e1c80df341440", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94b6b090b854ab01c0b6ccd1fb2a47d87d9ff6ec77ce997cff4e1c80df341440", kill_on_drop: false }` [INFO] [stdout] 94b6b090b854ab01c0b6ccd1fb2a47d87d9ff6ec77ce997cff4e1c80df341440 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-45/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-45/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 324ed1b812b3781d8ffee64cc6b7d2d607e35e4c93904323d9b0a559dc1b3fb7 [INFO] running `Command { std: "docker" "start" "-a" "324ed1b812b3781d8ffee64cc6b7d2d607e35e4c93904323d9b0a559dc1b3fb7", kill_on_drop: false }` [INFO] [stderr] Compiling peruse v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `parsers::*` [INFO] [stdout] --> src/peruse/slice_parser_tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use parsers::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/peruse/lib.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | mod slice_parser_tests; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `slice_parsers::*` [INFO] [stdout] --> src/peruse/slice_parser_tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use slice_parsers::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/peruse/lib.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | mod slice_parser_tests; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parsers::*` [INFO] [stdout] --> src/peruse/string_parser_tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use parsers::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/peruse/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | mod string_parser_tests; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `string_parsers::*` [INFO] [stdout] --> src/peruse/string_parser_tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use string_parsers::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/peruse/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | mod string_parser_tests; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/peruse/string_parser_tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/peruse/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | mod string_parser_tests; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/peruse/parsers.rs:62:46 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn recursive Box>>(f: F) -> RecursiveParser { [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] 62 - pub fn recursive Box>>(f: F) -> RecursiveParser { [INFO] [stdout] 62 + pub fn recursive Box>>(f: F) -> RecursiveParser { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/peruse/parsers.rs:75:34 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn boxed(b: Box>) -> BoxedParser { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 75 - pub fn boxed(b: Box>) -> BoxedParser { [INFO] [stdout] 75 + pub fn boxed(b: Box>) -> BoxedParser { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/peruse/parsers.rs:152:18 [INFO] [stdout] | [INFO] [stdout] 152 | mapper: Rc 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] 152 - mapper: Rc T>>, [INFO] [stdout] 152 + mapper: Rc T>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/peruse/parsers.rs:330:18 [INFO] [stdout] | [INFO] [stdout] 330 | parser: Rc>> [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 330 - parser: Rc>> [INFO] [stdout] 330 + parser: Rc>> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/peruse/slice_parsers.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 49 | matcher: Rc Option>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - matcher: Rc Option>> [INFO] [stdout] 49 + matcher: Rc Option>> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/peruse/parsers.rs:222:66 [INFO] [stdout] | [INFO] [stdout] 222 | pub struct RecursiveParser where F: Fn() -> Box>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 222 - pub struct RecursiveParser where F: Fn() -> Box>{ [INFO] [stdout] 222 + pub struct RecursiveParser where F: Fn() -> Box>{ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/peruse/parsers.rs:226:79 [INFO] [stdout] | [INFO] [stdout] 226 | impl Parser for RecursiveParser where F: Fn() -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 226 - impl Parser for RecursiveParser where F: Fn() -> Box> { [INFO] [stdout] 226 + impl Parser for RecursiveParser where F: Fn() -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/peruse/parsers.rs:237:89 [INFO] [stdout] | [INFO] [stdout] 237 | impl ParserCombinator for RecursiveParser where F: Fn() -> Box> {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 237 - impl ParserCombinator for RecursiveParser where F: Fn() -> Box> {} [INFO] [stdout] 237 + impl ParserCombinator for RecursiveParser where F: Fn() -> Box> {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/peruse/parsers.rs:239:79 [INFO] [stdout] | [INFO] [stdout] 239 | impl Clone for RecursiveParser where F: Fn() -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 239 - impl Clone for RecursiveParser where F: Fn() -> Box> { [INFO] [stdout] 239 + impl Clone for RecursiveParser where F: Fn() -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/peruse/slice_parsers.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | pub type SliceParser = Parser; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - pub type SliceParser = Parser; [INFO] [stdout] 4 + pub type SliceParser = dyn Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/peruse/string_parsers.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | pub type StringParser = Parser; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 type StringParser = Parser; [INFO] [stdout] 7 + pub type StringParser = dyn Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/peruse/parsers.rs:62:46 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn recursive Box>>(f: F) -> RecursiveParser { [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] 62 - pub fn recursive Box>>(f: F) -> RecursiveParser { [INFO] [stdout] 62 + pub fn recursive Box>>(f: F) -> RecursiveParser { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/peruse/parsers.rs:75:34 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn boxed(b: Box>) -> BoxedParser { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 75 - pub fn boxed(b: Box>) -> BoxedParser { [INFO] [stdout] 75 + pub fn boxed(b: Box>) -> BoxedParser { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/peruse/parsers.rs:152:18 [INFO] [stdout] | [INFO] [stdout] 152 | mapper: Rc 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] 152 - mapper: Rc T>>, [INFO] [stdout] 152 + mapper: Rc T>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/peruse/parsers.rs:330:18 [INFO] [stdout] | [INFO] [stdout] 330 | parser: Rc>> [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 330 - parser: Rc>> [INFO] [stdout] 330 + parser: Rc>> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/peruse/slice_parsers.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 49 | matcher: Rc Option>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - matcher: Rc Option>> [INFO] [stdout] 49 + matcher: Rc Option>> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/peruse/parsers.rs:222:66 [INFO] [stdout] | [INFO] [stdout] 222 | pub struct RecursiveParser where F: Fn() -> Box>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 222 - pub struct RecursiveParser where F: Fn() -> Box>{ [INFO] [stdout] 222 + pub struct RecursiveParser where F: Fn() -> Box>{ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/peruse/parsers.rs:226:79 [INFO] [stdout] | [INFO] [stdout] 226 | impl Parser for RecursiveParser where F: Fn() -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 226 - impl Parser for RecursiveParser where F: Fn() -> Box> { [INFO] [stdout] 226 + impl Parser for RecursiveParser where F: Fn() -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/peruse/parsers.rs:237:89 [INFO] [stdout] | [INFO] [stdout] 237 | impl ParserCombinator for RecursiveParser where F: Fn() -> Box> {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 237 - impl ParserCombinator for RecursiveParser where F: Fn() -> Box> {} [INFO] [stdout] 237 + impl ParserCombinator for RecursiveParser where F: Fn() -> Box> {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/peruse/parsers.rs:239:79 [INFO] [stdout] | [INFO] [stdout] 239 | impl Clone for RecursiveParser where F: Fn() -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 239 - impl Clone for RecursiveParser where F: Fn() -> Box> { [INFO] [stdout] 239 + impl Clone for RecursiveParser where F: Fn() -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/peruse/slice_parsers.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | pub type SliceParser = Parser; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - pub type SliceParser = Parser; [INFO] [stdout] 4 + pub type SliceParser = dyn Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/peruse/string_parsers.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | pub type StringParser = Parser; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 type StringParser = Parser; [INFO] [stdout] 7 + pub type StringParser = dyn Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/peruse/slice_parser_tests.rs:57:23 [INFO] [stdout] | [INFO] [stdout] 57 | fn recurse() -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 57 - fn recurse() -> Box> { [INFO] [stdout] 57 + fn recurse() -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/peruse/slice_parser_tests.rs:179:26 [INFO] [stdout] | [INFO] [stdout] 179 | fn expression() -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 179 - fn expression() -> Box> { [INFO] [stdout] 179 + fn expression() -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.70s [INFO] running `Command { std: "docker" "inspect" "324ed1b812b3781d8ffee64cc6b7d2d607e35e4c93904323d9b0a559dc1b3fb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "324ed1b812b3781d8ffee64cc6b7d2d607e35e4c93904323d9b0a559dc1b3fb7", kill_on_drop: false }` [INFO] [stdout] 324ed1b812b3781d8ffee64cc6b7d2d607e35e4c93904323d9b0a559dc1b3fb7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-45/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-45/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 499f60a43c480a54c8a173b7b256824e970eda90f7d675e23fd396b6701e20e8 [INFO] running `Command { std: "docker" "start" "-a" "499f60a43c480a54c8a173b7b256824e970eda90f7d675e23fd396b6701e20e8", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] [INFO] [stderr] warning: unused import: `parsers::*` [INFO] [stdout] running 15 tests [INFO] [stderr] --> src/peruse/slice_parser_tests.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use parsers::*; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stderr] --> src/peruse/lib.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | mod slice_parser_tests; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `slice_parsers::*` [INFO] [stderr] --> src/peruse/slice_parser_tests.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use slice_parsers::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stderr] --> src/peruse/lib.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | mod slice_parser_tests; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `parsers::*` [INFO] [stderr] --> src/peruse/string_parser_tests.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use parsers::*; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stderr] --> src/peruse/lib.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | mod string_parser_tests; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `string_parsers::*` [INFO] [stderr] --> src/peruse/string_parser_tests.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use string_parsers::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stderr] --> src/peruse/lib.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | mod string_parser_tests; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::str::FromStr` [INFO] [stderr] --> src/peruse/string_parser_tests.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::str::FromStr; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stderr] --> src/peruse/lib.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | mod string_parser_tests; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/peruse/parsers.rs:62:46 [INFO] [stderr] | [INFO] [stderr] 62 | pub fn recursive Box>>(f: F) -> RecursiveParser { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 62 - pub fn recursive Box>>(f: F) -> RecursiveParser { [INFO] [stderr] 62 + pub fn recursive Box>>(f: F) -> RecursiveParser { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/peruse/parsers.rs:75:34 [INFO] [stderr] | [INFO] [stderr] 75 | pub fn boxed(b: Box>) -> BoxedParser { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 75 - pub fn boxed(b: Box>) -> BoxedParser { [INFO] [stderr] 75 + pub fn boxed(b: Box>) -> BoxedParser { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/peruse/parsers.rs:152:18 [INFO] [stderr] | [INFO] [stderr] 152 | mapper: Rc T>>, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 152 - mapper: Rc T>>, [INFO] [stderr] 152 + mapper: Rc T>>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/peruse/parsers.rs:330:18 [INFO] [stderr] | [INFO] [stderr] 330 | parser: Rc>> [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 330 - parser: Rc>> [INFO] [stderr] 330 + parser: Rc>> [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/peruse/slice_parsers.rs:49:19 [INFO] [stderr] | [INFO] [stderr] 49 | matcher: Rc Option>> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 49 - matcher: Rc Option>> [INFO] [stderr] 49 + matcher: Rc Option>> [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/peruse/parsers.rs:222:66 [INFO] [stderr] | [INFO] [stderr] 222 | pub struct RecursiveParser where F: Fn() -> Box>{ [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 222 - pub struct RecursiveParser where F: Fn() -> Box>{ [INFO] [stderr] 222 + pub struct RecursiveParser where F: Fn() -> Box>{ [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/peruse/parsers.rs:226:79 [INFO] [stderr] | [INFO] [stderr] 226 | impl Parser for RecursiveParser where F: Fn() -> Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 226 - impl Parser for RecursiveParser where F: Fn() -> Box> { [INFO] [stderr] 226 + impl Parser for RecursiveParser where F: Fn() -> Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/peruse/parsers.rs:237:89 [INFO] [stderr] | [INFO] [stderr] 237 | impl ParserCombinator for RecursiveParser where F: Fn() -> Box> {} [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 237 - impl ParserCombinator for RecursiveParser where F: Fn() -> Box> {} [INFO] [stderr] 237 + impl ParserCombinator for RecursiveParser where F: Fn() -> Box> {} [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/peruse/parsers.rs:239:79 [INFO] [stderr] | [INFO] [stderr] 239 | impl Clone for RecursiveParser where F: Fn() -> Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 239 - impl Clone for RecursiveParser where F: Fn() -> Box> { [INFO] [stderr] 239 + impl Clone for RecursiveParser where F: Fn() -> Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/peruse/slice_parsers.rs:4:29 [INFO] [stderr] | [INFO] [stderr] 4 | pub type SliceParser = Parser; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 4 - pub type SliceParser = Parser; [INFO] [stderr] 4 + pub type SliceParser = dyn Parser; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/peruse/string_parsers.rs:7:28 [INFO] [stderr] | [INFO] [stderr] 7 | pub type StringParser = Parser; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 7 - pub type StringParser = Parser; [INFO] [stderr] 7 + pub type StringParser = dyn Parser; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/peruse/slice_parser_tests.rs:57:23 [INFO] [stderr] | [INFO] [stderr] 57 | fn recurse() -> Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 57 - fn recurse() -> Box> { [INFO] [stderr] 57 + fn recurse() -> Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/peruse/slice_parser_tests.rs:179:26 [INFO] [stderr] | [INFO] [stderr] 179 | fn expression() -> Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 179 - fn expression() -> Box> { [INFO] [stderr] 179 + fn expression() -> Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `peruse` (lib) generated 16 warnings [INFO] [stderr] warning: `peruse` (lib test) generated 13 warnings (11 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.35s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/peruse-6fc813899b2d1499) [INFO] [stdout] test slice_parser_tests::basic_example ... ok [INFO] [stderr] Doc-tests peruse [INFO] [stdout] test slice_parser_tests::test_literal ... ok [INFO] [stdout] test slice_parser_tests::test_map ... ok [INFO] [stdout] test slice_parser_tests::test_opt ... ok [INFO] [stdout] test slice_parser_tests::test_readme_code ... ok [INFO] [stdout] test slice_parser_tests::test_match ... ok [INFO] [stdout] test slice_parser_tests::test_oneof ... ok [INFO] [stdout] test slice_parser_tests::test_recursive ... ok [INFO] [stdout] test slice_parser_tests::test_or ... ok [INFO] [stdout] test slice_parser_tests::test_repeat ... ok [INFO] [stdout] test slice_parser_tests::test_then ... ok [INFO] [stdout] test slice_parser_tests::test_then_l ... ok [INFO] [stdout] test slice_parser_tests::test_then_r ... ok [INFO] [stdout] test string_parser_tests::test_literal ... ok [INFO] [stdout] test string_parser_tests::test_captures ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 15 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "499f60a43c480a54c8a173b7b256824e970eda90f7d675e23fd396b6701e20e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "499f60a43c480a54c8a173b7b256824e970eda90f7d675e23fd396b6701e20e8", kill_on_drop: false }` [INFO] [stdout] 499f60a43c480a54c8a173b7b256824e970eda90f7d675e23fd396b6701e20e8