[INFO] fetching crate conrod_glium 0.76.1... [INFO] checking conrod_glium-0.76.1 against master#84e729a59f216cc64755788a470f165429a731f4 for pr-123737-1 [INFO] extracting crate conrod_glium 0.76.1 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate conrod_glium 0.76.1 on toolchain 84e729a59f216cc64755788a470f165429a731f4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+84e729a59f216cc64755788a470f165429a731f4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate conrod_glium 0.76.1 [INFO] finished tweaking crates.io crate conrod_glium 0.76.1 [INFO] tweaked toml for crates.io crate conrod_glium 0.76.1 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate crates.io crate conrod_glium 0.76.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+84e729a59f216cc64755788a470f165429a731f4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ppv-lite86 v0.2.16 [INFO] [stderr] Downloaded fixedbitset v0.1.9 [INFO] [stderr] Downloaded ordermap v0.3.5 [INFO] [stderr] Downloaded quote v1.0.14 [INFO] [stderr] Downloaded piston-float v1.0.1 [INFO] [stderr] Downloaded conrod_winit v0.76.1 [INFO] [stderr] Downloaded conrod_derive v0.76.1 [INFO] [stderr] Downloaded clipboard-win v2.2.0 [INFO] [stderr] Downloaded quick-xml v0.22.0 [INFO] [stderr] Downloaded crossbeam-epoch v0.8.2 [INFO] [stderr] Downloaded conrod_core v0.76.1 [INFO] [stderr] Downloaded libc v0.2.112 [INFO] [stderr] Downloaded rayon v1.5.1 [INFO] [stderr] Downloaded jpeg-decoder v0.1.22 [INFO] [stderr] Downloaded syn v0.15.44 [INFO] [stderr] Downloaded image v0.22.5 [INFO] [stderr] Downloaded deflate v0.7.20 [INFO] [stderr] Downloaded xcb v0.10.1 [INFO] [stderr] Downloaded daggy v0.5.0 [INFO] [stderr] Downloaded num-bigint v0.3.3 [INFO] [stderr] Downloaded backtrace v0.3.63 [INFO] [stderr] Downloaded crossbeam-channel v0.5.2 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.6 [INFO] [stderr] Downloaded rayon-core v1.9.1 [INFO] [stderr] Downloaded crc32fast v1.3.0 [INFO] [stderr] Downloaded petgraph v0.4.13 [INFO] [stderr] Downloaded syn v1.0.85 [INFO] [stderr] Downloaded objc-foundation v0.1.1 [INFO] [stderr] Downloaded smithay-clipboard v0.4.0 [INFO] [stderr] Downloaded x11-clipboard v0.5.3 [INFO] [stderr] Downloaded copypasta v0.6.3 [INFO] [stderr] Downloaded num-complex v0.3.1 [INFO] [stderr] Downloaded num-rational v0.3.2 [INFO] [stderr] Downloaded num v0.3.1 [INFO] [stderr] Downloaded piston-viewport v1.0.1 [INFO] [stderr] Downloaded serde_derive v1.0.133 [INFO] [stderr] Downloaded pistoncore-input v1.0.1 [INFO] [stderr] Downloaded crossbeam-deque v0.7.4 [INFO] [stderr] Downloaded crossbeam-utils v0.7.2 [INFO] [stderr] Downloaded conrod_example_shared v0.76.1 [INFO] [stderr] Downloaded gif v0.10.3 [INFO] [stderr] Downloaded crossbeam-utils v0.8.6 [INFO] [stderr] Downloaded num_cpus v1.13.1 [INFO] [stderr] Downloaded num-iter v0.1.42 [INFO] [stderr] Downloaded num-integer v0.1.44 [INFO] [stderr] Downloaded png v0.15.3 [INFO] [stderr] Downloaded lzw v0.10.0 [INFO] [stderr] Downloaded num-derive v0.2.5 [INFO] [stderr] Downloaded tiff v0.3.1 [INFO] [stderr] Downloaded either v1.6.1 [INFO] [stderr] Downloaded serde v1.0.133 [INFO] [stderr] Downloaded linked-hash-map v0.5.4 [INFO] [stderr] Downloaded find_folder v0.3.0 [INFO] [stderr] Downloaded num-rational v0.2.4 [INFO] [stderr] Downloaded adler32 v1.2.0 [INFO] [stderr] Downloaded inflate v0.4.5 [INFO] [stderr] Downloaded scoped_threadpool v0.1.9 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+84e729a59f216cc64755788a470f165429a731f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 077ef657a5ed9988339cff74321e239c30f1b764c514375408ea27e90eae0b3d [INFO] running `Command { std: "docker" "start" "-a" "077ef657a5ed9988339cff74321e239c30f1b764c514375408ea27e90eae0b3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "077ef657a5ed9988339cff74321e239c30f1b764c514375408ea27e90eae0b3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "077ef657a5ed9988339cff74321e239c30f1b764c514375408ea27e90eae0b3d", kill_on_drop: false }` [INFO] [stdout] 077ef657a5ed9988339cff74321e239c30f1b764c514375408ea27e90eae0b3d [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+84e729a59f216cc64755788a470f165429a731f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c44c141f08ec86d59fb356335d94042c9f299962883491555c30e57678ec2b4e [INFO] running `Command { std: "docker" "start" "-a" "c44c141f08ec86d59fb356335d94042c9f299962883491555c30e57678ec2b4e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking wayland-sys v0.23.6 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking crossbeam-deque v0.7.4 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ordered-float v1.1.1 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.6 [INFO] [stderr] Compiling quick-xml v0.22.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling syn v1.0.85 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.6 [INFO] [stderr] Checking dirs-sys v0.3.6 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking nix v0.20.0 [INFO] [stderr] Checking dirs v3.0.2 [INFO] [stderr] Checking xdg v2.4.0 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Compiling xcb v0.10.1 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking nix v0.18.0 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Compiling serde_derive v1.0.133 [INFO] [stderr] Checking wayland-commons v0.23.6 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking wayland-commons v0.28.6 [INFO] [stderr] Checking x11-dl v2.19.1 [INFO] [stderr] Checking calloop v0.6.5 [INFO] [stderr] Checking parking_lot_core v0.8.5 [INFO] [stderr] Checking andrew v0.3.1 [INFO] [stderr] Checking memmap2 v0.1.0 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Checking piston-float v1.0.1 [INFO] [stderr] Compiling winit v0.23.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking wayland-cursor v0.28.6 [INFO] [stderr] Checking fixedbitset v0.1.9 [INFO] [stderr] Checking ordermap v0.3.5 [INFO] [stderr] Compiling backtrace v0.3.63 [INFO] [stderr] Checking petgraph v0.4.13 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking piston-viewport v1.0.1 [INFO] [stderr] Checking x11-clipboard v0.5.3 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking raw-window-handle v0.3.4 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking crossbeam-channel v0.5.2 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling crc32fast v1.3.0 [INFO] [stderr] Checking num v0.3.1 [INFO] [stderr] Checking daggy v0.5.0 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking glutin_glx_sys v0.1.7 [INFO] [stderr] Checking wayland-egl v0.28.6 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling conrod_derive v0.76.1 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking png v0.15.3 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking find_folder v0.3.0 [INFO] [stderr] Checking conrod_winit v0.76.1 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking tiff v0.3.1 [INFO] [stderr] Checking image v0.22.5 [INFO] [stderr] Checking pistoncore-input v1.0.1 [INFO] [stderr] Checking smithay-client-toolkit v0.12.3 [INFO] [stderr] Checking smithay-client-toolkit v0.6.6 [INFO] [stderr] Checking smithay-clipboard v0.4.0 [INFO] [stderr] Checking copypasta v0.6.3 [INFO] [stderr] Checking conrod_core v0.76.1 [INFO] [stderr] Checking glutin v0.25.1 [INFO] [stderr] Checking glium v0.28.0 [INFO] [stderr] Checking conrod_example_shared v0.76.1 [INFO] [stderr] Checking conrod_glium v0.76.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> examples/triangles.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> examples/image_button.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> examples/custom_widget.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> examples/counter.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> examples/primitives.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> examples/list_select.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> examples/canvas.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> examples/range_slider.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> examples/hello_world.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> examples/text_edit.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> examples/image.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> examples/custom_widget.rs:335:31 [INFO] [stdout] | [INFO] [stdout] 335 | for _click in CircularButton::new() [INFO] [stdout] | _______________________________^ [INFO] [stdout] 336 | | .color(conrod_core::color::rgb(0.0, 0.3, 0.1)) [INFO] [stdout] 337 | | .middle_of(ids.background) [INFO] [stdout] 338 | | .w_h(256.0, 256.0) [INFO] [stdout] ... | [INFO] [stdout] 343 | | // drawn when we call Ui::draw. [INFO] [stdout] 344 | | .set(ids.circle_button, ui) [INFO] [stdout] | |_______________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 335 | while let Some(_click) = CircularButton::new() [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 335 | if let Some(_click) = CircularButton::new() [INFO] [stdout] | ~~~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> examples/custom_widget.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(WidgetCommon)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_WIDGET_COMMON_FOR_CircularButton` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: the derive macro `WidgetCommon` may come from an old version of the `conrod_derive` crate, try updating your dependency with `cargo update -p conrod_derive` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `WidgetCommon` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> examples/custom_widget.rs:56:54 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Copy, Clone, Debug, Default, PartialEq, WidgetStyle)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_WIDGET_STYLE_FOR_Style` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: the derive macro `WidgetStyle` may come from an old version of the `conrod_derive` crate, try updating your dependency with `cargo update -p conrod_derive` [INFO] [stdout] = note: this warning originates in the derive macro `WidgetStyle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> examples/all_winit_glium_threaded.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> examples/plot_path.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> examples/text_edit.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 128 | for edit in widget::TextEdit::new(demo_text) [INFO] [stdout] | _________________^ [INFO] [stdout] 129 | | .color(color::WHITE) [INFO] [stdout] 130 | | .padded_w_of(ids.canvas, 20.0) [INFO] [stdout] 131 | | .mid_top_of(ids.canvas) [INFO] [stdout] ... | [INFO] [stdout] 134 | | //.restrict_to_height(false) // Let the height grow infinitely and scroll. [INFO] [stdout] 135 | | .set(ids.text_edit, ui) [INFO] [stdout] | |_______________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 128 | while let Some(edit) = widget::TextEdit::new(demo_text) [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 128 | if let Some(edit) = widget::TextEdit::new(demo_text) [INFO] [stdout] | ~~~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> examples/old_demo.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> examples/graph.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node_id` [INFO] [stdout] --> examples/graph.rs:187:35 [INFO] [stdout] | [INFO] [stdout] 187 | NodeEvent::Remove(node_id) => {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_node_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node_socket` [INFO] [stdout] --> examples/graph.rs:193:37 [INFO] [stdout] | [INFO] [stdout] 193 | EdgeEvent::AddStart(node_socket) => {} [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_node_socket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> examples/graph.rs:194:34 [INFO] [stdout] | [INFO] [stdout] 194 | EdgeEvent::Add { start, end } => {} [INFO] [stdout] | ^^^^^ help: try ignoring the field: `start: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end` [INFO] [stdout] --> examples/graph.rs:194:41 [INFO] [stdout] | [INFO] [stdout] 194 | EdgeEvent::Add { start, end } => {} [INFO] [stdout] | ^^^ help: try ignoring the field: `end: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node_socket` [INFO] [stdout] --> examples/graph.rs:195:38 [INFO] [stdout] | [INFO] [stdout] 195 | EdgeEvent::Cancelled(node_socket) => {} [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_node_socket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> examples/graph.rs:196:37 [INFO] [stdout] | [INFO] [stdout] 196 | EdgeEvent::Remove { start, end } => {} [INFO] [stdout] | ^^^^^ help: try ignoring the field: `start: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end` [INFO] [stdout] --> examples/graph.rs:196:44 [INFO] [stdout] | [INFO] [stdout] 196 | EdgeEvent::Remove { start, end } => {} [INFO] [stdout] | ^^^ help: try ignoring the field: `end: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> examples/old_demo.rs:326:26 [INFO] [stdout] | [INFO] [stdout] 326 | for color in widget::Slider::new(value, 0.0, 1.0) [INFO] [stdout] | __________________________^ [INFO] [stdout] 327 | | .$position(25.0) [INFO] [stdout] 328 | | .w_h(40.0, app.v_slider_height) [INFO] [stdout] 329 | | .color($color) [INFO] [stdout] ... | [INFO] [stdout] 332 | | .label_color(color::WHITE) [INFO] [stdout] 333 | | .set(ids.$slider_id, ui) [INFO] [stdout] | |________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 340 | color_slider!(red_slider, red, color::rgb(0.75, 0.3, 0.3), set_red, down); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] = note: this warning originates in the macro `color_slider` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 326 | while let Some(color) = widget::Slider::new(value, 0.0, 1.0) [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 326 | if let Some(color) = widget::Slider::new(value, 0.0, 1.0) [INFO] [stdout] | ~~~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> examples/old_demo.rs:326:26 [INFO] [stdout] | [INFO] [stdout] 326 | for color in widget::Slider::new(value, 0.0, 1.0) [INFO] [stdout] | __________________________^ [INFO] [stdout] 327 | | .$position(25.0) [INFO] [stdout] 328 | | .w_h(40.0, app.v_slider_height) [INFO] [stdout] 329 | | .color($color) [INFO] [stdout] ... | [INFO] [stdout] 332 | | .label_color(color::WHITE) [INFO] [stdout] 333 | | .set(ids.$slider_id, ui) [INFO] [stdout] | |________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 341 | / color_slider!( [INFO] [stdout] 342 | | green_slider, [INFO] [stdout] 343 | | green, [INFO] [stdout] 344 | | color::rgb(0.3, 0.75, 0.3), [INFO] [stdout] 345 | | set_green, [INFO] [stdout] 346 | | right [INFO] [stdout] 347 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `color_slider` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 326 | while let Some(color) = widget::Slider::new(value, 0.0, 1.0) [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 326 | if let Some(color) = widget::Slider::new(value, 0.0, 1.0) [INFO] [stdout] | ~~~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> examples/old_demo.rs:326:26 [INFO] [stdout] | [INFO] [stdout] 326 | for color in widget::Slider::new(value, 0.0, 1.0) [INFO] [stdout] | __________________________^ [INFO] [stdout] 327 | | .$position(25.0) [INFO] [stdout] 328 | | .w_h(40.0, app.v_slider_height) [INFO] [stdout] 329 | | .color($color) [INFO] [stdout] ... | [INFO] [stdout] 332 | | .label_color(color::WHITE) [INFO] [stdout] 333 | | .set(ids.$slider_id, ui) [INFO] [stdout] | |________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 348 | / color_slider!( [INFO] [stdout] 349 | | blue_slider, [INFO] [stdout] 350 | | blue, [INFO] [stdout] 351 | | color::rgb(0.3, 0.3, 0.75), [INFO] [stdout] 352 | | set_blue, [INFO] [stdout] 353 | | right [INFO] [stdout] 354 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `color_slider` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 326 | while let Some(color) = widget::Slider::new(value, 0.0, 1.0) [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 326 | if let Some(color) = widget::Slider::new(value, 0.0, 1.0) [INFO] [stdout] | ~~~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> examples/old_demo.rs:357:23 [INFO] [stdout] | [INFO] [stdout] 357 | for new_height in widget::NumberDialer::new(app.v_slider_height, 25.0, 250.0, 1) [INFO] [stdout] | _______________________^ [INFO] [stdout] 358 | | .w_h(260.0, 60.0) [INFO] [stdout] 359 | | .right_from(shown_widget, 30.0) [INFO] [stdout] 360 | | .color(app.bg_color.invert()) [INFO] [stdout] ... | [INFO] [stdout] 363 | | .label_color(app.bg_color.invert().plain_contrast()) [INFO] [stdout] 364 | | .set(ids.slider_height, ui) [INFO] [stdout] | |___________________________________^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 357 | while let Some(new_height) = widget::NumberDialer::new(app.v_slider_height, 25.0, 250.0, 1) [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 357 | if let Some(new_height) = widget::NumberDialer::new(app.v_slider_height, 25.0, 250.0, 1) [INFO] [stdout] | ~~~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> examples/old_demo.rs:370:22 [INFO] [stdout] | [INFO] [stdout] 370 | for new_width in widget::NumberDialer::new(app.border_width, 0.0, 15.0, 2) [INFO] [stdout] | ______________________^ [INFO] [stdout] 371 | | .w_h(260.0, 60.0) [INFO] [stdout] 372 | | .down(20.0) [INFO] [stdout] 373 | | .color(app.bg_color.plain_contrast().invert()) [INFO] [stdout] ... | [INFO] [stdout] 377 | | .label_color(app.bg_color.plain_contrast()) [INFO] [stdout] 378 | | .set(ids.border_width, ui) [INFO] [stdout] | |__________________________________^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 370 | while let Some(new_width) = widget::NumberDialer::new(app.border_width, 0.0, 15.0, 2) [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 370 | if let Some(new_width) = widget::NumberDialer::new(app.border_width, 0.0, 15.0, 2) [INFO] [stdout] | ~~~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> examples/old_demo.rs:414:25 [INFO] [stdout] | [INFO] [stdout] 414 | for selected_idx in widget::DropDownList::new(&app.ddl_colors, app.selected_idx) [INFO] [stdout] | _________________________^ [INFO] [stdout] 415 | | .w_h(150.0, 40.0) [INFO] [stdout] 416 | | .right_from(ids.slider_height, 30.0) // Position right from widget 6 by 50 pixels. [INFO] [stdout] 417 | | .max_visible_items(3) [INFO] [stdout] ... | [INFO] [stdout] 423 | | .scrollbar_on_top() [INFO] [stdout] 424 | | .set(ids.color_select, ui) [INFO] [stdout] | |__________________________________^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 414 | while let Some(selected_idx) = widget::DropDownList::new(&app.ddl_colors, app.selected_idx) [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 414 | if let Some(selected_idx) = widget::DropDownList::new(&app.ddl_colors, app.selected_idx) [INFO] [stdout] | ~~~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> examples/old_demo.rs:438:19 [INFO] [stdout] | [INFO] [stdout] 438 | for (x, y) in widget::XYPad::new( [INFO] [stdout] | ___________________^ [INFO] [stdout] 439 | | app.circle_pos[0], [INFO] [stdout] 440 | | -75.0, [INFO] [stdout] 441 | | 75.0, // x range. [INFO] [stdout] ... | [INFO] [stdout] 454 | | .line_thickness(2.0) [INFO] [stdout] 455 | | .set(ids.circle_position, ui) [INFO] [stdout] | |_________________________________^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 438 | while let Some((x, y)) = widget::XYPad::new( [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 438 | if let Some((x, y)) = widget::XYPad::new( [INFO] [stdout] | ~~~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 32s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: quick-xml v0.22.0 [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" "c44c141f08ec86d59fb356335d94042c9f299962883491555c30e57678ec2b4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c44c141f08ec86d59fb356335d94042c9f299962883491555c30e57678ec2b4e", kill_on_drop: false }` [INFO] [stdout] c44c141f08ec86d59fb356335d94042c9f299962883491555c30e57678ec2b4e