[INFO] cloning repository https://github.com/yuchiki/parser [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yuchiki/parser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuchiki%2Fparser", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuchiki%2Fparser'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8974be94736ce4e7a10cf9beed4ac00f77fcc14b [INFO] checking yuchiki/parser against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuchiki%2Fparser" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yuchiki/parser on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/yuchiki/parser [INFO] finished tweaking git repo https://github.com/yuchiki/parser [INFO] tweaked toml for git repo https://github.com/yuchiki/parser written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/yuchiki/parser already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0769ebda6ee203d94dcfd5d5270ffc17c0c9b15f7802a9204b1c719ddc6c892d [INFO] running `Command { std: "docker" "start" "-a" "0769ebda6ee203d94dcfd5d5270ffc17c0c9b15f7802a9204b1c719ddc6c892d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0769ebda6ee203d94dcfd5d5270ffc17c0c9b15f7802a9204b1c719ddc6c892d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0769ebda6ee203d94dcfd5d5270ffc17c0c9b15f7802a9204b1c719ddc6c892d", kill_on_drop: false }` [INFO] [stdout] 0769ebda6ee203d94dcfd5d5270ffc17c0c9b15f7802a9204b1c719ddc6c892d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 231153bd7b38b203c8b212305d4b7a7e676d9b221ed0a25f1ae0c58d42b877c5 [INFO] running `Command { std: "docker" "start" "-a" "231153bd7b38b203c8b212305d4b7a7e676d9b221ed0a25f1ae0c58d42b877c5", kill_on_drop: false }` [INFO] [stderr] Checking parser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:166:29 [INFO] [stdout] | [INFO] [stdout] 166 | fn lex_number(input: &[u8], mut pos: usize) -> Result<(Token, usize), LexError> { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:175:30 [INFO] [stdout] | [INFO] [stdout] 175 | fn skip_spaces(input: &[u8], mut pos: usize) -> Result<((), usize), LexError> { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:166:29 [INFO] [stdout] | [INFO] [stdout] 166 | fn lex_number(input: &[u8], mut pos: usize) -> Result<(Token, usize), LexError> { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `merge` is never used [INFO] [stdout] --> src/main.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 9 | impl Loc { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] 10 | fn merge(&self, other: &Loc) -> Loc { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `UniOpKind` is never used [INFO] [stdout] --> src/main.rs:208:6 [INFO] [stdout] | [INFO] [stdout] 208 | enum UniOpKind { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `UniOp` is never used [INFO] [stdout] --> src/main.rs:213:6 [INFO] [stdout] | [INFO] [stdout] 213 | type UniOp = Annot; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `plus` and `minus` are never used [INFO] [stdout] --> src/main.rs:216:8 [INFO] [stdout] | [INFO] [stdout] 215 | impl UniOp { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] 216 | fn plus(loc: Loc) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 220 | fn minus(loc: Loc) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BinOpKind` is never used [INFO] [stdout] --> src/main.rs:226:6 [INFO] [stdout] | [INFO] [stdout] 226 | enum BinOpKind { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `BinOp` is never used [INFO] [stdout] --> src/main.rs:233:6 [INFO] [stdout] | [INFO] [stdout] 233 | type BinOp = Annot; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:175:30 [INFO] [stdout] | [INFO] [stdout] 175 | fn skip_spaces(input: &[u8], mut pos: usize) -> Result<((), usize), LexError> { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `add`, `sub`, `mult`, and `div` are never used [INFO] [stdout] --> src/main.rs:236:8 [INFO] [stdout] | [INFO] [stdout] 235 | impl BinOp { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] 236 | fn add(loc: Loc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 239 | fn sub(loc: Loc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | fn mult(loc: Loc) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 245 | fn div(loc: Loc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AstKind` is never used [INFO] [stdout] --> src/main.rs:251:6 [INFO] [stdout] | [INFO] [stdout] 251 | enum AstKind { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Ast` is never used [INFO] [stdout] --> src/main.rs:257:6 [INFO] [stdout] | [INFO] [stdout] 257 | type Ast = Annot; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `num`, `uniop`, and `binop` are never used [INFO] [stdout] --> src/main.rs:260:8 [INFO] [stdout] | [INFO] [stdout] 259 | impl Ast { [INFO] [stdout] | -------- associated functions in this implementation [INFO] [stdout] 260 | fn num(n: u64, loc: Loc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 264 | fn uniop(op: UniOp, e: Ast, loc: Loc) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 268 | fn binop(op: BinOp, l: Ast, r: Ast, loc: Loc) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ParseError` is never used [INFO] [stdout] --> src/main.rs:281:6 [INFO] [stdout] | [INFO] [stdout] 281 | enum ParseError { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse` is never used [INFO] [stdout] --> src/main.rs:290:4 [INFO] [stdout] | [INFO] [stdout] 290 | fn parse(tokens: Vec) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_expr` is never used [INFO] [stdout] --> src/main.rs:299:4 [INFO] [stdout] | [INFO] [stdout] 299 | fn parse_expr(tokens: &mut Peekable) -> Result [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_expr3` is never used [INFO] [stdout] --> src/main.rs:306:4 [INFO] [stdout] | [INFO] [stdout] 306 | fn parse_expr3(tokens: &mut Peekable) -> Result [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_expr2` is never used [INFO] [stdout] --> src/main.rs:334:4 [INFO] [stdout] | [INFO] [stdout] 334 | fn parse_expr2(tokens: &mut Peekable) -> Result [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_expr1` is never used [INFO] [stdout] --> src/main.rs:362:4 [INFO] [stdout] | [INFO] [stdout] 362 | fn parse_expr1(tokens: &mut Peekable) -> Result [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_atom` is never used [INFO] [stdout] --> src/main.rs:387:4 [INFO] [stdout] | [INFO] [stdout] 387 | fn parse_atom(tokens: &mut Peekable) -> Result [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `UnexpectedToken` and `NotOperator` are never constructed [INFO] [stdout] --> src/main.rs:282:5 [INFO] [stdout] | [INFO] [stdout] 281 | enum ParseError { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 282 | UnexpectedToken(Token), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 283 | NotExpression(Token), [INFO] [stdout] 284 | NotOperator(Token), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] running `Command { std: "docker" "inspect" "231153bd7b38b203c8b212305d4b7a7e676d9b221ed0a25f1ae0c58d42b877c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "231153bd7b38b203c8b212305d4b7a7e676d9b221ed0a25f1ae0c58d42b877c5", kill_on_drop: false }` [INFO] [stdout] 231153bd7b38b203c8b212305d4b7a7e676d9b221ed0a25f1ae0c58d42b877c5 [INFO] checking yuchiki/parser against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuchiki%2Fparser" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yuchiki/parser on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/yuchiki/parser [INFO] finished tweaking git repo https://github.com/yuchiki/parser [INFO] tweaked toml for git repo https://github.com/yuchiki/parser written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/yuchiki/parser already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 84825ff122cced9cf7e11d3d069573d4bfea5c73f720c7f33a97e9cd1afcd106 [INFO] running `Command { std: "docker" "start" "-a" "84825ff122cced9cf7e11d3d069573d4bfea5c73f720c7f33a97e9cd1afcd106", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "84825ff122cced9cf7e11d3d069573d4bfea5c73f720c7f33a97e9cd1afcd106", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84825ff122cced9cf7e11d3d069573d4bfea5c73f720c7f33a97e9cd1afcd106", kill_on_drop: false }` [INFO] [stdout] 84825ff122cced9cf7e11d3d069573d4bfea5c73f720c7f33a97e9cd1afcd106 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Dtail_expr_drop_order" "-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 500c5b4a0f7ed89cdac6b77159f0844ccd2d569cdeacd3f7e7e9e48af90ebbb3 [INFO] running `Command { std: "docker" "start" "-a" "500c5b4a0f7ed89cdac6b77159f0844ccd2d569cdeacd3f7e7e9e48af90ebbb3", kill_on_drop: false }` [INFO] [stderr] Checking parser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:166:29 [INFO] [stdout] | [INFO] [stdout] 166 | fn lex_number(input: &[u8], mut pos: usize) -> Result<(Token, usize), LexError> { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:175:30 [INFO] [stdout] | [INFO] [stdout] 175 | fn skip_spaces(input: &[u8], mut pos: usize) -> Result<((), usize), LexError> { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `merge` is never used [INFO] [stdout] --> src/main.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 9 | impl Loc { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] 10 | fn merge(&self, other: &Loc) -> Loc { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `UniOpKind` is never used [INFO] [stdout] --> src/main.rs:208:6 [INFO] [stdout] | [INFO] [stdout] 208 | enum UniOpKind { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `UniOp` is never used [INFO] [stdout] --> src/main.rs:213:6 [INFO] [stdout] | [INFO] [stdout] 213 | type UniOp = Annot; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `plus` and `minus` are never used [INFO] [stdout] --> src/main.rs:216:8 [INFO] [stdout] | [INFO] [stdout] 215 | impl UniOp { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] 216 | fn plus(loc: Loc) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 220 | fn minus(loc: Loc) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BinOpKind` is never used [INFO] [stdout] --> src/main.rs:226:6 [INFO] [stdout] | [INFO] [stdout] 226 | enum BinOpKind { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `BinOp` is never used [INFO] [stdout] --> src/main.rs:233:6 [INFO] [stdout] | [INFO] [stdout] 233 | type BinOp = Annot; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `add`, `sub`, `mult`, and `div` are never used [INFO] [stdout] --> src/main.rs:236:8 [INFO] [stdout] | [INFO] [stdout] 235 | impl BinOp { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] 236 | fn add(loc: Loc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 239 | fn sub(loc: Loc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | fn mult(loc: Loc) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 245 | fn div(loc: Loc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AstKind` is never used [INFO] [stdout] --> src/main.rs:251:6 [INFO] [stdout] | [INFO] [stdout] 251 | enum AstKind { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Ast` is never used [INFO] [stdout] --> src/main.rs:257:6 [INFO] [stdout] | [INFO] [stdout] 257 | type Ast = Annot; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `num`, `uniop`, and `binop` are never used [INFO] [stdout] --> src/main.rs:260:8 [INFO] [stdout] | [INFO] [stdout] 259 | impl Ast { [INFO] [stdout] | -------- associated functions in this implementation [INFO] [stdout] 260 | fn num(n: u64, loc: Loc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 264 | fn uniop(op: UniOp, e: Ast, loc: Loc) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 268 | fn binop(op: BinOp, l: Ast, r: Ast, loc: Loc) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ParseError` is never used [INFO] [stdout] --> src/main.rs:281:6 [INFO] [stdout] | [INFO] [stdout] 281 | enum ParseError { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse` is never used [INFO] [stdout] --> src/main.rs:290:4 [INFO] [stdout] | [INFO] [stdout] 290 | fn parse(tokens: Vec) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_expr` is never used [INFO] [stdout] --> src/main.rs:299:4 [INFO] [stdout] | [INFO] [stdout] 299 | fn parse_expr(tokens: &mut Peekable) -> Result [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_expr3` is never used [INFO] [stdout] --> src/main.rs:306:4 [INFO] [stdout] | [INFO] [stdout] 306 | fn parse_expr3(tokens: &mut Peekable) -> Result [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_expr2` is never used [INFO] [stdout] --> src/main.rs:334:4 [INFO] [stdout] | [INFO] [stdout] 334 | fn parse_expr2(tokens: &mut Peekable) -> Result [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_expr1` is never used [INFO] [stdout] --> src/main.rs:362:4 [INFO] [stdout] | [INFO] [stdout] 362 | fn parse_expr1(tokens: &mut Peekable) -> Result [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_atom` is never used [INFO] [stdout] --> src/main.rs:387:4 [INFO] [stdout] | [INFO] [stdout] 387 | fn parse_atom(tokens: &mut Peekable) -> Result [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:265:19 [INFO] [stdout] | [INFO] [stdout] 264 | fn uniop(op: UniOp, e: Ast, loc: Loc) -> Self { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 265 | Self::new(AstKind::UniOp { op, e: Box::new(e) }, loc) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:270:13 [INFO] [stdout] | [INFO] [stdout] 268 | fn binop(op: BinOp, l: Ast, r: Ast, loc: Loc) -> Self { [INFO] [stdout] | ------ ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 269 | Self::new( [INFO] [stdout] 270 | / AstKind::BinOp { [INFO] [stdout] 271 | | op, [INFO] [stdout] 272 | | l: Box::new(l), [INFO] [stdout] 273 | | r: Box::new(r), [INFO] [stdout] 274 | | }, [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:166:29 [INFO] [stdout] | [INFO] [stdout] 166 | fn lex_number(input: &[u8], mut pos: usize) -> Result<(Token, usize), LexError> { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `parser` (bin "parser") due to 3 previous errors; 19 warnings emitted [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:175:30 [INFO] [stdout] | [INFO] [stdout] 175 | fn skip_spaces(input: &[u8], mut pos: usize) -> Result<((), usize), LexError> { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variants `UnexpectedToken` and `NotOperator` are never constructed [INFO] [stdout] --> src/main.rs:282:5 [INFO] [stdout] | [INFO] [stdout] 281 | enum ParseError { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 282 | UnexpectedToken(Token), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 283 | NotExpression(Token), [INFO] [stdout] 284 | NotOperator(Token), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:265:19 [INFO] [stdout] | [INFO] [stdout] 264 | fn uniop(op: UniOp, e: Ast, loc: Loc) -> Self { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 265 | Self::new(AstKind::UniOp { op, e: Box::new(e) }, loc) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:270:13 [INFO] [stdout] | [INFO] [stdout] 268 | fn binop(op: BinOp, l: Ast, r: Ast, loc: Loc) -> Self { [INFO] [stdout] | ------ ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 269 | Self::new( [INFO] [stdout] 270 | / AstKind::BinOp { [INFO] [stdout] 271 | | op, [INFO] [stdout] 272 | | l: Box::new(l), [INFO] [stdout] 273 | | r: Box::new(r), [INFO] [stdout] 274 | | }, [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:442:9 [INFO] [stdout] | [INFO] [stdout] 430 | let ast = parse(vec![ [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 442 | / Ok(Ast::binop( [INFO] [stdout] 443 | | BinOp::sub(Loc(10, 11)), [INFO] [stdout] 444 | | Ast::binop( [INFO] [stdout] 445 | | BinOp::add(Loc(2, 3)), [INFO] [stdout] ... | [INFO] [stdout] 460 | | Loc(0, 15) [INFO] [stdout] 461 | | )) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `parser` (bin "parser" test) due to 4 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "500c5b4a0f7ed89cdac6b77159f0844ccd2d569cdeacd3f7e7e9e48af90ebbb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "500c5b4a0f7ed89cdac6b77159f0844ccd2d569cdeacd3f7e7e9e48af90ebbb3", kill_on_drop: false }` [INFO] [stdout] 500c5b4a0f7ed89cdac6b77159f0844ccd2d569cdeacd3f7e7e9e48af90ebbb3