[INFO] cloning repository https://github.com/caterpillar-1/tm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/caterpillar-1/tm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcaterpillar-1%2Ftm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcaterpillar-1%2Ftm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2d9331f1d305b08ba442ec53d4452b5aad855c8c [INFO] checking caterpillar-1/tm/2d9331f1d305b08ba442ec53d4452b5aad855c8c against master#4068bafedd8ba724e332a5221c06a6fa531a30d2 for pr-146978 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcaterpillar-1%2Ftm" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/caterpillar-1/tm [INFO] finished tweaking git repo https://github.com/caterpillar-1/tm [INFO] tweaked toml for git repo https://github.com/caterpillar-1/tm written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/caterpillar-1/tm on toolchain 4068bafedd8ba724e332a5221c06a6fa531a30d2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4068bafedd8ba724e332a5221c06a6fa531a30d2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/caterpillar-1/tm 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" "+4068bafedd8ba724e332a5221c06a6fa531a30d2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4068bafedd8ba724e332a5221c06a6fa531a30d2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 272714611a04d101e7febf8a4845764392e8aa98a80f7c9845f1f3fbba9536c1 [INFO] running `Command { std: "docker" "start" "-a" "272714611a04d101e7febf8a4845764392e8aa98a80f7c9845f1f3fbba9536c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "272714611a04d101e7febf8a4845764392e8aa98a80f7c9845f1f3fbba9536c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "272714611a04d101e7febf8a4845764392e8aa98a80f7c9845f1f3fbba9536c1", kill_on_drop: false }` [INFO] [stdout] 272714611a04d101e7febf8a4845764392e8aa98a80f7c9845f1f3fbba9536c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4068bafedd8ba724e332a5221c06a6fa531a30d2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f7b719fafdbfb63c15daa7ffaca57deb1feaa5f7533333162a86febbf2a11206 [INFO] running `Command { std: "docker" "start" "-a" "f7b719fafdbfb63c15daa7ffaca57deb1feaa5f7533333162a86febbf2a11206", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Checking clap_lex v0.7.3 [INFO] [stderr] Checking exitcode v1.1.2 [INFO] [stderr] Checking clap_builder v4.5.21 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Checking clap v4.5.21 [INFO] [stderr] Checking fla v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable `mode` is assigned to, but never used [INFO] [stdout] --> src/main.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | let mode: Mode; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_mode` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:100:38 [INFO] [stdout] | [INFO] [stdout] 100 | automata::Exception::Dfa(e) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `mode` is never read [INFO] [stdout] --> src/main.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | mode = Mode::Tm; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `mode` is never read [INFO] [stdout] --> src/main.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | mode = Mode::Pda; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `mode` is never read [INFO] [stdout] --> src/main.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | mode = Mode::Dfa; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Dfa` is never constructed [INFO] [stdout] --> src/automata/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Exception { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 6 | Dfa(dfa::Exception), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Trans` is never used [INFO] [stdout] --> src/automata/pda.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub type Trans = (TransL, TransR); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `Q`, `S`, `G`, `q0`, `z0`, and `delta` are never used [INFO] [stdout] --> src/automata/pda.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl PushDownAutomata { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] 28 | pub fn Q(&self) -> &HashSet { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn S(&self) -> &HashSet { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn G(&self) -> &HashSet { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn q0(&self) -> State { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn z0(&self) -> StackSymbol { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn delta(&self) -> &HashMap { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `Q`, `S`, `G`, and `delta` are never used [INFO] [stdout] --> src/automata/tm.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl TuringMachine { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn Q(&self) -> &HashSet { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn S(&self) -> &HashSet { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn G(&self) -> &HashSet { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn delta(&self) -> &DeltaType { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `input` is never read [INFO] [stdout] --> src/automata/tm.rs:405:20 [INFO] [stdout] | [INFO] [stdout] 405 | InvalidInput { input: String, offset: usize }, [INFO] [stdout] | ------------ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Exception` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parse.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | KV(ParseErrorKV), [INFO] [stdout] | -- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [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] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 33 - KV(ParseErrorKV), [INFO] [stdout] 33 + KV(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `mode` is assigned to, but never used [INFO] [stdout] --> src/main.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | let mode: Mode; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_mode` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:100:38 [INFO] [stdout] | [INFO] [stdout] 100 | automata::Exception::Dfa(e) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `mode` is never read [INFO] [stdout] --> src/main.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | mode = Mode::Tm; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `mode` is never read [INFO] [stdout] --> src/main.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | mode = Mode::Pda; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `mode` is never read [INFO] [stdout] --> src/main.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | mode = Mode::Dfa; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Dfa` is never constructed [INFO] [stdout] --> src/automata/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Exception { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 6 | Dfa(dfa::Exception), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Trans` is never used [INFO] [stdout] --> src/automata/pda.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub type Trans = (TransL, TransR); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `Q`, `S`, `G`, `q0`, `z0`, and `delta` are never used [INFO] [stdout] --> src/automata/pda.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl PushDownAutomata { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] 28 | pub fn Q(&self) -> &HashSet { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn S(&self) -> &HashSet { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn G(&self) -> &HashSet { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn q0(&self) -> State { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn z0(&self) -> StackSymbol { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn delta(&self) -> &HashMap { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `Q`, `S`, `G`, and `delta` are never used [INFO] [stdout] --> src/automata/tm.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl TuringMachine { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn Q(&self) -> &HashSet { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn S(&self) -> &HashSet { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn G(&self) -> &HashSet { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn delta(&self) -> &DeltaType { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `input` is never read [INFO] [stdout] --> src/automata/tm.rs:405:20 [INFO] [stdout] | [INFO] [stdout] 405 | InvalidInput { input: String, offset: usize }, [INFO] [stdout] | ------------ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Exception` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parse.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | KV(ParseErrorKV), [INFO] [stdout] | -- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [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] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 33 - KV(ParseErrorKV), [INFO] [stdout] 33 + KV(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.93s [INFO] running `Command { std: "docker" "inspect" "f7b719fafdbfb63c15daa7ffaca57deb1feaa5f7533333162a86febbf2a11206", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7b719fafdbfb63c15daa7ffaca57deb1feaa5f7533333162a86febbf2a11206", kill_on_drop: false }` [INFO] [stdout] f7b719fafdbfb63c15daa7ffaca57deb1feaa5f7533333162a86febbf2a11206