[INFO] fetching crate egui_extras 0.31.1... [INFO] checking egui_extras-0.31.1 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate egui_extras 0.31.1 into /workspace/builds/worker-1-tc2/source [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] validating manifest of crates.io crate egui_extras 0.31.1 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 195 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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6af21132b9874432618e8207461afc99b870dfba6323505f9cac4f274ba1d2fd [INFO] running `Command { std: "docker" "start" "-a" "6af21132b9874432618e8207461afc99b870dfba6323505f9cac4f274ba1d2fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6af21132b9874432618e8207461afc99b870dfba6323505f9cac4f274ba1d2fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6af21132b9874432618e8207461afc99b870dfba6323505f9cac4f274ba1d2fd", kill_on_drop: false }` [INFO] [stdout] 6af21132b9874432618e8207461afc99b870dfba6323505f9cac4f274ba1d2fd [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5f776541b98cb2bc0a3c37dbf010a593bddca24cf49eb13e2c2250127eb8e558 [INFO] running `Command { std: "docker" "start" "-a" "5f776541b98cb2bc0a3c37dbf010a593bddca24cf49eb13e2c2250127eb8e558", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking ttf-parser v0.25.1 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.9 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking emath v0.31.1 [INFO] [stderr] Checking profiling v1.0.17 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Checking unicase v2.8.1 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Checking ecolor v0.31.1 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling mime_guess2 v2.3.1 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking owned_ttf_parser v0.25.0 [INFO] [stderr] Checking ab_glyph v0.2.30 [INFO] [stderr] Checking epaint v0.31.1 [INFO] [stderr] Compiling enum-map-derive v0.17.0 [INFO] [stderr] Checking enum-map v2.7.3 [INFO] [stderr] Checking egui v0.31.1 [INFO] [stderr] Checking egui_extras v0.31.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `File` is never constructed [INFO] [stdout] --> src/loaders/file_loader.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct File { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Entry` is never used [INFO] [stdout] --> src/loaders/file_loader.rs:14:6 [INFO] [stdout] | [INFO] [stdout] 14 | type Entry = Poll>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FileLoader` is never constructed [INFO] [stdout] --> src/loaders/file_loader.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct FileLoader { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `ID` is never used [INFO] [stdout] --> src/loaders/file_loader.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 22 | impl FileLoader { [INFO] [stdout] | --------------- associated constant in this implementation [INFO] [stdout] 23 | pub const ID: &'static str = egui::generate_loader_id!(FileLoader); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PROTOCOL` is never used [INFO] [stdout] --> src/loaders/file_loader.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | const PROTOCOL: &str = "file://"; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `trim_extra_slash` is never used [INFO] [stdout] --> src/loaders/file_loader.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn trim_extra_slash(s: &str) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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] [stdout] warning: struct `File` is never constructed [INFO] [stdout] --> src/loaders/file_loader.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct File { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Entry` is never used [INFO] [stdout] --> src/loaders/file_loader.rs:14:6 [INFO] [stdout] | [INFO] [stdout] 14 | type Entry = Poll>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FileLoader` is never constructed [INFO] [stdout] --> src/loaders/file_loader.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct FileLoader { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `ID` is never used [INFO] [stdout] --> src/loaders/file_loader.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 22 | impl FileLoader { [INFO] [stdout] | --------------- associated constant in this implementation [INFO] [stdout] 23 | pub const ID: &'static str = egui::generate_loader_id!(FileLoader); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PROTOCOL` is never used [INFO] [stdout] --> src/loaders/file_loader.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | const PROTOCOL: &str = "file://"; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `trim_extra_slash` is never used [INFO] [stdout] --> src/loaders/file_loader.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn trim_extra_slash(s: &str) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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 11.73s [INFO] running `Command { std: "docker" "inspect" "5f776541b98cb2bc0a3c37dbf010a593bddca24cf49eb13e2c2250127eb8e558", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f776541b98cb2bc0a3c37dbf010a593bddca24cf49eb13e2c2250127eb8e558", kill_on_drop: false }` [INFO] [stdout] 5f776541b98cb2bc0a3c37dbf010a593bddca24cf49eb13e2c2250127eb8e558