[INFO] cloning repository https://github.com/yumzi114/uhfapp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yumzi114/uhfapp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyumzi114%2Fuhfapp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyumzi114%2Fuhfapp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] beec1b025867abf96935c9480d660b1c880cf505 [INFO] building yumzi114/uhfapp against try#8b8eff55bd72abbb57167bc42222a7f91d41cb0d for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyumzi114%2Fuhfapp" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yumzi114/uhfapp on toolchain 8b8eff55bd72abbb57167bc42222a7f91d41cb0d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/yumzi114/uhfapp [INFO] finished tweaking git repo https://github.com/yumzi114/uhfapp [INFO] tweaked toml for git repo https://github.com/yumzi114/uhfapp written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/yumzi114/uhfapp 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" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2b4a2de4a230fa55d245682cf8efc030b28fd8b2bac28a564b572f529b7ed09e [INFO] running `Command { std: "docker" "start" "-a" "2b4a2de4a230fa55d245682cf8efc030b28fd8b2bac28a564b572f529b7ed09e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2b4a2de4a230fa55d245682cf8efc030b28fd8b2bac28a564b572f529b7ed09e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b4a2de4a230fa55d245682cf8efc030b28fd8b2bac28a564b572f529b7ed09e", kill_on_drop: false }` [INFO] [stdout] 2b4a2de4a230fa55d245682cf8efc030b28fd8b2bac28a564b572f529b7ed09e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b8ca8e7307e9e4ebacb18ced18d20e9b8f318440d067603f0164397ee495833f [INFO] running `Command { std: "docker" "start" "-a" "b8ca8e7307e9e4ebacb18ced18d20e9b8f318440d067603f0164397ee495833f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.88 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling hashbrown v0.15.0 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling wayland-sys v0.31.5 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling syn v2.0.82 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Compiling cc v1.1.31 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling event-listener-strategy v0.5.2 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling quick-xml v0.36.2 [INFO] [stderr] Compiling wayland-client v0.31.6 [INFO] [stderr] Compiling endi v1.1.0 [INFO] [stderr] Compiling futures-lite v2.3.0 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling wayland-backend v0.3.7 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling wayland-scanner v0.31.5 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling ttf-parser v0.25.0 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling cpufeatures v0.2.14 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling async-fs v2.1.2 [INFO] [stderr] Compiling async-executor v1.13.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling xdg-home v1.3.0 [INFO] [stderr] Compiling async-broadcast v0.7.1 [INFO] [stderr] Compiling ordered-stream v0.2.0 [INFO] [stderr] Compiling xml-rs v0.8.22 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling zvariant_utils v2.1.0 [INFO] [stderr] Compiling owned_ttf_parser v0.25.0 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling accesskit v0.16.3 [INFO] [stderr] Compiling ab_glyph v0.2.29 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Compiling xcursor v0.3.8 [INFO] [stderr] Compiling xkeysym v0.2.1 [INFO] [stderr] Compiling cursor-icon v1.1.0 [INFO] [stderr] Compiling memmap2 v0.9.5 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling strict-num v0.1.1 [INFO] [stderr] Compiling x11rb-protocol v0.13.1 [INFO] [stderr] Compiling as-raw-xcb-connection v1.0.1 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling immutable-chunkmap v2.0.6 [INFO] [stderr] Compiling wayland-csd-frame v0.3.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling enumflags2_derive v0.7.10 [INFO] [stderr] Compiling bytemuck_derive v1.8.0 [INFO] [stderr] Compiling zvariant_derive v4.2.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling polling v3.7.3 [INFO] [stderr] Compiling bytemuck v1.19.0 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling async-io v2.3.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling wayland-protocols v0.32.4 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling zbus_macros v4.4.0 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling calloop v0.13.0 [INFO] [stderr] Compiling calloop-wayland-source v0.3.0 [INFO] [stderr] Compiling wayland-cursor v0.31.6 [INFO] [stderr] Compiling tiny-skia-path v0.11.4 [INFO] [stderr] Compiling wayland-protocols-wlr v0.3.4 [INFO] [stderr] Compiling emath v0.29.1 [INFO] [stderr] Compiling ecolor v0.29.1 [INFO] [stderr] Compiling enumflags2 v0.7.10 [INFO] [stderr] Compiling quick-xml v0.30.0 [INFO] [stderr] Compiling zvariant v4.2.0 [INFO] [stderr] Compiling x11rb v0.13.1 [INFO] [stderr] Compiling tiny-skia v0.11.4 [INFO] [stderr] Compiling winit v0.30.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling raw-window-handle v0.6.2 [INFO] [stderr] Compiling epaint_default_fonts v0.29.1 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling epaint v0.29.1 [INFO] [stderr] Compiling wayland-protocols-plasma v0.3.4 [INFO] [stderr] Compiling zbus_names v3.0.0 [INFO] [stderr] Compiling sctk-adwaita v0.10.1 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling accesskit_consumer v0.24.3 [INFO] [stderr] Compiling zbus_xml v4.0.0 [INFO] [stderr] Compiling zbus v4.4.0 [INFO] [stderr] Compiling zbus-lockstep v0.4.4 [INFO] [stderr] Compiling xkbcommon-dl v0.4.2 [INFO] [stderr] Compiling glutin_glx_sys v0.6.0 [INFO] [stderr] Compiling zbus-lockstep-macros v0.4.4 [INFO] [stderr] Compiling glutin_egl_sys v0.7.0 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling dpi v0.1.1 [INFO] [stderr] Compiling smol_str v0.2.2 [INFO] [stderr] Compiling unicode-bidi v0.3.17 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling egui v0.29.1 [INFO] [stderr] Compiling glutin v0.32.1 [INFO] [stderr] Compiling atspi-common v0.6.0 [INFO] [stderr] Compiling flate2 v1.0.34 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling fdeflate v0.3.5 [INFO] [stderr] Compiling glutin-winit v0.5.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling png v0.17.14 [INFO] [stderr] Compiling webbrowser v1.0.2 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling arboard v3.4.1 [INFO] [stderr] Compiling smithay-clipboard v0.7.2 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling atspi-proxies v0.6.0 [INFO] [stderr] Compiling accesskit_atspi_common v0.9.3 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling bstr v1.10.0 [INFO] [stderr] Compiling bytes v1.8.0 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Compiling web-time v1.1.0 [INFO] [stderr] Compiling glow v0.14.2 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling document-features v0.2.10 [INFO] [stderr] Compiling atspi-connection v0.6.0 [INFO] [stderr] Compiling image v0.25.4 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling atspi v0.22.0 [INFO] [stderr] Compiling accesskit_unix v0.12.3 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling globset v0.4.15 [INFO] [stderr] Compiling egui_glow v0.29.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling accesskit_winit v0.22.4 [INFO] [stderr] Compiling egui_tracing v0.2.6 [INFO] [stderr] Compiling egui-winit v0.29.1 [INFO] [stderr] Compiling eframe v0.29.1 [INFO] [stderr] Compiling api v0.1.0 (/opt/rustwide/workdir/api) [INFO] [stdout] warning: unused import: `core::str` [INFO] [stdout] --> api/src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::str; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> api/src/lib.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | use tracing::{info,warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple ranges are one apart [INFO] [stdout] --> api/src/lib.rs:55:33 [INFO] [stdout] | [INFO] [stdout] 55 | ... 0..25=>hex_code.push_str(format!("{:#X},",*data).as_str()), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this range doesn't match `25_usize` because `..` is an exclusive range [INFO] [stdout] | help: use an inclusive range instead: `0_usize..=25_usize` [INFO] [stdout] 56 | ... 26=>hex_code.push_str(format!("{:#X}",*data).as_str()), [INFO] [stdout] | -- this could appear to continue range `0_usize..25_usize`, but `25_usize` isn't matched by either of them [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_contiguous_range_endpoints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer` [INFO] [stdout] --> api/src/lib.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | let mut buffer = vec![0; 128]; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> api/src/lib.rs:49:27 [INFO] [stdout] | [INFO] [stdout] 49 | if let Ok(data) = stream.read(&mut buffer){ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> api/src/lib.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | let mut buffer = vec![0; 128]; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Payload` is never constructed [INFO] [stdout] --> api/src/lib.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | struct Payload{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parsing` is never used [INFO] [stdout] --> api/src/lib.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl Payload { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 15 | fn parsing(buffer:Vec)->Self{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Map` that must be used [INFO] [stdout] --> api/src/lib.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | / buffer.iter().map(|i|{ [INFO] [stdout] 19 | | card_hex.push_str(format!("{:#X}",i).as_str()); [INFO] [stdout] 20 | | }); [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: iterators are lazy and do nothing unless consumed [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 18 | let _ = buffer.iter().map(|i|{ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `Iterator::map` call that discard the iterator's values [INFO] [stdout] --> api/src/lib.rs:18:27 [INFO] [stdout] | [INFO] [stdout] 18 | buffer.iter().map(|i|{ [INFO] [stdout] | ^ --- [INFO] [stdout] | | | [INFO] [stdout] | _____________________________|___this function returns `()`, which is likely not what you wanted [INFO] [stdout] | | ___________________________| [INFO] [stdout] | | | [INFO] [stdout] 19 | | | card_hex.push_str(format!("{:#X}",i).as_str()); [INFO] [stdout] 20 | | | }); [INFO] [stdout] | | | -^ after this call to map, the resulting iterator is `impl Iterator`, which means the only information carried by the iterator is the number of items [INFO] [stdout] | | |_____________|| [INFO] [stdout] | |_______________| [INFO] [stdout] | called `Iterator::map` with callable that returns `()` [INFO] [stdout] | [INFO] [stdout] = note: `Iterator::map`, like many of the methods on `Iterator`, gets executed lazily, meaning that its effects won't be visible until it is iterated [INFO] [stdout] = note: `#[warn(map_unit_fn)]` on by default [INFO] [stdout] help: you might have meant to use `Iterator::for_each` [INFO] [stdout] | [INFO] [stdout] 18 - buffer.iter().map(|i|{ [INFO] [stdout] 18 + buffer.iter().for_each(|i|{ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `array::::map` that must be used [INFO] [stdout] --> api/src/lib.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | / INIT.map(|x| [INFO] [stdout] 41 | | { [INFO] [stdout] 42 | | hex_init.push_str(format!("{:#X},",x).as_str()); [INFO] [stdout] 43 | | } [INFO] [stdout] 44 | | ); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 40 | let _ = INIT.map(|x| [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling runner v0.1.0 (/opt/rustwide/workdir/runner) [INFO] [stdout] warning: unused import: `Vec2` [INFO] [stdout] --> runner/src/main.rs:1:51 [INFO] [stdout] | [INFO] [stdout] 1 | use eframe::egui::{self, menu, Color32, RichText, Vec2, ViewportBuilder}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `info` and `warn` [INFO] [stdout] --> runner/src/main.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use tracing::{info,warn}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `net::TcpStream` [INFO] [stdout] --> runner/src/main.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | use std::{net::TcpStream, sync::{Arc, Mutex}}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `App_menu` should have an upper camel case name [INFO] [stdout] --> runner/src/main.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 11 | enum App_menu{ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `AppMenu` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `native_options` [INFO] [stdout] --> runner/src/main.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let native_options = eframe::NativeOptions::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_native_options` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> runner/src/main.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | let mut app = MyEguiApp::new(cc,collector); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cc` [INFO] [stdout] --> runner/src/main.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | fn new(cc: &eframe::CreationContext<'_>,collector:EventCollector) -> Self { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame` [INFO] [stdout] --> runner/src/main.rs:71:46 [INFO] [stdout] | [INFO] [stdout] 71 | fn update(&mut self, ctx: &egui::Context, frame: &mut eframe::Frame) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> runner/src/main.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / eframe::run_native("My egui App", options , Box::new(|cc| [INFO] [stdout] 40 | | { [INFO] [stdout] 41 | | let mut app = MyEguiApp::new(cc,collector); [INFO] [stdout] 42 | | test_thread(app.str_mem.clone()); [INFO] [stdout] ... | [INFO] [stdout] 45 | | )); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 39 | let _ = eframe::run_native("My egui App", options , Box::new(|cc| [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 42s [INFO] running `Command { std: "docker" "inspect" "b8ca8e7307e9e4ebacb18ced18d20e9b8f318440d067603f0164397ee495833f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8ca8e7307e9e4ebacb18ced18d20e9b8f318440d067603f0164397ee495833f", kill_on_drop: false }` [INFO] [stdout] b8ca8e7307e9e4ebacb18ced18d20e9b8f318440d067603f0164397ee495833f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1cc57a2ed86d37648acff56a69ea8da26ff1515d8f89c2ef0c86e8ea04e591be [INFO] running `Command { std: "docker" "start" "-a" "1cc57a2ed86d37648acff56a69ea8da26ff1515d8f89c2ef0c86e8ea04e591be", kill_on_drop: false }` [INFO] [stderr] Compiling runner v0.1.0 (/opt/rustwide/workdir/runner) [INFO] [stdout] warning: unused import: `core::str` [INFO] [stdout] --> api/src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::str; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> api/src/lib.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | use tracing::{info,warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple ranges are one apart [INFO] [stdout] --> api/src/lib.rs:55:33 [INFO] [stdout] | [INFO] [stdout] 55 | ... 0..25=>hex_code.push_str(format!("{:#X},",*data).as_str()), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this range doesn't match `25_usize` because `..` is an exclusive range [INFO] [stdout] | help: use an inclusive range instead: `0_usize..=25_usize` [INFO] [stdout] 56 | ... 26=>hex_code.push_str(format!("{:#X}",*data).as_str()), [INFO] [stdout] | -- this could appear to continue range `0_usize..25_usize`, but `25_usize` isn't matched by either of them [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_contiguous_range_endpoints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer` [INFO] [stdout] --> api/src/lib.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | let mut buffer = vec![0; 128]; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> api/src/lib.rs:49:27 [INFO] [stdout] | [INFO] [stdout] 49 | if let Ok(data) = stream.read(&mut buffer){ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> api/src/lib.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | let mut buffer = vec![0; 128]; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Payload` is never constructed [INFO] [stdout] --> api/src/lib.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | struct Payload{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parsing` is never used [INFO] [stdout] --> api/src/lib.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl Payload { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 15 | fn parsing(buffer:Vec)->Self{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Map` that must be used [INFO] [stdout] --> api/src/lib.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | / buffer.iter().map(|i|{ [INFO] [stdout] 19 | | card_hex.push_str(format!("{:#X}",i).as_str()); [INFO] [stdout] 20 | | }); [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: iterators are lazy and do nothing unless consumed [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 18 | let _ = buffer.iter().map(|i|{ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `Iterator::map` call that discard the iterator's values [INFO] [stdout] --> api/src/lib.rs:18:27 [INFO] [stdout] | [INFO] [stdout] 18 | buffer.iter().map(|i|{ [INFO] [stdout] | ^ --- [INFO] [stdout] | | | [INFO] [stdout] | _____________________________|___this function returns `()`, which is likely not what you wanted [INFO] [stdout] | | ___________________________| [INFO] [stdout] | | | [INFO] [stdout] 19 | | | card_hex.push_str(format!("{:#X}",i).as_str()); [INFO] [stdout] 20 | | | }); [INFO] [stdout] | | | -^ after this call to map, the resulting iterator is `impl Iterator`, which means the only information carried by the iterator is the number of items [INFO] [stdout] | | |_____________|| [INFO] [stdout] | |_______________| [INFO] [stdout] | called `Iterator::map` with callable that returns `()` [INFO] [stdout] | [INFO] [stdout] = note: `Iterator::map`, like many of the methods on `Iterator`, gets executed lazily, meaning that its effects won't be visible until it is iterated [INFO] [stdout] = note: `#[warn(map_unit_fn)]` on by default [INFO] [stdout] help: you might have meant to use `Iterator::for_each` [INFO] [stdout] | [INFO] [stdout] 18 - buffer.iter().map(|i|{ [INFO] [stdout] 18 + buffer.iter().for_each(|i|{ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `array::::map` that must be used [INFO] [stdout] --> api/src/lib.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | / INIT.map(|x| [INFO] [stdout] 41 | | { [INFO] [stdout] 42 | | hex_init.push_str(format!("{:#X},",x).as_str()); [INFO] [stdout] 43 | | } [INFO] [stdout] 44 | | ); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 40 | let _ = INIT.map(|x| [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Vec2` [INFO] [stdout] --> runner/src/main.rs:1:51 [INFO] [stdout] | [INFO] [stdout] 1 | use eframe::egui::{self, menu, Color32, RichText, Vec2, ViewportBuilder}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `info` and `warn` [INFO] [stdout] --> runner/src/main.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use tracing::{info,warn}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `net::TcpStream` [INFO] [stdout] --> runner/src/main.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | use std::{net::TcpStream, sync::{Arc, Mutex}}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `App_menu` should have an upper camel case name [INFO] [stdout] --> runner/src/main.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 11 | enum App_menu{ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `AppMenu` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `native_options` [INFO] [stdout] --> runner/src/main.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let native_options = eframe::NativeOptions::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_native_options` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> runner/src/main.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | let mut app = MyEguiApp::new(cc,collector); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cc` [INFO] [stdout] --> runner/src/main.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | fn new(cc: &eframe::CreationContext<'_>,collector:EventCollector) -> Self { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame` [INFO] [stdout] --> runner/src/main.rs:71:46 [INFO] [stdout] | [INFO] [stdout] 71 | fn update(&mut self, ctx: &egui::Context, frame: &mut eframe::Frame) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> runner/src/main.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / eframe::run_native("My egui App", options , Box::new(|cc| [INFO] [stdout] 40 | | { [INFO] [stdout] 41 | | let mut app = MyEguiApp::new(cc,collector); [INFO] [stdout] 42 | | test_thread(app.str_mem.clone()); [INFO] [stdout] ... | [INFO] [stdout] 45 | | )); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 39 | let _ = eframe::run_native("My egui App", options , Box::new(|cc| [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.34s [INFO] running `Command { std: "docker" "inspect" "1cc57a2ed86d37648acff56a69ea8da26ff1515d8f89c2ef0c86e8ea04e591be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cc57a2ed86d37648acff56a69ea8da26ff1515d8f89c2ef0c86e8ea04e591be", kill_on_drop: false }` [INFO] [stdout] 1cc57a2ed86d37648acff56a69ea8da26ff1515d8f89c2ef0c86e8ea04e591be