[INFO] fetching crate lexpar 0.1.0... [INFO] testing lexpar-0.1.0 against try#ed7f3d77595b4831fdf085f2529aa13b5b51ff7d for pr-134530 [INFO] extracting crate lexpar 0.1.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate lexpar 0.1.0 on toolchain ed7f3d77595b4831fdf085f2529aa13b5b51ff7d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate lexpar 0.1.0 [INFO] finished tweaking crates.io crate lexpar 0.1.0 [INFO] tweaked toml for crates.io crate lexpar 0.1.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 8 packages to latest compatible versions [INFO] [stderr] Adding regex v0.2.11 (available: v1.11.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 963079ea597c7752f93593d49141b3b88f7907b4dcfa9858e73dc47dec470f44 [INFO] running `Command { std: "docker" "start" "-a" "963079ea597c7752f93593d49141b3b88f7907b4dcfa9858e73dc47dec470f44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "963079ea597c7752f93593d49141b3b88f7907b4dcfa9858e73dc47dec470f44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "963079ea597c7752f93593d49141b3b88f7907b4dcfa9858e73dc47dec470f44", kill_on_drop: false }` [INFO] [stdout] 963079ea597c7752f93593d49141b3b88f7907b4dcfa9858e73dc47dec470f44 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6fdfac26ce7d09fd59ab69bfb18eae4dbf4cf1a900cf1f1c3647831ff9b5d5e6 [INFO] running `Command { std: "docker" "start" "-a" "6fdfac26ce7d09fd59ab69bfb18eae4dbf4cf1a900cf1f1c3647831ff9b5d5e6", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling ucd-util v0.1.10 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling utf8-ranges v1.0.5 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling lexpar v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lexer.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | handle: Box Fn(Span, &'a str, Vec<&'a str>) -> 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 48 | handle: Box Fn(Span, &'a str, Vec<&'a str>) -> T> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lexer.rs:55:18 [INFO] [stdout] | [INFO] [stdout] 55 | unknown: Box Fn(Span, &'a str) -> 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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 55 | unknown: Box Fn(Span, &'a str) -> T> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lexer.rs:117:41 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn new(rules: Vec<(&str, Box Fn(Span, &'a str, Vec<&'a str>) -> T>)>, unknown: F) -> Self [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 117 | pub fn new(rules: Vec<(&str, Box Fn(Span, &'a str, Vec<&'a str>) -> T>)>, unknown: F) -> Self [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.45s [INFO] running `Command { std: "docker" "inspect" "6fdfac26ce7d09fd59ab69bfb18eae4dbf4cf1a900cf1f1c3647831ff9b5d5e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fdfac26ce7d09fd59ab69bfb18eae4dbf4cf1a900cf1f1c3647831ff9b5d5e6", kill_on_drop: false }` [INFO] [stdout] 6fdfac26ce7d09fd59ab69bfb18eae4dbf4cf1a900cf1f1c3647831ff9b5d5e6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4210cbc335d8e4503d008e647bf3e40491e7a27c3191a9f5970a0f44883d0a98 [INFO] running `Command { std: "docker" "start" "-a" "4210cbc335d8e4503d008e647bf3e40491e7a27c3191a9f5970a0f44883d0a98", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lexer.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | handle: Box Fn(Span, &'a str, Vec<&'a str>) -> 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 48 | handle: Box Fn(Span, &'a str, Vec<&'a str>) -> T> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lexer.rs:55:18 [INFO] [stdout] | [INFO] [stdout] 55 | unknown: Box Fn(Span, &'a str) -> 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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 55 | unknown: Box Fn(Span, &'a str) -> T> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lexer.rs:117:41 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn new(rules: Vec<(&str, Box Fn(Span, &'a str, Vec<&'a str>) -> T>)>, unknown: F) -> Self [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 117 | pub fn new(rules: Vec<(&str, Box Fn(Span, &'a str, Vec<&'a str>) -> T>)>, unknown: F) -> Self [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling lexpar v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lexer.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | handle: Box Fn(Span, &'a str, Vec<&'a str>) -> 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 48 | handle: Box Fn(Span, &'a str, Vec<&'a str>) -> T> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lexer.rs:55:18 [INFO] [stdout] | [INFO] [stdout] 55 | unknown: Box Fn(Span, &'a str) -> 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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 55 | unknown: Box Fn(Span, &'a str) -> T> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lexer.rs:117:41 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn new(rules: Vec<(&str, Box Fn(Span, &'a str, Vec<&'a str>) -> T>)>, unknown: F) -> Self [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 117 | pub fn new(rules: Vec<(&str, Box Fn(Span, &'a str, Vec<&'a str>) -> T>)>, unknown: F) -> Self [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/ml_family/parser/ast.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | expr: Box [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | expr: Box [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> examples/rust_family/parser/mod.rs:142:43 [INFO] [stdout] | [INFO] [stdout] 142 | unsafe { acc.push(::std::mem::uninitialized()) } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/rust_family/parser/ast.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | expr: Box [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | expr: Box [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/parser.rs:31:28 [INFO] [stdout] | [INFO] [stdout] 31 | let parse = |iter: 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 | let parse = |iter: Box>| { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/parser.rs:69:28 [INFO] [stdout] | [INFO] [stdout] 69 | let parse = |iter: 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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 69 | let parse = |iter: Box>| { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/parser.rs:102:28 [INFO] [stdout] | [INFO] [stdout] 102 | let parse = |iter: 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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 102 | let parse = |iter: Box>| { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/parser.rs:150:28 [INFO] [stdout] | [INFO] [stdout] 150 | let parse = |iter: 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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 150 | let parse = |iter: Box>| { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/parser.rs:243:28 [INFO] [stdout] | [INFO] [stdout] 243 | let parse = |iter: 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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 243 | let parse = |iter: Box>| { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/parser.rs:309:32 [INFO] [stdout] | [INFO] [stdout] 309 | let parse = |iter: 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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 309 | let parse = |iter: Box>| { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/parser.rs:408:32 [INFO] [stdout] | [INFO] [stdout] 408 | let parse = |iter: 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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 408 | let parse = |iter: Box>| { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/parser.rs:438:32 [INFO] [stdout] | [INFO] [stdout] 438 | let parse = |iter: 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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 438 | let parse = |iter: Box>| { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/parser.rs:489:32 [INFO] [stdout] | [INFO] [stdout] 489 | let parse = |iter: 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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 489 | let parse = |iter: Box>| { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `num` is never read [INFO] [stdout] --> examples/rust_family/parser/ast.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 58 | struct NumberExpr { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 59 | num: f64 [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NumberExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `ast_nodes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> examples/rust_family/parser/ast.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 62 | struct VariableExpr { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 63 | name: String [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VariableExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `ast_nodes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `params` are never read [INFO] [stdout] --> examples/rust_family/parser/ast.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 66 | struct FunctionProtoExpr { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 67 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 68 | params: Vec [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionProtoExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `ast_nodes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `proto` and `body` are never read [INFO] [stdout] --> examples/rust_family/parser/ast.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 71 | struct FunctionExpr { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 72 | proto: AstNode, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 73 | body: Vec [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `ast_nodes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `args` are never read [INFO] [stdout] --> examples/rust_family/parser/ast.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 76 | struct CallExpr { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 77 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 78 | args: Vec [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CallExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `ast_nodes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `op`, `lhs`, and `rhs` are never read [INFO] [stdout] --> examples/rust_family/parser/ast.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 81 | struct BinExpr { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 82 | op: BinOp, [INFO] [stdout] | ^^ [INFO] [stdout] 83 | lhs: AstNode, [INFO] [stdout] | ^^^ [INFO] [stdout] 84 | rhs: AstNode [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BinExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `ast_nodes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `value` are never read [INFO] [stdout] --> examples/rust_family/parser/ast.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 87 | struct VariableDefExpr { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 88 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 89 | value: AstNode [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VariableDefExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `ast_nodes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `AstNode` does not permit being left uninitialized [INFO] [stdout] --> examples/rust_family/parser/mod.rs:142:31 [INFO] [stdout] | [INFO] [stdout] 142 | unsafe { acc.push(::std::mem::uninitialized()) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> examples/rust_family/parser/ast.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | span: Span, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `num` is never read [INFO] [stdout] --> examples/ml_family/parser/ast.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 58 | struct NumberExpr { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 59 | num: f64 [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NumberExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `ast_nodes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `string` is never read [INFO] [stdout] --> examples/ml_family/parser/ast.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 62 | struct StringExpr { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 63 | string: String [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StringExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `ast_nodes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> examples/ml_family/parser/ast.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 66 | struct VariableExpr { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 67 | name: String [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VariableExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `ast_nodes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `params` are never read [INFO] [stdout] --> examples/ml_family/parser/ast.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 70 | struct FunctionProtoExpr { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 71 | name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 72 | params: Vec [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionProtoExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `ast_nodes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `proto` and `body` are never read [INFO] [stdout] --> examples/ml_family/parser/ast.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 75 | struct FunctionExpr { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 76 | proto: AstNode, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 77 | body: AstNode [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `ast_nodes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `proto` and `body` are never read [INFO] [stdout] --> examples/ml_family/parser/ast.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 80 | struct ClosureExpr { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 81 | proto: AstNode, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 82 | body: AstNode [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClosureExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `ast_nodes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `args` are never read [INFO] [stdout] --> examples/ml_family/parser/ast.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 85 | struct CallExpr { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 86 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 87 | args: Vec [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CallExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `ast_nodes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `exprs` is never read [INFO] [stdout] --> examples/ml_family/parser/ast.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 90 | struct BlockExpr { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 91 | exprs: Vec [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `ast_nodes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `op`, `lhs`, and `rhs` are never read [INFO] [stdout] --> examples/ml_family/parser/ast.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 94 | struct BinExpr { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 95 | op: BinOp, [INFO] [stdout] | ^^ [INFO] [stdout] 96 | lhs: AstNode, [INFO] [stdout] | ^^^ [INFO] [stdout] 97 | rhs: AstNode [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BinExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `ast_nodes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cond`, `then`, and `el` are never read [INFO] [stdout] --> examples/ml_family/parser/ast.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 100 | struct IfExpr { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 101 | cond: AstNode, [INFO] [stdout] | ^^^^ [INFO] [stdout] 102 | then: AstNode, [INFO] [stdout] | ^^^^ [INFO] [stdout] 103 | el: Option [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `IfExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `ast_nodes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `var`, `iter`, and `body` are never read [INFO] [stdout] --> examples/ml_family/parser/ast.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 106 | struct ForExpr { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 107 | var: AstNode, [INFO] [stdout] | ^^^ [INFO] [stdout] 108 | iter: AstNode, [INFO] [stdout] | ^^^^ [INFO] [stdout] 109 | body: AstNode [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ForExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `ast_nodes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `value` are never read [INFO] [stdout] --> examples/ml_family/parser/ast.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 112 | struct VariableDef { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 113 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 114 | value: AstNode [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VariableDef` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `ast_nodes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.72s [INFO] running `Command { std: "docker" "inspect" "4210cbc335d8e4503d008e647bf3e40491e7a27c3191a9f5970a0f44883d0a98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4210cbc335d8e4503d008e647bf3e40491e7a27c3191a9f5970a0f44883d0a98", kill_on_drop: false }` [INFO] [stdout] 4210cbc335d8e4503d008e647bf3e40491e7a27c3191a9f5970a0f44883d0a98 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b22bdf49f89fadb108060642da653e141bc77b23bf52863a5753b8cf84b15311 [INFO] running `Command { std: "docker" "start" "-a" "b22bdf49f89fadb108060642da653e141bc77b23bf52863a5753b8cf84b15311", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lexer.rs:48:17 [INFO] [stderr] | [INFO] [stderr] 48 | handle: Box Fn(Span, &'a str, Vec<&'a str>) -> 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 48 | handle: Box Fn(Span, &'a str, Vec<&'a str>) -> T> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lexer.rs:55:18 [INFO] [stderr] | [INFO] [stderr] 55 | unknown: Box Fn(Span, &'a str) -> 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: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 55 | unknown: Box Fn(Span, &'a str) -> T> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lexer.rs:117:41 [INFO] [stderr] | [INFO] [stderr] 117 | pub fn new(rules: Vec<(&str, Box Fn(Span, &'a str, Vec<&'a str>) -> T>)>, unknown: F) -> Self [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 117 | pub fn new(rules: Vec<(&str, Box Fn(Span, &'a str, Vec<&'a str>) -> T>)>, unknown: F) -> Self [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `lexpar` (lib) generated 3 warnings (run `cargo fix --lib -p lexpar` to apply 3 suggestions) [INFO] [stderr] warning: `lexpar` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> tests/parser.rs:31:28 [INFO] [stderr] | [INFO] [stderr] 31 | let parse = |iter: 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 31 | let parse = |iter: Box>| { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> tests/parser.rs:69:28 [INFO] [stderr] | [INFO] [stderr] 69 | let parse = |iter: 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: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 69 | let parse = |iter: Box>| { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> tests/parser.rs:102:28 [INFO] [stderr] | [INFO] [stderr] 102 | let parse = |iter: 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: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 102 | let parse = |iter: Box>| { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> tests/parser.rs:150:28 [INFO] [stderr] | [INFO] [stderr] 150 | let parse = |iter: 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: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 150 | let parse = |iter: Box>| { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> tests/parser.rs:243:28 [INFO] [stderr] | [INFO] [stderr] 243 | let parse = |iter: 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: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 243 | let parse = |iter: Box>| { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> tests/parser.rs:309:32 [INFO] [stderr] | [INFO] [stderr] 309 | let parse = |iter: 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: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 309 | let parse = |iter: Box>| { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> tests/parser.rs:408:32 [INFO] [stderr] | [INFO] [stderr] 408 | let parse = |iter: 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: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 408 | let parse = |iter: Box>| { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> tests/parser.rs:438:32 [INFO] [stderr] | [INFO] [stderr] 438 | let parse = |iter: 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: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 438 | let parse = |iter: Box>| { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> tests/parser.rs:489:32 [INFO] [stderr] | [INFO] [stderr] 489 | let parse = |iter: 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: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 489 | let parse = |iter: Box>| { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> examples/ml_family/parser/ast.rs:9:15 [INFO] [stderr] | [INFO] [stderr] 9 | expr: Box [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 9 | expr: Box [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: field `num` is never read [INFO] [stderr] --> examples/ml_family/parser/ast.rs:59:9 [INFO] [stderr] | [INFO] [stderr] 58 | struct NumberExpr { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] 59 | num: f64 [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `NumberExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] = note: this warning originates in the macro `ast_nodes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field `string` is never read [INFO] [stderr] --> examples/ml_family/parser/ast.rs:63:9 [INFO] [stderr] | [INFO] [stderr] 62 | struct StringExpr { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] 63 | string: String [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `StringExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: this warning originates in the macro `ast_nodes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field `name` is never read [INFO] [stderr] --> examples/ml_family/parser/ast.rs:67:9 [INFO] [stderr] | [INFO] [stderr] 66 | struct VariableExpr { [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] 67 | name: String [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `VariableExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: this warning originates in the macro `ast_nodes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: fields `name` and `params` are never read [INFO] [stderr] --> examples/ml_family/parser/ast.rs:71:9 [INFO] [stderr] | [INFO] [stderr] 70 | struct FunctionProtoExpr { [INFO] [stderr] | ----------------- fields in this struct [INFO] [stderr] 71 | name: Option, [INFO] [stderr] | ^^^^ [INFO] [stderr] 72 | params: Vec [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `FunctionProtoExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: this warning originates in the macro `ast_nodes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: fields `proto` and `body` are never read [INFO] [stderr] --> examples/ml_family/parser/ast.rs:76:9 [INFO] [stderr] | [INFO] [stderr] 75 | struct FunctionExpr { [INFO] [stderr] | ------------ fields in this struct [INFO] [stderr] 76 | proto: AstNode, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 77 | body: AstNode [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `FunctionExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: this warning originates in the macro `ast_nodes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: fields `proto` and `body` are never read [INFO] [stderr] --> examples/ml_family/parser/ast.rs:81:9 [INFO] [stderr] | [INFO] [stderr] 80 | struct ClosureExpr { [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] 81 | proto: AstNode, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 82 | body: AstNode [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ClosureExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: this warning originates in the macro `ast_nodes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: fields `name` and `args` are never read [INFO] [stderr] --> examples/ml_family/parser/ast.rs:86:9 [INFO] [stderr] | [INFO] [stderr] 85 | struct CallExpr { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 86 | name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 87 | args: Vec [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `CallExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: this warning originates in the macro `ast_nodes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field `exprs` is never read [INFO] [stderr] --> examples/ml_family/parser/ast.rs:91:9 [INFO] [stderr] | [INFO] [stderr] 90 | struct BlockExpr { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] 91 | exprs: Vec [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `BlockExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: this warning originates in the macro `ast_nodes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: fields `op`, `lhs`, and `rhs` are never read [INFO] [stderr] --> examples/ml_family/parser/ast.rs:95:9 [INFO] [stderr] | [INFO] [stderr] 94 | struct BinExpr { [INFO] [stderr] | ------- fields in this struct [INFO] [stderr] 95 | op: BinOp, [INFO] [stderr] | ^^ [INFO] [stderr] 96 | lhs: AstNode, [INFO] [stderr] | ^^^ [INFO] [stderr] 97 | rhs: AstNode [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `BinExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: this warning originates in the macro `ast_nodes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: fields `cond`, `then`, and `el` are never read [INFO] [stderr] --> examples/ml_family/parser/ast.rs:101:9 [INFO] [stderr] | [INFO] [stderr] 100 | struct IfExpr { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] 101 | cond: AstNode, [INFO] [stderr] | ^^^^ [INFO] [stderr] 102 | then: AstNode, [INFO] [stderr] | ^^^^ [INFO] [stderr] 103 | el: Option [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `IfExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: this warning originates in the macro `ast_nodes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: fields `var`, `iter`, and `body` are never read [INFO] [stderr] --> examples/ml_family/parser/ast.rs:107:9 [INFO] [stderr] | [INFO] [stderr] 106 | struct ForExpr { [INFO] [stderr] | ------- fields in this struct [INFO] [stderr] 107 | var: AstNode, [INFO] [stderr] | ^^^ [INFO] [stderr] 108 | iter: AstNode, [INFO] [stderr] | ^^^^ [INFO] [stderr] 109 | body: AstNode [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ForExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: this warning originates in the macro `ast_nodes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: fields `name` and `value` are never read [INFO] [stderr] --> examples/ml_family/parser/ast.rs:113:9 [INFO] [stderr] | [INFO] [stderr] 112 | struct VariableDef { [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] 113 | name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 114 | value: AstNode [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `VariableDef` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: this warning originates in the macro `ast_nodes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> examples/rust_family/parser/mod.rs:142:43 [INFO] [stderr] | [INFO] [stderr] 142 | unsafe { acc.push(::std::mem::uninitialized()) } [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> examples/rust_family/parser/ast.rs:9:15 [INFO] [stderr] | [INFO] [stderr] 9 | expr: Box [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 9 | expr: Box [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: field `num` is never read [INFO] [stderr] --> examples/rust_family/parser/ast.rs:59:9 [INFO] [stderr] | [INFO] [stderr] 58 | struct NumberExpr { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] 59 | num: f64 [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `NumberExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] = note: this warning originates in the macro `ast_nodes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field `name` is never read [INFO] [stderr] --> examples/rust_family/parser/ast.rs:63:9 [INFO] [stderr] | [INFO] [stderr] 62 | struct VariableExpr { [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] 63 | name: String [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `VariableExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: this warning originates in the macro `ast_nodes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: fields `name` and `params` are never read [INFO] [stderr] --> examples/rust_family/parser/ast.rs:67:9 [INFO] [stderr] | [INFO] [stderr] 66 | struct FunctionProtoExpr { [INFO] [stderr] | ----------------- fields in this struct [INFO] [stderr] 67 | name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 68 | params: Vec [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `FunctionProtoExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: this warning originates in the macro `ast_nodes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: fields `proto` and `body` are never read [INFO] [stderr] --> examples/rust_family/parser/ast.rs:72:9 [INFO] [stderr] | [INFO] [stderr] 71 | struct FunctionExpr { [INFO] [stderr] | ------------ fields in this struct [INFO] [stderr] 72 | proto: AstNode, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 73 | body: Vec [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `FunctionExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: this warning originates in the macro `ast_nodes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: fields `name` and `args` are never read [INFO] [stderr] --> examples/rust_family/parser/ast.rs:77:9 [INFO] [stderr] | [INFO] [stderr] 76 | struct CallExpr { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 77 | name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 78 | args: Vec [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `CallExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: this warning originates in the macro `ast_nodes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: fields `op`, `lhs`, and `rhs` are never read [INFO] [stderr] --> examples/rust_family/parser/ast.rs:82:9 [INFO] [stderr] | [INFO] [stderr] 81 | struct BinExpr { [INFO] [stderr] | ------- fields in this struct [INFO] [stderr] 82 | op: BinOp, [INFO] [stderr] | ^^ [INFO] [stderr] 83 | lhs: AstNode, [INFO] [stderr] | ^^^ [INFO] [stderr] 84 | rhs: AstNode [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `BinExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: this warning originates in the macro `ast_nodes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: fields `name` and `value` are never read [INFO] [stderr] --> examples/rust_family/parser/ast.rs:88:9 [INFO] [stderr] | [INFO] [stderr] 87 | struct VariableDefExpr { [INFO] [stderr] | --------------- fields in this struct [INFO] [stderr] 88 | name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 89 | value: AstNode [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `VariableDefExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: this warning originates in the macro `ast_nodes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: the type `AstNode` does not permit being left uninitialized [INFO] [stderr] --> examples/rust_family/parser/mod.rs:142:31 [INFO] [stderr] | [INFO] [stderr] 142 | unsafe { acc.push(::std::mem::uninitialized()) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] | [INFO] [stderr] note: integers must be initialized (in this struct field) [INFO] [stderr] --> examples/rust_family/parser/ast.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | span: Span, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(invalid_value)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `lexpar` (test "parser") generated 9 warnings (run `cargo fix --test "parser"` to apply 9 suggestions) [INFO] [stderr] warning: `lexpar` (example "ml") generated 13 warnings (run `cargo fix --example "ml"` to apply 1 suggestion) [INFO] [stderr] warning: `lexpar` (example "rust") generated 10 warnings (run `cargo fix --example "rust"` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/lexpar-92146ad7db981f4d) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/lexer.rs (/opt/rustwide/target/debug/deps/lexer-c9e4c2bb298347dc) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test unknown_token ... ok [INFO] [stdout] test some_tokens ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Running tests/parser.rs (/opt/rustwide/target/debug/deps/parser-472515eddadf59ed) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test looping::parser8_fn_args ... ok [INFO] [stdout] test looping::parser9_fold_fn_args ... ok [INFO] [stdout] test parser1_ok_eof_unexpected ... ok [INFO] [stdout] test parser2_nonterm_call ... ok [INFO] [stdout] test looping::parser7_kleene_star ... ok [INFO] [stdout] test parser3_epsilon_and_trailing_commas ... ok [INFO] [stdout] test parser4_custom_handler ... ok [INFO] [stdout] test parser6_recursive_grammar ... ok [INFO] [stdout] test precedence::parser9_binop_infix_precedence_syntax ... ok [INFO] [stdout] test parser5_nonterm_as_first_rule ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] Doc-tests lexpar [INFO] [stderr] error: DefId(0:46 ~ lexpar[fe29]::parser) has more than five doctests [INFO] [stderr] [INFO] [stderr] error: aborting due to 1 previous error [INFO] [stderr] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/bin/rustdoc --edition=2015 --crate-type lib --color auto --crate-name lexpar --test src/lib.rs --test-run-directory /opt/rustwide/workdir -L dependency=/opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern lexpar=/opt/rustwide/target/debug/deps/liblexpar-5819e52c5e417a59.rlib --extern regex=/opt/rustwide/target/debug/deps/libregex-00633462e85c6d05.rlib -C embed-bitcode=no --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' --cap-lints=forbid --error-format human` (exit status: 1) [INFO] [stderr] note: test exited abnormally; to see the full output pass --nocapture to the harness. [INFO] running `Command { std: "docker" "inspect" "b22bdf49f89fadb108060642da653e141bc77b23bf52863a5753b8cf84b15311", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b22bdf49f89fadb108060642da653e141bc77b23bf52863a5753b8cf84b15311", kill_on_drop: false }` [INFO] [stdout] b22bdf49f89fadb108060642da653e141bc77b23bf52863a5753b8cf84b15311