[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/22ad3ca2d1bea7fb847b09c91a9f438647dd94df against master#f2abf827c128120ed7a874d02973947968c158b8 for pr-132268 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcobalthex%2Frust-ui" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cobalthex/rust-ui on toolchain f2abf827c128120ed7a874d02973947968c158b8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f2abf827c128120ed7a874d02973947968c158b8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-6-tc1/source/Cargo.toml [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" "+f2abf827c128120ed7a874d02973947968c158b8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nameof v1.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+f2abf827c128120ed7a874d02973947968c158b8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 97fbcfe00386e7195ec2501d5a95049684d0295f3bac689e331a4a8ed49619f3 [INFO] running `Command { std: "docker" "start" "-a" "97fbcfe00386e7195ec2501d5a95049684d0295f3bac689e331a4a8ed49619f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "97fbcfe00386e7195ec2501d5a95049684d0295f3bac689e331a4a8ed49619f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97fbcfe00386e7195ec2501d5a95049684d0295f3bac689e331a4a8ed49619f3", kill_on_drop: false }` [INFO] [stdout] 97fbcfe00386e7195ec2501d5a95049684d0295f3bac689e331a4a8ed49619f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+f2abf827c128120ed7a874d02973947968c158b8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5dc04cb60709c9d84e14aec3cdea3778886779b78e36d7ed16310745234a8b93 [INFO] running `Command { std: "docker" "start" "-a" "5dc04cb60709c9d84e14aec3cdea3778886779b78e36d7ed16310745234a8b93", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking ahash v0.3.8 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking atom v0.3.5 [INFO] [stderr] Checking smallvec v1.4.1 [INFO] [stderr] Checking mopa v0.2.2 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Compiling hashbrown v0.7.2 [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-queue v0.2.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [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: 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)]` 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 `Default`, `Clone`, and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` 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)]` 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: 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)]` 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 `Default`, `Clone`, and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` 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)]` 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 3.38s [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 1` [INFO] running `Command { std: "docker" "inspect" "5dc04cb60709c9d84e14aec3cdea3778886779b78e36d7ed16310745234a8b93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5dc04cb60709c9d84e14aec3cdea3778886779b78e36d7ed16310745234a8b93", kill_on_drop: false }` [INFO] [stdout] 5dc04cb60709c9d84e14aec3cdea3778886779b78e36d7ed16310745234a8b93