[INFO] fetching crate ferrous-focus 0.4.1... [INFO] testing ferrous-focus-0.4.1 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate ferrous-focus 0.4.1 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate ferrous-focus 0.4.1 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate ferrous-focus 0.4.1 [INFO] tweaked toml for crates.io crate ferrous-focus 0.4.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ferrous-focus 0.4.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 ferrous-focus 0.4.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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] c8c58e9870303e29cf548119a1d908f2d6d7555e1d6d42b5e3778eb5eeef1ad0 [INFO] running `Command { std: "docker" "start" "-a" "c8c58e9870303e29cf548119a1d908f2d6d7555e1d6d42b5e3778eb5eeef1ad0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c8c58e9870303e29cf548119a1d908f2d6d7555e1d6d42b5e3778eb5eeef1ad0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8c58e9870303e29cf548119a1d908f2d6d7555e1d6d42b5e3778eb5eeef1ad0", kill_on_drop: false }` [INFO] [stdout] c8c58e9870303e29cf548119a1d908f2d6d7555e1d6d42b5e3778eb5eeef1ad0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 520c9371de6634c4e90a1e3c870badb697e8ae3b99eb03872e2f90bb13acbc05 [INFO] running `Command { std: "docker" "start" "-a" "520c9371de6634c4e90a1e3c870badb697e8ae3b99eb03872e2f90bb13acbc05", kill_on_drop: false }` [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling built v0.7.7 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling nom v8.0.0 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling imgref v1.12.0 [INFO] [stderr] Compiling bitstream-io v2.6.0 [INFO] [stderr] Compiling flate2 v1.1.5 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling weezl v0.1.10 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling avif-serialize v0.8.6 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling zune-jpeg v0.4.21 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling lebe v0.5.3 [INFO] [stderr] Compiling bytemuck v1.24.0 [INFO] [stderr] Compiling bit_field v0.10.3 [INFO] [stderr] Compiling rgb v0.8.52 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling png v0.18.0 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling gif v0.13.3 [INFO] [stderr] Compiling x11rb-protocol v0.13.2 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling pxfm v0.1.25 [INFO] [stderr] Compiling image-webp v0.2.4 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling moxcms v0.7.9 [INFO] [stderr] Compiling gethostname v1.1.0 [INFO] [stderr] Compiling x11rb v0.13.2 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling zerocopy-derive v0.8.27 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling fax_derive v0.2.0 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling profiling v1.0.17 [INFO] [stderr] Compiling fax v0.2.6 [INFO] [stderr] Compiling equator v0.4.2 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling aligned-vec v0.6.4 [INFO] [stderr] Compiling v_frame v0.3.9 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling av1-grain v0.2.5 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling half v2.7.1 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling tiff v0.10.3 [INFO] [stderr] Compiling ravif v0.11.20 [INFO] [stderr] Compiling image v0.25.8 [INFO] [stderr] Compiling ferrous-focus v0.4.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 35.58s [INFO] running `Command { std: "docker" "inspect" "520c9371de6634c4e90a1e3c870badb697e8ae3b99eb03872e2f90bb13acbc05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "520c9371de6634c4e90a1e3c870badb697e8ae3b99eb03872e2f90bb13acbc05", kill_on_drop: false }` [INFO] [stdout] 520c9371de6634c4e90a1e3c870badb697e8ae3b99eb03872e2f90bb13acbc05 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] a5c99c05d3ce482d970b1c1fc9a2dfd6dffcdd2b1548a6ac79bca1945115427a [INFO] running `Command { std: "docker" "start" "-a" "a5c99c05d3ce482d970b1c1fc9a2dfd6dffcdd2b1548a6ac79bca1945115427a", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling libloading v0.8.9 [INFO] [stderr] Compiling quick-xml v0.37.5 [INFO] [stderr] Compiling wayland-client v0.31.11 [INFO] [stderr] Compiling cc v1.2.44 [INFO] [stderr] Compiling wayland-sys v0.31.7 [INFO] [stderr] Compiling bytemuck v1.24.0 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling nom v8.0.0 [INFO] [stderr] Compiling ttf-parser v0.25.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling memmap2 v0.9.9 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.10 [INFO] [stderr] Compiling x11rb-protocol v0.13.2 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling tiny-skia-path v0.11.4 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling winit v0.30.12 [INFO] [stderr] Compiling sdd v3.0.10 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling wayland-scanner v0.31.7 [INFO] [stderr] Compiling tiny-skia v0.11.4 [INFO] [stderr] Compiling scc v2.4.0 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling xkbcommon-dl v0.4.2 [INFO] [stderr] Compiling serial_test_derive v3.2.0 [INFO] [stderr] Compiling dpi v0.1.2 [INFO] [stderr] Compiling smol_str v0.2.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling ctrlc v3.5.1 [INFO] [stderr] Compiling wayland-backend v0.3.11 [INFO] [stderr] Compiling owned_ttf_parser v0.25.1 [INFO] [stderr] Compiling ab_glyph v0.2.32 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling serial_test v3.2.0 [INFO] [stderr] Compiling av1-grain v0.2.5 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling polling v3.11.0 [INFO] [stderr] Compiling gethostname v1.1.0 [INFO] [stderr] Compiling calloop v0.13.0 [INFO] [stderr] Compiling wayland-csd-frame v0.3.0 [INFO] [stderr] Compiling wayland-protocols v0.32.9 [INFO] [stderr] Compiling calloop-wayland-source v0.3.0 [INFO] [stderr] Compiling wayland-cursor v0.31.11 [INFO] [stderr] Compiling ravif v0.11.20 [INFO] [stderr] Compiling image v0.25.8 [INFO] [stderr] Compiling x11rb v0.13.2 [INFO] [stderr] Compiling wayland-protocols-wlr v0.3.9 [INFO] [stderr] Compiling wayland-protocols-plasma v0.3.9 [INFO] [stderr] Compiling ferrous-focus v0.4.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Compiling sctk-adwaita v0.10.1 [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> examples/async_thread_safe.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::sync::Mutex; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> examples/async_thread_safe.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> examples/async_thread_safe.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | tokio::time::sleep(std::time::Duration::from_secs(10)).await; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> examples/async_thread_safe.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 31 | let handle = tokio::spawn(async move { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `track_focus_async` found for struct `FocusTracker` in the current scope [INFO] [stdout] --> examples/async_thread_safe.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 32 | / tracker [INFO] [stdout] 33 | | .track_focus_async(move |window| { [INFO] [stdout] | |_____________-^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `track_focus` with a similar name [INFO] [stdout] | [INFO] [stdout] 33 - .track_focus_async(move |window| { [INFO] [stdout] 33 + .track_focus(move |window| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Arc<_, _>` [INFO] [stdout] --> examples/async_thread_safe.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let focus_count_clone = Arc::clone(&focus_count); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | let mut count = focus_count.lock().await; [INFO] [stdout] | ----------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `focus_count_clone` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 27 | let focus_count_clone: Arc = Arc::clone(&focus_count); [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/async_thread_safe.rs:50:49 [INFO] [stdout] | [INFO] [stdout] 50 | println!("Icon: {}x{}", icon.width(), icon.height()); [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/async_thread_safe.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | async fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433, E0599, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ferrous-focus` (example "async_thread_safe") due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "a5c99c05d3ce482d970b1c1fc9a2dfd6dffcdd2b1548a6ac79bca1945115427a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5c99c05d3ce482d970b1c1fc9a2dfd6dffcdd2b1548a6ac79bca1945115427a", kill_on_drop: false }` [INFO] [stdout] a5c99c05d3ce482d970b1c1fc9a2dfd6dffcdd2b1548a6ac79bca1945115427a