[INFO] cloning repository https://github.com/EnricoSbuttoni/EzBackup [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/EnricoSbuttoni/EzBackup" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEnricoSbuttoni%2FEzBackup", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEnricoSbuttoni%2FEzBackup'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] da28a0a331df3c8832699762e96787d12ca4f2e7 [INFO] building EnricoSbuttoni/EzBackup against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEnricoSbuttoni%2FEzBackup" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/EnricoSbuttoni/EzBackup [INFO] finished tweaking git repo https://github.com/EnricoSbuttoni/EzBackup [INFO] tweaked toml for git repo https://github.com/EnricoSbuttoni/EzBackup written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/EnricoSbuttoni/EzBackup on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/EnricoSbuttoni/EzBackup 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded coreaudio-sys v0.2.16 [INFO] [stderr] Downloaded cmake v0.1.52 [INFO] [stderr] Downloaded protocol-derive v3.4.0 [INFO] [stderr] Downloaded itertools v0.11.0 [INFO] [stderr] Downloaded x11-clipboard v0.5.3 [INFO] [stderr] Downloaded emath v0.14.0 [INFO] [stderr] Downloaded readkey v0.2.1 [INFO] [stderr] Downloaded winres v0.1.12 [INFO] [stderr] Downloaded egui_glium v0.14.0 [INFO] [stderr] Downloaded mio v0.7.14 [INFO] [stderr] Downloaded quick-xml v0.22.0 [INFO] [stderr] Downloaded owned_ttf_parser v0.15.2 [INFO] [stderr] Downloaded egui v0.14.2 [INFO] [stderr] Downloaded ttf-parser v0.25.0 [INFO] [stderr] Downloaded xproto v1.1.5 [INFO] [stderr] Downloaded bindgen v0.70.1 [INFO] [stderr] Downloaded xcb v0.10.1 [INFO] [stderr] Downloaded emojis v0.6.4 [INFO] [stderr] Downloaded glutin v0.27.0 [INFO] [stderr] Downloaded epaint v0.14.0 [INFO] [stderr] Downloaded libc v0.2.168 [INFO] [stderr] Downloaded cocoa v0.20.2 [INFO] [stderr] Downloaded protocol v3.4.0 [INFO] [stderr] Downloaded ascii v1.1.0 [INFO] [stderr] Downloaded versions v5.0.1 [INFO] [stderr] Downloaded wfd v0.1.7 [INFO] [stderr] Downloaded confy v0.6.1 [INFO] [stderr] Downloaded lazy-bytes-cast v5.0.1 [INFO] [stderr] Downloaded clipboard-win v3.1.1 [INFO] [stderr] Downloaded rusttype v0.9.3 [INFO] [stderr] Downloaded webbrowser v0.5.5 [INFO] [stderr] Downloaded egui_web v0.14.1 [INFO] [stderr] Downloaded eframe v0.14.0 [INFO] [stderr] Downloaded device_query v2.1.0 [INFO] [stderr] Downloaded native-dialog v0.7.0 [INFO] [stderr] Downloaded pipe v0.4.0 [INFO] [stderr] Downloaded xml-rs v0.8.23 [INFO] [stderr] Downloaded copypasta v0.7.1 [INFO] [stderr] Downloaded mio-misc v1.2.2 [INFO] [stderr] Downloaded xdg v2.5.2 [INFO] [stderr] Downloaded epi v0.14.0 [INFO] [stderr] Downloaded rdev v0.3.6 [INFO] [stderr] Downloaded macos-accessibility-client v0.0.1 [INFO] [stderr] Downloaded augurs-core v0.7.0 [INFO] [stderr] Downloaded readmouse v0.2.1 [INFO] [stderr] Downloaded augurs-dtw v0.7.0 [INFO] [stderr] Downloaded glium v0.30.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4e3d15d6038f3b2ed442059b676b7f79e346c69b9db081a97ce4bbc1c79d5b85 [INFO] running `Command { std: "docker" "start" "-a" "4e3d15d6038f3b2ed442059b676b7f79e346c69b9db081a97ce4bbc1c79d5b85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4e3d15d6038f3b2ed442059b676b7f79e346c69b9db081a97ce4bbc1c79d5b85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e3d15d6038f3b2ed442059b676b7f79e346c69b9db081a97ce4bbc1c79d5b85", kill_on_drop: false }` [INFO] [stdout] 4e3d15d6038f3b2ed442059b676b7f79e346c69b9db081a97ce4bbc1c79d5b85 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c328f4a03c34ab140b435931e60a6aa1c57c3f88dc33755110f7249484e82116 [INFO] running `Command { std: "docker" "start" "-a" "c328f4a03c34ab140b435931e60a6aa1c57c3f88dc33755110f7249484e82116", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.168 [INFO] [stderr] Compiling xml-rs v0.8.23 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling cc v1.2.1 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling xcursor v0.3.8 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling bytemuck v1.21.0 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling crossbeam-channel v0.5.13 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling object v0.36.5 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.1 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling ttf-parser v0.15.2 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling raw-window-handle v0.4.3 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling servo-fontconfig-sys v5.1.0 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling xdg v2.5.2 [INFO] [stderr] Compiling ttf-parser v0.25.0 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling cmake v0.1.52 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling symphonia-core v0.5.4 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling quick-xml v0.22.0 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling winit v0.25.0 [INFO] [stderr] Compiling freetype-sys v0.13.1 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Compiling ordered-float v2.10.1 [INFO] [stderr] Compiling glutin_egl_sys v0.1.6 [INFO] [stderr] Compiling xcb v0.10.1 [INFO] [stderr] Compiling glutin_glx_sys v0.1.8 [INFO] [stderr] Compiling crossfont v0.5.2 [INFO] [stderr] Compiling x11 v2.21.0 [INFO] [stderr] Compiling rustix v0.38.41 [INFO] [stderr] Compiling atomic_refcell v0.1.13 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling cpal v0.15.3 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Compiling hashbrown v0.15.1 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling nix v0.25.1 [INFO] [stderr] Compiling owned_ttf_parser v0.15.2 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling rusttype v0.9.3 [INFO] [stderr] Compiling owned_ttf_parser v0.25.0 [INFO] [stderr] Compiling andrew v0.3.1 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling mio-misc v1.2.2 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling ab_glyph v0.2.29 [INFO] [stderr] Compiling symphonia-metadata v0.5.4 [INFO] [stderr] Compiling backtrace v0.3.74 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling raw-window-handle v0.3.4 [INFO] [stderr] Compiling foreign-types-shared v0.3.1 [INFO] [stderr] Compiling emath v0.14.0 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling servo-fontconfig v0.5.1 [INFO] [stderr] Compiling symphonia-bundle-mp3 v0.5.4 [INFO] [stderr] Compiling alsa v0.9.1 [INFO] [stderr] Compiling epaint v0.14.0 [INFO] [stderr] Compiling freetype-rs v0.26.0 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling protocol-derive v3.4.0 [INFO] [stderr] Compiling calloop v0.6.5 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling foreign-types-macros v0.2.3 [INFO] [stderr] Compiling tiny-skia-path v0.7.0 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling foreign-types v0.5.0 [INFO] [stderr] Compiling tinyvec v1.8.1 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling wayland-commons v0.28.6 [INFO] [stderr] Compiling glium v0.30.2 [INFO] [stderr] Compiling safe_arch v0.5.2 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling protocol v3.4.0 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling tiny-skia v0.7.0 [INFO] [stderr] Compiling lewton v0.10.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling calloop v0.10.6 [INFO] [stderr] Compiling x11-clipboard v0.5.3 [INFO] [stderr] Compiling wayland-cursor v0.28.6 [INFO] [stderr] Compiling wayland-egl v0.28.6 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling egui v0.14.2 [INFO] [stderr] Compiling symphonia v0.5.4 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling device_query v2.1.0 [INFO] [stderr] Compiling takeable-option v0.5.0 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling rodio v0.17.3 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling versions v5.0.1 [INFO] [stderr] Compiling xproto v1.1.5 [INFO] [stderr] Compiling directories v5.0.1 [INFO] [stderr] Compiling epi v0.14.0 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling webbrowser v0.5.5 [INFO] [stderr] Compiling augurs-core v0.7.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling ascii v1.1.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling augurs-dtw v0.7.0 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling native-dialog v0.7.0 [INFO] [stderr] Compiling errno v0.3.9 [INFO] [stderr] Compiling pipe v0.4.0 [INFO] [stderr] Compiling emojis v0.6.4 [INFO] [stderr] Compiling epc v0.1.0 (/opt/rustwide/workdir/epc) [INFO] [stdout] warning: unused import: `std::ffi::CString` [INFO] [stdout] --> epc/src/lib.rs:197:9 [INFO] [stdout] | [INFO] [stdout] 197 | use std::ffi::CString; [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 imports: `Error` and `self` [INFO] [stdout] --> epc/src/lib.rs:201:19 [INFO] [stdout] | [INFO] [stdout] 201 | use std::io::{self, Error}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::unix::fs::OpenOptionsExt` [INFO] [stdout] --> epc/src/lib.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 205 | use std::os::unix::fs::OpenOptionsExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> epc/src/lib.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 207 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> epc/src/lib.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 217 | pub struct ClientPipe{ [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 218 | name : String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rdev v0.3.6 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling confy v0.6.1 [INFO] [stderr] Compiling backup_functions v0.1.0 (/opt/rustwide/workdir/backup_functions) [INFO] [stdout] warning: unused import: `OpenOptions` [INFO] [stdout] --> backup_functions/src/lib.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs::{File, OpenOptions}; [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 imports: `BufWriter`, `Read`, `Write`, `copy`, and `self` [INFO] [stdout] --> backup_functions/src/lib.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{self, copy, BufReader, BufWriter, Read, Write}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^^^ ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `OutputStream`, `Sink`, `Source`, and `source` [INFO] [stdout] --> backup_functions/src/lib.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use rodio::{source, OutputStream, Sink, Source}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> backup_functions/src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> backup_functions/src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ExitStatus` [INFO] [stdout] --> backup_functions/src/lib.rs:18:29 [INFO] [stdout] | [INFO] [stdout] 18 | use std::process::{Command, ExitStatus}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Error` [INFO] [stdout] --> backup_functions/src/lib.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::io::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `S_IRUSR` and `S_IWUSR` [INFO] [stdout] --> backup_functions/src/lib.rs:23:45 [INFO] [stdout] | [INFO] [stdout] 23 | use libc::{open,read,write,O_RDONLY,O_CREAT,S_IWUSR,S_IRUSR,close}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::OsString` [INFO] [stdout] --> backup_functions/src/lib.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | use std::ffi::OsString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> backup_functions/src/lib.rs:363:13 [INFO] [stdout] | [INFO] [stdout] 363 | Err(e) => return None, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `play_sound` is never used [INFO] [stdout] --> backup_functions/src/lib.rs:400:4 [INFO] [stdout] | [INFO] [stdout] 400 | fn play_sound(file_path: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling smithay-client-toolkit v0.12.3 [INFO] [stderr] Compiling glutin v0.27.0 [INFO] [stderr] Compiling smithay-clipboard v0.6.6 [INFO] [stderr] Compiling sctk-adwaita v0.4.3 [INFO] [stderr] Compiling copypasta v0.7.1 [INFO] [stderr] Compiling winit v0.27.5 [INFO] [stderr] Compiling pattern_recognition v0.1.0 (/opt/rustwide/workdir/pattern_recognition) [INFO] [stdout] warning: unused imports: `Decoder` and `Source` [INFO] [stdout] --> pattern_recognition/src/lib.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use rodio::{OutputStream, Sink, Source, Decoder}; [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 imports: `Arc`, `Condvar`, and `Mutex` [INFO] [stdout] --> pattern_recognition/src/lib.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | use std::sync::{Arc, Mutex, Condvar}; [INFO] [stdout] | ^^^ ^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicBool` and `Ordering` [INFO] [stdout] --> pattern_recognition/src/lib.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | use std::sync::atomic::{AtomicBool, Ordering}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::mpsc` [INFO] [stdout] --> pattern_recognition/src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::sync::mpsc; // Per i canali [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> pattern_recognition/src/lib.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | let mut last_action_time = Instant::now(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `screen_height` [INFO] [stdout] --> pattern_recognition/src/lib.rs:134:69 [INFO] [stdout] | [INFO] [stdout] 134 | fn is_vertical_line(path: &VecDeque<(f64, f64)>, screen_width: f64, screen_height: f64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 134 | fn is_vertical_line(path: &VecDeque<(f64, f64)>, screen_width: f64, _screen_height: f64) -> bool { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `TOLERANCE` [INFO] [stdout] | [INFO] [stdout] 134 - fn is_vertical_line(path: &VecDeque<(f64, f64)>, screen_width: f64, screen_height: f64) -> bool { [INFO] [stdout] 134 + fn is_vertical_line(path: &VecDeque<(f64, f64)>, screen_width: f64, TOLERANCE: f64) -> bool { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> pattern_recognition/src/lib.rs:137:24 [INFO] [stdout] | [INFO] [stdout] 137 | .filter(|&&(x, y)| { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 137 | .filter(|&&(x, _y)| { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `TOLERANCE` [INFO] [stdout] | [INFO] [stdout] 137 - .filter(|&&(x, y)| { [INFO] [stdout] 137 + .filter(|&&(x, TOLERANCE)| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `screen_height` [INFO] [stdout] --> pattern_recognition/src/lib.rs:180:69 [INFO] [stdout] | [INFO] [stdout] 180 | fn is_on_top_border(path: &VecDeque<(f64, f64)>, screen_width: f64, screen_height: f64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 180 | fn is_on_top_border(path: &VecDeque<(f64, f64)>, screen_width: f64, _screen_height: f64) -> bool { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `TOLERANCE` [INFO] [stdout] | [INFO] [stdout] 180 - fn is_on_top_border(path: &VecDeque<(f64, f64)>, screen_width: f64, screen_height: f64) -> bool { [INFO] [stdout] 180 + fn is_on_top_border(path: &VecDeque<(f64, f64)>, screen_width: f64, TOLERANCE: f64) -> bool { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `screen_width` [INFO] [stdout] --> pattern_recognition/src/lib.rs:194:51 [INFO] [stdout] | [INFO] [stdout] 194 | fn is_on_left_border(path: &VecDeque<(f64, f64)>, screen_width: f64, screen_height: f64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 194 | fn is_on_left_border(path: &VecDeque<(f64, f64)>, _screen_width: f64, screen_height: f64) -> bool { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `TOLERANCE` [INFO] [stdout] | [INFO] [stdout] 194 - fn is_on_left_border(path: &VecDeque<(f64, f64)>, screen_width: f64, screen_height: f64) -> bool { [INFO] [stdout] 194 + fn is_on_left_border(path: &VecDeque<(f64, f64)>, TOLERANCE: f64, screen_height: f64) -> bool { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling egui_glium v0.14.0 [INFO] [stderr] Compiling eframe v0.14.0 [INFO] [stderr] Compiling ezbackup v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `process::Command` [INFO] [stdout] --> src/main.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{process::Command, thread, time::Duration}; [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 import: `std::io` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/ezbackup.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use std::env::{self, current_exe}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PathBuf`, `Path`, and `os::raw::c_void` [INFO] [stdout] --> src/ezbackup.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | use std::{mem, os::raw::c_void, path::{Path, PathBuf}, thread}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::sleep` [INFO] [stdout] --> src/ezbackup.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::thread::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Condvar` [INFO] [stdout] --> src/ezbackup.rs:11:27 [INFO] [stdout] | [INFO] [stdout] 11 | use std::sync::{Arc,Mutex,Condvar}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Checkbox`, `SidePanel`, `TextEdit`, `Ui`, `Vec2`, `menu`, `plot::Text`, and `special_emojis` [INFO] [stdout] --> src/ezbackup.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | ...f, menu, plot::Text, special_emojis, Button, CentralPanel, Checkbox, CtxRef, Label, Layout, Response, ScrollArea, Separator, SidePanel, TextEdit, TextStyle, TopBottomPanel, Ui, Vec2, V... [INFO] [stdout] | ^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FileDialog` and `MessageDialog` [INFO] [stdout] --> src/ezbackup.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | use native_dialog::{FileDialog,MessageDialog}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ClientPipe` [INFO] [stdout] --> src/ezbackup.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | use epc::{self, ClientPipe}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame` [INFO] [stdout] --> src/ezbackup.rs:143:54 [INFO] [stdout] | [INFO] [stdout] 143 | fn update(&mut self, ctx: &eframe::egui::CtxRef, frame: &mut eframe::epi::Frame<'_>) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/ezbackup.rs:369:25 [INFO] [stdout] | [INFO] [stdout] 369 | Err(e) => return ConnectionState::None [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/ezbackup.rs:372:17 [INFO] [stdout] | [INFO] [stdout] 372 | Err(e) => return ConnectionState::None, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:65:25 [INFO] [stdout] | [INFO] [stdout] 65 | Err(e) => {println!("Impossibile ottenere dimensione dello schermo");return} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/main.rs:49:49 [INFO] [stdout] | [INFO] [stdout] 49 | ... let result = MessageDialog::new() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 49 | let _result = MessageDialog::new() [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `_` [INFO] [stdout] | [INFO] [stdout] 49 - let result = MessageDialog::new() [INFO] [stdout] 49 + let ezbackup::_ = MessageDialog::new() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:86:45 [INFO] [stdout] | [INFO] [stdout] 86 | ... s.disconnect(); [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 86 | let _ = s.disconnect(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 12s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: quick-xml v0.22.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "c328f4a03c34ab140b435931e60a6aa1c57c3f88dc33755110f7249484e82116", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c328f4a03c34ab140b435931e60a6aa1c57c3f88dc33755110f7249484e82116", kill_on_drop: false }` [INFO] [stdout] c328f4a03c34ab140b435931e60a6aa1c57c3f88dc33755110f7249484e82116 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 25b111ce947bfff94ac01155b43cfa3f88f3690f28ccabecbe8ba06912ec27d0 [INFO] running `Command { std: "docker" "start" "-a" "25b111ce947bfff94ac01155b43cfa3f88f3690f28ccabecbe8ba06912ec27d0", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `OpenOptions` [INFO] [stdout] --> backup_functions/src/lib.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs::{File, OpenOptions}; [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 imports: `BufWriter`, `Read`, `Write`, `copy`, and `self` [INFO] [stdout] --> backup_functions/src/lib.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{self, copy, BufReader, BufWriter, Read, Write}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^^^ ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `OutputStream`, `Sink`, `Source`, and `source` [INFO] [stdout] --> backup_functions/src/lib.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use rodio::{source, OutputStream, Sink, Source}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> backup_functions/src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> backup_functions/src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ExitStatus` [INFO] [stdout] --> backup_functions/src/lib.rs:18:29 [INFO] [stdout] | [INFO] [stdout] 18 | use std::process::{Command, ExitStatus}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Error` [INFO] [stdout] --> backup_functions/src/lib.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::io::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `S_IRUSR` and `S_IWUSR` [INFO] [stdout] --> backup_functions/src/lib.rs:23:45 [INFO] [stdout] | [INFO] [stdout] 23 | use libc::{open,read,write,O_RDONLY,O_CREAT,S_IWUSR,S_IRUSR,close}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::OsString` [INFO] [stdout] --> backup_functions/src/lib.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | use std::ffi::OsString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> backup_functions/src/lib.rs:363:13 [INFO] [stdout] | [INFO] [stdout] 363 | Err(e) => return None, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `play_sound` is never used [INFO] [stdout] --> backup_functions/src/lib.rs:400:4 [INFO] [stdout] | [INFO] [stdout] 400 | fn play_sound(file_path: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::CString` [INFO] [stdout] --> epc/src/lib.rs:197:9 [INFO] [stdout] | [INFO] [stdout] 197 | use std::ffi::CString; [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 imports: `Error` and `self` [INFO] [stdout] --> epc/src/lib.rs:201:19 [INFO] [stdout] | [INFO] [stdout] 201 | use std::io::{self, Error}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::unix::fs::OpenOptionsExt` [INFO] [stdout] --> epc/src/lib.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 205 | use std::os::unix::fs::OpenOptionsExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> epc/src/lib.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 207 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> epc/src/lib.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 217 | pub struct ClientPipe{ [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 218 | name : String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Decoder` and `Source` [INFO] [stdout] --> pattern_recognition/src/lib.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use rodio::{OutputStream, Sink, Source, Decoder}; [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 imports: `Arc`, `Condvar`, and `Mutex` [INFO] [stdout] --> pattern_recognition/src/lib.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | use std::sync::{Arc, Mutex, Condvar}; [INFO] [stdout] | ^^^ ^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicBool` and `Ordering` [INFO] [stdout] --> pattern_recognition/src/lib.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | use std::sync::atomic::{AtomicBool, Ordering}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::mpsc` [INFO] [stdout] --> pattern_recognition/src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::sync::mpsc; // Per i canali [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> pattern_recognition/src/lib.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | let mut last_action_time = Instant::now(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `screen_height` [INFO] [stdout] --> pattern_recognition/src/lib.rs:134:69 [INFO] [stdout] | [INFO] [stdout] 134 | fn is_vertical_line(path: &VecDeque<(f64, f64)>, screen_width: f64, screen_height: f64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 134 | fn is_vertical_line(path: &VecDeque<(f64, f64)>, screen_width: f64, _screen_height: f64) -> bool { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `TOLERANCE` [INFO] [stdout] | [INFO] [stdout] 134 - fn is_vertical_line(path: &VecDeque<(f64, f64)>, screen_width: f64, screen_height: f64) -> bool { [INFO] [stdout] 134 + fn is_vertical_line(path: &VecDeque<(f64, f64)>, screen_width: f64, TOLERANCE: f64) -> bool { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> pattern_recognition/src/lib.rs:137:24 [INFO] [stdout] | [INFO] [stdout] 137 | .filter(|&&(x, y)| { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 137 | .filter(|&&(x, _y)| { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `TOLERANCE` [INFO] [stdout] | [INFO] [stdout] 137 - .filter(|&&(x, y)| { [INFO] [stdout] 137 + .filter(|&&(x, TOLERANCE)| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `screen_height` [INFO] [stdout] --> pattern_recognition/src/lib.rs:180:69 [INFO] [stdout] | [INFO] [stdout] 180 | fn is_on_top_border(path: &VecDeque<(f64, f64)>, screen_width: f64, screen_height: f64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 180 | fn is_on_top_border(path: &VecDeque<(f64, f64)>, screen_width: f64, _screen_height: f64) -> bool { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `TOLERANCE` [INFO] [stdout] | [INFO] [stdout] 180 - fn is_on_top_border(path: &VecDeque<(f64, f64)>, screen_width: f64, screen_height: f64) -> bool { [INFO] [stdout] 180 + fn is_on_top_border(path: &VecDeque<(f64, f64)>, screen_width: f64, TOLERANCE: f64) -> bool { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ezbackup v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `screen_width` [INFO] [stdout] --> pattern_recognition/src/lib.rs:194:51 [INFO] [stdout] | [INFO] [stdout] 194 | fn is_on_left_border(path: &VecDeque<(f64, f64)>, screen_width: f64, screen_height: f64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 194 | fn is_on_left_border(path: &VecDeque<(f64, f64)>, _screen_width: f64, screen_height: f64) -> bool { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `TOLERANCE` [INFO] [stdout] | [INFO] [stdout] 194 - fn is_on_left_border(path: &VecDeque<(f64, f64)>, screen_width: f64, screen_height: f64) -> bool { [INFO] [stdout] 194 + fn is_on_left_border(path: &VecDeque<(f64, f64)>, TOLERANCE: f64, screen_height: f64) -> bool { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `process::Command` [INFO] [stdout] --> src/main.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{process::Command, thread, time::Duration}; [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 import: `std::io` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/ezbackup.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use std::env::{self, current_exe}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PathBuf`, `Path`, and `os::raw::c_void` [INFO] [stdout] --> src/ezbackup.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | use std::{mem, os::raw::c_void, path::{Path, PathBuf}, thread}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::sleep` [INFO] [stdout] --> src/ezbackup.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::thread::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Condvar` [INFO] [stdout] --> src/ezbackup.rs:11:27 [INFO] [stdout] | [INFO] [stdout] 11 | use std::sync::{Arc,Mutex,Condvar}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Checkbox`, `SidePanel`, `TextEdit`, `Ui`, `Vec2`, `menu`, `plot::Text`, and `special_emojis` [INFO] [stdout] --> src/ezbackup.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | ...f, menu, plot::Text, special_emojis, Button, CentralPanel, Checkbox, CtxRef, Label, Layout, Response, ScrollArea, Separator, SidePanel, TextEdit, TextStyle, TopBottomPanel, Ui, Vec2, V... [INFO] [stdout] | ^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FileDialog` and `MessageDialog` [INFO] [stdout] --> src/ezbackup.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | use native_dialog::{FileDialog,MessageDialog}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ClientPipe` [INFO] [stdout] --> src/ezbackup.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | use epc::{self, ClientPipe}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame` [INFO] [stdout] --> src/ezbackup.rs:143:54 [INFO] [stdout] | [INFO] [stdout] 143 | fn update(&mut self, ctx: &eframe::egui::CtxRef, frame: &mut eframe::epi::Frame<'_>) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/ezbackup.rs:369:25 [INFO] [stdout] | [INFO] [stdout] 369 | Err(e) => return ConnectionState::None [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/ezbackup.rs:372:17 [INFO] [stdout] | [INFO] [stdout] 372 | Err(e) => return ConnectionState::None, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:65:25 [INFO] [stdout] | [INFO] [stdout] 65 | Err(e) => {println!("Impossibile ottenere dimensione dello schermo");return} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/main.rs:49:49 [INFO] [stdout] | [INFO] [stdout] 49 | ... let result = MessageDialog::new() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 49 | let _result = MessageDialog::new() [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `_` [INFO] [stdout] | [INFO] [stdout] 49 - let result = MessageDialog::new() [INFO] [stdout] 49 + let ezbackup::_ = MessageDialog::new() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:86:45 [INFO] [stdout] | [INFO] [stdout] 86 | ... s.disconnect(); [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 86 | let _ = s.disconnect(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.09s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: quick-xml v0.22.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "25b111ce947bfff94ac01155b43cfa3f88f3690f28ccabecbe8ba06912ec27d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25b111ce947bfff94ac01155b43cfa3f88f3690f28ccabecbe8ba06912ec27d0", kill_on_drop: false }` [INFO] [stdout] 25b111ce947bfff94ac01155b43cfa3f88f3690f28ccabecbe8ba06912ec27d0