[INFO] fetching crate tuix_core 0.2.0... [INFO] testing tuix_core-0.2.0 against master#61223975d46f794466efa832bc7562b9707ecc46+rustflags=-Copt-level=3 for pr-121282 [INFO] extracting crate tuix_core 0.2.0 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate tuix_core 0.2.0 on toolchain 61223975d46f794466efa832bc7562b9707ecc46 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tuix_core 0.2.0 [INFO] finished tweaking crates.io crate tuix_core 0.2.0 [INFO] tweaked toml for crates.io crate tuix_core 0.2.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded xcursor v0.3.5 [INFO] [stderr] Downloaded ndk-glue v0.5.2 [INFO] [stderr] Downloaded memmap2 v0.3.1 [INFO] [stderr] Downloaded wayland-egl v0.29.5 [INFO] [stderr] Downloaded glutin_egl_sys v0.1.6 [INFO] [stderr] Downloaded glutin_glx_sys v0.1.8 [INFO] [stderr] Downloaded ndk-macro v0.3.0 [INFO] [stderr] Downloaded rgb v0.8.37 [INFO] [stderr] Downloaded ndk v0.5.0 [INFO] [stderr] Downloaded keyboard-types v0.5.0 [INFO] [stderr] Downloaded ttf-parser v0.14.0 [INFO] [stderr] Downloaded smithay-client-toolkit v0.15.4 [INFO] [stderr] Downloaded morphorm v0.2.0 [INFO] [stderr] Downloaded winit v0.26.1 [INFO] [stderr] Downloaded ttf-parser v0.12.3 [INFO] [stderr] Downloaded glutin v0.28.0 [INFO] [stderr] Downloaded glow v0.11.2 [INFO] [stderr] Downloaded imgref v1.10.1 [INFO] [stderr] Downloaded rustybuzz v0.4.0 [INFO] [stderr] Downloaded femtovg v0.2.10 [INFO] [stderr] Downloaded image v0.23.14 [INFO] [stderr] Downloaded calloop v0.9.3 [INFO] [stderr] Downloaded unicode-script v0.5.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4d305a3c3886113d4bbdd0bad52dbc2ca1527d1dd084fdcfcdc21907ddc81090 [INFO] running `Command { std: "docker" "start" "-a" "4d305a3c3886113d4bbdd0bad52dbc2ca1527d1dd084fdcfcdc21907ddc81090", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4d305a3c3886113d4bbdd0bad52dbc2ca1527d1dd084fdcfcdc21907ddc81090", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d305a3c3886113d4bbdd0bad52dbc2ca1527d1dd084fdcfcdc21907ddc81090", kill_on_drop: false }` [INFO] [stdout] 4d305a3c3886113d4bbdd0bad52dbc2ca1527d1dd084fdcfcdc21907ddc81090 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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 -Copt-level=3" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 211e79949d3e20b186bd5369f6e35422ff7c78a2f7c0c17ff38add12dde0b790 [INFO] running `Command { std: "docker" "start" "-a" "211e79949d3e20b186bd5369f6e35422ff7c78a2f7c0c17ff38add12dde0b790", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling xml-rs v0.8.19 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling libloading v0.8.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling xcursor v0.3.5 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling unicode-general-category v0.4.0 [INFO] [stderr] Compiling bytemuck v1.14.3 [INFO] [stderr] Compiling winit v0.26.1 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling raw-window-handle v0.4.3 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling unicode-script v0.5.6 [INFO] [stderr] Compiling aliasable v0.1.3 [INFO] [stderr] Compiling dtoa v1.0.9 [INFO] [stderr] Compiling unicode-bidi-mirroring v0.1.0 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling unicode-ccc v0.1.2 [INFO] [stderr] Compiling ttf-parser v0.12.3 [INFO] [stderr] Compiling dtoa-short v0.3.4 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling rgb v0.8.37 [INFO] [stderr] Compiling generational-arena v0.2.9 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling lru v0.7.8 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling imgref v1.10.1 [INFO] [stderr] Compiling num-iter v0.1.44 [INFO] [stderr] Compiling glow v0.11.2 [INFO] [stderr] Compiling ttf-parser v0.14.0 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling morphorm v0.2.0 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling nix v0.22.3 [INFO] [stderr] Compiling smithay-client-toolkit v0.15.4 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling memmap2 v0.3.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling glutin_glx_sys v0.1.8 [INFO] [stderr] Compiling glutin_egl_sys v0.1.6 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling rustybuzz v0.4.0 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling keyboard-types v0.5.0 [INFO] [stderr] Compiling calloop v0.9.3 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling wayland-egl v0.29.5 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Compiling cssparser v0.27.2 [INFO] [stderr] Compiling ouroboros_macro v0.14.2 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling ouroboros v0.14.2 [INFO] [stderr] Compiling glutin v0.28.0 [INFO] [stderr] Compiling femtovg v0.2.10 [INFO] [stderr] Compiling tuix_core v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `accessibility::*` [INFO] [stdout] --> src/lib.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use accessibility::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cache::*` [INFO] [stdout] --> src/layout/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use cache::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TreeExt` is imported redundantly [INFO] [stdout] --> src/systems/style_system.rs:1:41 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{BoundingBox, Entity, Event, TreeExt, IntoParentIterator, State, WindowEvent}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 2 | [INFO] [stdout] 3 | use crate::tree::*; [INFO] [stdout] | -------------- the item `TreeExt` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `IntoParentIterator` is imported redundantly [INFO] [stdout] --> src/systems/style_system.rs:1:50 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{BoundingBox, Entity, Event, TreeExt, IntoParentIterator, State, WindowEvent}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 2 | [INFO] [stdout] 3 | use crate::tree::*; [INFO] [stdout] | -------------- the item `IntoParentIterator` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/state/mod.rs:173:56 [INFO] [stdout] | [INFO] [stdout] 173 | let style_string = std::fs::read_to_string(path.clone())?; [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 52s [INFO] running `Command { std: "docker" "inspect" "211e79949d3e20b186bd5369f6e35422ff7c78a2f7c0c17ff38add12dde0b790", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "211e79949d3e20b186bd5369f6e35422ff7c78a2f7c0c17ff38add12dde0b790", kill_on_drop: false }` [INFO] [stdout] 211e79949d3e20b186bd5369f6e35422ff7c78a2f7c0c17ff38add12dde0b790 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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 -Copt-level=3" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 65564bd93e60905766641935e290cf105b551a2e79abb79cfd7d9d9c467f0cd1 [INFO] running `Command { std: "docker" "start" "-a" "65564bd93e60905766641935e290cf105b551a2e79abb79cfd7d9d9c467f0cd1", kill_on_drop: false }` [INFO] [stderr] Compiling tuix_core v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `accessibility::*` [INFO] [stdout] --> src/lib.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use accessibility::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cache::*` [INFO] [stdout] --> src/layout/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use cache::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TreeExt` is imported redundantly [INFO] [stdout] --> src/systems/style_system.rs:1:41 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{BoundingBox, Entity, Event, TreeExt, IntoParentIterator, State, WindowEvent}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 2 | [INFO] [stdout] 3 | use crate::tree::*; [INFO] [stdout] | -------------- the item `TreeExt` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `IntoParentIterator` is imported redundantly [INFO] [stdout] --> src/systems/style_system.rs:1:50 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{BoundingBox, Entity, Event, TreeExt, IntoParentIterator, State, WindowEvent}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 2 | [INFO] [stdout] 3 | use crate::tree::*; [INFO] [stdout] | -------------- the item `IntoParentIterator` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/state/mod.rs:173:56 [INFO] [stdout] | [INFO] [stdout] 173 | let style_string = std::fs::read_to_string(path.clone())?; [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `accessibility::*` [INFO] [stdout] --> src/lib.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use accessibility::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cache::*` [INFO] [stdout] --> src/layout/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use cache::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TreeExt` is imported redundantly [INFO] [stdout] --> src/systems/style_system.rs:1:41 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{BoundingBox, Entity, Event, TreeExt, IntoParentIterator, State, WindowEvent}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 2 | [INFO] [stdout] 3 | use crate::tree::*; [INFO] [stdout] | -------------- the item `TreeExt` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `IntoParentIterator` is imported redundantly [INFO] [stdout] --> src/systems/style_system.rs:1:50 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{BoundingBox, Entity, Event, TreeExt, IntoParentIterator, State, WindowEvent}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 2 | [INFO] [stdout] 3 | use crate::tree::*; [INFO] [stdout] | -------------- the item `IntoParentIterator` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/state/mod.rs:173:56 [INFO] [stdout] | [INFO] [stdout] 173 | let style_string = std::fs::read_to_string(path.clone())?; [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.16s [INFO] running `Command { std: "docker" "inspect" "65564bd93e60905766641935e290cf105b551a2e79abb79cfd7d9d9c467f0cd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65564bd93e60905766641935e290cf105b551a2e79abb79cfd7d9d9c467f0cd1", kill_on_drop: false }` [INFO] [stdout] 65564bd93e60905766641935e290cf105b551a2e79abb79cfd7d9d9c467f0cd1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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 -Copt-level=3" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7e4de11d9902ea0783450912fceef5aa96d33b6539a96f59958dedce024b95bf [INFO] running `Command { std: "docker" "start" "-a" "7e4de11d9902ea0783450912fceef5aa96d33b6539a96f59958dedce024b95bf", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `accessibility::*` [INFO] [stderr] --> src/lib.rs:5:9 [INFO] [stderr] | [INFO] [stderr] 5 | pub use accessibility::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `cache::*` [INFO] [stderr] --> src/layout/mod.rs:4:9 [INFO] [stderr] | [INFO] [stderr] 4 | pub use cache::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `TreeExt` is imported redundantly [INFO] [stderr] --> src/systems/style_system.rs:1:41 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::{BoundingBox, Entity, Event, TreeExt, IntoParentIterator, State, WindowEvent}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 2 | [INFO] [stderr] 3 | use crate::tree::*; [INFO] [stderr] | -------------- the item `TreeExt` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `IntoParentIterator` is imported redundantly [INFO] [stderr] --> src/systems/style_system.rs:1:50 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::{BoundingBox, Entity, Event, TreeExt, IntoParentIterator, State, WindowEvent}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 2 | [INFO] [stderr] 3 | use crate::tree::*; [INFO] [stderr] | -------------- the item `IntoParentIterator` is already imported here [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/state/mod.rs:173:56 [INFO] [stderr] | [INFO] [stderr] 173 | let style_string = std::fs::read_to_string(path.clone())?; [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `tuix_core` (lib) generated 5 warnings (run `cargo fix --lib -p tuix_core` to apply 3 suggestions) [INFO] [stderr] warning: `tuix_core` (lib test) generated 5 warnings (5 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tuix_core-fd7c41e838f585c7) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test state::entity::tests::create ... ok [INFO] [stdout] test state::storage::animatable_storage::tests::inline ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests tuix_core [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/state/mod.rs - state::State::add_style_rule (line 192) ... FAILED [INFO] [stdout] test src/state/mod.rs - state::State::insert_event (line 250) ... FAILED [INFO] [stdout] test src/state/mod.rs - state::State::add_stylesheet (line 169) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/state/mod.rs - state::State::add_style_rule (line 192) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `state` in this scope [INFO] [stdout] --> src/state/mod.rs:193:1 [INFO] [stdout] | [INFO] [stdout] 3 | state.add_style_rule(StyleRule::new(Selector::element("button")).property(Property::FlexGrow(1.0))) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleRule` [INFO] [stdout] --> src/state/mod.rs:193:22 [INFO] [stdout] | [INFO] [stdout] 3 | state.add_style_rule(StyleRule::new(Selector::element("button")).property(Property::FlexGrow(1.0))) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleRule` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use tuix_core::StyleRule; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Selector` [INFO] [stdout] --> src/state/mod.rs:193:37 [INFO] [stdout] | [INFO] [stdout] 3 | state.add_style_rule(StyleRule::new(Selector::element("button")).property(Property::FlexGrow(1.0))) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Selector` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use tuix_core::Selector; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Property` [INFO] [stdout] --> src/state/mod.rs:193:75 [INFO] [stdout] | [INFO] [stdout] 3 | state.add_style_rule(StyleRule::new(Selector::element("button")).property(Property::FlexGrow(1.0))) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Property` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use tuix_core::Property; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/state/mod.rs - state::State::insert_event (line 250) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `state` in this scope [INFO] [stdout] --> src/state/mod.rs:251:1 [INFO] [stdout] | [INFO] [stdout] 3 | state.insert_event(Event::new(WindowEvent::WindowClose)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Event` [INFO] [stdout] --> src/state/mod.rs:251:20 [INFO] [stdout] | [INFO] [stdout] 3 | state.insert_event(Event::new(WindowEvent::WindowClose)); [INFO] [stdout] | ^^^^^ use of undeclared type `Event` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use tuix_core::Event; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WindowEvent` [INFO] [stdout] --> src/state/mod.rs:251:31 [INFO] [stdout] | [INFO] [stdout] 3 | state.insert_event(Event::new(WindowEvent::WindowClose)); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WindowEvent` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use tuix_core::WindowEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/state/mod.rs - state::State::add_stylesheet (line 169) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `state` in this scope [INFO] [stdout] --> src/state/mod.rs:170:1 [INFO] [stdout] | [INFO] [stdout] 3 | state.add_stylesheet("path_to_stylesheet.css"); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [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/state/mod.rs - state::State::add_style_rule (line 192) [INFO] [stdout] src/state/mod.rs - state::State::add_stylesheet (line 169) [INFO] [stdout] src/state/mod.rs - state::State::insert_event (line 250) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.17s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "7e4de11d9902ea0783450912fceef5aa96d33b6539a96f59958dedce024b95bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e4de11d9902ea0783450912fceef5aa96d33b6539a96f59958dedce024b95bf", kill_on_drop: false }` [INFO] [stdout] 7e4de11d9902ea0783450912fceef5aa96d33b6539a96f59958dedce024b95bf