[INFO] fetching crate lexpar 0.1.0... [INFO] checking lexpar-0.1.0 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate lexpar 0.1.0 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate lexpar 0.1.0 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "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-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 9 packages to latest compatible versions [INFO] [stderr] Adding aho-corasick v0.6.10 (latest: v1.1.3) [INFO] [stderr] Adding regex v0.2.11 (latest: v1.10.6) [INFO] [stderr] Adding regex-syntax v0.5.6 (latest: v0.8.4) [INFO] [stderr] Adding thread_local v0.3.6 (latest: v1.1.8) [INFO] [stderr] Adding ucd-util v0.1.10 (latest: v0.2.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2aa05fee3c58c766623446e4757ce485dd524fe624630fee600a101ffb334a61 [INFO] running `Command { std: "docker" "start" "-a" "2aa05fee3c58c766623446e4757ce485dd524fe624630fee600a101ffb334a61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2aa05fee3c58c766623446e4757ce485dd524fe624630fee600a101ffb334a61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2aa05fee3c58c766623446e4757ce485dd524fe624630fee600a101ffb334a61", kill_on_drop: false }` [INFO] [stdout] 2aa05fee3c58c766623446e4757ce485dd524fe624630fee600a101ffb334a61 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9867171d6e6f83dc276b1a7eaa96043d1ebd2b91f810c26815e324f74e570046 [INFO] running `Command { std: "docker" "start" "-a" "9867171d6e6f83dc276b1a7eaa96043d1ebd2b91f810c26815e324f74e570046", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking ucd-util v0.1.10 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking utf8-ranges v1.0.5 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Checking 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 an object-safe 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 an object-safe 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: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 an object-safe 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 an object-safe 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 an object-safe 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] --> 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 an object-safe 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: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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/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 `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 `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: 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 `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] [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: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.59s [INFO] running `Command { std: "docker" "inspect" "9867171d6e6f83dc276b1a7eaa96043d1ebd2b91f810c26815e324f74e570046", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9867171d6e6f83dc276b1a7eaa96043d1ebd2b91f810c26815e324f74e570046", kill_on_drop: false }` [INFO] [stdout] 9867171d6e6f83dc276b1a7eaa96043d1ebd2b91f810c26815e324f74e570046