[INFO] cloning repository https://github.com/mrlegohead0x45/pl0c [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mrlegohead0x45/pl0c" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmrlegohead0x45%2Fpl0c", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmrlegohead0x45%2Fpl0c'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 58d4205e0d3de81b550906117a37aee5edc535dc [INFO] checking mrlegohead0x45/pl0c against master#9748d87dc70a9a6725c5dbd76ce29d04752b4f90 for pr-144156 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmrlegohead0x45%2Fpl0c" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mrlegohead0x45/pl0c [INFO] finished tweaking git repo https://github.com/mrlegohead0x45/pl0c [INFO] tweaked toml for git repo https://github.com/mrlegohead0x45/pl0c written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mrlegohead0x45/pl0c on toolchain 9748d87dc70a9a6725c5dbd76ce29d04752b4f90 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9748d87dc70a9a6725c5dbd76ce29d04752b4f90" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mrlegohead0x45/pl0c 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" "+9748d87dc70a9a6725c5dbd76ce29d04752b4f90" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+9748d87dc70a9a6725c5dbd76ce29d04752b4f90" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fe9666b3f866bf4cbb317a53e8bd439662990502b6fb015c0c1677cd1f08c2e5 [INFO] running `Command { std: "docker" "start" "-a" "fe9666b3f866bf4cbb317a53e8bd439662990502b6fb015c0c1677cd1f08c2e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fe9666b3f866bf4cbb317a53e8bd439662990502b6fb015c0c1677cd1f08c2e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe9666b3f866bf4cbb317a53e8bd439662990502b6fb015c0c1677cd1f08c2e5", kill_on_drop: false }` [INFO] [stdout] fe9666b3f866bf4cbb317a53e8bd439662990502b6fb015c0c1677cd1f08c2e5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+9748d87dc70a9a6725c5dbd76ce29d04752b4f90" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 44e31ee45f07355ffdb110edef7b5e74bcb464cb76fc6fc78bc2b848ccdd0eb1 [INFO] running `Command { std: "docker" "start" "-a" "44e31ee45f07355ffdb110edef7b5e74bcb464cb76fc6fc78bc2b848ccdd0eb1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking anstyle-query v1.1.0 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking clap_lex v0.7.1 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Compiling thiserror v1.0.62 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking clap_builder v4.5.8 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Compiling clap_derive v4.5.8 [INFO] [stderr] Compiling thiserror-impl v1.0.62 [INFO] [stderr] Checking clap v4.5.8 [INFO] [stderr] Checking pl0c v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/tokeniser.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | let c = &[0u8]; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/main.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let t = tokeniser::Tokeniser::new(&r); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CompileError` is never used [INFO] [stdout] --> src/error.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum CompileError { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `kind` and `span` are never read [INFO] [stdout] --> src/token.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub(crate) struct Token { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 3 | kind: TokenKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/token.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | enum TokenKind { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 9 | Integer(i64), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | [INFO] [stdout] 11 | Plus, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | Minus, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | Asterisk, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 14 | Slash, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | [INFO] [stdout] 16 | LParen, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 17 | RParen, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 18 | [INFO] [stdout] 19 | Eq, [INFO] [stdout] | ^^ [INFO] [stdout] 20 | ColonEq, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 21 | EqEq, [INFO] [stdout] | ^^^^ [INFO] [stdout] 22 | NotEq, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 23 | [INFO] [stdout] 24 | LAngle, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 25 | RAngle, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 26 | LAngleEq, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 27 | RAngleEq, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 28 | [INFO] [stdout] 29 | Comma, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 30 | Semicolon, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start` and `end` are never read [INFO] [stdout] --> src/token.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 34 | struct Span { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 35 | start: Position, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 36 | end: Position, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Span` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `line` and `column` are never read [INFO] [stdout] --> src/token.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 40 | struct Position { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 41 | line: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 42 | column: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Position` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `input` is never read [INFO] [stdout] --> src/tokeniser.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) struct Tokeniser<'a> { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 10 | input: &'a dyn Read, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/tokeniser.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | let c = &[0u8]; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/main.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let t = tokeniser::Tokeniser::new(&r); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CompileError` is never used [INFO] [stdout] --> src/error.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum CompileError { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `kind` and `span` are never read [INFO] [stdout] --> src/token.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub(crate) struct Token { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 3 | kind: TokenKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/token.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | enum TokenKind { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 9 | Integer(i64), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | [INFO] [stdout] 11 | Plus, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | Minus, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | Asterisk, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 14 | Slash, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | [INFO] [stdout] 16 | LParen, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 17 | RParen, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 18 | [INFO] [stdout] 19 | Eq, [INFO] [stdout] | ^^ [INFO] [stdout] 20 | ColonEq, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 21 | EqEq, [INFO] [stdout] | ^^^^ [INFO] [stdout] 22 | NotEq, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 23 | [INFO] [stdout] 24 | LAngle, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 25 | RAngle, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 26 | LAngleEq, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 27 | RAngleEq, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 28 | [INFO] [stdout] 29 | Comma, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 30 | Semicolon, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start` and `end` are never read [INFO] [stdout] --> src/token.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 34 | struct Span { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 35 | start: Position, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 36 | end: Position, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Span` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `line` and `column` are never read [INFO] [stdout] --> src/token.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 40 | struct Position { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 41 | line: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 42 | column: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Position` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `input` is never read [INFO] [stdout] --> src/tokeniser.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) struct Tokeniser<'a> { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 10 | input: &'a dyn Read, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.37s [INFO] running `Command { std: "docker" "inspect" "44e31ee45f07355ffdb110edef7b5e74bcb464cb76fc6fc78bc2b848ccdd0eb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44e31ee45f07355ffdb110edef7b5e74bcb464cb76fc6fc78bc2b848ccdd0eb1", kill_on_drop: false }` [INFO] [stdout] 44e31ee45f07355ffdb110edef7b5e74bcb464cb76fc6fc78bc2b848ccdd0eb1