[INFO] fetching crate conrod_glium 0.76.1... [INFO] checking conrod_glium-0.76.1 against try#b1f2594eac607c1f051534800237eeedb5590a49 for pr-139493-3 [INFO] extracting crate conrod_glium 0.76.1 into /workspace/builds/worker-2-tc2/source [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-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate conrod_glium 0.76.1 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 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" "+b1f2594eac607c1f051534800237eeedb5590a49" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 062114cf729adcd09de6ab200a580e1a4c1b8b53d9665ac6aac535685c7c02a9 [INFO] running `Command { std: "docker" "start" "-a" "062114cf729adcd09de6ab200a580e1a4c1b8b53d9665ac6aac535685c7c02a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "062114cf729adcd09de6ab200a580e1a4c1b8b53d9665ac6aac535685c7c02a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "062114cf729adcd09de6ab200a580e1a4c1b8b53d9665ac6aac535685c7c02a9", kill_on_drop: false }` [INFO] [stdout] 062114cf729adcd09de6ab200a580e1a4c1b8b53d9665ac6aac535685c7c02a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 075590f96b3b7546967ae62097fa5c5de42f3157590798833fc8e29f878c0a01 [INFO] running `Command { std: "docker" "start" "-a" "075590f96b3b7546967ae62097fa5c5de42f3157590798833fc8e29f878c0a01", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Checking libloading v0.7.3 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Checking wayland-sys v0.23.6 [INFO] [stderr] Checking dlib v0.5.0 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking ordered-float v1.1.1 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling syn v1.0.85 [INFO] [stderr] Compiling quick-xml v0.22.0 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling num-iter v0.1.42 [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] Compiling wayland-client v0.23.6 [INFO] [stderr] Checking nix v0.14.1 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Checking dirs v3.0.2 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Checking xdg v2.4.0 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Compiling xcb v0.10.1 [INFO] [stderr] Checking xcursor v0.3.4 [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] Checking net2 v0.2.37 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling serde_derive v1.0.133 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Checking wayland-commons v0.23.6 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking raw-window-handle v0.4.2 [INFO] [stderr] Checking wayland-commons v0.28.6 [INFO] [stderr] Checking andrew v0.3.1 [INFO] [stderr] Checking parking_lot_core v0.8.5 [INFO] [stderr] Checking memmap2 v0.1.0 [INFO] [stderr] Checking fixedbitset v0.1.9 [INFO] [stderr] Checking calloop v0.6.5 [INFO] [stderr] Checking wayland-cursor v0.28.6 [INFO] [stderr] Checking ordermap v0.3.5 [INFO] [stderr] Compiling winit v0.23.0 [INFO] [stderr] Checking piston-viewport v1.0.1 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking petgraph v0.4.13 [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 getrandom v0.1.16 [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] Compiling crc32fast v1.3.0 [INFO] [stderr] Checking num v0.3.1 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking daggy v0.5.0 [INFO] [stderr] Checking glutin_glx_sys v0.1.7 [INFO] [stderr] Checking wayland-egl v0.28.6 [INFO] [stderr] Checking object v0.27.1 [INFO] [stderr] Compiling glium v0.28.0 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking takeable-option v0.5.0 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking png v0.15.3 [INFO] [stderr] Checking tiff v0.3.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking find_folder v0.3.0 [INFO] [stderr] Checking image v0.22.5 [INFO] [stderr] Checking conrod_winit v0.76.1 [INFO] [stderr] Checking backtrace v0.3.63 [INFO] [stderr] Compiling conrod_derive v0.76.1 [INFO] [stderr] Checking pistoncore-input v1.0.1 [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 smithay-client-toolkit v0.12.3 [INFO] [stderr] Checking conrod_example_shared v0.76.1 [INFO] [stderr] Checking glutin v0.25.1 [INFO] [stderr] Checking conrod_glium v0.76.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:490:21 [INFO] [stdout] | [INFO] [stdout] 490 | pub fn commands(&self) -> Commands { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 490 | pub fn commands(&self) -> Commands<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:490:21 [INFO] [stdout] | [INFO] [stdout] 490 | pub fn commands(&self) -> Commands { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 490 | pub fn commands(&self) -> Commands<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default [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)]` (part of `#[warn(unused)]`) on by default [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)]` (part of `#[warn(unused)]`) on by default [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)]` (part of `#[warn(unused)]`) on by default [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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default [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)]` (part of `#[warn(unused)]`) 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] 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 - for _click in CircularButton::new() [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 - for _click in CircularButton::new() [INFO] [stdout] 335 + if let Some(_click) = CircularButton::new() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/custom_widget.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(WidgetCommon)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | `Common` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_WIDGET_COMMON_FOR_CircularButton` [INFO] [stdout] 32 | pub struct CircularButton<'a> { [INFO] [stdout] | -------------- `CircularButton` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `WidgetCommon` defines the non-local `impl`, and may need to be changed [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: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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, `impl` blocks should be written at the same level as their item [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] | move the `impl` block outside of this constant `_IMPL_WIDGET_STYLE_FOR_Style` [INFO] [stdout] 57 | pub struct Style { [INFO] [stdout] | ----- `Style` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `WidgetStyle` defines the non-local `impl`, and may need to be changed [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: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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: 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)]` (part of `#[warn(unused)]`) 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] 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 - for edit in widget::TextEdit::new(demo_text) [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 - for edit in widget::TextEdit::new(demo_text) [INFO] [stdout] 128 + if let Some(edit) = widget::TextEdit::new(demo_text) [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:340:5 [INFO] [stdout] | [INFO] [stdout] 340 | color_slider!(red_slider, red, color::rgb(0.75, 0.3, 0.3), set_red, down); [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] 326 - for color in widget::Slider::new(value, 0.0, 1.0) [INFO] [stdout] 326 + while let Some() = in 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 - for color in widget::Slider::new(value, 0.0, 1.0) [INFO] [stdout] 326 + if let Some() = in 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:341:5 [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] | |_____^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 326 - for color in widget::Slider::new(value, 0.0, 1.0) [INFO] [stdout] 326 + while let Some() = in 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 - for color in widget::Slider::new(value, 0.0, 1.0) [INFO] [stdout] 326 + if let Some() = in 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:348:5 [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] | |_____^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 326 - for color in widget::Slider::new(value, 0.0, 1.0) [INFO] [stdout] 326 + while let Some() = in 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 - for color in widget::Slider::new(value, 0.0, 1.0) [INFO] [stdout] 326 + if let Some() = in 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 - for new_height in widget::NumberDialer::new(app.v_slider_height, 25.0, 250.0, 1) [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 - for new_height in widget::NumberDialer::new(app.v_slider_height, 25.0, 250.0, 1) [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 - for new_width in widget::NumberDialer::new(app.border_width, 0.0, 15.0, 2) [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 - for new_width in widget::NumberDialer::new(app.border_width, 0.0, 15.0, 2) [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 - for selected_idx in widget::DropDownList::new(&app.ddl_colors, app.selected_idx) [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 - for selected_idx in widget::DropDownList::new(&app.ddl_colors, app.selected_idx) [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 - for (x, y) in widget::XYPad::new( [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 - for (x, y) in widget::XYPad::new( [INFO] [stdout] 438 + if let Some((x, y)) = widget::XYPad::new( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 41.35s [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 13` [INFO] running `Command { std: "docker" "inspect" "075590f96b3b7546967ae62097fa5c5de42f3157590798833fc8e29f878c0a01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "075590f96b3b7546967ae62097fa5c5de42f3157590798833fc8e29f878c0a01", kill_on_drop: false }` [INFO] [stdout] 075590f96b3b7546967ae62097fa5c5de42f3157590798833fc8e29f878c0a01