[INFO] fetching crate revault-gui 0.0.1... [INFO] building revault-gui-0.0.1 against try#434cce50d8e9a9de0ddaaccaca51e3e3f4bbb275 for pr-101591 [INFO] extracting crate revault-gui 0.0.1 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate revault-gui 0.0.1 on toolchain 434cce50d8e9a9de0ddaaccaca51e3e3f4bbb275 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+434cce50d8e9a9de0ddaaccaca51e3e3f4bbb275" "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-6/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" "+434cce50d8e9a9de0ddaaccaca51e3e3f4bbb275" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+434cce50d8e9a9de0ddaaccaca51e3e3f4bbb275" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1dbf7a0d6de7944d0ad5e10b573b5471890cd2310c0951e7f18db73b47dbdd43 [INFO] running `Command { std: "docker" "start" "-a" "1dbf7a0d6de7944d0ad5e10b573b5471890cd2310c0951e7f18db73b47dbdd43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1dbf7a0d6de7944d0ad5e10b573b5471890cd2310c0951e7f18db73b47dbdd43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1dbf7a0d6de7944d0ad5e10b573b5471890cd2310c0951e7f18db73b47dbdd43", kill_on_drop: false }` [INFO] [stdout] 1dbf7a0d6de7944d0ad5e10b573b5471890cd2310c0951e7f18db73b47dbdd43 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+434cce50d8e9a9de0ddaaccaca51e3e3f4bbb275" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 180acc2227d024c884d2d157d1997202db95439312d2fc508adaa424cbcd185f [INFO] running `Command { std: "docker" "start" "-a" "180acc2227d024c884d2d157d1997202db95439312d2fc508adaa424cbcd185f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling smallvec v1.5.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling ttf-parser v0.6.2 [INFO] [stderr] Compiling const_fn v0.4.3 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling futures-core v0.3.8 [INFO] [stderr] Compiling futures-sink v0.3.8 [INFO] [stderr] Compiling futures-io v0.3.8 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling ttf-parser v0.8.3 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling bit-vec v0.6.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling iced_core v0.3.0 [INFO] [stderr] Compiling inplace_it v0.3.2 [INFO] [stderr] Compiling typed-arena v2.0.1 [INFO] [stderr] Compiling float-cmp v0.5.3 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling pin-project-lite v0.2.0 [INFO] [stderr] Compiling float-ord v0.2.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling linked-hash-map v0.5.3 [INFO] [stderr] Compiling xmlparser v0.13.3 [INFO] [stderr] Compiling xi-unicode v0.3.0 [INFO] [stderr] Compiling xmlwriter v0.1.0 [INFO] [stderr] Compiling unicode-script v0.5.2 [INFO] [stderr] Compiling unicode-vo v0.1.0 [INFO] [stderr] Compiling sw-composite v0.7.14 [INFO] [stderr] Compiling winit v0.23.0 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling rctree v0.3.3 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling svg_fmt v0.4.1 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling libloading v0.6.5 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.0 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling wayland-sys v0.28.2 [INFO] [stderr] Compiling x11 v2.18.2 [INFO] [stderr] Compiling servo-fontconfig-sys v4.0.9 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling futures-task v0.3.8 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling nom v6.0.1 [INFO] [stderr] Compiling glam v0.10.2 [INFO] [stderr] Compiling kurbo v0.6.3 [INFO] [stderr] Compiling owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling futures-channel v0.3.8 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling iced_style v0.2.0 [INFO] [stderr] Compiling owned_ttf_parser v0.8.0 [INFO] [stderr] Compiling data-url v0.1.0 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling svgtypes v0.5.0 [INFO] [stderr] Compiling roxmltree v0.11.0 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling ash v0.31.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 rustc_version v0.2.3 [INFO] [stderr] Compiling ab_glyph v0.2.6 [INFO] [stderr] Compiling wgpu-types v0.6.1 [INFO] [stderr] Compiling simplecss v0.2.0 [INFO] [stderr] Compiling quote v1.0.7 [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 rand v0.4.6 [INFO] [stderr] Compiling parking_lot_core v0.8.0 [INFO] [stderr] Compiling dirs-sys v0.3.5 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.35 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling xcb v0.9.0 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling jpeg-decoder v0.1.20 [INFO] [stderr] Compiling andrew v0.3.1 [INFO] [stderr] Compiling pathfinder_simd v0.5.0 [INFO] [stderr] Compiling flate2 v1.0.19 [INFO] [stderr] Compiling wayland-scanner v0.28.2 [INFO] [stderr] Compiling cc v1.0.65 [INFO] [stderr] Compiling spirv_headers v1.5.0 [INFO] [stderr] Compiling euclid v0.20.14 [INFO] [stderr] Compiling approx v0.4.0 [INFO] [stderr] Compiling ordered-float v1.1.0 [INFO] [stderr] Compiling euclid v0.22.1 [INFO] [stderr] Compiling gfx-hal v0.6.0 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling dirs v3.0.1 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling twox-hash v1.6.0 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling png v0.15.3 [INFO] [stderr] Compiling wayland-commons v0.28.2 [INFO] [stderr] Compiling calloop v0.6.5 [INFO] [stderr] Compiling xcursor v0.3.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling cmake v0.1.45 [INFO] [stderr] Compiling wayland-client v0.28.2 [INFO] [stderr] Compiling wayland-protocols v0.28.2 [INFO] [stderr] Compiling glyph_brush_layout v0.2.1 [INFO] [stderr] Compiling guillotiere v0.6.0 [INFO] [stderr] Compiling lyon_geom v0.15.3 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling harfbuzz-sys v0.3.4 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling gfx-backend-empty v0.6.0 [INFO] [stderr] Compiling gfx-backend-vulkan v0.6.5 [INFO] [stderr] Compiling gfx-descriptor v0.2.0 [INFO] [stderr] Compiling gfx-memory v0.2.2 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling servo-freetype-sys v4.0.5 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Compiling raqote v0.8.0 [INFO] [stderr] Compiling fern v0.5.9 [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 pathfinder_geometry v0.5.1 [INFO] [stderr] Compiling zerocopy-derive v0.2.0 [INFO] [stderr] Compiling rust-embed v5.6.0 [INFO] [stderr] Compiling bytemuck v1.4.1 [INFO] [stderr] Compiling thiserror v1.0.22 [INFO] [stderr] Compiling pin-project v1.0.2 [INFO] [stderr] Compiling rgb v0.8.25 [INFO] [stderr] Compiling futures-util v0.3.8 [INFO] [stderr] Compiling naga v0.2.0 [INFO] [stderr] Compiling wayland-cursor v0.28.2 [INFO] [stderr] Compiling freetype v0.4.1 [INFO] [stderr] Compiling zerocopy v0.3.0 [INFO] [stderr] Compiling glyph_brush_draw_cache v0.1.3 [INFO] [stderr] Compiling svgfilters v0.1.0 [INFO] [stderr] Compiling servo-fontconfig v0.4.0 [INFO] [stderr] Compiling glyph_brush v0.7.0 [INFO] [stderr] Compiling wgpu-core v0.6.5 [INFO] [stderr] Compiling harfbuzz_rs v1.2.0 [INFO] [stderr] Compiling clipboard_x11 v0.1.0 [INFO] [stderr] Compiling futures-executor v0.3.8 [INFO] [stderr] Compiling font-kit v0.8.0 [INFO] [stderr] Compiling futures v0.3.8 [INFO] [stderr] Compiling usvg v0.9.1 [INFO] [stderr] Compiling iced_futures v0.2.0 [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 wgpu v0.6.2 [INFO] [stderr] Compiling toml v0.5.7 [INFO] [stderr] Compiling smithay-client-toolkit v0.12.0 [INFO] [stderr] Compiling wgpu_glyph v0.10.0 [INFO] [stderr] Compiling iced_wgpu v0.3.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 `RevaultD` is never constructed [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: function `start_daemon` is never used [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 `new` is never used [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 `call` is never used [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 `get_info` is never used [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 `default_datadir` is never used [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 `default_config_path` is never used [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: associated function `from_file` is never used [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 `socket_path` is never used [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: fields `sockpath` and `timeout` are never read [INFO] [stdout] --> src/revaultd/client/mod.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct Client { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 41 | sockpath: PathBuf, [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] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [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 `set_timeout` is never used [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 `send_request` is never used [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 `into_result` is never used [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_none` is never used [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: variants `JSONRPC2_INVALID_REQUEST`, `JSONRPC2_METHOD_NOT_FOUND` and `JSONRPC2_INVALID_PARAMS` are never constructed [INFO] [stdout] --> src/revaultd/client/error.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum RpcErrorCode { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 31 | JSONRPC2_INVALID_REQUEST = -32600, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | /// Method not found [INFO] [stdout] 33 | JSONRPC2_METHOD_NOT_FOUND = -32601, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | /// Invalid parameters [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] [INFO] [stdout] [INFO] [stdout] warning: variants `NoErrorOrResult`, `NonceMismatch` and `VersionMismatch` are never constructed [INFO] [stdout] --> src/revaultd/client/error.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 40 | pub enum Error { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 48 | NoErrorOrResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 49 | /// Response to a request did not have the expected nonce [INFO] [stdout] 50 | NonceMismatch, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 51 | /// Response to a request had a jsonrpc field other than "2.0" [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] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/ui/app.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct App { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 9 | config: Config, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `revaultd_config_path`, `debug` and `step` are never read [INFO] [stdout] --> src/ui/state/charging.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct StateCharging { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 10 | revaultd_config_path: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | debug: bool, [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] [INFO] [stdout] [INFO] [stdout] warning: variants `Syncing` and `Error` are never constructed [INFO] [stdout] --> src/ui/state/charging.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 42 | pub enum ChargingStep { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 43 | Connecting, [INFO] [stdout] 44 | Syncing, [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] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 04s [INFO] running `Command { std: "docker" "inspect" "180acc2227d024c884d2d157d1997202db95439312d2fc508adaa424cbcd185f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "180acc2227d024c884d2d157d1997202db95439312d2fc508adaa424cbcd185f", kill_on_drop: false }` [INFO] [stdout] 180acc2227d024c884d2d157d1997202db95439312d2fc508adaa424cbcd185f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+434cce50d8e9a9de0ddaaccaca51e3e3f4bbb275" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 030a3a03e90544f2de9d2c6d207d5271d49580877aaf8dde0b44d37a78d1f4f7 [INFO] running `Command { std: "docker" "start" "-a" "030a3a03e90544f2de9d2c6d207d5271d49580877aaf8dde0b44d37a78d1f4f7", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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 `RevaultD` is never constructed [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: function `start_daemon` is never used [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 `new` is never used [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 `call` is never used [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 `get_info` is never used [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 `default_datadir` is never used [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 `default_config_path` is never used [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: associated function `from_file` is never used [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 `socket_path` is never used [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: fields `sockpath` and `timeout` are never read [INFO] [stdout] --> src/revaultd/client/mod.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct Client { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 41 | sockpath: PathBuf, [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] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [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 `set_timeout` is never used [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 `send_request` is never used [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 `into_result` is never used [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_none` is never used [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: variants `JSONRPC2_INVALID_REQUEST`, `JSONRPC2_METHOD_NOT_FOUND` and `JSONRPC2_INVALID_PARAMS` are never constructed [INFO] [stdout] --> src/revaultd/client/error.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum RpcErrorCode { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 31 | JSONRPC2_INVALID_REQUEST = -32600, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | /// Method not found [INFO] [stdout] 33 | JSONRPC2_METHOD_NOT_FOUND = -32601, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | /// Invalid parameters [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] [INFO] [stdout] [INFO] [stdout] warning: variants `NoErrorOrResult`, `NonceMismatch` and `VersionMismatch` are never constructed [INFO] [stdout] --> src/revaultd/client/error.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 40 | pub enum Error { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 48 | NoErrorOrResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 49 | /// Response to a request did not have the expected nonce [INFO] [stdout] 50 | NonceMismatch, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 51 | /// Response to a request had a jsonrpc field other than "2.0" [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] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/ui/app.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct App { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 9 | config: Config, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `revaultd_config_path`, `debug` and `step` are never read [INFO] [stdout] --> src/ui/state/charging.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct StateCharging { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 10 | revaultd_config_path: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | debug: bool, [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] [INFO] [stdout] [INFO] [stdout] warning: variants `Syncing` and `Error` are never constructed [INFO] [stdout] --> src/ui/state/charging.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 42 | pub enum ChargingStep { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 43 | Connecting, [INFO] [stdout] 44 | Syncing, [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] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.90s [INFO] running `Command { std: "docker" "inspect" "030a3a03e90544f2de9d2c6d207d5271d49580877aaf8dde0b44d37a78d1f4f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "030a3a03e90544f2de9d2c6d207d5271d49580877aaf8dde0b44d37a78d1f4f7", kill_on_drop: false }` [INFO] [stdout] 030a3a03e90544f2de9d2c6d207d5271d49580877aaf8dde0b44d37a78d1f4f7