[INFO] fetching crate repose-ui 0.13.2... [INFO] testing repose-ui-0.13.2 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate repose-ui 0.13.2 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate repose-ui 0.13.2 [INFO] finished tweaking crates.io crate repose-ui 0.13.2 [INFO] tweaked toml for crates.io crate repose-ui 0.13.2 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate repose-ui 0.13.2 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate repose-ui 0.13.2 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 24491efb23355a053cd5baa77cff9642387a0c3a3c36068c0f9c52d7e2f69457 [INFO] running `Command { std: "docker" "start" "-a" "24491efb23355a053cd5baa77cff9642387a0c3a3c36068c0f9c52d7e2f69457", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "24491efb23355a053cd5baa77cff9642387a0c3a3c36068c0f9c52d7e2f69457", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24491efb23355a053cd5baa77cff9642387a0c3a3c36068c0f9c52d7e2f69457", kill_on_drop: false }` [INFO] [stdout] 24491efb23355a053cd5baa77cff9642387a0c3a3c36068c0f9c52d7e2f69457 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 32ff4f6c043c7f83856a10ee125abed29a58724fc629b54cbdebf7364f2bb3ae [INFO] running `Command { std: "docker" "start" "-a" "32ff4f6c043c7f83856a10ee125abed29a58724fc629b54cbdebf7364f2bb3ae", kill_on_drop: false }` [INFO] [stderr] Compiling libm v0.2.16 [INFO] [stderr] Compiling slotmap v1.1.1 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling zerocopy v0.8.33 [INFO] [stderr] Compiling bytemuck_derive v1.10.2 [INFO] [stderr] Compiling fontconfig-parser v0.5.8 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling memmap2 v0.9.9 [INFO] [stderr] Compiling grid v1.0.0 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling yazi v0.2.1 [INFO] [stderr] Compiling zeno v0.3.3 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling taffy v0.9.2 [INFO] [stderr] Compiling linebender_resource_handle v0.1.1 [INFO] [stderr] Compiling smol_str v0.3.6 [INFO] [stderr] Compiling sys-locale v0.3.2 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling rangemap v1.7.1 [INFO] [stderr] Compiling self_cell v1.2.2 [INFO] [stderr] Compiling unicode-script v0.5.8 [INFO] [stderr] Compiling unicode-linebreak v0.1.5 [INFO] [stderr] Compiling bytemuck v1.24.0 [INFO] [stderr] Compiling web-time v1.1.0 [INFO] [stderr] Compiling core_maths v0.1.1 [INFO] [stderr] Compiling font-types v0.10.1 [INFO] [stderr] Compiling font-types v0.11.0 [INFO] [stderr] Compiling ttf-parser v0.25.1 [INFO] [stderr] Compiling read-fonts v0.35.0 [INFO] [stderr] Compiling read-fonts v0.37.0 [INFO] [stderr] Compiling repose-core v0.13.2 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling repose-tree v0.13.2 [INFO] [stderr] Compiling fontdb v0.23.0 [INFO] [stderr] Compiling owned_ttf_parser v0.25.1 [INFO] [stderr] Compiling ab_glyph v0.2.32 [INFO] [stderr] Compiling harfrust v0.5.2 [INFO] [stderr] Compiling skrifa v0.40.0 [INFO] [stderr] Compiling skrifa v0.37.0 [INFO] [stderr] Compiling swash v0.2.6 [INFO] [stderr] Compiling cosmic-text v0.18.2 [INFO] [stderr] Compiling repose-text v0.13.2 [INFO] [stderr] Compiling repose-ui v0.13.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `FxHashMap` and `FxHashSet` [INFO] [stdout] --> src/lib.rs:115:18 [INFO] [stdout] | [INFO] [stdout] 115 | use rustc_hash::{FxHashMap, FxHashSet}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cmp::Ordering` [INFO] [stdout] --> src/lib.rs:118:26 [INFO] [stdout] | [INFO] [stdout] 118 | use std::{cell::RefCell, cmp::Ordering}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Overflow` and `Point` [INFO] [stdout] --> src/lib.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | use taffy::{Overflow, Point}; [INFO] [stdout] | ^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TF_FONT_DP`, `TF_PADDING_X_DP`, `byte_to_char_index`, and `measure_text` [INFO] [stdout] --> src/lib.rs:125:24 [INFO] [stdout] | [INFO] [stdout] 125 | use crate::textfield::{TF_FONT_DP, TF_PADDING_X_DP, byte_to_char_index, measure_text}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `repose_core` [INFO] [stdout] --> src/textfield.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | use repose_core::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `font_px` [INFO] [stdout] --> src/layout.rs:394:48 [INFO] [stdout] | [INFO] [stdout] 394 | fn style_from_node(&self, node: &TreeNode, font_px: &dyn Fn(f32) -> f32) -> taffy::Style { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_font_px` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `flex_dir_for` is never used [INFO] [stdout] --> src/lib.rs:393:4 [INFO] [stdout] | [INFO] [stdout] 393 | fn flex_dir_for(kind: &ViewKind) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `walk_paint_view` is never used [INFO] [stdout] --> src/layout.rs:984:8 [INFO] [stdout] | [INFO] [stdout] 147 | impl LayoutEngine { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 984 | fn walk_paint_view( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 22s [INFO] running `Command { std: "docker" "inspect" "32ff4f6c043c7f83856a10ee125abed29a58724fc629b54cbdebf7364f2bb3ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32ff4f6c043c7f83856a10ee125abed29a58724fc629b54cbdebf7364f2bb3ae", kill_on_drop: false }` [INFO] [stdout] 32ff4f6c043c7f83856a10ee125abed29a58724fc629b54cbdebf7364f2bb3ae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 825649d0d9b173dea72162b298047a06888ddcfe85c20556545f511fabd69d10 [INFO] running `Command { std: "docker" "start" "-a" "825649d0d9b173dea72162b298047a06888ddcfe85c20556545f511fabd69d10", kill_on_drop: false }` [INFO] [stderr] Compiling harfrust v0.5.2 [INFO] [stderr] Compiling zmij v1.0.16 [INFO] [stderr] Compiling repose-core v0.13.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling repose-tree v0.13.2 [INFO] [stderr] Compiling insta v1.46.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling cosmic-text v0.18.2 [INFO] [stderr] Compiling repose-text v0.13.2 [INFO] [stderr] Compiling repose-ui v0.13.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `FxHashMap` and `FxHashSet` [INFO] [stdout] --> src/lib.rs:115:18 [INFO] [stdout] | [INFO] [stdout] 115 | use rustc_hash::{FxHashMap, FxHashSet}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cmp::Ordering` [INFO] [stdout] --> src/lib.rs:118:26 [INFO] [stdout] | [INFO] [stdout] 118 | use std::{cell::RefCell, cmp::Ordering}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Overflow` and `Point` [INFO] [stdout] --> src/lib.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | use taffy::{Overflow, Point}; [INFO] [stdout] | ^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TF_FONT_DP`, `TF_PADDING_X_DP`, `byte_to_char_index`, and `measure_text` [INFO] [stdout] --> src/lib.rs:125:24 [INFO] [stdout] | [INFO] [stdout] 125 | use crate::textfield::{TF_FONT_DP, TF_PADDING_X_DP, byte_to_char_index, measure_text}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `repose_core` [INFO] [stdout] --> src/textfield.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | use repose_core::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `font_px` [INFO] [stdout] --> src/layout.rs:394:48 [INFO] [stdout] | [INFO] [stdout] 394 | fn style_from_node(&self, node: &TreeNode, font_px: &dyn Fn(f32) -> f32) -> taffy::Style { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_font_px` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `flex_dir_for` is never used [INFO] [stdout] --> src/lib.rs:393:4 [INFO] [stdout] | [INFO] [stdout] 393 | fn flex_dir_for(kind: &ViewKind) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `walk_paint_view` is never used [INFO] [stdout] --> src/layout.rs:984:8 [INFO] [stdout] | [INFO] [stdout] 147 | impl LayoutEngine { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 984 | fn walk_paint_view( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FxHashMap` and `FxHashSet` [INFO] [stdout] --> src/lib.rs:115:18 [INFO] [stdout] | [INFO] [stdout] 115 | use rustc_hash::{FxHashMap, FxHashSet}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cmp::Ordering` [INFO] [stdout] --> src/lib.rs:118:26 [INFO] [stdout] | [INFO] [stdout] 118 | use std::{cell::RefCell, cmp::Ordering}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Overflow` and `Point` [INFO] [stdout] --> src/lib.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | use taffy::{Overflow, Point}; [INFO] [stdout] | ^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TF_FONT_DP`, `TF_PADDING_X_DP`, `byte_to_char_index`, and `measure_text` [INFO] [stdout] --> src/lib.rs:125:24 [INFO] [stdout] | [INFO] [stdout] 125 | use crate::textfield::{TF_FONT_DP, TF_PADDING_X_DP, byte_to_char_index, measure_text}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `Scroll`: Use ScollArea instead [INFO] [stdout] --> src/layout.rs:3178:22 [INFO] [stdout] | [INFO] [stdout] 3178 | let scroll = Scroll(Modifier::new().size(200.0, 200.0)).child(tall_content); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `Scroll`: Use ScollArea instead [INFO] [stdout] --> src/layout.rs:3170:20 [INFO] [stdout] | [INFO] [stdout] 3170 | use crate::Scroll; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `Scroll`: Use ScollArea instead [INFO] [stdout] --> src/layout.rs:3248:22 [INFO] [stdout] | [INFO] [stdout] 3248 | let scroll = Scroll(Modifier::new().size(200.0, 200.0)).child(tall_content); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `Scroll`: Use ScollArea instead [INFO] [stdout] --> src/layout.rs:3240:20 [INFO] [stdout] | [INFO] [stdout] 3240 | use crate::Scroll; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `repose_core` [INFO] [stdout] --> src/textfield.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | use repose_core::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `font_px` [INFO] [stdout] --> src/layout.rs:394:48 [INFO] [stdout] | [INFO] [stdout] 394 | fn style_from_node(&self, node: &TreeNode, font_px: &dyn Fn(f32) -> f32) -> taffy::Style { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_font_px` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `flex_dir_for` is never used [INFO] [stdout] --> src/lib.rs:393:4 [INFO] [stdout] | [INFO] [stdout] 393 | fn flex_dir_for(kind: &ViewKind) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `walk_paint_view` is never used [INFO] [stdout] --> src/layout.rs:984:8 [INFO] [stdout] | [INFO] [stdout] 147 | impl LayoutEngine { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 984 | fn walk_paint_view( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `font_px` is never used [INFO] [stdout] --> src/layout.rs:2941:8 [INFO] [stdout] | [INFO] [stdout] 2941 | fn font_px(dp: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 39.74s [INFO] running `Command { std: "docker" "inspect" "825649d0d9b173dea72162b298047a06888ddcfe85c20556545f511fabd69d10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "825649d0d9b173dea72162b298047a06888ddcfe85c20556545f511fabd69d10", kill_on_drop: false }` [INFO] [stdout] 825649d0d9b173dea72162b298047a06888ddcfe85c20556545f511fabd69d10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a569b5536f5b6214808355dc6d9c823f219947fec96bcb3990e5e8e5282b64f9 [INFO] running `Command { std: "docker" "start" "-a" "a569b5536f5b6214808355dc6d9c823f219947fec96bcb3990e5e8e5282b64f9", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `FxHashMap` and `FxHashSet` [INFO] [stderr] --> src/lib.rs:115:18 [INFO] [stderr] | [INFO] [stderr] 115 | use rustc_hash::{FxHashMap, FxHashSet}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `cmp::Ordering` [INFO] [stderr] --> src/lib.rs:118:26 [INFO] [stderr] | [INFO] [stderr] 118 | use std::{cell::RefCell, cmp::Ordering}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Overflow` and `Point` [INFO] [stderr] --> src/lib.rs:122:13 [INFO] [stderr] | [INFO] [stderr] 122 | use taffy::{Overflow, Point}; [INFO] [stderr] | ^^^^^^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `TF_FONT_DP`, `TF_PADDING_X_DP`, `byte_to_char_index`, and `measure_text` [INFO] [stderr] --> src/lib.rs:125:24 [INFO] [stderr] | [INFO] [stderr] 125 | use crate::textfield::{TF_FONT_DP, TF_PADDING_X_DP, byte_to_char_index, measure_text}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `repose_core` [INFO] [stderr] --> src/textfield.rs:40:5 [INFO] [stderr] | [INFO] [stderr] 40 | use repose_core::*; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `font_px` [INFO] [stderr] --> src/layout.rs:394:48 [INFO] [stderr] | [INFO] [stderr] 394 | fn style_from_node(&self, node: &TreeNode, font_px: &dyn Fn(f32) -> f32) -> taffy::Style { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_font_px` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `flex_dir_for` is never used [INFO] [stderr] --> src/lib.rs:393:4 [INFO] [stderr] | [INFO] [stderr] 393 | fn flex_dir_for(kind: &ViewKind) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: method `walk_paint_view` is never used [INFO] [stderr] --> src/layout.rs:984:8 [INFO] [stderr] | [INFO] [stderr] 147 | impl LayoutEngine { [INFO] [stderr] | ----------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 984 | fn walk_paint_view( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `repose-ui` (lib) generated 8 warnings (run `cargo fix --lib -p repose-ui` to apply 5 suggestions) [INFO] [stderr] warning: use of deprecated function `Scroll`: Use ScollArea instead [INFO] [stderr] --> src/layout.rs:3178:22 [INFO] [stderr] | [INFO] [stderr] 3178 | let scroll = Scroll(Modifier::new().size(200.0, 200.0)).child(tall_content); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `Scroll`: Use ScollArea instead [INFO] [stderr] --> src/layout.rs:3170:20 [INFO] [stderr] | [INFO] [stderr] 3170 | use crate::Scroll; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `Scroll`: Use ScollArea instead [INFO] [stderr] --> src/layout.rs:3248:22 [INFO] [stderr] | [INFO] [stderr] 3248 | let scroll = Scroll(Modifier::new().size(200.0, 200.0)).child(tall_content); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `Scroll`: Use ScollArea instead [INFO] [stderr] --> src/layout.rs:3240:20 [INFO] [stderr] | [INFO] [stderr] 3240 | use crate::Scroll; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `font_px` is never used [INFO] [stderr] --> src/layout.rs:2941:8 [INFO] [stderr] | [INFO] [stderr] 2941 | fn font_px(dp: f32) -> f32 { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `repose-ui` (lib test) generated 13 warnings (8 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/repose_ui-28204070bf4b83ed) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test layout::tests::test_render_z_index_paints_over_scrollbars ... ok [INFO] [stdout] test layout::tests::test_render_z_index_paints_last ... ok [INFO] [stdout] test layout::tests::test_render_z_index_with_overlay_host ... ok [INFO] [stdout] test layout::tests::test_render_z_index_with_nested_children ... ok [INFO] [stdout] test layout::tests::test_render_z_index_order_by_value ... ok [INFO] [stderr] Doc-tests repose_ui [INFO] [stdout] test textfield::tests::test_index_for_x_bytes_grapheme ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.35s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/lib.rs - (line 17) ... FAILED [INFO] [stdout] test src/lib.rs - (line 80) ... FAILED [INFO] [stdout] test src/textfield.rs - textfield (line 7) ... FAILED [INFO] [stdout] test src/lib.rs - (line 56) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 17) stdout ---- [INFO] [stdout] error[E0599]: no method named `into_children` found for reference `&'static str` in the current scope [INFO] [stdout] --> src/lib.rs:25:28 [INFO] [stdout] | [INFO] [stdout] 25 | Button("Increment".into_children(), on_inc), [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `&'static str` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 80) stdout ---- [INFO] [stdout] error: free function without a body [INFO] [stdout] --> src/lib.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | / pub fn layout_and_paint( [INFO] [stdout] 82 | | root: &View, [INFO] [stdout] 83 | | size_px: (u32, u32), [INFO] [stdout] 84 | | textfield_states: &HashMap>>, [INFO] [stdout] 85 | | interactions: &Interactions, [INFO] [stdout] 86 | | focused: Option, [INFO] [stdout] 87 | | ) -> (Scene, Vec, Vec); [INFO] [stdout] | | ^ help: provide a definition for the function: `{ }` [INFO] [stdout] | |___________________________________________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `View` in this scope [INFO] [stdout] --> src/lib.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | root: &View, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 80 + use repose_core::View; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/lib.rs:84:24 [INFO] [stdout] | [INFO] [stdout] 84 | textfield_states: &HashMap>>, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 80 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Rc` in this scope [INFO] [stdout] --> src/lib.rs:84:37 [INFO] [stdout] | [INFO] [stdout] 84 | textfield_states: &HashMap>>, [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 80 + use std::rc::Rc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `RefCell` in this scope [INFO] [stdout] --> src/lib.rs:84:40 [INFO] [stdout] | [INFO] [stdout] 84 | textfield_states: &HashMap>>, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 80 + use std::cell::RefCell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `TextFieldState` in this scope [INFO] [stdout] --> src/lib.rs:84:48 [INFO] [stdout] | [INFO] [stdout] 84 | textfield_states: &HashMap>>, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 80 + use repose_ui::TextFieldState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Interactions` in this scope [INFO] [stdout] --> src/lib.rs:85:20 [INFO] [stdout] | [INFO] [stdout] 85 | interactions: &Interactions, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 80 + use repose_ui::Interactions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Scene` in this scope [INFO] [stdout] --> src/lib.rs:87:7 [INFO] [stdout] | [INFO] [stdout] 87 | ) -> (Scene, Vec, Vec); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 80 + use repose_core::Scene; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `HitRegion` in this scope [INFO] [stdout] --> src/lib.rs:87:18 [INFO] [stdout] | [INFO] [stdout] 87 | ) -> (Scene, Vec, Vec); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 80 + use repose_core::HitRegion; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `SemNode` in this scope [INFO] [stdout] --> src/lib.rs:87:34 [INFO] [stdout] | [INFO] [stdout] 87 | ) -> (Scene, Vec, Vec); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 80 + use repose_core::SemNode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/textfield.rs - textfield (line 7) stdout ---- [INFO] [stdout] error[E0425]: cannot find type `Range` in this scope [INFO] [stdout] --> src/textfield.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | pub selection: Range, // byte offsets [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 7 + use std::collections::btree_map::Range; [INFO] [stdout] | [INFO] [stdout] 7 + use std::collections::btree_set::Range; [INFO] [stdout] | [INFO] [stdout] 7 + use std::ops::Range; [INFO] [stdout] | [INFO] [stdout] 7 + use std::range::Range; [INFO] [stdout] | [INFO] [stdout] = and 2 other candidates [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Range` in this scope [INFO] [stdout] --> src/textfield.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | pub composition: Option>, // IME preedit range [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 7 + use std::collections::btree_map::Range; [INFO] [stdout] | [INFO] [stdout] 7 + use std::collections::btree_set::Range; [INFO] [stdout] | [INFO] [stdout] 7 + use std::ops::Range; [INFO] [stdout] | [INFO] [stdout] 7 + use std::range::Range; [INFO] [stdout] | [INFO] [stdout] = and 2 other candidates [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Instant` in this scope [INFO] [stdout] --> src/textfield.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | pub blink_start: Instant, // caret blink timer [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 7 + use std::time::Instant; [INFO] [stdout] | [INFO] [stdout] 7 + use web_time::Instant; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 17) [INFO] [stdout] src/lib.rs - (line 80) [INFO] [stdout] src/textfield.rs - textfield (line 7) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.68s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.99s; merged doctests compilation took 0.30s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "a569b5536f5b6214808355dc6d9c823f219947fec96bcb3990e5e8e5282b64f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a569b5536f5b6214808355dc6d9c823f219947fec96bcb3990e5e8e5282b64f9", kill_on_drop: false }` [INFO] [stdout] a569b5536f5b6214808355dc6d9c823f219947fec96bcb3990e5e8e5282b64f9