[INFO] fetching crate egui_kittest 0.33.1... [INFO] testing egui_kittest-0.33.1 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate egui_kittest 0.33.1 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate egui_kittest 0.33.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate egui_kittest 0.33.1 [INFO] tweaked toml for crates.io crate egui_kittest 0.33.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate egui_kittest 0.33.1 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate egui_kittest 0.33.1 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6ab8f21344fcaa389c4c8a3d0f5bbc613c80d987830fe6de5550486295971c86 [INFO] running `Command { std: "docker" "start" "-a" "6ab8f21344fcaa389c4c8a3d0f5bbc613c80d987830fe6de5550486295971c86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6ab8f21344fcaa389c4c8a3d0f5bbc613c80d987830fe6de5550486295971c86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ab8f21344fcaa389c4c8a3d0f5bbc613c80d987830fe6de5550486295971c86", kill_on_drop: false }` [INFO] [stdout] 6ab8f21344fcaa389c4c8a3d0f5bbc613c80d987830fe6de5550486295971c86 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 222415c1cd3283a52f08d1752cef2564984b60fd8abb344288f0e188e5c175c4 [INFO] running `Command { std: "docker" "start" "-a" "222415c1cd3283a52f08d1752cef2564984b60fd8abb344288f0e188e5c175c4", kill_on_drop: false }` [INFO] [stderr] Compiling ttf-parser v0.25.0 [INFO] [stderr] Compiling emath v0.33.0 [INFO] [stderr] Compiling foldhash v0.1.4 [INFO] [stderr] Compiling accesskit v0.21.1 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling profiling v1.0.17 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling ecolor v0.33.0 [INFO] [stderr] Compiling accesskit_consumer v0.30.1 [INFO] [stderr] Compiling kittest v0.3.0 [INFO] [stderr] Compiling owned_ttf_parser v0.25.0 [INFO] [stderr] Compiling ab_glyph v0.2.32 [INFO] [stderr] Compiling epaint v0.33.0 [INFO] [stderr] Compiling egui v0.33.0 [INFO] [stderr] Compiling egui_kittest v0.33.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.56s [INFO] running `Command { std: "docker" "inspect" "222415c1cd3283a52f08d1752cef2564984b60fd8abb344288f0e188e5c175c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "222415c1cd3283a52f08d1752cef2564984b60fd8abb344288f0e188e5c175c4", kill_on_drop: false }` [INFO] [stdout] 222415c1cd3283a52f08d1752cef2564984b60fd8abb344288f0e188e5c175c4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 654c77662ac3250e881f1f299b9a6c7235b7fa048f6dd63b84d86368995be72f [INFO] running `Command { std: "docker" "start" "-a" "654c77662ac3250e881f1f299b9a6c7235b7fa048f6dd63b84d86368995be72f", kill_on_drop: false }` [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling rustls-pki-types v1.10.0 [INFO] [stderr] Compiling rustls v0.23.18 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling epaint_default_fonts v0.33.0 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Compiling bytemuck v1.24.0 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling fdeflate v0.3.6 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling epaint v0.33.0 [INFO] [stderr] Compiling kittest v0.3.0 [INFO] [stderr] Compiling webpki-roots v0.26.6 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Compiling flate2 v1.1.4 [INFO] [stderr] Compiling png v0.17.14 [INFO] [stderr] Compiling egui v0.33.0 [INFO] [stderr] Compiling image v0.25.6 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling enum-map-derive v0.17.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling enum-map v2.7.3 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling egui_kittest v0.33.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling ureq v2.10.1 [INFO] [stderr] Compiling ehttp v0.5.0 [INFO] [stderr] Compiling egui_extras v0.33.0 [INFO] [stdout] error: couldn't read `tests/../../eframe/data/icon.png`: No such file or directory (os error 2) [INFO] [stdout] --> tests/tests.rs:100:34 [INFO] [stdout] | [INFO] [stdout] 100 | egui::Image::new(include_image!("../../eframe/data/icon.png")), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` which comes from the expansion of the macro `include_image` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `tests/../../eframe/data/icon.png`: No such file or directory (os error 2) [INFO] [stdout] --> tests/menu.rs:33:33 [INFO] [stdout] | [INFO] [stdout] 33 | ... include_image!("../../eframe/data/icon.png"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` which comes from the expansion of the macro `include_image` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `tests/../../eframe/data/icon.png`: No such file or directory (os error 2) [INFO] [stdout] --> tests/menu.rs:58:29 [INFO] [stdout] | [INFO] [stdout] 58 | ... include_image!("../../eframe/data/icon.png"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` which comes from the expansion of the macro `include_image` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `egui_kittest::SnapshotResults` [INFO] [stdout] --> tests/menu.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | use egui_kittest::{Harness, SnapshotResults}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `SnapshotResults` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `egui_kittest::SnapshotResults` [INFO] [stdout] --> tests/tests.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | use egui_kittest::{Harness, SnapshotResults}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `SnapshotResults` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `try_snapshot` found for struct `Harness<'a, State>` in the current scope [INFO] [stdout] --> tests/menu.rs:171:25 [INFO] [stdout] | [INFO] [stdout] 171 | results.add(harness.try_snapshot("menu/closed_hovered")); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `try_into` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/convert/mod.rs:622:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `try_snapshot` found for struct `Harness<'a, State>` in the current scope [INFO] [stdout] --> tests/menu.rs:175:25 [INFO] [stdout] | [INFO] [stdout] 175 | results.add(harness.try_snapshot("menu/opened")); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `try_into` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/convert/mod.rs:622:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `try_snapshot` found for struct `Harness<'a, State>` in the current scope [INFO] [stdout] --> tests/menu.rs:181:25 [INFO] [stdout] | [INFO] [stdout] 181 | results.add(harness.try_snapshot("menu/submenu")); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `try_into` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/convert/mod.rs:622:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `try_snapshot` found for struct `Harness<'a, State>` in the current scope [INFO] [stdout] --> tests/menu.rs:185:25 [INFO] [stdout] | [INFO] [stdout] 185 | results.add(harness.try_snapshot("menu/subsubmenu")); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `try_into` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/convert/mod.rs:622:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `snapshot` found for struct `Harness<'a, State>` in the current scope [INFO] [stdout] --> tests/tests.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | harness.snapshot("should_wait_for_images"); [INFO] [stdout] | ^^^^^^^^ method not found in `Harness<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `try_snapshot` found for struct `Harness<'a, State>` in the current scope [INFO] [stdout] --> tests/tests.rs:130:25 [INFO] [stdout] | [INFO] [stdout] 130 | results.add(harness.try_snapshot("test_scroll_initial")); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `try_into` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/convert/mod.rs:622:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `try_snapshot` found for struct `Harness<'a, State>` in the current scope [INFO] [stdout] --> tests/tests.rs:135:25 [INFO] [stdout] | [INFO] [stdout] 135 | results.add(harness.try_snapshot("test_scroll_scrolled")); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `try_into` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/convert/mod.rs:622:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `snapshot` found for struct `Harness<'a, State>` in the current scope [INFO] [stdout] --> tests/tests.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 182 | harness.snapshot("test_masking"); [INFO] [stdout] | ^^^^^^^^ method not found in `Harness<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render` found for struct `Harness<'a, State>` in the current scope [INFO] [stdout] --> tests/tests.rs:202:43 [INFO] [stdout] | [INFO] [stdout] 202 | let hovered_button_snapshot = harness.render().expect("Failed to render"); [INFO] [stdout] | ^^^^^^ method not found in `Harness<'_, bool>` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `egui_kittest` (test "menu") due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `render` found for struct `Harness<'a, State>` in the current scope [INFO] [stdout] --> tests/tests.rs:211:47 [INFO] [stdout] | [INFO] [stdout] 211 | let non_hovered_button_snapshot = harness.render().expect("Failed to render"); [INFO] [stdout] | ^^^^^^ method not found in `Harness<'_, bool>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `egui_kittest` (test "tests") due to 8 previous errors [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/regression_tests.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | let mut harness = Harness::new_ui(|ui| { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `harness` [INFO] [stdout] --> tests/regression_tests.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | let mut harness = Harness::new_ui(|ui| { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_harness` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "654c77662ac3250e881f1f299b9a6c7235b7fa048f6dd63b84d86368995be72f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "654c77662ac3250e881f1f299b9a6c7235b7fa048f6dd63b84d86368995be72f", kill_on_drop: false }` [INFO] [stdout] 654c77662ac3250e881f1f299b9a6c7235b7fa048f6dd63b84d86368995be72f