[INFO] cloning repository https://github.com/chriscoomber/typed-regex [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chriscoomber/typed-regex" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchriscoomber%2Ftyped-regex", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchriscoomber%2Ftyped-regex'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ef19dd26f8436e2d021e031c55b73fc0583d90ac [INFO] checking chriscoomber/typed-regex against try#73ffebff6f34db7eb167bf9edcf2afa19c3073e9 for pr-147841 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchriscoomber%2Ftyped-regex" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/chriscoomber/typed-regex [INFO] finished tweaking git repo https://github.com/chriscoomber/typed-regex [INFO] tweaked toml for git repo https://github.com/chriscoomber/typed-regex written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/chriscoomber/typed-regex on toolchain 73ffebff6f34db7eb167bf9edcf2afa19c3073e9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+73ffebff6f34db7eb167bf9edcf2afa19c3073e9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/chriscoomber/typed-regex 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" "+73ffebff6f34db7eb167bf9edcf2afa19c3073e9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+73ffebff6f34db7eb167bf9edcf2afa19c3073e9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dae65af29c3c240249c54fe16cb4889daa7c278c857528a83af9f458c3340709 [INFO] running `Command { std: "docker" "start" "-a" "dae65af29c3c240249c54fe16cb4889daa7c278c857528a83af9f458c3340709", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dae65af29c3c240249c54fe16cb4889daa7c278c857528a83af9f458c3340709", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dae65af29c3c240249c54fe16cb4889daa7c278c857528a83af9f458c3340709", kill_on_drop: false }` [INFO] [stdout] dae65af29c3c240249c54fe16cb4889daa7c278c857528a83af9f458c3340709 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+73ffebff6f34db7eb167bf9edcf2afa19c3073e9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0c024ded78d9316ff4079cb0ca74d78c8e7e5e6382e19a00d9565d504024e04c [INFO] running `Command { std: "docker" "start" "-a" "0c024ded78d9316ff4079cb0ca74d78c8e7e5e6382e19a00d9565d504024e04c", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking typed-regex v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `n` should have an upper camel case name [INFO] [stdout] --> src/literal.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct n; [INFO] [stdout] | ^ help: convert the identifier to upper camel case: `N` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `u` should have an upper camel case name [INFO] [stdout] --> src/literal.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct u; [INFO] [stdout] | ^ help: convert the identifier to upper camel case (notice the capitalization): `U` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `l` should have an upper camel case name [INFO] [stdout] --> src/literal.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct l; [INFO] [stdout] | ^ help: convert the identifier to upper camel case: `L` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `n` should have an upper camel case name [INFO] [stdout] --> src/literal.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct n; [INFO] [stdout] | ^ help: convert the identifier to upper camel case: `N` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `u` should have an upper camel case name [INFO] [stdout] --> src/literal.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct u; [INFO] [stdout] | ^ help: convert the identifier to upper camel case (notice the capitalization): `U` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `l` should have an upper camel case name [INFO] [stdout] --> src/literal.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct l; [INFO] [stdout] | ^ help: convert the identifier to upper camel case: `L` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `regex_1` [INFO] [stdout] --> src/main.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let regex_1 = r"."; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_regex_1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `test_string` [INFO] [stdout] --> src/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let test_string = "a"; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_test_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `regex_2` [INFO] [stdout] --> src/main.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let regex_2 = r"^.{4}-(.|null)$"; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_regex_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `test_string` [INFO] [stdout] --> src/main.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | let test_string = "aaaa-null"; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_test_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | struct Regex1(Concat); [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Regex1` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 61 | struct Regex2( [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 62 | / Concat< [INFO] [stdout] 63 | | StartText, [INFO] [stdout] 64 | | Concat< [INFO] [stdout] 65 | | Repeat, [INFO] [stdout] ... | [INFO] [stdout] 70 | | > [INFO] [stdout] 71 | | > [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Regex2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `regex_1` [INFO] [stdout] --> src/main.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let regex_1 = r"."; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_regex_1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `test_string` [INFO] [stdout] --> src/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let test_string = "a"; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_test_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `regex_2` [INFO] [stdout] --> src/main.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let regex_2 = r"^.{4}-(.|null)$"; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_regex_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `test_string` [INFO] [stdout] --> src/main.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | let test_string = "aaaa-null"; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_test_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | struct Regex1(Concat); [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Regex1` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 61 | struct Regex2( [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 62 | / Concat< [INFO] [stdout] 63 | | StartText, [INFO] [stdout] 64 | | Concat< [INFO] [stdout] 65 | | Repeat, [INFO] [stdout] ... | [INFO] [stdout] 70 | | > [INFO] [stdout] 71 | | > [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Regex2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.37s [INFO] running `Command { std: "docker" "inspect" "0c024ded78d9316ff4079cb0ca74d78c8e7e5e6382e19a00d9565d504024e04c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c024ded78d9316ff4079cb0ca74d78c8e7e5e6382e19a00d9565d504024e04c", kill_on_drop: false }` [INFO] [stdout] 0c024ded78d9316ff4079cb0ca74d78c8e7e5e6382e19a00d9565d504024e04c