[INFO] cloning repository https://github.com/iptq/gopher-browser [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/iptq/gopher-browser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiptq%2Fgopher-browser", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiptq%2Fgopher-browser'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7a400d3dfd0cf4d4b09ed4dfa7e4f6f84d719ba2 [INFO] testing iptq/gopher-browser against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiptq%2Fgopher-browser" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/iptq/gopher-browser on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/iptq/gopher-browser [INFO] finished tweaking git repo https://github.com/iptq/gopher-browser [INFO] tweaked toml for git repo https://github.com/iptq/gopher-browser written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/iptq/gopher-browser already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a197ea341896c7266c52287646fa4156114a6c7b8519c82e5eac2c0002e07192 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a197ea341896c7266c52287646fa4156114a6c7b8519c82e5eac2c0002e07192", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a197ea341896c7266c52287646fa4156114a6c7b8519c82e5eac2c0002e07192", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a197ea341896c7266c52287646fa4156114a6c7b8519c82e5eac2c0002e07192", kill_on_drop: false }` [INFO] [stdout] a197ea341896c7266c52287646fa4156114a6c7b8519c82e5eac2c0002e07192 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e3505a68dedac560227758910858dc73493cad6e4f2e1d87dc18bddfd38e15eb [INFO] running `Command { std: "docker" "start" "-a" "e3505a68dedac560227758910858dc73493cad6e4f2e1d87dc18bddfd38e15eb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.54 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling futures v0.1.26 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling gio v0.6.0 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling smallvec v0.6.9 [INFO] [stderr] Compiling fragile v0.3.0 [INFO] [stderr] Compiling gdk-pixbuf v0.6.0 [INFO] [stderr] Compiling pango v0.6.0 [INFO] [stderr] Compiling cairo-rs v0.6.0 [INFO] [stderr] Compiling gdk v0.10.0 [INFO] [stderr] Compiling syn v0.15.34 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling atk v0.6.0 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling gtk v0.6.0 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling regex v1.1.6 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling termcolor v1.0.4 [INFO] [stderr] Compiling glib-sys v0.8.0 [INFO] [stderr] Compiling gobject-sys v0.8.0 [INFO] [stderr] Compiling gio-sys v0.8.0 [INFO] [stderr] Compiling pango-sys v0.8.0 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.8.0 [INFO] [stderr] Compiling cairo-sys-rs v0.8.0 [INFO] [stderr] Compiling atk-sys v0.8.0 [INFO] [stderr] Compiling gdk-sys v0.8.0 [INFO] [stderr] Compiling gtk-sys v0.8.0 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling crossbeam-utils v0.6.5 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling tokio-trace-core v0.1.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling unicode-normalization v0.1.8 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling owning_ref v0.4.0 [INFO] [stderr] Compiling regex-syntax v0.6.6 [INFO] [stderr] Compiling humantime v1.2.0 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling tokio-executor v0.1.7 [INFO] [stderr] Compiling tokio-sync v0.1.5 [INFO] [stderr] Compiling aho-corasick v0.7.3 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling crossbeam-epoch v0.7.1 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling num_cpus v1.10.0 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling tokio-timer v0.2.10 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling glib v0.7.1 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling tokio-threadpool v0.1.14 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling tokio-reactor v0.1.9 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio v0.1.19 [INFO] [stderr] Compiling env_logger v0.6.1 [INFO] [stderr] Compiling relm-gen-widget v0.16.0 [INFO] [stderr] Compiling relm-derive-common v0.16.0 [INFO] [stderr] Compiling relm-derive v0.16.0 [INFO] [stderr] Compiling relm-attributes v0.16.0 [INFO] [stderr] Compiling relm-core v0.16.0 [INFO] [stderr] Compiling relm-state v0.16.0 [INFO] [stderr] Compiling relm v0.16.0 [INFO] [stderr] Compiling gopher-browser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `IsA`, `Widget` [INFO] [stdout] --> src/gopher_async/response.rs:4:37 [INFO] [stdout] | [INFO] [stdout] 4 | Box as GtkBox, IconSize, Image, IsA, LinkButton, Notebook, Orientation, PackType, TextView, [INFO] [stdout] | ^^^ [INFO] [stdout] 5 | Widget, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LinesCodec` [INFO] [stdout] --> src/gopher_async/response.rs:8:38 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio::codec::{Decoder, Encoder, LinesCodec}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::Async` [INFO] [stdout] --> src/window.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::Async; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ApplicationWindow`, `Application`, `Notebook`, `WindowPosition` [INFO] [stdout] --> src/window.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Application, ApplicationWindow, Box as GtkBox, Label, Notebook, Orientation, PackType, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] 8 | ScrolledWindow, SearchEntry, WindowPosition, WindowType, NONE_ADJUSTMENT, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Channel` [INFO] [stdout] --> src/main.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | use relm::{Channel, Widget}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tokio::io::AsyncRead::framed`: Use tokio_codec::Decoder::framed instead [INFO] [stdout] --> src/gopher_async/client.rs:48:41 [INFO] [stdout] | [INFO] [stdout] 48 | let framed = stream.framed(response_codec); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gopher_async/client.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | let mut stream = TcpStream::connect(&request.addr).map_err(Error::from); [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: use of deprecated associated function `futures::sync::mpsc::UnboundedSender::::send`: renamed to `unbounded_send` [INFO] [stdout] --> src/window.rs:74:53 [INFO] [stdout] | [INFO] [stdout] 74 | if let Err(err) = self.model.evl_tx.send(msg) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gio::prelude` [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use gio::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `ChannelRecv` is named the same as one of the variants of the type `errors::Error` [INFO] [stdout] --> src/errors.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | ChannelRecv => write!(f, "ChannelRecv"), [INFO] [stdout] | ^^^^^^^^^^^ help: to match on the variant, qualify the path: `errors::Error::ChannelRecv` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/errors.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 47 | ChannelRecv => write!(f, "ChannelRecv"), [INFO] [stdout] | ----------- matches any value [INFO] [stdout] 48 | Error::IO(err) => write!(f, "IO error: {}", err), [INFO] [stdout] | ^^^^^^^^^^^^^^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `File` is named the same as one of the variants of the type `ItemType` [INFO] [stdout] --> src/gopher_async/response.rs:74:25 [INFO] [stdout] | [INFO] [stdout] 74 | File => { [INFO] [stdout] | ^^^^ help: to match on the variant, qualify the path: `ItemType::File` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/gopher_async/response.rs:89:25 [INFO] [stdout] | [INFO] [stdout] 74 | File => { [INFO] [stdout] | ---- matches any value [INFO] [stdout] ... [INFO] [stdout] 89 | _ => unimplemented!("unimplemented type {:?}", line_ty), [INFO] [stdout] | ^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gui_tx` [INFO] [stdout] --> src/main.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | let gui_tx = gui_tx.clone(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_gui_tx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gui_rx` [INFO] [stdout] --> src/main.rs:37:18 [INFO] [stdout] | [INFO] [stdout] 37 | let (gui_tx, gui_rx) = mpsc::unbounded::(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_gui_rx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ChannelRecv` [INFO] [stdout] --> src/errors.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | ChannelRecv => write!(f, "ChannelRecv"), [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ChannelRecv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/gopher_async/request.rs:77:26 [INFO] [stdout] | [INFO] [stdout] 77 | fn decode(&mut self, bytes: &mut BytesMut) -> Result, Self::Error> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `File` [INFO] [stdout] --> src/gopher_async/response.rs:74:25 [INFO] [stdout] | [INFO] [stdout] 74 | File => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_File` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `notebook` [INFO] [stdout] --> src/gopher_async/response.rs:170:29 [INFO] [stdout] | [INFO] [stdout] 170 | let notebook = upgrade_weak!(notebook_weak, Inhibit(false)); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_notebook` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/gopher_async/response.rs:195:26 [INFO] [stdout] | [INFO] [stdout] 195 | fn encode(&mut self, item: Self::Item, bytes: &mut BytesMut) -> Result<(), Self::Error> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/gopher_async/response.rs:195:44 [INFO] [stdout] | [INFO] [stdout] 195 | fn encode(&mut self, item: Self::Item, bytes: &mut BytesMut) -> Result<(), Self::Error> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `channel` [INFO] [stdout] --> src/window.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | channel: Channel, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Fail` [INFO] [stdout] --> src/window.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | Fail(Error), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | runtime.block_on(stop_rx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ChannelRecv` should have a snake case name [INFO] [stdout] --> src/errors.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | ChannelRecv => write!(f, "ChannelRecv"), [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `channel_recv` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/gopher_async/client.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | request_codec.encode(request, &mut buf); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `File` should have a snake case name [INFO] [stdout] --> src/gopher_async/response.rs:74:25 [INFO] [stdout] | [INFO] [stdout] 74 | File => { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4m 16s [INFO] running `Command { std: "docker" "inspect" "e3505a68dedac560227758910858dc73493cad6e4f2e1d87dc18bddfd38e15eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3505a68dedac560227758910858dc73493cad6e4f2e1d87dc18bddfd38e15eb", kill_on_drop: false }` [INFO] [stdout] e3505a68dedac560227758910858dc73493cad6e4f2e1d87dc18bddfd38e15eb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ece8aa30816824f85b1abfc36a4b5014f11fb3eae0c68212f55c88188d50893e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ece8aa30816824f85b1abfc36a4b5014f11fb3eae0c68212f55c88188d50893e", kill_on_drop: false }` [INFO] [stderr] Compiling gopher-browser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `IsA`, `Widget` [INFO] [stdout] --> src/gopher_async/response.rs:4:37 [INFO] [stdout] | [INFO] [stdout] 4 | Box as GtkBox, IconSize, Image, IsA, LinkButton, Notebook, Orientation, PackType, TextView, [INFO] [stdout] | ^^^ [INFO] [stdout] 5 | Widget, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LinesCodec` [INFO] [stdout] --> src/gopher_async/response.rs:8:38 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio::codec::{Decoder, Encoder, LinesCodec}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::Async` [INFO] [stdout] --> src/window.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::Async; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ApplicationWindow`, `Application`, `Notebook`, `WindowPosition` [INFO] [stdout] --> src/window.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Application, ApplicationWindow, Box as GtkBox, Label, Notebook, Orientation, PackType, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] 8 | ScrolledWindow, SearchEntry, WindowPosition, WindowType, NONE_ADJUSTMENT, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Channel` [INFO] [stdout] --> src/main.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | use relm::{Channel, Widget}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tokio::io::AsyncRead::framed`: Use tokio_codec::Decoder::framed instead [INFO] [stdout] --> src/gopher_async/client.rs:48:41 [INFO] [stdout] | [INFO] [stdout] 48 | let framed = stream.framed(response_codec); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gopher_async/client.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | let mut stream = TcpStream::connect(&request.addr).map_err(Error::from); [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: use of deprecated associated function `futures::sync::mpsc::UnboundedSender::::send`: renamed to `unbounded_send` [INFO] [stdout] --> src/window.rs:74:53 [INFO] [stdout] | [INFO] [stdout] 74 | if let Err(err) = self.model.evl_tx.send(msg) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gio::prelude` [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use gio::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `ChannelRecv` is named the same as one of the variants of the type `errors::Error` [INFO] [stdout] --> src/errors.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | ChannelRecv => write!(f, "ChannelRecv"), [INFO] [stdout] | ^^^^^^^^^^^ help: to match on the variant, qualify the path: `errors::Error::ChannelRecv` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/errors.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 47 | ChannelRecv => write!(f, "ChannelRecv"), [INFO] [stdout] | ----------- matches any value [INFO] [stdout] 48 | Error::IO(err) => write!(f, "IO error: {}", err), [INFO] [stdout] | ^^^^^^^^^^^^^^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `File` is named the same as one of the variants of the type `ItemType` [INFO] [stdout] --> src/gopher_async/response.rs:74:25 [INFO] [stdout] | [INFO] [stdout] 74 | File => { [INFO] [stdout] | ^^^^ help: to match on the variant, qualify the path: `ItemType::File` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/gopher_async/response.rs:89:25 [INFO] [stdout] | [INFO] [stdout] 74 | File => { [INFO] [stdout] | ---- matches any value [INFO] [stdout] ... [INFO] [stdout] 89 | _ => unimplemented!("unimplemented type {:?}", line_ty), [INFO] [stdout] | ^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gui_tx` [INFO] [stdout] --> src/main.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | let gui_tx = gui_tx.clone(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_gui_tx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gui_rx` [INFO] [stdout] --> src/main.rs:37:18 [INFO] [stdout] | [INFO] [stdout] 37 | let (gui_tx, gui_rx) = mpsc::unbounded::(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_gui_rx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ChannelRecv` [INFO] [stdout] --> src/errors.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | ChannelRecv => write!(f, "ChannelRecv"), [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ChannelRecv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/gopher_async/request.rs:77:26 [INFO] [stdout] | [INFO] [stdout] 77 | fn decode(&mut self, bytes: &mut BytesMut) -> Result, Self::Error> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `File` [INFO] [stdout] --> src/gopher_async/response.rs:74:25 [INFO] [stdout] | [INFO] [stdout] 74 | File => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_File` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `notebook` [INFO] [stdout] --> src/gopher_async/response.rs:170:29 [INFO] [stdout] | [INFO] [stdout] 170 | let notebook = upgrade_weak!(notebook_weak, Inhibit(false)); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_notebook` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/gopher_async/response.rs:195:26 [INFO] [stdout] | [INFO] [stdout] 195 | fn encode(&mut self, item: Self::Item, bytes: &mut BytesMut) -> Result<(), Self::Error> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/gopher_async/response.rs:195:44 [INFO] [stdout] | [INFO] [stdout] 195 | fn encode(&mut self, item: Self::Item, bytes: &mut BytesMut) -> Result<(), Self::Error> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `channel` [INFO] [stdout] --> src/window.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | channel: Channel, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Fail` [INFO] [stdout] --> src/window.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | Fail(Error), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | runtime.block_on(stop_rx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ChannelRecv` should have a snake case name [INFO] [stdout] --> src/errors.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | ChannelRecv => write!(f, "ChannelRecv"), [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `channel_recv` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/gopher_async/client.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | request_codec.encode(request, &mut buf); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `File` should have a snake case name [INFO] [stdout] --> src/gopher_async/response.rs:74:25 [INFO] [stdout] | [INFO] [stdout] 74 | File => { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.76s [INFO] running `Command { std: "docker" "inspect" "ece8aa30816824f85b1abfc36a4b5014f11fb3eae0c68212f55c88188d50893e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ece8aa30816824f85b1abfc36a4b5014f11fb3eae0c68212f55c88188d50893e", kill_on_drop: false }` [INFO] [stdout] ece8aa30816824f85b1abfc36a4b5014f11fb3eae0c68212f55c88188d50893e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 67811ef2e8173dadc3c33b2d86a2dee38149e049ec4ef2f45299325e504c7f53 [INFO] running `Command { std: "docker" "start" "-a" "67811ef2e8173dadc3c33b2d86a2dee38149e049ec4ef2f45299325e504c7f53", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `IsA`, `Widget` [INFO] [stderr] --> src/gopher_async/response.rs:4:37 [INFO] [stderr] | [INFO] [stderr] 4 | Box as GtkBox, IconSize, Image, IsA, LinkButton, Notebook, Orientation, PackType, TextView, [INFO] [stderr] | ^^^ [INFO] [stderr] 5 | Widget, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `LinesCodec` [INFO] [stderr] --> src/gopher_async/response.rs:8:38 [INFO] [stderr] | [INFO] [stderr] 8 | use tokio::codec::{Decoder, Encoder, LinesCodec}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `futures::Async` [INFO] [stderr] --> src/window.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use futures::Async; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ApplicationWindow`, `Application`, `Notebook`, `WindowPosition` [INFO] [stderr] --> src/window.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | Application, ApplicationWindow, Box as GtkBox, Label, Notebook, Orientation, PackType, [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stderr] 8 | ScrolledWindow, SearchEntry, WindowPosition, WindowType, NONE_ADJUSTMENT, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::env` [INFO] [stderr] --> src/main.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | use std::env; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Channel` [INFO] [stderr] --> src/main.rs:23:12 [INFO] [stderr] | [INFO] [stderr] 23 | use relm::{Channel, Widget}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `tokio::io::AsyncRead::framed`: Use tokio_codec::Decoder::framed instead [INFO] [stderr] --> src/gopher_async/client.rs:48:41 [INFO] [stderr] | [INFO] [stderr] 48 | let framed = stream.framed(response_codec); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/gopher_async/client.rs:21:13 [INFO] [stderr] | [INFO] [stderr] 21 | let mut stream = TcpStream::connect(&request.addr).map_err(Error::from); [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: use of deprecated associated function `futures::sync::mpsc::UnboundedSender::::send`: renamed to `unbounded_send` [INFO] [stderr] --> src/window.rs:74:53 [INFO] [stderr] | [INFO] [stderr] 74 | if let Err(err) = self.model.evl_tx.send(msg) { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `gio::prelude` [INFO] [stderr] --> src/main.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | use gio::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning[E0170]: pattern binding `ChannelRecv` is named the same as one of the variants of the type `errors::Error` [INFO] [stderr] --> src/errors.rs:47:13 [INFO] [stderr] | [INFO] [stderr] 47 | ChannelRecv => write!(f, "ChannelRecv"), [INFO] [stderr] | ^^^^^^^^^^^ help: to match on the variant, qualify the path: `errors::Error::ChannelRecv` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bindings_with_variant_name)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/errors.rs:48:13 [INFO] [stderr] | [INFO] [stderr] 47 | ChannelRecv => write!(f, "ChannelRecv"), [INFO] [stderr] | ----------- matches any value [INFO] [stderr] 48 | Error::IO(err) => write!(f, "IO error: {}", err), [INFO] [stderr] | ^^^^^^^^^^^^^^ unreachable pattern [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning[E0170]: pattern binding `File` is named the same as one of the variants of the type `ItemType` [INFO] [stderr] --> src/gopher_async/response.rs:74:25 [INFO] [stderr] | [INFO] [stderr] 74 | File => { [INFO] [stderr] | ^^^^ help: to match on the variant, qualify the path: `ItemType::File` [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/gopher_async/response.rs:89:25 [INFO] [stderr] | [INFO] [stderr] 74 | File => { [INFO] [stderr] | ---- matches any value [INFO] [stderr] ... [INFO] [stderr] 89 | _ => unimplemented!("unimplemented type {:?}", line_ty), [INFO] [stderr] | ^ unreachable pattern [INFO] [stderr] [INFO] [stderr] warning: unused variable: `gui_tx` [INFO] [stderr] --> src/main.rs:46:21 [INFO] [stderr] | [INFO] [stderr] 46 | let gui_tx = gui_tx.clone(); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_gui_tx` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `gui_rx` [INFO] [stderr] --> src/main.rs:37:18 [INFO] [stderr] | [INFO] [stderr] 37 | let (gui_tx, gui_rx) = mpsc::unbounded::(); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_gui_rx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ChannelRecv` [INFO] [stderr] --> src/errors.rs:47:13 [INFO] [stderr] | [INFO] [stderr] 47 | ChannelRecv => write!(f, "ChannelRecv"), [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ChannelRecv` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `bytes` [INFO] [stderr] --> src/gopher_async/request.rs:77:26 [INFO] [stderr] | [INFO] [stderr] 77 | fn decode(&mut self, bytes: &mut BytesMut) -> Result, Self::Error> { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `File` [INFO] [stderr] --> src/gopher_async/response.rs:74:25 [INFO] [stderr] | [INFO] [stderr] 74 | File => { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_File` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `notebook` [INFO] [stderr] --> src/gopher_async/response.rs:170:29 [INFO] [stderr] | [INFO] [stderr] 170 | let notebook = upgrade_weak!(notebook_weak, Inhibit(false)); [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_notebook` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `item` [INFO] [stderr] --> src/gopher_async/response.rs:195:26 [INFO] [stderr] | [INFO] [stderr] 195 | fn encode(&mut self, item: Self::Item, bytes: &mut BytesMut) -> Result<(), Self::Error> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `bytes` [INFO] [stderr] --> src/gopher_async/response.rs:195:44 [INFO] [stderr] | [INFO] [stderr] 195 | fn encode(&mut self, item: Self::Item, bytes: &mut BytesMut) -> Result<(), Self::Error> { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stderr] [INFO] [stderr] warning: field is never read: `channel` [INFO] [stderr] --> src/window.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | channel: Channel, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Fail` [INFO] [stderr] --> src/window.rs:35:5 [INFO] [stderr] | [INFO] [stderr] 35 | Fail(Error), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:65:5 [INFO] [stderr] | [INFO] [stderr] 65 | runtime.block_on(stop_rx); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: variable `ChannelRecv` should have a snake case name [INFO] [stderr] --> src/errors.rs:47:13 [INFO] [stderr] | [INFO] [stderr] 47 | ChannelRecv => write!(f, "ChannelRecv"), [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to snake case: `channel_recv` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/gopher_async/client.rs:27:13 [INFO] [stderr] | [INFO] [stderr] 27 | request_codec.encode(request, &mut buf); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: variable `File` should have a snake case name [INFO] [stderr] --> src/gopher_async/response.rs:74:25 [INFO] [stderr] | [INFO] [stderr] 74 | File => { [INFO] [stderr] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `file` [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0170`. [INFO] [stderr] warning: `gopher-browser` (bin "gopher-browser" test) generated 28 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/gopher_browser-59c0e5e5b2e74c75) [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" "67811ef2e8173dadc3c33b2d86a2dee38149e049ec4ef2f45299325e504c7f53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67811ef2e8173dadc3c33b2d86a2dee38149e049ec4ef2f45299325e504c7f53", kill_on_drop: false }` [INFO] [stdout] 67811ef2e8173dadc3c33b2d86a2dee38149e049ec4ef2f45299325e504c7f53