[INFO] cloning repository https://github.com/descawed/re2script [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/descawed/re2script" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdescawed%2Fre2script", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdescawed%2Fre2script'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e7b448ac65bd94acc4e0f700829333d1dce617e3 [INFO] checking descawed/re2script against try#db4e1d23234d93b5e96ecc768b35d9090c32cddf for pr-149901 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdescawed%2Fre2script" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/descawed/re2script [INFO] finished tweaking git repo https://github.com/descawed/re2script [INFO] tweaked toml for git repo https://github.com/descawed/re2script written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/descawed/re2script on toolchain db4e1d23234d93b5e96ecc768b35d9090c32cddf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db4e1d23234d93b5e96ecc768b35d9090c32cddf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/descawed/re2script 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" "+db4e1d23234d93b5e96ecc768b35d9090c32cddf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/descawed/residat.git` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded chumsky v1.0.0-alpha.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db4e1d23234d93b5e96ecc768b35d9090c32cddf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 760085318be14427060c199b32518b6852271379e7f519534a4bbb7b9fdaded4 [INFO] running `Command { std: "docker" "start" "-a" "760085318be14427060c199b32518b6852271379e7f519534a4bbb7b9fdaded4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "760085318be14427060c199b32518b6852271379e7f519534a4bbb7b9fdaded4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "760085318be14427060c199b32518b6852271379e7f519534a4bbb7b9fdaded4", kill_on_drop: false }` [INFO] [stdout] 760085318be14427060c199b32518b6852271379e7f519534a4bbb7b9fdaded4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db4e1d23234d93b5e96ecc768b35d9090c32cddf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 728c8fc09c8d84a9cc5ac2a74893924e960f5ffc70a71cfee88fa5f34632c354 [INFO] running `Command { std: "docker" "start" "-a" "728c8fc09c8d84a9cc5ac2a74893924e960f5ffc70a71cfee88fa5f34632c354", kill_on_drop: false }` [INFO] [stderr] Compiling find-msvc-tools v0.1.4 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling owo-colors v4.2.3 [INFO] [stderr] Compiling binrw_derive v0.15.0 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling toml_parser v1.0.4 [INFO] [stderr] Compiling convert_case v0.7.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling binrw v0.15.0 [INFO] [stderr] Checking bytemuck v1.24.0 [INFO] [stderr] Compiling chumsky v1.0.0-alpha.8 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Checking array-init v2.1.0 [INFO] [stderr] Compiling cc v1.2.45 [INFO] [stderr] Compiling indexmap v2.12.0 [INFO] [stderr] Compiling stacker v0.1.22 [INFO] [stderr] Compiling toml_edit v0.23.7 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling ar_archive_writer v0.2.0 [INFO] [stderr] Compiling psm v0.1.28 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling enum-map-derive v0.17.0 [INFO] [stderr] Compiling num_enum_derive v0.7.5 [INFO] [stderr] Checking enum-map v2.7.3 [INFO] [stderr] Checking num_enum v0.7.5 [INFO] [stderr] Checking derive_more v2.0.1 [INFO] [stderr] Checking residat v0.1.0 (https://github.com/descawed/residat.git?branch=master#9905356d) [INFO] [stderr] Checking re2script v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `warn` is never used [INFO] [stdout] --> src/compile.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 62 | impl<'a> CompilationState<'a> { [INFO] [stdout] | ----------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | fn warn(&mut self, msg: impl Into) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `re2script` (bin "re2script" test) due to 1 previous error [INFO] [stdout] error: The CLI feature must be enabled to compile the binary [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | compile_error!("The CLI feature must be enabled to compile the binary"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: The CLI feature must be enabled to compile the binary [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | compile_error!("The CLI feature must be enabled to compile the binary"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `re2script` [INFO] [stdout] --> src/main.rs:7:2 [INFO] [stdout] | [INFO] [stdout] 7 | } [INFO] [stdout] | ^ consider adding a `main` function to `src/main.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stderr] error: could not compile `re2script` (bin "re2script") due to 2 previous errors [INFO] [stdout] warning: method `warn` is never used [INFO] [stdout] --> src/compile.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 62 | impl<'a> CompilationState<'a> { [INFO] [stdout] | ----------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | fn warn(&mut self, msg: impl Into) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "728c8fc09c8d84a9cc5ac2a74893924e960f5ffc70a71cfee88fa5f34632c354", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "728c8fc09c8d84a9cc5ac2a74893924e960f5ffc70a71cfee88fa5f34632c354", kill_on_drop: false }` [INFO] [stdout] 728c8fc09c8d84a9cc5ac2a74893924e960f5ffc70a71cfee88fa5f34632c354