[INFO] fetching crate conrod_glium 0.76.1... [INFO] checking conrod_glium-0.76.1 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate conrod_glium 0.76.1 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate conrod_glium 0.76.1 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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-2-tc2/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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] acf0bef9a498d172fd6bf7dcaf0146b91bad22b2b5968d28e95cda321416e12d [INFO] running `Command { std: "docker" "start" "-a" "acf0bef9a498d172fd6bf7dcaf0146b91bad22b2b5968d28e95cda321416e12d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "acf0bef9a498d172fd6bf7dcaf0146b91bad22b2b5968d28e95cda321416e12d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "acf0bef9a498d172fd6bf7dcaf0146b91bad22b2b5968d28e95cda321416e12d", kill_on_drop: false }` [INFO] [stdout] acf0bef9a498d172fd6bf7dcaf0146b91bad22b2b5968d28e95cda321416e12d [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 -Dtail_expr_drop_order" "-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 371fe7ce17ee114e3f279397ac32693d2a1906ff82f11d366ab50b81be9a7003 [INFO] running `Command { std: "docker" "start" "-a" "371fe7ce17ee114e3f279397ac32693d2a1906ff82f11d366ab50b81be9a7003", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking libloading v0.7.3 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Checking dlib v0.5.0 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking once_cell v1.9.0 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Checking crossbeam-deque v0.7.4 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Checking wayland-sys v0.23.6 [INFO] [stderr] Compiling crossbeam-utils v0.8.6 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Checking ttf-parser v0.6.2 [INFO] [stderr] Compiling syn v1.0.85 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.5 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling quick-xml v0.22.0 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Compiling crossbeam-epoch v0.9.6 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ordered-float v1.1.1 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Compiling serde_derive v1.0.133 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Checking raw-window-handle v0.4.2 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking piston-float v1.0.1 [INFO] [stderr] Checking ordermap v0.3.5 [INFO] [stderr] Checking fixedbitset v0.1.9 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling xcb v0.10.1 [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 owned_ttf_parser v0.6.0 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Checking xdg v2.4.0 [INFO] [stderr] Checking rusttype v0.9.2 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking andrew v0.3.1 [INFO] [stderr] Checking memmap2 v0.1.0 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Compiling winit v0.23.0 [INFO] [stderr] Checking petgraph v0.4.13 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking xcursor v0.3.4 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking raw-window-handle v0.3.4 [INFO] [stderr] Compiling backtrace v0.3.63 [INFO] [stderr] Checking piston-viewport v1.0.1 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking crossbeam-channel v0.5.2 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling crc32fast v1.3.0 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Checking gimli v0.26.1 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking daggy v0.5.0 [INFO] [stderr] Checking num v0.3.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Compiling glium v0.28.0 [INFO] [stderr] Checking object v0.27.1 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking wayland-commons v0.23.6 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking takeable-option v0.5.0 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking wayland-commons v0.28.6 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking png v0.15.3 [INFO] [stderr] Checking calloop v0.6.5 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking conrod_winit v0.76.1 [INFO] [stderr] Checking find_folder v0.3.0 [INFO] [stderr] Checking x11-clipboard v0.5.3 [INFO] [stderr] Checking addr2line v0.17.0 [INFO] [stderr] Compiling conrod_derive v0.76.1 [INFO] [stderr] Checking wayland-cursor v0.28.6 [INFO] [stderr] Checking wayland-egl v0.28.6 [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.6.6 [INFO] [stderr] Checking smithay-client-toolkit v0.12.3 [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 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/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/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: 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/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: 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: 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/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: 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.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: 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: 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/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: 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: 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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings 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: 1 warning 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: 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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings 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: 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, `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: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.56s [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 2` [INFO] running `Command { std: "docker" "inspect" "371fe7ce17ee114e3f279397ac32693d2a1906ff82f11d366ab50b81be9a7003", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "371fe7ce17ee114e3f279397ac32693d2a1906ff82f11d366ab50b81be9a7003", kill_on_drop: false }` [INFO] [stdout] 371fe7ce17ee114e3f279397ac32693d2a1906ff82f11d366ab50b81be9a7003