[INFO] cloning repository https://github.com/anotherhollow1125/coloring_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/anotherhollow1125/coloring_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanotherhollow1125%2Fcoloring_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanotherhollow1125%2Fcoloring_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5839001e552a4bfb9e5f3e029dd3049bb99de45d [INFO] checking anotherhollow1125/coloring_rust against master#b115ea2e6a07e440e7cc18b08644fc0a2265391b for pr-139493-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanotherhollow1125%2Fcoloring_rust" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/anotherhollow1125/coloring_rust [INFO] finished tweaking git repo https://github.com/anotherhollow1125/coloring_rust [INFO] tweaked toml for git repo https://github.com/anotherhollow1125/coloring_rust written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/anotherhollow1125/coloring_rust on toolchain b115ea2e6a07e440e7cc18b08644fc0a2265391b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b115ea2e6a07e440e7cc18b08644fc0a2265391b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/anotherhollow1125/coloring_rust 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" "+b115ea2e6a07e440e7cc18b08644fc0a2265391b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap v4.5.23 [INFO] [stderr] Downloaded dialoguer v0.11.0 [INFO] [stderr] Downloaded clap_builder v4.5.23 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b115ea2e6a07e440e7cc18b08644fc0a2265391b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8e81c2bf71cfa53809767ba68cf2f0bf5494fd29742094637ce8c7d56eafd3e2 [INFO] running `Command { std: "docker" "start" "-a" "8e81c2bf71cfa53809767ba68cf2f0bf5494fd29742094637ce8c7d56eafd3e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8e81c2bf71cfa53809767ba68cf2f0bf5494fd29742094637ce8c7d56eafd3e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e81c2bf71cfa53809767ba68cf2f0bf5494fd29742094637ce8c7d56eafd3e2", kill_on_drop: false }` [INFO] [stdout] 8e81c2bf71cfa53809767ba68cf2f0bf5494fd29742094637ce8c7d56eafd3e2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b115ea2e6a07e440e7cc18b08644fc0a2265391b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d55c71cd28ad9050f475e59418ef97f05ada985b3eaeb4a96c576b6fbf4219ab [INFO] running `Command { std: "docker" "start" "-a" "d55c71cd28ad9050f475e59418ef97f05ada985b3eaeb4a96c576b6fbf4219ab", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Checking unicode-ident v1.0.14 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling libc v0.2.167 [INFO] [stderr] Compiling rustix v0.38.41 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Compiling anyhow v1.0.94 [INFO] [stderr] Checking fastrand v2.2.0 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Checking clap_builder v4.5.23 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking syn v2.0.90 [INFO] [stderr] Checking tempfile v3.14.0 [INFO] [stderr] Checking coloring_macro v1.0.1 (/opt/rustwide/workdir/coloring_macro) [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.99 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.99 [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> coloring_macro/src/main.rs:12:33 [INFO] [stdout] | [INFO] [stdout] 11 | fn main() { [INFO] [stdout] | --------- move the `impl` block outside of this function `main` [INFO] [stdout] 12 | repeat_for_types!(for T in [u32, i32, usize] { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 13 | | impl Hoge for T {} [INFO] [stdout] | | ^ ---- `Hoge` is not local [INFO] [stdout] | |________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> coloring_macro/src/main.rs:12:38 [INFO] [stdout] | [INFO] [stdout] 11 | fn main() { [INFO] [stdout] | --------- move the `impl` block outside of this function `main` [INFO] [stdout] 12 | repeat_for_types!(for T in [u32, i32, usize] { [INFO] [stdout] | ______________________________________^ [INFO] [stdout] 13 | | impl Hoge for T {} [INFO] [stdout] | | ^ ---- `Hoge` is not local [INFO] [stdout] | |________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> coloring_macro/src/main.rs:12:43 [INFO] [stdout] | [INFO] [stdout] 11 | fn main() { [INFO] [stdout] | --------- move the `impl` block outside of this function `main` [INFO] [stdout] 12 | repeat_for_types!(for T in [u32, i32, usize] { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 13 | | impl Hoge for T {} [INFO] [stdout] | | ^ ---- `Hoge` is not local [INFO] [stdout] | |________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> coloring_macro/src/main.rs:12:33 [INFO] [stdout] | [INFO] [stdout] 11 | fn main() { [INFO] [stdout] | --------- move the `impl` block outside of this function `main` [INFO] [stdout] 12 | repeat_for_types!(for T in [u32, i32, usize] { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 13 | | impl Hoge for T {} [INFO] [stdout] | | ^ ---- `Hoge` is not local [INFO] [stdout] | |________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> coloring_macro/src/main.rs:12:38 [INFO] [stdout] | [INFO] [stdout] 11 | fn main() { [INFO] [stdout] | --------- move the `impl` block outside of this function `main` [INFO] [stdout] 12 | repeat_for_types!(for T in [u32, i32, usize] { [INFO] [stdout] | ______________________________________^ [INFO] [stdout] 13 | | impl Hoge for T {} [INFO] [stdout] | | ^ ---- `Hoge` is not local [INFO] [stdout] | |________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> coloring_macro/src/main.rs:12:43 [INFO] [stdout] | [INFO] [stdout] 11 | fn main() { [INFO] [stdout] | --------- move the `impl` block outside of this function `main` [INFO] [stdout] 12 | repeat_for_types!(for T in [u32, i32, usize] { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 13 | | impl Hoge for T {} [INFO] [stdout] | | ^ ---- `Hoge` is not local [INFO] [stdout] | |________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking dialoguer v0.11.0 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.99 [INFO] [stderr] Checking wasm-bindgen v0.2.99 [INFO] [stderr] Checking clap v4.5.23 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking js-sys v0.3.76 [INFO] [stderr] Checking coloring_common v1.0.1 (/opt/rustwide/workdir/coloring_common) [INFO] [stderr] Checking serde-wasm-bindgen v0.6.5 [INFO] [stderr] Checking coloring_cli v1.0.1 (/opt/rustwide/workdir/coloring_cli) [INFO] [stdout] warning: struct `CustomPat` is never constructed [INFO] [stdout] --> coloring_cli/src/main.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | struct CustomPat(syn::Pat); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CustomPat` is never constructed [INFO] [stdout] --> coloring_cli/src/main.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | struct CustomPat(syn::Pat); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking coloring_wasm v1.0.1 (/opt/rustwide/workdir/coloring_wasm) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.93s [INFO] running `Command { std: "docker" "inspect" "d55c71cd28ad9050f475e59418ef97f05ada985b3eaeb4a96c576b6fbf4219ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d55c71cd28ad9050f475e59418ef97f05ada985b3eaeb4a96c576b6fbf4219ab", kill_on_drop: false }` [INFO] [stdout] d55c71cd28ad9050f475e59418ef97f05ada985b3eaeb4a96c576b6fbf4219ab