[INFO] cloning repository https://github.com/LorenzoEvans/conversus [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LorenzoEvans/conversus" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLorenzoEvans%2Fconversus", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLorenzoEvans%2Fconversus'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5506cbd759dd5e23584092ee49332b57f4bda992 [INFO] building LorenzoEvans/conversus against try#615edd3ad1cf6871c977dc900317cb6c2070fd6b for pr-97334 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLorenzoEvans%2Fconversus" "/workspace/builds/worker-36/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-36/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LorenzoEvans/conversus on toolchain 615edd3ad1cf6871c977dc900317cb6c2070fd6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/LorenzoEvans/conversus [INFO] finished tweaking git repo https://github.com/LorenzoEvans/conversus [INFO] tweaked toml for git repo https://github.com/LorenzoEvans/conversus written to /workspace/builds/worker-36/source/Cargo.toml [INFO] crate git repo https://github.com/LorenzoEvans/conversus already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 70b92f868ba04e7a9ff02c108509cf4ca38af658ef88f0832d0db883527361c7 [INFO] running `Command { std: "docker" "start" "-a" "70b92f868ba04e7a9ff02c108509cf4ca38af658ef88f0832d0db883527361c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "70b92f868ba04e7a9ff02c108509cf4ca38af658ef88f0832d0db883527361c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70b92f868ba04e7a9ff02c108509cf4ca38af658ef88f0832d0db883527361c7", kill_on_drop: false }` [INFO] [stdout] 70b92f868ba04e7a9ff02c108509cf4ca38af658ef88f0832d0db883527361c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/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" "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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1c6bd8163c7be95fa3426a095ce7829c9edfb186b60f6eb1af2175eef323247f [INFO] running `Command { std: "docker" "start" "-a" "1c6bd8163c7be95fa3426a095ce7829c9edfb186b60f6eb1af2175eef323247f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling linked-hash-map v0.5.3 [INFO] [stderr] Compiling cc v1.0.56 [INFO] [stderr] Compiling libloading v0.6.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling atom v0.3.5 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling colorful v0.2.1 [INFO] [stderr] Compiling smallvec v1.4.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling xi-unicode v0.2.1 [INFO] [stderr] Compiling iced_core v0.2.1 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling glam v0.8.7 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling parking v1.0.5 [INFO] [stderr] Compiling waker-fn v1.0.0 [INFO] [stderr] Compiling instant v0.1.5 [INFO] [stderr] Compiling float-ord v0.2.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling cache-padded v1.1.1 [INFO] [stderr] Compiling svg_fmt v0.2.1 [INFO] [stderr] Compiling fastrand v1.3.3 [INFO] [stderr] Compiling async-task v3.0.0 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling hibitset v0.6.3 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling concurrent-queue v1.1.1 [INFO] [stderr] Compiling iced_style v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling smallvec v0.6.13 [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 cmake v0.1.44 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling relevant v0.4.2 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling dirs-sys v0.3.5 [INFO] [stderr] Compiling xcb v0.9.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling directories v2.0.2 [INFO] [stderr] Compiling ash v0.29.0 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling gfx-hal v0.4.1 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling servo-freetype-sys v4.0.5 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling wayland-sys v0.23.6 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Compiling freetype v0.4.1 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling euclid v0.20.13 [INFO] [stderr] Compiling servo-fontconfig v0.4.0 [INFO] [stderr] Compiling twox-hash v1.5.0 [INFO] [stderr] Compiling rusttype v0.8.3 [INFO] [stderr] Compiling rendy-descriptor v0.5.1 [INFO] [stderr] Compiling rendy-memory v0.5.2 [INFO] [stderr] Compiling gfx-backend-empty v0.4.0 [INFO] [stderr] Compiling lyon_geom v0.14.1 [INFO] [stderr] Compiling wayland-commons v0.23.6 [INFO] [stderr] Compiling calloop v0.4.4 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling glyph_brush_layout v0.1.9 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Compiling glyph_brush v0.6.3 [INFO] [stderr] Compiling lyon_path v0.14.0 [INFO] [stderr] Compiling font-kit v0.4.0 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling gfx-backend-vulkan v0.4.3 [INFO] [stderr] Compiling clipboard_x11 v0.1.0 [INFO] [stderr] Compiling zerocopy-derive v0.1.4 [INFO] [stderr] Compiling euclid_macros v0.1.0 [INFO] [stderr] Compiling wgpu-native v0.4.3 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling euclid v0.19.9 [INFO] [stderr] Compiling smithay-client-toolkit v0.6.6 [INFO] [stderr] Compiling zerocopy v0.2.8 [INFO] [stderr] Compiling guillotiere v0.4.4 [INFO] [stderr] Compiling smithay-clipboard v0.3.7 [INFO] [stderr] Compiling winit v0.22.2 [INFO] [stderr] Compiling clipboard_wayland v0.1.0 [INFO] [stderr] Compiling window_clipboard v0.1.1 [INFO] [stderr] Compiling pin-project v0.4.22 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling blocking v0.4.6 [INFO] [stderr] Compiling smol v0.1.18 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling iced_futures v0.1.2 [INFO] [stderr] Compiling iced_native v0.2.2 [INFO] [stderr] Compiling async-std v1.6.2 [INFO] [stderr] Compiling iced_winit v0.1.0 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling wgpu v0.4.0 [INFO] [stderr] Compiling wgpu_glyph v0.7.0 [INFO] [stderr] Compiling iced_wgpu v0.2.3 [INFO] [stderr] Compiling iced v0.1.1 [INFO] [stderr] Compiling conversus v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Button`, `Checkbox`, `Font`, `PaneGrid`, `Scrollable`, `container`, `pane_grid` [INFO] [stdout] --> src/main.rs:3:44 [INFO] [stdout] | [INFO] [stdout] 3 | button, scrollable, text_input, Align, Button, Checkbox, container, [INFO] [stdout] | ^^^^^^ ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] 4 | Column, Command, Container, Element, Font, HorizontalAlignment, VerticalAlignment, Length, [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | Row, Scrollable, Settings, Text, TextInput, Sandbox, Application, pane_grid, PaneGrid [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:119:49 [INFO] [stdout] | [INFO] [stdout] 119 | let json = serde_json::to_string_pretty((&self)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 119 - let json = serde_json::to_string_pretty((&self)) [INFO] [stdout] 119 + let json = serde_json::to_string_pretty(&self) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sandbox` [INFO] [stdout] --> src/main.rs:5:49 [INFO] [stdout] | [INFO] [stdout] 5 | Row, Scrollable, Settings, Text, TextInput, Sandbox, Application, pane_grid, PaneGrid [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> src/main.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 187 | fn new(flags: ()) -> (Conversus, Command) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/main.rs:215:31 [INFO] [stdout] | [INFO] [stdout] 215 | Conversus::Loaded(state) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `saved` [INFO] [stdout] --> src/main.rs:216:25 [INFO] [stdout] | [INFO] [stdout] 216 | let mut saved = false; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_saved` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `assembly` [INFO] [stdout] --> src/main.rs:219:68 [INFO] [stdout] | [INFO] [stdout] 219 | AgoraMessage::ConversationAdded(Conversation { assembly, presenter, comments, agora_id}) => { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `assembly: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `presenter` [INFO] [stdout] --> src/main.rs:219:78 [INFO] [stdout] | [INFO] [stdout] 219 | AgoraMessage::ConversationAdded(Conversation { assembly, presenter, comments, agora_id}) => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `presenter: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comments` [INFO] [stdout] --> src/main.rs:219:89 [INFO] [stdout] | [INFO] [stdout] 219 | AgoraMessage::ConversationAdded(Conversation { assembly, presenter, comments, agora_id}) => { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `comments: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `agora_id` [INFO] [stdout] --> src/main.rs:219:99 [INFO] [stdout] | [INFO] [stdout] 219 | AgoraMessage::ConversationAdded(Conversation { assembly, presenter, comments, agora_id}) => { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `agora_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `desc` [INFO] [stdout] --> src/main.rs:222:47 [INFO] [stdout] | [INFO] [stdout] 222 | AgoraMessage::DescChanged(desc, uuid) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_desc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uuid` [INFO] [stdout] --> src/main.rs:222:53 [INFO] [stdout] | [INFO] [stdout] 222 | AgoraMessage::DescChanged(desc, uuid) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_uuid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/main.rs:225:47 [INFO] [stdout] | [INFO] [stdout] 225 | AgoraMessage::NameChanged(name, uuid) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uuid` [INFO] [stdout] --> src/main.rs:225:53 [INFO] [stdout] | [INFO] [stdout] 225 | AgoraMessage::NameChanged(name, uuid) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_uuid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `email` [INFO] [stdout] --> src/main.rs:228:72 [INFO] [stdout] | [INFO] [stdout] 228 | AgoraMessage::UserMessage(UserMessage::EmailChange(email)) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_email` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kind` [INFO] [stdout] --> src/main.rs:231:71 [INFO] [stdout] | [INFO] [stdout] 231 | AgoraMessage::UserMessage(UserMessage::KindChange(kind)) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_kind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pw` [INFO] [stdout] --> src/main.rs:234:75 [INFO] [stdout] | [INFO] [stdout] 234 | AgoraMessage::UserMessage(UserMessage::PasswordChange(pw)) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `username` [INFO] [stdout] --> src/main.rs:237:75 [INFO] [stdout] | [INFO] [stdout] 237 | AgoraMessage::UserMessage(UserMessage::UserNameChange(username)) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_username` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comment` [INFO] [stdout] --> src/main.rs:240:89 [INFO] [stdout] | [INFO] [stdout] 240 | AgoraMessage::ConversationMessage(ConversationMessage::CommentAdded(comment)) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comment` [INFO] [stdout] --> src/main.rs:243:91 [INFO] [stdout] | [INFO] [stdout] 243 | AgoraMessage::ConversationMessage(ConversationMessage::CommentDeleted(comment)) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/main.rs:246:86 [INFO] [stdout] | [INFO] [stdout] 246 | AgoraMessage::ConversationMessage(ConversationMessage::UserAdded(user)) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uuid` [INFO] [stdout] --> src/main.rs:249:87 [INFO] [stdout] | [INFO] [stdout] 249 | AgoraMessage::ConversationMessage(ConversationMessage::UserExited(uuid)) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_uuid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scroll` [INFO] [stdout] --> src/main.rs:265:17 [INFO] [stdout] | [INFO] [stdout] 265 | scroll, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `scroll: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `title` [INFO] [stdout] --> src/main.rs:270:21 [INFO] [stdout] | [INFO] [stdout] 270 | let title = Text::new("Conversus") [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_title` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/main.rs:275:21 [INFO] [stdout] | [INFO] [stdout] 275 | let input = TextInput::new( [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `length` [INFO] [stdout] --> src/main.rs:477:21 [INFO] [stdout] | [INFO] [stdout] 477 | let length = self.comments.len(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:216:21 [INFO] [stdout] | [INFO] [stdout] 216 | let mut saved = false; [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 is never read: `agoras` [INFO] [stdout] --> src/main.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | pub agoras: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `State` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Debug, Default)] [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: `saving` [INFO] [stdout] --> src/main.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | saving: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `State` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Debug, Default)] [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: `users` [INFO] [stdout] --> src/main.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | pub users: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `State` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Debug, Default)] [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: `conversations` [INFO] [stdout] --> src/main.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | pub conversations: Vec, // Stateful [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `State` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Debug, Default)] [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: `comments` [INFO] [stdout] --> src/main.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | pub comments: Vec, // Stateful [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `State` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Debug, Default)] [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: `DirErr` [INFO] [stdout] --> src/main.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | DirErr, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SaveErr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:80:10 [INFO] [stdout] | [INFO] [stdout] 80 | #[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: `FileErr` [INFO] [stdout] --> src/main.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | FileErr, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SaveErr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:80:10 [INFO] [stdout] | [INFO] [stdout] 80 | #[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: `WriteErr` [INFO] [stdout] --> src/main.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | WriteErr, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SaveErr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:80:10 [INFO] [stdout] | [INFO] [stdout] 80 | #[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: `FormatErr` [INFO] [stdout] --> src/main.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | FormatErr, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SaveErr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:80:10 [INFO] [stdout] | [INFO] [stdout] 80 | #[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: `path` [INFO] [stdout] --> src/main.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | fn path() -> std::path::PathBuf { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `load` [INFO] [stdout] --> src/main.rs:101:14 [INFO] [stdout] | [INFO] [stdout] 101 | async fn load() -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `save` [INFO] [stdout] --> src/main.rs:116:14 [INFO] [stdout] | [INFO] [stdout] 116 | async fn save(self) -> Result<(), SaveErr> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/main.rs:355:8 [INFO] [stdout] | [INFO] [stdout] 355 | fn new(content: String, id: Uuid, convo_id: Uuid) -> Comment { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `make_comment` [INFO] [stdout] --> src/main.rs:362:8 [INFO] [stdout] | [INFO] [stdout] 362 | fn make_comment() -> Comment { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/main.rs:458:8 [INFO] [stdout] | [INFO] [stdout] 458 | fn new(assembly: Vec, presenter: User, comments: Vec, agora_id: Uuid) -> Conversation { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update` [INFO] [stdout] --> src/main.rs:467:8 [INFO] [stdout] | [INFO] [stdout] 467 | fn update(&mut self, message: ConversationMessage) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/main.rs:525:8 [INFO] [stdout] | [INFO] [stdout] 525 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update` [INFO] [stdout] --> src/main.rs:544:8 [INFO] [stdout] | [INFO] [stdout] 544 | fn update(&mut self, message: UserMessage) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `edit_button` [INFO] [stdout] --> src/main.rs:564:5 [INFO] [stdout] | [INFO] [stdout] 564 | edit_button: button::State, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `delete_button` [INFO] [stdout] --> src/main.rs:565:5 [INFO] [stdout] | [INFO] [stdout] 565 | delete_button: button::State, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `login` [INFO] [stdout] --> src/main.rs:566:5 [INFO] [stdout] | [INFO] [stdout] 566 | login: button::State, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `logout` [INFO] [stdout] --> src/main.rs:567:5 [INFO] [stdout] | [INFO] [stdout] 567 | logout: button::State, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `Beige` should have an upper case name [INFO] [stdout] --> src/main.rs:580:11 [INFO] [stdout] | [INFO] [stdout] 580 | const Beige: Color = Color::from_rgb( [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `BEIGE` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 50 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 30s [INFO] running `Command { std: "docker" "inspect" "1c6bd8163c7be95fa3426a095ce7829c9edfb186b60f6eb1af2175eef323247f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c6bd8163c7be95fa3426a095ce7829c9edfb186b60f6eb1af2175eef323247f", kill_on_drop: false }` [INFO] [stdout] 1c6bd8163c7be95fa3426a095ce7829c9edfb186b60f6eb1af2175eef323247f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/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" "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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d4c4f9541545bd909ebfe2c2e9390eb523ad2c66252de8c2008d76adad0c7d48 [INFO] running `Command { std: "docker" "start" "-a" "d4c4f9541545bd909ebfe2c2e9390eb523ad2c66252de8c2008d76adad0c7d48", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling conversus v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Button`, `Checkbox`, `Font`, `PaneGrid`, `Scrollable`, `container`, `pane_grid` [INFO] [stdout] --> src/main.rs:3:44 [INFO] [stdout] | [INFO] [stdout] 3 | button, scrollable, text_input, Align, Button, Checkbox, container, [INFO] [stdout] | ^^^^^^ ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] 4 | Column, Command, Container, Element, Font, HorizontalAlignment, VerticalAlignment, Length, [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | Row, Scrollable, Settings, Text, TextInput, Sandbox, Application, pane_grid, PaneGrid [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:119:49 [INFO] [stdout] | [INFO] [stdout] 119 | let json = serde_json::to_string_pretty((&self)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 119 - let json = serde_json::to_string_pretty((&self)) [INFO] [stdout] 119 + let json = serde_json::to_string_pretty(&self) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sandbox` [INFO] [stdout] --> src/main.rs:5:49 [INFO] [stdout] | [INFO] [stdout] 5 | Row, Scrollable, Settings, Text, TextInput, Sandbox, Application, pane_grid, PaneGrid [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> src/main.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 187 | fn new(flags: ()) -> (Conversus, Command) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/main.rs:215:31 [INFO] [stdout] | [INFO] [stdout] 215 | Conversus::Loaded(state) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `saved` [INFO] [stdout] --> src/main.rs:216:25 [INFO] [stdout] | [INFO] [stdout] 216 | let mut saved = false; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_saved` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `assembly` [INFO] [stdout] --> src/main.rs:219:68 [INFO] [stdout] | [INFO] [stdout] 219 | AgoraMessage::ConversationAdded(Conversation { assembly, presenter, comments, agora_id}) => { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `assembly: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `presenter` [INFO] [stdout] --> src/main.rs:219:78 [INFO] [stdout] | [INFO] [stdout] 219 | AgoraMessage::ConversationAdded(Conversation { assembly, presenter, comments, agora_id}) => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `presenter: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comments` [INFO] [stdout] --> src/main.rs:219:89 [INFO] [stdout] | [INFO] [stdout] 219 | AgoraMessage::ConversationAdded(Conversation { assembly, presenter, comments, agora_id}) => { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `comments: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `agora_id` [INFO] [stdout] --> src/main.rs:219:99 [INFO] [stdout] | [INFO] [stdout] 219 | AgoraMessage::ConversationAdded(Conversation { assembly, presenter, comments, agora_id}) => { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `agora_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `desc` [INFO] [stdout] --> src/main.rs:222:47 [INFO] [stdout] | [INFO] [stdout] 222 | AgoraMessage::DescChanged(desc, uuid) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_desc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uuid` [INFO] [stdout] --> src/main.rs:222:53 [INFO] [stdout] | [INFO] [stdout] 222 | AgoraMessage::DescChanged(desc, uuid) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_uuid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/main.rs:225:47 [INFO] [stdout] | [INFO] [stdout] 225 | AgoraMessage::NameChanged(name, uuid) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uuid` [INFO] [stdout] --> src/main.rs:225:53 [INFO] [stdout] | [INFO] [stdout] 225 | AgoraMessage::NameChanged(name, uuid) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_uuid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `email` [INFO] [stdout] --> src/main.rs:228:72 [INFO] [stdout] | [INFO] [stdout] 228 | AgoraMessage::UserMessage(UserMessage::EmailChange(email)) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_email` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kind` [INFO] [stdout] --> src/main.rs:231:71 [INFO] [stdout] | [INFO] [stdout] 231 | AgoraMessage::UserMessage(UserMessage::KindChange(kind)) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_kind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pw` [INFO] [stdout] --> src/main.rs:234:75 [INFO] [stdout] | [INFO] [stdout] 234 | AgoraMessage::UserMessage(UserMessage::PasswordChange(pw)) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `username` [INFO] [stdout] --> src/main.rs:237:75 [INFO] [stdout] | [INFO] [stdout] 237 | AgoraMessage::UserMessage(UserMessage::UserNameChange(username)) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_username` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comment` [INFO] [stdout] --> src/main.rs:240:89 [INFO] [stdout] | [INFO] [stdout] 240 | AgoraMessage::ConversationMessage(ConversationMessage::CommentAdded(comment)) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comment` [INFO] [stdout] --> src/main.rs:243:91 [INFO] [stdout] | [INFO] [stdout] 243 | AgoraMessage::ConversationMessage(ConversationMessage::CommentDeleted(comment)) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/main.rs:246:86 [INFO] [stdout] | [INFO] [stdout] 246 | AgoraMessage::ConversationMessage(ConversationMessage::UserAdded(user)) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uuid` [INFO] [stdout] --> src/main.rs:249:87 [INFO] [stdout] | [INFO] [stdout] 249 | AgoraMessage::ConversationMessage(ConversationMessage::UserExited(uuid)) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_uuid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scroll` [INFO] [stdout] --> src/main.rs:265:17 [INFO] [stdout] | [INFO] [stdout] 265 | scroll, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `scroll: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `title` [INFO] [stdout] --> src/main.rs:270:21 [INFO] [stdout] | [INFO] [stdout] 270 | let title = Text::new("Conversus") [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_title` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/main.rs:275:21 [INFO] [stdout] | [INFO] [stdout] 275 | let input = TextInput::new( [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `length` [INFO] [stdout] --> src/main.rs:477:21 [INFO] [stdout] | [INFO] [stdout] 477 | let length = self.comments.len(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:216:21 [INFO] [stdout] | [INFO] [stdout] 216 | let mut saved = false; [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 is never read: `agoras` [INFO] [stdout] --> src/main.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | pub agoras: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `State` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Debug, Default)] [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: `saving` [INFO] [stdout] --> src/main.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | saving: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `State` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Debug, Default)] [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: `users` [INFO] [stdout] --> src/main.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | pub users: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `State` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Debug, Default)] [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: `conversations` [INFO] [stdout] --> src/main.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | pub conversations: Vec, // Stateful [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `State` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Debug, Default)] [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: `comments` [INFO] [stdout] --> src/main.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | pub comments: Vec, // Stateful [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `State` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Debug, Default)] [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: `DirErr` [INFO] [stdout] --> src/main.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | DirErr, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SaveErr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:80:10 [INFO] [stdout] | [INFO] [stdout] 80 | #[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: `FileErr` [INFO] [stdout] --> src/main.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | FileErr, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SaveErr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:80:10 [INFO] [stdout] | [INFO] [stdout] 80 | #[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: `WriteErr` [INFO] [stdout] --> src/main.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | WriteErr, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SaveErr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:80:10 [INFO] [stdout] | [INFO] [stdout] 80 | #[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: `FormatErr` [INFO] [stdout] --> src/main.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | FormatErr, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SaveErr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:80:10 [INFO] [stdout] | [INFO] [stdout] 80 | #[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: `path` [INFO] [stdout] --> src/main.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | fn path() -> std::path::PathBuf { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `load` [INFO] [stdout] --> src/main.rs:101:14 [INFO] [stdout] | [INFO] [stdout] 101 | async fn load() -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `save` [INFO] [stdout] --> src/main.rs:116:14 [INFO] [stdout] | [INFO] [stdout] 116 | async fn save(self) -> Result<(), SaveErr> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/main.rs:355:8 [INFO] [stdout] | [INFO] [stdout] 355 | fn new(content: String, id: Uuid, convo_id: Uuid) -> Comment { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `make_comment` [INFO] [stdout] --> src/main.rs:362:8 [INFO] [stdout] | [INFO] [stdout] 362 | fn make_comment() -> Comment { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/main.rs:458:8 [INFO] [stdout] | [INFO] [stdout] 458 | fn new(assembly: Vec, presenter: User, comments: Vec, agora_id: Uuid) -> Conversation { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update` [INFO] [stdout] --> src/main.rs:467:8 [INFO] [stdout] | [INFO] [stdout] 467 | fn update(&mut self, message: ConversationMessage) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/main.rs:525:8 [INFO] [stdout] | [INFO] [stdout] 525 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update` [INFO] [stdout] --> src/main.rs:544:8 [INFO] [stdout] | [INFO] [stdout] 544 | fn update(&mut self, message: UserMessage) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `edit_button` [INFO] [stdout] --> src/main.rs:564:5 [INFO] [stdout] | [INFO] [stdout] 564 | edit_button: button::State, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `delete_button` [INFO] [stdout] --> src/main.rs:565:5 [INFO] [stdout] | [INFO] [stdout] 565 | delete_button: button::State, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `login` [INFO] [stdout] --> src/main.rs:566:5 [INFO] [stdout] | [INFO] [stdout] 566 | login: button::State, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `logout` [INFO] [stdout] --> src/main.rs:567:5 [INFO] [stdout] | [INFO] [stdout] 567 | logout: button::State, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `Beige` should have an upper case name [INFO] [stdout] --> src/main.rs:580:11 [INFO] [stdout] | [INFO] [stdout] 580 | const Beige: Color = Color::from_rgb( [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `BEIGE` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 50 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 6.20s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/conversus-e6bb9a04a562ded7) [INFO] running `Command { std: "docker" "inspect" "d4c4f9541545bd909ebfe2c2e9390eb523ad2c66252de8c2008d76adad0c7d48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4c4f9541545bd909ebfe2c2e9390eb523ad2c66252de8c2008d76adad0c7d48", kill_on_drop: false }` [INFO] [stdout] d4c4f9541545bd909ebfe2c2e9390eb523ad2c66252de8c2008d76adad0c7d48