[INFO] fetching crate egui_extras 0.31.1... [INFO] checking egui_extras-0.31.1 against try#0c7fed2b7584d310ca8221267fa1b3bec4df427f for pr-133502-4 [INFO] extracting crate egui_extras 0.31.1 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate egui_extras 0.31.1 on toolchain 0c7fed2b7584d310ca8221267fa1b3bec4df427f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0c7fed2b7584d310ca8221267fa1b3bec4df427f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate egui_extras 0.31.1 [INFO] finished tweaking crates.io crate egui_extras 0.31.1 [INFO] tweaked toml for crates.io crate egui_extras 0.31.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0c7fed2b7584d310ca8221267fa1b3bec4df427f" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 197 packages to latest compatible versions [INFO] [stderr] Adding resvg v0.37.0 (available: v0.45.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0c7fed2b7584d310ca8221267fa1b3bec4df427f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+0c7fed2b7584d310ca8221267fa1b3bec4df427f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d4b7f9939c936e60a8c1642d36dd6945ad125280224977706b33260efd926e58 [INFO] running `Command { std: "docker" "start" "-a" "d4b7f9939c936e60a8c1642d36dd6945ad125280224977706b33260efd926e58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d4b7f9939c936e60a8c1642d36dd6945ad125280224977706b33260efd926e58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4b7f9939c936e60a8c1642d36dd6945ad125280224977706b33260efd926e58", kill_on_drop: false }` [INFO] [stdout] d4b7f9939c936e60a8c1642d36dd6945ad125280224977706b33260efd926e58 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+0c7fed2b7584d310ca8221267fa1b3bec4df427f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 985fdbdd12b759d57eefb3c0a2a91365efdc283a51058a04f44243eae271b9a3 [INFO] running `Command { std: "docker" "start" "-a" "985fdbdd12b759d57eefb3c0a2a91365efdc283a51058a04f44243eae271b9a3", kill_on_drop: false }` [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Checking ttf-parser v0.25.1 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Checking emath v0.31.1 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking profiling v1.0.16 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking ecolor v0.31.1 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling mime_guess2 v2.3.0 [INFO] [stderr] Compiling enum-map-derive v0.17.0 [INFO] [stderr] Checking owned_ttf_parser v0.25.0 [INFO] [stderr] Checking ab_glyph v0.2.29 [INFO] [stderr] Checking epaint v0.31.1 [INFO] [stderr] Checking egui v0.31.1 [INFO] [stderr] Checking enum-map v2.7.3 [INFO] [stderr] Checking egui_extras v0.31.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/syntax_highlighting.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 25 | / pub fn highlight( [INFO] [stdout] 26 | | ctx: &egui::Context, [INFO] [stdout] 27 | | style: &egui::Style, [INFO] [stdout] 28 | | theme: &CodeTheme, [INFO] [stdout] 29 | | code: &str, [INFO] [stdout] 30 | | language: &str, [INFO] [stdout] 31 | | ) -> LayoutJob { [INFO] [stdout] | |______________- move the `impl` block outside of this function `highlight` [INFO] [stdout] ... [INFO] [stdout] 36 | impl egui::cache::ComputerMut<(&egui::FontId, &CodeTheme, &str, &str), LayoutJob> for Highlighter { [INFO] [stdout] | ^^^^^------------------------^^^------------^^^---------^^^^^^^^^^^^^^^---------^^^^^^----------- [INFO] [stdout] | | | | | | [INFO] [stdout] | | | | | `Highlighter` is not local [INFO] [stdout] | | | | `LayoutJob` is not local [INFO] [stdout] | | | `CodeTheme` is not local [INFO] [stdout] | | `FontId` is not local [INFO] [stdout] | `ComputerMut` is not local [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] --> src/syntax_highlighting.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 25 | / pub fn highlight( [INFO] [stdout] 26 | | ctx: &egui::Context, [INFO] [stdout] 27 | | style: &egui::Style, [INFO] [stdout] 28 | | theme: &CodeTheme, [INFO] [stdout] 29 | | code: &str, [INFO] [stdout] 30 | | language: &str, [INFO] [stdout] 31 | | ) -> LayoutJob { [INFO] [stdout] | |______________- move the `impl` block outside of this function `highlight` [INFO] [stdout] ... [INFO] [stdout] 36 | impl egui::cache::ComputerMut<(&egui::FontId, &CodeTheme, &str, &str), LayoutJob> for Highlighter { [INFO] [stdout] | ^^^^^------------------------^^^------------^^^---------^^^^^^^^^^^^^^^---------^^^^^^----------- [INFO] [stdout] | | | | | | [INFO] [stdout] | | | | | `Highlighter` is not local [INFO] [stdout] | | | | `LayoutJob` is not local [INFO] [stdout] | | | `CodeTheme` is not local [INFO] [stdout] | | `FontId` is not local [INFO] [stdout] | `ComputerMut` is not local [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.84s [INFO] running `Command { std: "docker" "inspect" "985fdbdd12b759d57eefb3c0a2a91365efdc283a51058a04f44243eae271b9a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "985fdbdd12b759d57eefb3c0a2a91365efdc283a51058a04f44243eae271b9a3", kill_on_drop: false }` [INFO] [stdout] 985fdbdd12b759d57eefb3c0a2a91365efdc283a51058a04f44243eae271b9a3