[INFO] cloning repository https://github.com/delster1/tuifs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/delster1/tuifs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdelster1%2Ftuifs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdelster1%2Ftuifs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e7ccd0b7a33f7e9df86768312fab98da708deb39 [INFO] testing delster1/tuifs against try#ed7f3d77595b4831fdf085f2529aa13b5b51ff7d for pr-134530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdelster1%2Ftuifs" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/delster1/tuifs on toolchain ed7f3d77595b4831fdf085f2529aa13b5b51ff7d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/delster1/tuifs [INFO] finished tweaking git repo https://github.com/delster1/tuifs [INFO] tweaked toml for git repo https://github.com/delster1/tuifs written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/delster1/tuifs 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" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3e9300c719e010bb958d3d152709c18037b5047843f74c08677914d14a495268 [INFO] running `Command { std: "docker" "start" "-a" "3e9300c719e010bb958d3d152709c18037b5047843f74c08677914d14a495268", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3e9300c719e010bb958d3d152709c18037b5047843f74c08677914d14a495268", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e9300c719e010bb958d3d152709c18037b5047843f74c08677914d14a495268", kill_on_drop: false }` [INFO] [stdout] 3e9300c719e010bb958d3d152709c18037b5047843f74c08677914d14a495268 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b0cf2a88656b6a4ed14f86da6302f4448955b8396a2ccd7355db48f7abfaddcd [INFO] running `Command { std: "docker" "start" "-a" "b0cf2a88656b6a4ed14f86da6302f4448955b8396a2ccd7355db48f7abfaddcd", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: client v0.1.0 (/opt/rustwide/workdir/client) ignoring invalid dependency `shared` which is missing a lib target [INFO] [stderr] warning: server v0.1.0 (/opt/rustwide/workdir/server) ignoring invalid dependency `shared` which is missing a lib target [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling libc v0.2.168 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling foldhash v0.1.3 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling cc v1.2.3 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling cpufeatures v0.2.16 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling unicase v2.8.0 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling rustix v0.38.42 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling tracing-log v0.1.4 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling approx v0.1.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling matchers v0.0.1 [INFO] [stderr] Compiling palette v0.3.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling pretty_assertions v1.4.1 [INFO] [stderr] Compiling headers v0.3.9 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling castaway v0.2.3 [INFO] [stderr] Compiling atoi v0.3.3 [INFO] [stderr] Compiling owo-colors v3.5.0 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling compact_str v0.8.0 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling map_err v0.1.0 [INFO] [stderr] Compiling map-ok v1.0.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling unicode-truncate v1.1.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.216 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling pin-project-internal v1.1.7 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio v1.42.0 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling arc v0.0.1 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling pin-project v1.1.7 [INFO] [stderr] Compiling tracing-error v0.2.1 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling color-spantrace v0.2.1 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling color-eyre v0.6.3 [INFO] [stderr] Compiling instability v0.3.3 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling ratatui v0.29.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling h2 v0.4.7 [INFO] [stderr] Compiling tracing-serde v0.1.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling shared v0.1.0 (/opt/rustwide/workdir/shared) [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling tracing-subscriber v0.2.25 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling mini-redis v0.4.1 [INFO] [stderr] Compiling hyper v1.5.1 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling hyper v0.14.31 [INFO] [stderr] Compiling warp v0.3.7 [INFO] [stderr] Compiling server v0.1.0 (/opt/rustwide/workdir/server) [INFO] [stderr] Compiling client v0.1.0 (/opt/rustwide/workdir/client) [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> server/src/server.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Empty`, `Full`, and `StreamBody` [INFO] [stdout] --> client/src/app.rs:15:44 [INFO] [stdout] | [INFO] [stdout] 15 | use http_body_util::{combinators::BoxBody, Empty, Full, StreamBody}; [INFO] [stdout] | ^^^^^ ^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Body` and `Frame` [INFO] [stdout] --> client/src/app.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | use hyper::body::{Body, Bytes, Frame}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Clear` [INFO] [stdout] --> client/src/ui.rs:11:31 [INFO] [stdout] | [INFO] [stdout] 11 | widgets::{Block, Borders, Clear, List, ListItem, Paragraph, Wrap}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req_body` [INFO] [stdout] --> server/src/server.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | req_body: hyper::body::Incoming, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_body` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req_bytes` [INFO] [stdout] --> server/src/server.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | req_bytes: Bytes, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req_bytes` [INFO] [stdout] --> server/src/server.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | req_bytes: Bytes, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `storage_dir` [INFO] [stdout] --> server/src/main.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let storage_dir = args.get(1).unwrap_or(binding); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_storage_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> server/src/main.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let mut server = Server::new("server1", 3333).await; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> server/src/server.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Server { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 16 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_current_working_dir` is never used [INFO] [stdout] --> server/src/server.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn get_current_working_dir() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_storage_dir` is never used [INFO] [stdout] --> server/src/server.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl Server { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn set_storage_dir(&mut self, storage_dir: &str) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `handle_addfolder` is never used [INFO] [stdout] --> server/src/server.rs:92:18 [INFO] [stdout] | [INFO] [stdout] 78 | impl Server { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 92 | pub async fn handle_addfolder( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `map_ok::MapOk` [INFO] [stdout] --> client/src/httpclient.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use map_ok::MapOk; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> client/src/app.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | let res = block_on(self.client.as_mut().unwrap().send_file(file_path)).unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> client/src/ui.rs:208:46 [INFO] [stdout] | [INFO] [stdout] 208 | fn render_download_screen(frame: &mut Frame, app: &App, popup_chunks: Rc<[Rect]>) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Uploading` and `Downloading` are never constructed [INFO] [stdout] --> client/src/app.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum CurrentScreen { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 35 | Uploading, // screen while a file is uploading - should show success. [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 36 | Downloading, // screen while a file is downloading - should show success. [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `download_file` is never used [INFO] [stdout] --> client/src/app.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 81 | impl<'a> App<'a> { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 126 | fn download_file(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `with_items` are never used [INFO] [stdout] --> client/src/statefullist.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl StatefulList { [INFO] [stdout] | ----------------------- associated functions in this implementation [INFO] [stdout] 10 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn with_items(items: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> client/src/app.rs:215:29 [INFO] [stdout] | [INFO] [stdout] 215 | ... self.upload_file(self.input.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 215 | let _ = self.upload_file(self.input.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 29s [INFO] running `Command { std: "docker" "inspect" "b0cf2a88656b6a4ed14f86da6302f4448955b8396a2ccd7355db48f7abfaddcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0cf2a88656b6a4ed14f86da6302f4448955b8396a2ccd7355db48f7abfaddcd", kill_on_drop: false }` [INFO] [stdout] b0cf2a88656b6a4ed14f86da6302f4448955b8396a2ccd7355db48f7abfaddcd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b0ba8ef6ad546fddf8ac04a30755428f2d4798bdc71e8757780aa9aab6be83aa [INFO] running `Command { std: "docker" "start" "-a" "b0ba8ef6ad546fddf8ac04a30755428f2d4798bdc71e8757780aa9aab6be83aa", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: client v0.1.0 (/opt/rustwide/workdir/client) ignoring invalid dependency `shared` which is missing a lib target [INFO] [stderr] warning: server v0.1.0 (/opt/rustwide/workdir/server) ignoring invalid dependency `shared` which is missing a lib target [INFO] [stderr] Compiling shared v0.1.0 (/opt/rustwide/workdir/shared) [INFO] [stderr] Compiling server v0.1.0 (/opt/rustwide/workdir/server) [INFO] [stderr] Compiling client v0.1.0 (/opt/rustwide/workdir/client) [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> server/src/server.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req_body` [INFO] [stdout] --> server/src/server.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | req_body: hyper::body::Incoming, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_body` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req_bytes` [INFO] [stdout] --> server/src/server.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | req_bytes: Bytes, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req_bytes` [INFO] [stdout] --> server/src/server.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | req_bytes: Bytes, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Empty`, `Full`, and `StreamBody` [INFO] [stdout] --> client/src/app.rs:15:44 [INFO] [stdout] | [INFO] [stdout] 15 | use http_body_util::{combinators::BoxBody, Empty, Full, StreamBody}; [INFO] [stdout] | ^^^^^ ^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Body` and `Frame` [INFO] [stdout] --> client/src/app.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | use hyper::body::{Body, Bytes, Frame}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Clear` [INFO] [stdout] --> client/src/ui.rs:11:31 [INFO] [stdout] | [INFO] [stdout] 11 | widgets::{Block, Borders, Clear, List, ListItem, Paragraph, Wrap}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `storage_dir` [INFO] [stdout] --> server/src/main.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let storage_dir = args.get(1).unwrap_or(binding); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_storage_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> server/src/main.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let mut server = Server::new("server1", 3333).await; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> server/src/server.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Server { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 16 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_current_working_dir` is never used [INFO] [stdout] --> server/src/server.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn get_current_working_dir() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_storage_dir` is never used [INFO] [stdout] --> server/src/server.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl Server { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn set_storage_dir(&mut self, storage_dir: &str) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `handle_addfolder` is never used [INFO] [stdout] --> server/src/server.rs:92:18 [INFO] [stdout] | [INFO] [stdout] 78 | impl Server { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 92 | pub async fn handle_addfolder( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `map_ok::MapOk` [INFO] [stdout] --> client/src/httpclient.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use map_ok::MapOk; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> client/src/app.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | let res = block_on(self.client.as_mut().unwrap().send_file(file_path)).unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> client/src/ui.rs:208:46 [INFO] [stdout] | [INFO] [stdout] 208 | fn render_download_screen(frame: &mut Frame, app: &App, popup_chunks: Rc<[Rect]>) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Uploading` and `Downloading` are never constructed [INFO] [stdout] --> client/src/app.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum CurrentScreen { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 35 | Uploading, // screen while a file is uploading - should show success. [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 36 | Downloading, // screen while a file is downloading - should show success. [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `download_file` is never used [INFO] [stdout] --> client/src/app.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 81 | impl<'a> App<'a> { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 126 | fn download_file(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `with_items` are never used [INFO] [stdout] --> client/src/statefullist.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl StatefulList { [INFO] [stdout] | ----------------------- associated functions in this implementation [INFO] [stdout] 10 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn with_items(items: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> client/src/app.rs:215:29 [INFO] [stdout] | [INFO] [stdout] 215 | ... self.upload_file(self.input.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 215 | let _ = self.upload_file(self.input.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.18s [INFO] running `Command { std: "docker" "inspect" "b0ba8ef6ad546fddf8ac04a30755428f2d4798bdc71e8757780aa9aab6be83aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0ba8ef6ad546fddf8ac04a30755428f2d4798bdc71e8757780aa9aab6be83aa", kill_on_drop: false }` [INFO] [stdout] b0ba8ef6ad546fddf8ac04a30755428f2d4798bdc71e8757780aa9aab6be83aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7604c2850d3cfe4aec192676b8500b407ccf00e30b90bef809fe3345ab22f35a [INFO] running `Command { std: "docker" "start" "-a" "7604c2850d3cfe4aec192676b8500b407ccf00e30b90bef809fe3345ab22f35a", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: client v0.1.0 (/opt/rustwide/workdir/client) ignoring invalid dependency `shared` which is missing a lib target [INFO] [stderr] warning: server v0.1.0 (/opt/rustwide/workdir/server) ignoring invalid dependency `shared` which is missing a lib target [INFO] [stderr] warning: unused imports: `Empty`, `Full`, and `StreamBody` [INFO] [stderr] --> client/src/app.rs:15:44 [INFO] [stderr] | [INFO] [stderr] 15 | use http_body_util::{combinators::BoxBody, Empty, Full, StreamBody}; [INFO] [stderr] | ^^^^^ ^^^^ ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Body` and `Frame` [INFO] [stderr] --> client/src/app.rs:16:19 [INFO] [stderr] | [INFO] [stderr] 16 | use hyper::body::{Body, Bytes, Frame}; [INFO] [stderr] | ^^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Clear` [INFO] [stderr] --> client/src/ui.rs:11:31 [INFO] [stderr] | [INFO] [stderr] 11 | widgets::{Block, Borders, Clear, List, ListItem, Paragraph, Wrap}, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `map_ok::MapOk` [INFO] [stderr] --> client/src/httpclient.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use map_ok::MapOk; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `res` [INFO] [stderr] --> client/src/app.rs:121:13 [INFO] [stderr] | [INFO] [stderr] 121 | let res = block_on(self.client.as_mut().unwrap().send_file(file_path)).unwrap(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `app` [INFO] [stderr] --> client/src/ui.rs:208:46 [INFO] [stderr] | [INFO] [stderr] 208 | fn render_download_screen(frame: &mut Frame, app: &App, popup_chunks: Rc<[Rect]>) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stderr] [INFO] [stderr] warning: variants `Uploading` and `Downloading` are never constructed [INFO] [stderr] --> client/src/app.rs:35:5 [INFO] [stderr] | [INFO] [stderr] 32 | pub enum CurrentScreen { [INFO] [stderr] | ------------- variants in this enum [INFO] [stderr] ... [INFO] [stderr] 35 | Uploading, // screen while a file is uploading - should show success. [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 36 | Downloading, // screen while a file is downloading - should show success. [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `download_file` is never used [INFO] [stderr] --> client/src/app.rs:126:8 [INFO] [stderr] | [INFO] [stderr] 81 | impl<'a> App<'a> { [INFO] [stderr] | ---------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 126 | fn download_file(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated functions `new` and `with_items` are never used [INFO] [stderr] --> client/src/statefullist.rs:10:12 [INFO] [stderr] | [INFO] [stderr] 9 | impl StatefulList { [INFO] [stderr] | ----------------------- associated functions in this implementation [INFO] [stderr] 10 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 17 | pub fn with_items(items: Vec) -> Self { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> client/src/app.rs:215:29 [INFO] [stderr] | [INFO] [stderr] 215 | ... self.upload_file(self.input.clone()); [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)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 215 | let _ = self.upload_file(self.input.clone()); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stderr] --> server/src/server.rs:4:13 [INFO] [stderr] | [INFO] [stderr] 4 | use serde::{Deserialize, Serialize}; [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `req_body` [INFO] [stderr] --> server/src/server.rs:82:9 [INFO] [stderr] | [INFO] [stderr] 82 | req_body: hyper::body::Incoming, [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_body` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `req_bytes` [INFO] [stderr] --> server/src/server.rs:105:9 [INFO] [stderr] | [INFO] [stderr] 105 | req_bytes: Bytes, [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_bytes` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `req_bytes` [INFO] [stderr] --> server/src/server.rs:94:9 [INFO] [stderr] | [INFO] [stderr] 94 | req_bytes: Bytes, [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_bytes` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `storage_dir` [INFO] [stderr] --> server/src/main.rs:22:9 [INFO] [stderr] | [INFO] [stderr] 22 | let storage_dir = args.get(1).unwrap_or(binding); [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_storage_dir` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> server/src/main.rs:20:9 [INFO] [stderr] | [INFO] [stderr] 20 | let mut server = Server::new("server1", 3333).await; [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `name` is never read [INFO] [stderr] --> server/src/server.rs:16:9 [INFO] [stderr] | [INFO] [stderr] 15 | pub struct Server { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] 16 | pub name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `get_current_working_dir` is never used [INFO] [stderr] --> server/src/server.rs:20:4 [INFO] [stderr] | [INFO] [stderr] 20 | fn get_current_working_dir() -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `set_storage_dir` is never used [INFO] [stderr] --> server/src/server.rs:65:12 [INFO] [stderr] | [INFO] [stderr] 28 | impl Server { [INFO] [stderr] | ----------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 65 | pub fn set_storage_dir(&mut self, storage_dir: &str) -> std::io::Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `handle_addfolder` is never used [INFO] [stderr] --> server/src/server.rs:92:18 [INFO] [stderr] | [INFO] [stderr] 78 | impl Server { [INFO] [stderr] | ----------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 92 | pub async fn handle_addfolder( [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `client` (bin "client" test) generated 10 warnings (run `cargo fix --bin "client" --tests` to apply 3 suggestions) [INFO] [stderr] warning: `server` (bin "server" test) generated 10 warnings (run `cargo fix --bin "server" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.28s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/client-34eaae1da39b5389) [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/server-260d18422545c654) [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] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/shared-a7e7d0c9261e1330) [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] [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" "7604c2850d3cfe4aec192676b8500b407ccf00e30b90bef809fe3345ab22f35a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7604c2850d3cfe4aec192676b8500b407ccf00e30b90bef809fe3345ab22f35a", kill_on_drop: false }` [INFO] [stdout] 7604c2850d3cfe4aec192676b8500b407ccf00e30b90bef809fe3345ab22f35a