[INFO] cloning repository https://github.com/CharlieKarafotias/automata [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CharlieKarafotias/automata" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCharlieKarafotias%2Fautomata", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCharlieKarafotias%2Fautomata'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 27b54da4f1b0cb83ef1a8d135820b941c36a9258 [INFO] checking CharlieKarafotias/automata/27b54da4f1b0cb83ef1a8d135820b941c36a9258 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCharlieKarafotias%2Fautomata" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/CharlieKarafotias/automata on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/CharlieKarafotias/automata [INFO] finished tweaking git repo https://github.com/CharlieKarafotias/automata [INFO] tweaked toml for git repo https://github.com/CharlieKarafotias/automata written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/CharlieKarafotias/automata 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 77efeedeefff63ed5584a2d96616807726f0f16ecd9775994f4a9a69c9018379 [INFO] running `Command { std: "docker" "start" "-a" "77efeedeefff63ed5584a2d96616807726f0f16ecd9775994f4a9a69c9018379", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "77efeedeefff63ed5584a2d96616807726f0f16ecd9775994f4a9a69c9018379", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77efeedeefff63ed5584a2d96616807726f0f16ecd9775994f4a9a69c9018379", kill_on_drop: false }` [INFO] [stdout] 77efeedeefff63ed5584a2d96616807726f0f16ecd9775994f4a9a69c9018379 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b4ac364008896cb80b7461625281e57cdc7e1823c10c397da43f230067de8d32 [INFO] running `Command { std: "docker" "start" "-a" "b4ac364008896cb80b7461625281e57cdc7e1823c10c397da43f230067de8d32", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Checking automata v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/nfa.rs:39:59 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn e_closure<'b>(&'b self, state: &'b str) -> Vec<&str> { [INFO] [stdout] | -- lifetime `'b` declared here ^ this elided lifetime gets resolved as `'b` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `states` and `input_symbols` are never read [INFO] [stdout] --> src/nfa.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Nfa<'a> { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 3 | states: Vec<&'a str>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 4 | input_symbols: Vec<&'a str>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Nfa` 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] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/nfa.rs (1 fix) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/nfa.rs:39:59 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn e_closure<'b>(&'b self, state: &'b str) -> Vec<&str> { [INFO] [stdout] | -- lifetime `'b` declared here ^ this elided lifetime gets resolved as `'b` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `states` and `input_symbols` are never read [INFO] [stdout] --> src/nfa.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Nfa<'a> { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 3 | states: Vec<&'a str>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 4 | input_symbols: Vec<&'a str>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Nfa` 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] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.27s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking automata v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/nfa.rs:39:59 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn e_closure<'b>(&'b self, state: &'b str) -> Vec<&str> { [INFO] [stdout] | -- lifetime `'b` declared here ^ this elided lifetime gets resolved as `'b` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Nfa` in this scope [INFO] [stdout] --> src/nfa.rs:94:19 [INFO] [stdout] | [INFO] [stdout] 94 | let nfa = Nfa { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 92 + use crate::Nfa; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Nfa` in this scope [INFO] [stdout] --> src/nfa.rs:114:19 [INFO] [stdout] | [INFO] [stdout] 114 | let nfa = Nfa { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 92 + use crate::Nfa; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Nfa` in this scope [INFO] [stdout] --> src/nfa.rs:136:19 [INFO] [stdout] | [INFO] [stdout] 136 | let nfa = Nfa { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 92 + use crate::Nfa; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Nfa` in this scope [INFO] [stdout] --> src/nfa.rs:171:19 [INFO] [stdout] | [INFO] [stdout] 171 | let nfa = Nfa { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 92 + use crate::Nfa; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Nfa` in this scope [INFO] [stdout] --> src/nfa.rs:199:19 [INFO] [stdout] | [INFO] [stdout] 199 | let nfa = Nfa { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 92 + use crate::Nfa; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Nfa` in this scope [INFO] [stdout] --> src/nfa.rs:214:19 [INFO] [stdout] | [INFO] [stdout] 214 | let nfa = Nfa { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 92 + use crate::Nfa; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/nfa.rs:39:59 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn e_closure<'b>(&'b self, state: &'b str) -> Vec<&str> { [INFO] [stdout] | -- lifetime `'b` declared here ^ this elided lifetime gets resolved as `'b` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `states` and `input_symbols` are never read [INFO] [stdout] --> src/nfa.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Nfa<'a> { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 3 | states: Vec<&'a str>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 4 | input_symbols: Vec<&'a str>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Nfa` 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] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0422`. [INFO] [stdout] [INFO] [stderr] error: could not compile `automata` (bin "automata" test) due to 7 previous errors; 1 warning emitted [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "b4ac364008896cb80b7461625281e57cdc7e1823c10c397da43f230067de8d32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4ac364008896cb80b7461625281e57cdc7e1823c10c397da43f230067de8d32", kill_on_drop: false }` [INFO] [stdout] b4ac364008896cb80b7461625281e57cdc7e1823c10c397da43f230067de8d32