[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 try#3b057e82c7a2874b12909b7e79d444f73535e9e2 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-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/anotherhollow1125/coloring_rust on toolchain 3b057e82c7a2874b12909b7e79d444f73535e9e2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3b057e82c7a2874b12909b7e79d444f73535e9e2" "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" "+3b057e82c7a2874b12909b7e79d444f73535e9e2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+3b057e82c7a2874b12909b7e79d444f73535e9e2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2c0b0208e22d47950bfb2d1e3c70e75b37d9a08c7903f5ed13eeffbab43d0f49 [INFO] running `Command { std: "docker" "start" "-a" "2c0b0208e22d47950bfb2d1e3c70e75b37d9a08c7903f5ed13eeffbab43d0f49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2c0b0208e22d47950bfb2d1e3c70e75b37d9a08c7903f5ed13eeffbab43d0f49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c0b0208e22d47950bfb2d1e3c70e75b37d9a08c7903f5ed13eeffbab43d0f49", kill_on_drop: false }` [INFO] [stdout] 2c0b0208e22d47950bfb2d1e3c70e75b37d9a08c7903f5ed13eeffbab43d0f49 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+3b057e82c7a2874b12909b7e79d444f73535e9e2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ae160b7cc249fa37cb3a13a44ff362fdcd1111693941af43cd81c160af4eeed9 [INFO] running `Command { std: "docker" "start" "-a" "ae160b7cc249fa37cb3a13a44ff362fdcd1111693941af43cd81c160af4eeed9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Checking unicode-ident v1.0.14 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Compiling libc v0.2.167 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling rustix v0.38.41 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking fastrand v2.2.0 [INFO] [stderr] Compiling anyhow v1.0.94 [INFO] [stderr] Checking clap_builder v4.5.23 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Checking syn v2.0.90 [INFO] [stderr] Checking console v0.15.8 [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 clap_derive v4.5.18 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [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] Compiling wasm-bindgen-macro-support v0.2.99 [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 strum v0.26.3 [INFO] [stderr] Checking clap v4.5.23 [INFO] [stderr] Checking wasm-bindgen v0.2.99 [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] [stderr] Checking coloring_wasm v1.0.1 (/opt/rustwide/workdir/coloring_wasm) [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] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.05s [INFO] running `Command { std: "docker" "inspect" "ae160b7cc249fa37cb3a13a44ff362fdcd1111693941af43cd81c160af4eeed9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae160b7cc249fa37cb3a13a44ff362fdcd1111693941af43cd81c160af4eeed9", kill_on_drop: false }` [INFO] [stdout] ae160b7cc249fa37cb3a13a44ff362fdcd1111693941af43cd81c160af4eeed9