[INFO] cloning repository https://github.com/cobalthex/rust-ui [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cobalthex/rust-ui" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcobalthex%2Frust-ui", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcobalthex%2Frust-ui'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 22ad3ca2d1bea7fb847b09c91a9f438647dd94df [INFO] checking cobalthex/rust-ui against try#b1f2594eac607c1f051534800237eeedb5590a49 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcobalthex%2Frust-ui" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/cobalthex/rust-ui [INFO] finished tweaking git repo https://github.com/cobalthex/rust-ui [INFO] tweaked toml for git repo https://github.com/cobalthex/rust-ui written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/cobalthex/rust-ui on toolchain b1f2594eac607c1f051534800237eeedb5590a49 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/cobalthex/rust-ui 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" "+b1f2594eac607c1f051534800237eeedb5590a49" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8c50cdce46171d8f1079f85a521a860e7a12042e1fa22b79f684eaea2442c73d [INFO] running `Command { std: "docker" "start" "-a" "8c50cdce46171d8f1079f85a521a860e7a12042e1fa22b79f684eaea2442c73d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8c50cdce46171d8f1079f85a521a860e7a12042e1fa22b79f684eaea2442c73d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c50cdce46171d8f1079f85a521a860e7a12042e1fa22b79f684eaea2442c73d", kill_on_drop: false }` [INFO] [stdout] 8c50cdce46171d8f1079f85a521a860e7a12042e1fa22b79f684eaea2442c73d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b57b31a071e079a7c58b3ba1ffbc55a24b95008637f682e47f78d3f561809d4a [INFO] running `Command { std: "docker" "start" "-a" "b57b31a071e079a7c58b3ba1ffbc55a24b95008637f682e47f78d3f561809d4a", kill_on_drop: false }` [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Compiling hashbrown v0.7.2 [INFO] [stderr] Checking ahash v0.3.8 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking mopa v0.2.2 [INFO] [stderr] Checking smallvec v1.4.1 [INFO] [stderr] Checking shrev v1.1.1 [INFO] [stderr] Checking tuple_utils v0.3.0 [INFO] [stderr] Checking nameof v1.2.0 [INFO] [stderr] Checking atomic-counter v1.0.1 [INFO] [stderr] Checking crossbeam-epoch v0.8.2 [INFO] [stderr] Checking nom v5.1.2 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking tynm v0.1.4 [INFO] [stderr] Checking hibitset v0.6.3 [INFO] [stderr] Checking shred v0.10.2 [INFO] [stderr] Checking specs v0.16.1 [INFO] [stderr] Checking ui v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `available_size` is never read [INFO] [stdout] --> src/main.rs:138:13 [INFO] [stdout] | [INFO] [stdout] 138 | available_size.1 = size.1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `available_size` is never read [INFO] [stdout] --> src/main.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 130 | available_size.1 -= self.padding.1 * 2.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `available_size` is never read [INFO] [stdout] --> src/main.rs:133:17 [INFO] [stdout] | [INFO] [stdout] 133 | available_size.1 -= self.position.1; //round? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `container` [INFO] [stdout] --> src/main.rs:186:35 [INFO] [stdout] | [INFO] [stdout] 186 | fn adjust_to_container(&self, container: Rect) [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_container` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `elem` [INFO] [stdout] --> src/main.rs:244:19 [INFO] [stdout] | [INFO] [stdout] 244 | for (ent, elem) in (&*ents, &elems).join() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_elem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x`, `y`, `width`, and `height` are never read [INFO] [stdout] --> src/main.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 17 | struct Rect [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 18 | { [INFO] [stdout] 19 | pub x: f32, [INFO] [stdout] | ^ [INFO] [stdout] 20 | pub y: f32, [INFO] [stdout] | ^ [INFO] [stdout] 21 | pub width: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | pub height: f32 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Rect` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Middle` and `Back` are never constructed [INFO] [stdout] --> src/main.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 26 | enum Alignment [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 29 | Middle, // center [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 30 | Back, // right/bottom [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Alignment` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `parent`, `measured_size`, `content_area`, `offset_content_area`, `visible_content_area`, and `visible_bounds` are never read [INFO] [stdout] --> src/main.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 38 | struct UIElement { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 39 | parent: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | measured_size: Vec2, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 55 | content_area: Rect, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 56 | offset_content_area: Rect, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 57 | visible_content_area: Rect, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 58 | visible_bounds: Rect, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UIElement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `visible_offset` is never used [INFO] [stdout] --> src/main.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 64 | impl UIElement { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn visible_offset(&self) -> Vec2 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_aligned_position` is never used [INFO] [stdout] --> src/main.rs:176:8 [INFO] [stdout] | [INFO] [stdout] 96 | impl UIElement [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 176 | fn get_aligned_position(alignment: Alignment, position: f32, size: f32, padding: f32, container_size: f32) -> f32 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused closure that must be used [INFO] [stdout] --> src/main.rs:264:66 [INFO] [stdout] | [INFO] [stdout] 264 | let mut dispatcher = DispatcherBuilder::new().with(UILayout, name_of_type!(UILayout), &[]).build(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: closures are lazy and do nothing unless called [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `name_of_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `available_size` is never read [INFO] [stdout] --> src/main.rs:138:13 [INFO] [stdout] | [INFO] [stdout] 138 | available_size.1 = size.1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `available_size` is never read [INFO] [stdout] --> src/main.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 130 | available_size.1 -= self.padding.1 * 2.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `available_size` is never read [INFO] [stdout] --> src/main.rs:133:17 [INFO] [stdout] | [INFO] [stdout] 133 | available_size.1 -= self.position.1; //round? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `container` [INFO] [stdout] --> src/main.rs:186:35 [INFO] [stdout] | [INFO] [stdout] 186 | fn adjust_to_container(&self, container: Rect) [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_container` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `elem` [INFO] [stdout] --> src/main.rs:244:19 [INFO] [stdout] | [INFO] [stdout] 244 | for (ent, elem) in (&*ents, &elems).join() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_elem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x`, `y`, `width`, and `height` are never read [INFO] [stdout] --> src/main.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 17 | struct Rect [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 18 | { [INFO] [stdout] 19 | pub x: f32, [INFO] [stdout] | ^ [INFO] [stdout] 20 | pub y: f32, [INFO] [stdout] | ^ [INFO] [stdout] 21 | pub width: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | pub height: f32 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Rect` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Middle` and `Back` are never constructed [INFO] [stdout] --> src/main.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 26 | enum Alignment [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 29 | Middle, // center [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 30 | Back, // right/bottom [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Alignment` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `parent`, `measured_size`, `content_area`, `offset_content_area`, `visible_content_area`, and `visible_bounds` are never read [INFO] [stdout] --> src/main.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 38 | struct UIElement { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 39 | parent: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | measured_size: Vec2, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 55 | content_area: Rect, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 56 | offset_content_area: Rect, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 57 | visible_content_area: Rect, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 58 | visible_bounds: Rect, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UIElement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `visible_offset` is never used [INFO] [stdout] --> src/main.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 64 | impl UIElement { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn visible_offset(&self) -> Vec2 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_aligned_position` is never used [INFO] [stdout] --> src/main.rs:176:8 [INFO] [stdout] | [INFO] [stdout] 96 | impl UIElement [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 176 | fn get_aligned_position(alignment: Alignment, position: f32, size: f32, padding: f32, container_size: f32) -> f32 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused closure that must be used [INFO] [stdout] --> src/main.rs:264:66 [INFO] [stdout] | [INFO] [stdout] 264 | let mut dispatcher = DispatcherBuilder::new().with(UILayout, name_of_type!(UILayout), &[]).build(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: closures are lazy and do nothing unless called [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `name_of_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.80s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 8` [INFO] running `Command { std: "docker" "inspect" "b57b31a071e079a7c58b3ba1ffbc55a24b95008637f682e47f78d3f561809d4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b57b31a071e079a7c58b3ba1ffbc55a24b95008637f682e47f78d3f561809d4a", kill_on_drop: false }` [INFO] [stdout] b57b31a071e079a7c58b3ba1ffbc55a24b95008637f682e47f78d3f561809d4a