[INFO] cloning repository https://github.com/partg952/Genet-Docker-Client [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/partg952/Genet-Docker-Client" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpartg952%2FGenet-Docker-Client", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpartg952%2FGenet-Docker-Client'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d9ce305be62f578e3b4018b4b1d9e7058f876513 [INFO] testing partg952/Genet-Docker-Client against try#8da20828b6ea601dfd8e2448cb50ace88876bd78 for pr-150933 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpartg952%2FGenet-Docker-Client" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/partg952/Genet-Docker-Client [INFO] finished tweaking git repo https://github.com/partg952/Genet-Docker-Client [INFO] tweaked toml for git repo https://github.com/partg952/Genet-Docker-Client written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/partg952/Genet-Docker-Client on toolchain 8da20828b6ea601dfd8e2448cb50ace88876bd78 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/partg952/Genet-Docker-Client 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" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 35117730a3fbc3b84bf3950a9edf1a35a629cec0c2c9a4aa545eb28082731aab [INFO] running `Command { std: "docker" "start" "-a" "35117730a3fbc3b84bf3950a9edf1a35a629cec0c2c9a4aa545eb28082731aab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "35117730a3fbc3b84bf3950a9edf1a35a629cec0c2c9a4aa545eb28082731aab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35117730a3fbc3b84bf3950a9edf1a35a629cec0c2c9a4aa545eb28082731aab", kill_on_drop: false }` [INFO] [stdout] 35117730a3fbc3b84bf3950a9edf1a35a629cec0c2c9a4aa545eb28082731aab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4c621c05aa973fe2b87b8008046d55d8d889842efd0153bce90fd1dc410706f2 [INFO] running `Command { std: "docker" "start" "-a" "4c621c05aa973fe2b87b8008046d55d8d889842efd0153bce90fd1dc410706f2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.105 [INFO] [stderr] Compiling quote v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling find-msvc-tools v0.1.7 [INFO] [stderr] Compiling toml_parser v1.0.6+spec-1.1.0 [INFO] [stderr] Compiling futures-lite v2.6.1 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling zerocopy v0.8.33 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling owned_ttf_parser v0.25.1 [INFO] [stderr] Compiling async-broadcast v0.7.2 [INFO] [stderr] Compiling uuid v1.19.0 [INFO] [stderr] Compiling ordered-stream v0.2.0 [INFO] [stderr] Compiling accesskit v0.21.1 [INFO] [stderr] Compiling aws-lc-rs v1.15.2 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling rustls-pki-types v1.13.2 [INFO] [stderr] Compiling ab_glyph v0.2.32 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling epaint_default_fonts v0.33.3 [INFO] [stderr] Compiling unicase v2.9.0 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling profiling v1.0.17 [INFO] [stderr] Compiling toml_edit v0.23.10+spec-1.0.0 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling rustls v0.23.36 [INFO] [stderr] Compiling accesskit_consumer v0.31.0 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling flate2 v1.1.8 [INFO] [stderr] Compiling xkbcommon-dl v0.4.2 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling smol_str v0.2.2 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.20.0 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling blocking v1.6.2 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling async-executor v1.13.3 [INFO] [stderr] Compiling cc v1.2.52 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling memmap2 v0.9.9 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling dpi v0.1.2 [INFO] [stderr] Compiling png v0.18.0 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling glutin_glx_sys v0.6.1 [INFO] [stderr] Compiling glutin_egl_sys v0.7.1 [INFO] [stderr] Compiling moxcms v0.7.11 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling glutin v0.32.3 [INFO] [stderr] Compiling mime_guess2 v2.3.1 [INFO] [stderr] Compiling glutin-winit v0.5.0 [INFO] [stderr] Compiling openssl-probe v0.2.0 [INFO] [stderr] Compiling zmij v1.0.14 [INFO] [stderr] Compiling litrs v1.0.0 [INFO] [stderr] Compiling web-time v1.1.0 [INFO] [stderr] Compiling struct_iterable_internal v0.1.1 [INFO] [stderr] Compiling rustls-native-certs v0.8.3 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling document-features v0.2.12 [INFO] [stderr] Compiling cmake v0.1.57 [INFO] [stderr] Compiling wayland-backend v0.3.12 [INFO] [stderr] Compiling aws-lc-sys v0.35.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling polling v3.11.0 [INFO] [stderr] Compiling gethostname v1.1.0 [INFO] [stderr] Compiling x11rb v0.13.2 [INFO] [stderr] Compiling async-io v2.6.0 [INFO] [stderr] Compiling async-signal v0.2.13 [INFO] [stderr] Compiling async-process v2.5.0 [INFO] [stderr] Compiling wayland-csd-frame v0.3.0 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling enumflags2_derive v0.7.12 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling bytemuck_derive v1.10.2 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling enum-map-derive v0.17.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling enum-map v2.7.3 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling bytemuck v1.24.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling calloop v0.13.0 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling calloop v0.14.3 [INFO] [stderr] Compiling h2 v0.4.13 [INFO] [stderr] Compiling emath v0.33.3 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling tiny-skia-path v0.11.4 [INFO] [stderr] Compiling image v0.25.9 [INFO] [stderr] Compiling ecolor v0.33.3 [INFO] [stderr] Compiling epaint v0.33.3 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling tiny-skia v0.11.4 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling egui v0.33.3 [INFO] [stderr] Compiling quick-xml v0.38.4 [INFO] [stderr] Compiling zvariant_utils v3.3.0 [INFO] [stderr] Compiling enumflags2 v0.7.12 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling erased-serde v0.3.31 [INFO] [stderr] Compiling arboard v3.6.1 [INFO] [stderr] Compiling zvariant_derive v5.9.1 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling struct_iterable_derive v0.1.0 [INFO] [stderr] Compiling struct_iterable v0.1.1 [INFO] [stderr] Compiling zvariant v5.9.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling wayland-scanner v0.31.8 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling wayland-client v0.31.12 [INFO] [stderr] Compiling webbrowser v1.0.6 [INFO] [stderr] Compiling egui_glow v0.33.3 [INFO] [stderr] Compiling egui_extras v0.33.3 [INFO] [stderr] Compiling zbus_names v4.3.1 [INFO] [stderr] Compiling wayland-protocols v0.32.10 [INFO] [stderr] Compiling wayland-cursor v0.31.12 [INFO] [stderr] Compiling calloop-wayland-source v0.3.0 [INFO] [stderr] Compiling calloop-wayland-source v0.4.1 [INFO] [stderr] Compiling rustls-webpki v0.103.8 [INFO] [stderr] Compiling hyper-util v0.1.19 [INFO] [stderr] Compiling zbus_xml v5.1.0 [INFO] [stderr] Compiling zbus_macros v5.13.1 [INFO] [stderr] Compiling zbus-lockstep v0.5.2 [INFO] [stderr] Compiling zbus-lockstep-macros v0.5.2 [INFO] [stderr] Compiling zbus v5.13.1 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling rustls-platform-verifier v0.6.2 [INFO] [stderr] Compiling wayland-protocols-wlr v0.3.10 [INFO] [stderr] Compiling wayland-protocols-plasma v0.3.10 [INFO] [stderr] Compiling wayland-protocols-experimental v20250721.0.1 [INFO] [stderr] Compiling wayland-protocols-misc v0.3.10 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling reqwest v0.13.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Compiling smithay-clipboard v0.7.3 [INFO] [stderr] Compiling sctk-adwaita v0.10.1 [INFO] [stderr] Compiling winit v0.30.12 [INFO] [stderr] Compiling atspi-common v0.9.0 [INFO] [stderr] Compiling atspi-proxies v0.9.0 [INFO] [stderr] Compiling accesskit_atspi_common v0.14.2 [INFO] [stderr] Compiling atspi-connection v0.9.0 [INFO] [stderr] Compiling atspi v0.25.0 [INFO] [stderr] Compiling accesskit_unix v0.17.2 [INFO] [stderr] Compiling accesskit_winit v0.29.2 [INFO] [stderr] Compiling egui-winit v0.33.3 [INFO] [stderr] Compiling eframe v0.33.3 [INFO] [stderr] Compiling docker-client v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::borrow::Cow` [INFO] [stdout] --> src/core/connection.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::Cow; [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: `eframe::egui::Event` [INFO] [stdout] --> src/core/parser.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use eframe::egui::Event; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core::parser::Events` [INFO] [stdout] --> src/core/events.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::core::parser::Events; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `response` [INFO] [stdout] --> src/main.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use eframe::egui::{self, response}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/main.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | io::{BufRead, BufReader, Read}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EventDetails` [INFO] [stdout] --> src/main.rs:10:41 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::core::events::{DockerEvents, EventDetails, convert_to_event}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/connection.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | let mut socket_connection = UnixStream::connect("/var/run/docker.sock")?; [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: variable does not need to be mutable [INFO] [stdout] --> src/core/connection.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let mut response_string = String::from_utf8_lossy(&utf8_buffer).to_string(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/requests.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let mut response = socket_instance.read_response()?; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> src/core/requests.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let response = socket_instance.read_response()?; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> src/core/requests.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | let response = socket_instance.read_response_utf8()?; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let mut event_socket = EventsSocket::connect().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | let mut buffer = BufReader::new(event_socket.socket_connection); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read_response_utf8` is never used [INFO] [stdout] --> src/core/connection.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Socket { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn read_response_utf8(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `restart_container` is never used [INFO] [stdout] --> src/core/requests.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn restart_container(id: &String) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_logs` is never used [INFO] [stdout] --> src/core/requests.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn get_logs(id: &String) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | tx.send(event); [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] 31 | let _ = tx.send(event); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 45s [INFO] running `Command { std: "docker" "inspect" "4c621c05aa973fe2b87b8008046d55d8d889842efd0153bce90fd1dc410706f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c621c05aa973fe2b87b8008046d55d8d889842efd0153bce90fd1dc410706f2", kill_on_drop: false }` [INFO] [stdout] 4c621c05aa973fe2b87b8008046d55d8d889842efd0153bce90fd1dc410706f2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e85a32a6d7cead24dc41708fced1295deffa7ecf59be0284218fca1ec4af00c5 [INFO] running `Command { std: "docker" "start" "-a" "e85a32a6d7cead24dc41708fced1295deffa7ecf59be0284218fca1ec4af00c5", kill_on_drop: false }` [INFO] [stderr] Compiling docker-client v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::borrow::Cow` [INFO] [stdout] --> src/core/connection.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::Cow; [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: `eframe::egui::Event` [INFO] [stdout] --> src/core/parser.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use eframe::egui::Event; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core::parser::Events` [INFO] [stdout] --> src/core/events.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::core::parser::Events; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `response` [INFO] [stdout] --> src/main.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use eframe::egui::{self, response}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/main.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | io::{BufRead, BufReader, Read}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EventDetails` [INFO] [stdout] --> src/main.rs:10:41 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::core::events::{DockerEvents, EventDetails, convert_to_event}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/connection.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | let mut socket_connection = UnixStream::connect("/var/run/docker.sock")?; [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: variable does not need to be mutable [INFO] [stdout] --> src/core/connection.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let mut response_string = String::from_utf8_lossy(&utf8_buffer).to_string(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/requests.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let mut response = socket_instance.read_response()?; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> src/core/requests.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let response = socket_instance.read_response()?; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> src/core/requests.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | let response = socket_instance.read_response_utf8()?; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let mut event_socket = EventsSocket::connect().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | let mut buffer = BufReader::new(event_socket.socket_connection); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read_response_utf8` is never used [INFO] [stdout] --> src/core/connection.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Socket { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn read_response_utf8(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `restart_container` is never used [INFO] [stdout] --> src/core/requests.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn restart_container(id: &String) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_logs` is never used [INFO] [stdout] --> src/core/requests.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn get_logs(id: &String) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | tx.send(event); [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] 31 | let _ = tx.send(event); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.74s [INFO] running `Command { std: "docker" "inspect" "e85a32a6d7cead24dc41708fced1295deffa7ecf59be0284218fca1ec4af00c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e85a32a6d7cead24dc41708fced1295deffa7ecf59be0284218fca1ec4af00c5", kill_on_drop: false }` [INFO] [stdout] e85a32a6d7cead24dc41708fced1295deffa7ecf59be0284218fca1ec4af00c5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 034fedc1a518f7f525b781fcb24aef89442f9b7965c52014c583d0c4c217e2ff [INFO] running `Command { std: "docker" "start" "-a" "034fedc1a518f7f525b781fcb24aef89442f9b7965c52014c583d0c4c217e2ff", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::borrow::Cow` [INFO] [stderr] --> src/core/connection.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::borrow::Cow; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `eframe::egui::Event` [INFO] [stderr] --> src/core/parser.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use eframe::egui::Event; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::core::parser::Events` [INFO] [stderr] --> src/core/events.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::core::parser::Events; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `response` [INFO] [stderr] --> src/main.rs:3:26 [INFO] [stderr] | [INFO] [stderr] 3 | use eframe::egui::{self, response}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Read` [INFO] [stderr] --> src/main.rs:6:30 [INFO] [stderr] | [INFO] [stderr] 6 | io::{BufRead, BufReader, Read}, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `EventDetails` [INFO] [stderr] --> src/main.rs:10:41 [INFO] [stderr] | [INFO] [stderr] 10 | use crate::core::events::{DockerEvents, EventDetails, convert_to_event}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/core/connection.rs:10:13 [INFO] [stderr] | [INFO] [stderr] 10 | let mut socket_connection = UnixStream::connect("/var/run/docker.sock")?; [INFO] [stderr] | ----^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/core/connection.rs:29:13 [INFO] [stderr] | [INFO] [stderr] 29 | let mut response_string = String::from_utf8_lossy(&utf8_buffer).to_string(); [INFO] [stderr] | ----^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/core/requests.rs:19:9 [INFO] [stderr] | [INFO] [stderr] 19 | let mut response = socket_instance.read_response()?; [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `response` [INFO] [stderr] --> src/core/requests.rs:30:9 [INFO] [stderr] | [INFO] [stderr] 30 | let response = socket_instance.read_response()?; [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `response` [INFO] [stderr] --> src/core/requests.rs:50:9 [INFO] [stderr] | [INFO] [stderr] 50 | let response = socket_instance.read_response_utf8()?; [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:20:13 [INFO] [stderr] | [INFO] [stderr] 20 | let mut event_socket = EventsSocket::connect().unwrap(); [INFO] [stderr] | ----^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:21:13 [INFO] [stderr] | [INFO] [stderr] 21 | let mut buffer = BufReader::new(event_socket.socket_connection); [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: method `read_response_utf8` is never used [INFO] [stderr] --> src/core/connection.rs:26:12 [INFO] [stderr] | [INFO] [stderr] 8 | impl Socket { [INFO] [stderr] | ----------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 26 | pub fn read_response_utf8(&mut self) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `restart_container` is never used [INFO] [stderr] --> src/core/requests.rs:40:8 [INFO] [stderr] | [INFO] [stderr] 40 | pub fn restart_container(id: &String) -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_logs` is never used [INFO] [stderr] --> src/core/requests.rs:45:8 [INFO] [stderr] | [INFO] [stderr] 45 | pub fn get_logs(id: &String) -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:31:17 [INFO] [stderr] | [INFO] [stderr] 31 | tx.send(event); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 31 | let _ = tx.send(event); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `docker-client` (bin "docker-client" test) generated 17 warnings (run `cargo fix --bin "docker-client" -p docker-client --tests` to apply 13 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.45s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/docker_client-c511f7bd22e19a8a) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "034fedc1a518f7f525b781fcb24aef89442f9b7965c52014c583d0c4c217e2ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "034fedc1a518f7f525b781fcb24aef89442f9b7965c52014c583d0c4c217e2ff", kill_on_drop: false }` [INFO] [stdout] 034fedc1a518f7f525b781fcb24aef89442f9b7965c52014c583d0c4c217e2ff