[INFO] fetching crate revault-gui 0.0.1... [INFO] testing revault-gui-0.0.1 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate revault-gui 0.0.1 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate revault-gui 0.0.1 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate revault-gui 0.0.1 [INFO] finished tweaking crates.io crate revault-gui 0.0.1 [INFO] tweaked toml for crates.io crate revault-gui 0.0.1 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate crates.io crate revault-gui 0.0.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eb59e25119da51411dc021b52dcf0739c6797b895220cd301cf5ee81ea49153a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "eb59e25119da51411dc021b52dcf0739c6797b895220cd301cf5ee81ea49153a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eb59e25119da51411dc021b52dcf0739c6797b895220cd301cf5ee81ea49153a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb59e25119da51411dc021b52dcf0739c6797b895220cd301cf5ee81ea49153a", kill_on_drop: false }` [INFO] [stdout] eb59e25119da51411dc021b52dcf0739c6797b895220cd301cf5ee81ea49153a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 481e24470b7ea7417df7c9e7349a09a413825931a2ee7539d7833e785c5c326b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "481e24470b7ea7417df7c9e7349a09a413825931a2ee7539d7833e785c5c326b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling smallvec v1.5.0 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling futures-sink v0.3.8 [INFO] [stderr] Compiling futures-core v0.3.8 [INFO] [stderr] Compiling futures-io v0.3.8 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling ttf-parser v0.8.3 [INFO] [stderr] Compiling bit-vec v0.6.2 [INFO] [stderr] Compiling inplace_it v0.3.2 [INFO] [stderr] Compiling float-cmp v0.5.3 [INFO] [stderr] Compiling typed-arena v2.0.1 [INFO] [stderr] Compiling pin-project-lite v0.2.0 [INFO] [stderr] Compiling iced_core v0.3.0 [INFO] [stderr] Compiling xmlparser v0.13.3 [INFO] [stderr] Compiling xi-unicode v0.3.0 [INFO] [stderr] Compiling sw-composite v0.7.14 [INFO] [stderr] Compiling unicode-script v0.5.2 [INFO] [stderr] Compiling xmlwriter v0.1.0 [INFO] [stderr] Compiling winit v0.23.0 [INFO] [stderr] Compiling rctree v0.3.3 [INFO] [stderr] Compiling unicode-vo v0.1.0 [INFO] [stderr] Compiling svg_fmt v0.4.1 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling wayland-sys v0.28.2 [INFO] [stderr] Compiling futures-task v0.3.8 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling nom v6.0.1 [INFO] [stderr] Compiling servo-fontconfig-sys v4.0.9 [INFO] [stderr] Compiling x11 v2.18.2 [INFO] [stderr] Compiling glam v0.10.2 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling kurbo v0.6.3 [INFO] [stderr] Compiling data-url v0.1.0 [INFO] [stderr] Compiling futures-channel v0.3.8 [INFO] [stderr] Compiling svgtypes v0.5.0 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling ash v0.31.0 [INFO] [stderr] Compiling iced_style v0.2.0 [INFO] [stderr] Compiling tracing v0.1.22 [INFO] [stderr] Compiling rust-embed-utils v5.0.0 [INFO] [stderr] Compiling rusttype v0.9.2 [INFO] [stderr] Compiling wgpu-types v0.6.1 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling jpeg-decoder v0.1.20 [INFO] [stderr] Compiling roxmltree v0.11.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.0 [INFO] [stderr] Compiling pathfinder_simd v0.5.0 [INFO] [stderr] Compiling wayland-scanner v0.28.2 [INFO] [stderr] Compiling spirv_headers v1.5.0 [INFO] [stderr] Compiling approx v0.4.0 [INFO] [stderr] Compiling euclid v0.20.14 [INFO] [stderr] Compiling ordered-float v1.1.0 [INFO] [stderr] Compiling euclid v0.22.1 [INFO] [stderr] Compiling owned_ttf_parser v0.8.0 [INFO] [stderr] Compiling andrew v0.3.1 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Compiling thiserror-impl v1.0.22 [INFO] [stderr] Compiling bytemuck_derive v1.0.0 [INFO] [stderr] Compiling rust-embed-impl v5.6.0 [INFO] [stderr] Compiling simplecss v0.2.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling png v0.15.3 [INFO] [stderr] Compiling ab_glyph v0.2.6 [INFO] [stderr] Compiling zerocopy-derive v0.2.0 [INFO] [stderr] Compiling lyon_geom v0.15.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.1 [INFO] [stderr] Compiling guillotiere v0.6.0 [INFO] [stderr] Compiling toml v0.5.7 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling glyph_brush_layout v0.2.1 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling parking_lot_core v0.8.0 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling dirs-sys v0.3.5 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.35 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling flate2 v1.0.19 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling wayland-client v0.28.2 [INFO] [stderr] Compiling wayland-protocols v0.28.2 [INFO] [stderr] Compiling xcb v0.9.0 [INFO] [stderr] Compiling raqote v0.8.0 [INFO] [stderr] Compiling xcursor v0.3.3 [INFO] [stderr] Compiling gfx-hal v0.6.0 [INFO] [stderr] Compiling bytemuck v1.4.1 [INFO] [stderr] Compiling rust-embed v5.6.0 [INFO] [stderr] Compiling cc v1.0.65 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling dirs v3.0.1 [INFO] [stderr] Compiling pathfinder_geometry v0.5.1 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling twox-hash v1.6.0 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling thiserror v1.0.22 [INFO] [stderr] Compiling rgb v0.8.25 [INFO] [stderr] Compiling zerocopy v0.3.0 [INFO] [stderr] Compiling pin-project v1.0.2 [INFO] [stderr] Compiling cmake v0.1.45 [INFO] [stderr] Compiling naga v0.2.0 [INFO] [stderr] Compiling svgfilters v0.1.0 [INFO] [stderr] Compiling futures-util v0.3.8 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling fern v0.5.9 [INFO] [stderr] Compiling servo-freetype-sys v4.0.5 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Compiling harfbuzz-sys v0.3.4 [INFO] [stderr] Compiling wayland-commons v0.28.2 [INFO] [stderr] Compiling calloop v0.6.5 [INFO] [stderr] Compiling gfx-descriptor v0.2.0 [INFO] [stderr] Compiling gfx-memory v0.2.2 [INFO] [stderr] Compiling gfx-backend-empty v0.6.0 [INFO] [stderr] Compiling freetype v0.4.1 [INFO] [stderr] Compiling servo-fontconfig v0.4.0 [INFO] [stderr] Compiling font-kit v0.8.0 [INFO] [stderr] Compiling glyph_brush_draw_cache v0.1.3 [INFO] [stderr] Compiling harfbuzz_rs v1.2.0 [INFO] [stderr] Compiling gfx-backend-vulkan v0.6.5 [INFO] [stderr] Compiling glyph_brush v0.7.0 [INFO] [stderr] Compiling usvg v0.9.1 [INFO] [stderr] Compiling futures-executor v0.3.8 [INFO] [stderr] Compiling wayland-cursor v0.28.2 [INFO] [stderr] Compiling futures v0.3.8 [INFO] [stderr] Compiling iced_futures v0.2.0 [INFO] [stderr] Compiling wgpu-core v0.6.5 [INFO] [stderr] Compiling iced_native v0.3.0 [INFO] [stderr] Compiling resvg v0.9.2 [INFO] [stderr] Compiling iced_graphics v0.1.0 [INFO] [stderr] Compiling clipboard_x11 v0.1.0 [INFO] [stderr] Compiling wgpu v0.6.2 [INFO] [stderr] Compiling wgpu_glyph v0.10.0 [INFO] [stderr] Compiling iced_wgpu v0.3.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.12.0 [INFO] [stderr] Compiling smithay-clipboard v0.6.1 [INFO] [stderr] Compiling clipboard_wayland v0.1.2 [INFO] [stderr] Compiling window_clipboard v0.1.3 [INFO] [stderr] Compiling iced_winit v0.2.0 [INFO] [stderr] Compiling iced v0.2.0 [INFO] [stderr] Compiling revault-gui v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Text` [INFO] [stdout] --> src/ui/app.rs:4:63 [INFO] [stdout] | [INFO] [stdout] 4 | use iced::{executor, Application, Command, Element, Settings, Text}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `RevaultD` [INFO] [stdout] --> src/revaultd/mod.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct RevaultD { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/revaultd/mod.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn new(config_path: PathBuf) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `call` [INFO] [stdout] --> src/revaultd/mod.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | fn call( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_info` [INFO] [stdout] --> src/revaultd/mod.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn get_info(&self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `start_daemon` [INFO] [stdout] --> src/revaultd/mod.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn start_daemon(config_path: PathBuf) -> Result<(), RevaultDError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_file` [INFO] [stdout] --> src/revaultd/config.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn from_file(path: &PathBuf) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `socket_path` [INFO] [stdout] --> src/revaultd/config.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn socket_path(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `default_datadir` [INFO] [stdout] --> src/revaultd/config.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn default_datadir() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `default_config_path` [INFO] [stdout] --> src/revaultd/config.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn default_config_path() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sockpath` [INFO] [stdout] --> src/revaultd/client/mod.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | sockpath: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Client` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/revaultd/client/mod.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `timeout` [INFO] [stdout] --> src/revaultd/client/mod.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | timeout: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Client` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/revaultd/client/mod.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/revaultd/client/mod.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn new>(sockpath: P) -> Client { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_timeout` [INFO] [stdout] --> src/revaultd/client/mod.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn set_timeout(&mut self, timeout: Option) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `send_request` [INFO] [stdout] --> src/revaultd/client/mod.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn send_request( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `into_result` [INFO] [stdout] --> src/revaultd/client/mod.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn into_result(self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_none` [INFO] [stdout] --> src/revaultd/client/mod.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn is_none(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `config` [INFO] [stdout] --> src/ui/app.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | config: Config, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `JSONRPC2_INVALID_REQUEST` [INFO] [stdout] --> src/revaultd/client/error.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | JSONRPC2_INVALID_REQUEST = -32600, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RpcErrorCode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/revaultd/client/error.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `JSONRPC2_METHOD_NOT_FOUND` [INFO] [stdout] --> src/revaultd/client/error.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | JSONRPC2_METHOD_NOT_FOUND = -32601, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RpcErrorCode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/revaultd/client/error.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `JSONRPC2_INVALID_PARAMS` [INFO] [stdout] --> src/revaultd/client/error.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | JSONRPC2_INVALID_PARAMS = -32602, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RpcErrorCode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/revaultd/client/error.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NoErrorOrResult` [INFO] [stdout] --> src/revaultd/client/error.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | NoErrorOrResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/revaultd/client/error.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NonceMismatch` [INFO] [stdout] --> src/revaultd/client/error.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | NonceMismatch, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/revaultd/client/error.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `VersionMismatch` [INFO] [stdout] --> src/revaultd/client/error.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | VersionMismatch, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/revaultd/client/error.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `revaultd_config_path` [INFO] [stdout] --> src/ui/state/charging.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | revaultd_config_path: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StateCharging` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/ui/state/charging.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `debug` [INFO] [stdout] --> src/ui/state/charging.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | debug: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StateCharging` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/ui/state/charging.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `step` [INFO] [stdout] --> src/ui/state/charging.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | step: ChargingStep, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StateCharging` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/ui/state/charging.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Syncing` [INFO] [stdout] --> src/ui/state/charging.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | Syncing, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ChargingStep` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/ui/state/charging.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Error` [INFO] [stdout] --> src/ui/state/charging.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | Error, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ChargingStep` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/ui/state/charging.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 32s [INFO] running `Command { std: "docker" "inspect" "481e24470b7ea7417df7c9e7349a09a413825931a2ee7539d7833e785c5c326b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "481e24470b7ea7417df7c9e7349a09a413825931a2ee7539d7833e785c5c326b", kill_on_drop: false }` [INFO] [stdout] 481e24470b7ea7417df7c9e7349a09a413825931a2ee7539d7833e785c5c326b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4c789525f8d067ffafb089569a4242e8949c15af788e8610f5a3d8f7f18a819b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "4c789525f8d067ffafb089569a4242e8949c15af788e8610f5a3d8f7f18a819b", kill_on_drop: false }` [INFO] [stderr] Compiling revault-gui v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Text` [INFO] [stdout] --> src/ui/app.rs:4:63 [INFO] [stdout] | [INFO] [stdout] 4 | use iced::{executor, Application, Command, Element, Settings, Text}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `RevaultD` [INFO] [stdout] --> src/revaultd/mod.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct RevaultD { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/revaultd/mod.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn new(config_path: PathBuf) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `call` [INFO] [stdout] --> src/revaultd/mod.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | fn call( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_info` [INFO] [stdout] --> src/revaultd/mod.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn get_info(&self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `start_daemon` [INFO] [stdout] --> src/revaultd/mod.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn start_daemon(config_path: PathBuf) -> Result<(), RevaultDError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_file` [INFO] [stdout] --> src/revaultd/config.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn from_file(path: &PathBuf) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `socket_path` [INFO] [stdout] --> src/revaultd/config.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn socket_path(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `default_datadir` [INFO] [stdout] --> src/revaultd/config.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn default_datadir() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `default_config_path` [INFO] [stdout] --> src/revaultd/config.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn default_config_path() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sockpath` [INFO] [stdout] --> src/revaultd/client/mod.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | sockpath: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Client` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/revaultd/client/mod.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `timeout` [INFO] [stdout] --> src/revaultd/client/mod.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | timeout: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Client` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/revaultd/client/mod.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/revaultd/client/mod.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn new>(sockpath: P) -> Client { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_timeout` [INFO] [stdout] --> src/revaultd/client/mod.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn set_timeout(&mut self, timeout: Option) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `send_request` [INFO] [stdout] --> src/revaultd/client/mod.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn send_request( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `into_result` [INFO] [stdout] --> src/revaultd/client/mod.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn into_result(self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_none` [INFO] [stdout] --> src/revaultd/client/mod.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn is_none(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `config` [INFO] [stdout] --> src/ui/app.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | config: Config, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `JSONRPC2_INVALID_REQUEST` [INFO] [stdout] --> src/revaultd/client/error.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | JSONRPC2_INVALID_REQUEST = -32600, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RpcErrorCode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/revaultd/client/error.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `JSONRPC2_METHOD_NOT_FOUND` [INFO] [stdout] --> src/revaultd/client/error.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | JSONRPC2_METHOD_NOT_FOUND = -32601, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RpcErrorCode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/revaultd/client/error.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `JSONRPC2_INVALID_PARAMS` [INFO] [stdout] --> src/revaultd/client/error.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | JSONRPC2_INVALID_PARAMS = -32602, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RpcErrorCode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/revaultd/client/error.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NoErrorOrResult` [INFO] [stdout] --> src/revaultd/client/error.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | NoErrorOrResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/revaultd/client/error.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NonceMismatch` [INFO] [stdout] --> src/revaultd/client/error.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | NonceMismatch, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/revaultd/client/error.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `VersionMismatch` [INFO] [stdout] --> src/revaultd/client/error.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | VersionMismatch, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/revaultd/client/error.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `revaultd_config_path` [INFO] [stdout] --> src/ui/state/charging.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | revaultd_config_path: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StateCharging` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/ui/state/charging.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `debug` [INFO] [stdout] --> src/ui/state/charging.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | debug: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StateCharging` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/ui/state/charging.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `step` [INFO] [stdout] --> src/ui/state/charging.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | step: ChargingStep, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StateCharging` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/ui/state/charging.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Syncing` [INFO] [stdout] --> src/ui/state/charging.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | Syncing, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ChargingStep` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/ui/state/charging.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Error` [INFO] [stdout] --> src/ui/state/charging.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | Error, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ChargingStep` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/ui/state/charging.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.54s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/revault_gui-02bd86704bce67e7) [INFO] running `Command { std: "docker" "inspect" "4c789525f8d067ffafb089569a4242e8949c15af788e8610f5a3d8f7f18a819b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c789525f8d067ffafb089569a4242e8949c15af788e8610f5a3d8f7f18a819b", kill_on_drop: false }` [INFO] [stdout] 4c789525f8d067ffafb089569a4242e8949c15af788e8610f5a3d8f7f18a819b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e4f72cb76e0ad48470a2b24ff9514a7666fbf7544949dc9d7949d6fb1ab0d77a [INFO] running `Command { std: "docker" "start" "-a" "e4f72cb76e0ad48470a2b24ff9514a7666fbf7544949dc9d7949d6fb1ab0d77a", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Text` [INFO] [stderr] --> src/ui/app.rs:4:63 [INFO] [stderr] | [INFO] [stderr] 4 | use iced::{executor, Application, Command, Element, Settings, Text}; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `RevaultD` [INFO] [stderr] --> src/revaultd/mod.rs:22:12 [INFO] [stderr] | [INFO] [stderr] 22 | pub struct RevaultD { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/revaultd/mod.rs:28:12 [INFO] [stderr] | [INFO] [stderr] 28 | pub fn new(config_path: PathBuf) -> Result { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `call` [INFO] [stderr] --> src/revaultd/mod.rs:58:8 [INFO] [stderr] | [INFO] [stderr] 58 | fn call( [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_info` [INFO] [stderr] --> src/revaultd/mod.rs:68:12 [INFO] [stderr] | [INFO] [stderr] 68 | pub fn get_info(&self) -> Result { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `start_daemon` [INFO] [stderr] --> src/revaultd/mod.rs:89:8 [INFO] [stderr] | [INFO] [stderr] 89 | pub fn start_daemon(config_path: PathBuf) -> Result<(), RevaultDError> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `from_file` [INFO] [stderr] --> src/revaultd/config.rs:12:12 [INFO] [stderr] | [INFO] [stderr] 12 | pub fn from_file(path: &PathBuf) -> Result { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `socket_path` [INFO] [stderr] --> src/revaultd/config.rs:23:12 [INFO] [stderr] | [INFO] [stderr] 23 | pub fn socket_path(&self) -> Result { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `default_datadir` [INFO] [stderr] --> src/revaultd/config.rs:65:8 [INFO] [stderr] | [INFO] [stderr] 65 | pub fn default_datadir() -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `default_config_path` [INFO] [stderr] --> src/revaultd/config.rs:88:8 [INFO] [stderr] | [INFO] [stderr] 88 | pub fn default_config_path() -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `sockpath` [INFO] [stderr] --> src/revaultd/client/mod.rs:41:5 [INFO] [stderr] | [INFO] [stderr] 41 | sockpath: PathBuf, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Client` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/revaultd/client/mod.rs:39:10 [INFO] [stderr] | [INFO] [stderr] 39 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `timeout` [INFO] [stderr] --> src/revaultd/client/mod.rs:42:5 [INFO] [stderr] | [INFO] [stderr] 42 | timeout: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Client` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/revaultd/client/mod.rs:39:10 [INFO] [stderr] | [INFO] [stderr] 39 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/revaultd/client/mod.rs:47:12 [INFO] [stderr] | [INFO] [stderr] 47 | pub fn new>(sockpath: P) -> Client { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `set_timeout` [INFO] [stderr] --> src/revaultd/client/mod.rs:55:12 [INFO] [stderr] | [INFO] [stderr] 55 | pub fn set_timeout(&mut self, timeout: Option) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `send_request` [INFO] [stderr] --> src/revaultd/client/mod.rs:60:12 [INFO] [stderr] | [INFO] [stderr] 60 | pub fn send_request( [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `into_result` [INFO] [stderr] --> src/revaultd/client/mod.rs:131:12 [INFO] [stderr] | [INFO] [stderr] 131 | pub fn into_result(self) -> Result { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `is_none` [INFO] [stderr] --> src/revaultd/client/mod.rs:140:12 [INFO] [stderr] | [INFO] [stderr] 140 | pub fn is_none(&self) -> bool { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `config` [INFO] [stderr] --> src/ui/app.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | config: Config, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `JSONRPC2_INVALID_REQUEST` [INFO] [stderr] --> src/revaultd/client/error.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 31 | JSONRPC2_INVALID_REQUEST = -32600, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `RpcErrorCode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/revaultd/client/error.rs:26:10 [INFO] [stderr] | [INFO] [stderr] 26 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `JSONRPC2_METHOD_NOT_FOUND` [INFO] [stderr] --> src/revaultd/client/error.rs:33:5 [INFO] [stderr] | [INFO] [stderr] 33 | JSONRPC2_METHOD_NOT_FOUND = -32601, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `RpcErrorCode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/revaultd/client/error.rs:26:10 [INFO] [stderr] | [INFO] [stderr] 26 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `JSONRPC2_INVALID_PARAMS` [INFO] [stderr] --> src/revaultd/client/error.rs:35:5 [INFO] [stderr] | [INFO] [stderr] 35 | JSONRPC2_INVALID_PARAMS = -32602, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `RpcErrorCode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/revaultd/client/error.rs:26:10 [INFO] [stderr] | [INFO] [stderr] 26 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `NoErrorOrResult` [INFO] [stderr] --> src/revaultd/client/error.rs:48:5 [INFO] [stderr] | [INFO] [stderr] 48 | NoErrorOrResult, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/revaultd/client/error.rs:39:10 [INFO] [stderr] | [INFO] [stderr] 39 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `NonceMismatch` [INFO] [stderr] --> src/revaultd/client/error.rs:50:5 [INFO] [stderr] | [INFO] [stderr] 50 | NonceMismatch, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/revaultd/client/error.rs:39:10 [INFO] [stderr] | [INFO] [stderr] 39 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `VersionMismatch` [INFO] [stderr] --> src/revaultd/client/error.rs:52:5 [INFO] [stderr] | [INFO] [stderr] 52 | VersionMismatch, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/revaultd/client/error.rs:39:10 [INFO] [stderr] | [INFO] [stderr] 39 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `revaultd_config_path` [INFO] [stderr] --> src/ui/state/charging.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | revaultd_config_path: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `StateCharging` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/ui/state/charging.rs:8:10 [INFO] [stderr] | [INFO] [stderr] 8 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `debug` [INFO] [stderr] --> src/ui/state/charging.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | debug: bool, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `StateCharging` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/ui/state/charging.rs:8:10 [INFO] [stderr] | [INFO] [stderr] 8 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `step` [INFO] [stderr] --> src/ui/state/charging.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | step: ChargingStep, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `StateCharging` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/ui/state/charging.rs:8:10 [INFO] [stderr] | [INFO] [stderr] 8 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Syncing` [INFO] [stderr] --> src/ui/state/charging.rs:44:5 [INFO] [stderr] | [INFO] [stderr] 44 | Syncing, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ChargingStep` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/ui/state/charging.rs:41:10 [INFO] [stderr] | [INFO] [stderr] 41 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Error` [INFO] [stderr] --> src/ui/state/charging.rs:45:5 [INFO] [stderr] | [INFO] [stderr] 45 | Error, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ChargingStep` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/ui/state/charging.rs:41:10 [INFO] [stderr] | [INFO] [stderr] 41 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `revault-gui` (bin "revault-gui" test) generated 29 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.48s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/revault_gui-02bd86704bce67e7) [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" "e4f72cb76e0ad48470a2b24ff9514a7666fbf7544949dc9d7949d6fb1ab0d77a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4f72cb76e0ad48470a2b24ff9514a7666fbf7544949dc9d7949d6fb1ab0d77a", kill_on_drop: false }` [INFO] [stdout] e4f72cb76e0ad48470a2b24ff9514a7666fbf7544949dc9d7949d6fb1ab0d77a