[INFO] cloning repository https://github.com/dangerousplay/file-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dangerousplay/file-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdangerousplay%2Ffile-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdangerousplay%2Ffile-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 64924a419c4c3d57ba65d62dde1efb3b38bff7ce [INFO] testing dangerousplay/file-server against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdangerousplay%2Ffile-server" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/dangerousplay/file-server [INFO] finished tweaking git repo https://github.com/dangerousplay/file-server [INFO] tweaked toml for git repo https://github.com/dangerousplay/file-server written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dangerousplay/file-server on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/dangerousplay/file-server already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cursive-async-view v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b000a3e2685355e088b297e57d6762db74ca80572175fb9589fe511e07332489 [INFO] running `Command { std: "docker" "start" "-a" "b000a3e2685355e088b297e57d6762db74ca80572175fb9589fe511e07332489", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b000a3e2685355e088b297e57d6762db74ca80572175fb9589fe511e07332489", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b000a3e2685355e088b297e57d6762db74ca80572175fb9589fe511e07332489", kill_on_drop: false }` [INFO] [stdout] b000a3e2685355e088b297e57d6762db74ca80572175fb9589fe511e07332489 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 790fb77bdbb6a3751c925c9b93aaeaaaf11155801488e5413edc2bac7e9d5e11 [INFO] running `Command { std: "docker" "start" "-a" "790fb77bdbb6a3751c925c9b93aaeaaaf11155801488e5413edc2bac7e9d5e11", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling cc v1.0.70 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling futures-sink v0.3.17 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling instant v0.1.10 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling slab v0.4.4 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling futures-io v0.3.17 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling backtrace v0.3.61 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling ahash v0.6.3 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling tokio v1.11.0 [INFO] [stderr] Compiling gimli v0.25.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling num-complex v0.3.1 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling object v0.26.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling array-macro v1.0.5 [INFO] [stderr] Compiling owning_ref v0.4.1 [INFO] [stderr] Compiling num v0.3.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling ncurses v5.101.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling signal-hook v0.3.10 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling addr2line v0.16.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling xi-unicode v0.3.0 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling crossbeam v0.8.1 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling textwrap v0.14.2 [INFO] [stderr] Compiling term_size v0.3.2 [INFO] [stderr] Compiling interpolation v0.2.0 [INFO] [stderr] Compiling send_wrapper v0.5.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling os_str_bytes v3.1.0 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling enum-map-derive v0.4.6 [INFO] [stderr] Compiling snafu-derive v0.6.10 [INFO] [stderr] Compiling enum-map v0.6.4 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling wasmer_enumset_derive v0.5.0 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.4 [INFO] [stderr] Compiling wasmer_enumset v1.0.1 [INFO] [stderr] Compiling cursive_core v0.2.2 [INFO] [stderr] Compiling snafu v0.6.10 [INFO] [stderr] Compiling clap v3.0.0-beta.4 [INFO] [stderr] Compiling cursive-async-view v0.5.0 [INFO] [stderr] Compiling cursive v0.16.3 [INFO] [stderr] Compiling futures-executor v0.3.17 [INFO] [stderr] Compiling futures v0.3.17 [INFO] [stderr] Compiling tokio-util v0.6.8 [INFO] [stderr] Compiling core v0.1.0 (/opt/rustwide/workdir/core) [INFO] [stdout] warning: unused imports: `OptionExt` and `ResultExt` [INFO] [stdout] --> core/src/protocol/parser.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | use snafu::{Backtrace, ResultExt, Snafu, OptionExt}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Bytes` [INFO] [stdout] --> core/src/protocol/protocol.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use bytes::{BytesMut, Bytes}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Backtrace`, `OptionExt`, and `ResultExt` [INFO] [stdout] --> core/src/protocol/protocol.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use snafu::{Backtrace, ResultExt, Snafu, OptionExt}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling client v0.1.0 (/opt/rustwide/workdir/client) [INFO] [stderr] Compiling server v0.1.0 (/opt/rustwide/workdir/server) [INFO] [stdout] warning: unused import: `ListView` [INFO] [stdout] --> client/src/main.rs:1:40 [INFO] [stdout] | [INFO] [stdout] 1 | use cursive::views::{Dialog, TextView, ListView, SelectView, TextArea}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ReadHalf` and `WriteHalf` [INFO] [stdout] --> client/src/main.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::net::tcp::{WriteHalf, ReadHalf, OwnedReadHalf, OwnedWriteHalf}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> client/src/main.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | use std::sync::{Mutex, Arc}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> client/src/main.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | / cb.send(Box::new(move |v| [INFO] [stdout] 76 | | v.add_layer( [INFO] [stdout] 77 | | Dialog::around(TextArea::new().content(content)) [INFO] [stdout] 78 | | .title(f.clone()) [INFO] [stdout] ... | [INFO] [stdout] 83 | | )); [INFO] [stdout] | |__________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 75 | let _ = cb.send(Box::new(move |v| [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 19s [INFO] running `Command { std: "docker" "inspect" "790fb77bdbb6a3751c925c9b93aaeaaaf11155801488e5413edc2bac7e9d5e11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "790fb77bdbb6a3751c925c9b93aaeaaaf11155801488e5413edc2bac7e9d5e11", kill_on_drop: false }` [INFO] [stdout] 790fb77bdbb6a3751c925c9b93aaeaaaf11155801488e5413edc2bac7e9d5e11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2824760ce83a6b65e1f2185d768148377b087dcb220ed8b20c75287cdd468e4b [INFO] running `Command { std: "docker" "start" "-a" "2824760ce83a6b65e1f2185d768148377b087dcb220ed8b20c75287cdd468e4b", kill_on_drop: false }` [INFO] [stdout] warning: unused imports: `OptionExt` and `ResultExt` [INFO] [stdout] --> core/src/protocol/parser.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | use snafu::{Backtrace, ResultExt, Snafu, OptionExt}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Bytes` [INFO] [stdout] --> core/src/protocol/protocol.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use bytes::{BytesMut, Bytes}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Backtrace`, `OptionExt`, and `ResultExt` [INFO] [stdout] --> core/src/protocol/protocol.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use snafu::{Backtrace, ResultExt, Snafu, OptionExt}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling core v0.1.0 (/opt/rustwide/workdir/core) [INFO] [stderr] Compiling client v0.1.0 (/opt/rustwide/workdir/client) [INFO] [stderr] Compiling server v0.1.0 (/opt/rustwide/workdir/server) [INFO] [stdout] warning: unused imports: `OptionExt` and `ResultExt` [INFO] [stdout] --> core/src/protocol/parser.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | use snafu::{Backtrace, ResultExt, Snafu, OptionExt}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parse_response` [INFO] [stdout] --> core/src/protocol/parser.rs:172:35 [INFO] [stdout] | [INFO] [stdout] 172 | use crate::protocol::parser::{parse_response, escape_string, interpret_escaped_string}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Bytes` [INFO] [stdout] --> core/src/protocol/protocol.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use bytes::{BytesMut, Bytes}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Backtrace`, `OptionExt`, and `ResultExt` [INFO] [stdout] --> core/src/protocol/protocol.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use snafu::{Backtrace, ResultExt, Snafu, OptionExt}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ListView` [INFO] [stdout] --> client/src/main.rs:1:40 [INFO] [stdout] | [INFO] [stdout] 1 | use cursive::views::{Dialog, TextView, ListView, SelectView, TextArea}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ReadHalf` and `WriteHalf` [INFO] [stdout] --> client/src/main.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::net::tcp::{WriteHalf, ReadHalf, OwnedReadHalf, OwnedWriteHalf}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> client/src/main.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | use std::sync::{Mutex, Arc}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> core/src/protocol/parser.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 182 | let a = 123; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> client/src/main.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | / cb.send(Box::new(move |v| [INFO] [stdout] 76 | | v.add_layer( [INFO] [stdout] 77 | | Dialog::around(TextArea::new().content(content)) [INFO] [stdout] 78 | | .title(f.clone()) [INFO] [stdout] ... | [INFO] [stdout] 83 | | )); [INFO] [stdout] | |__________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 75 | let _ = cb.send(Box::new(move |v| [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.49s [INFO] running `Command { std: "docker" "inspect" "2824760ce83a6b65e1f2185d768148377b087dcb220ed8b20c75287cdd468e4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2824760ce83a6b65e1f2185d768148377b087dcb220ed8b20c75287cdd468e4b", kill_on_drop: false }` [INFO] [stdout] 2824760ce83a6b65e1f2185d768148377b087dcb220ed8b20c75287cdd468e4b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] aac253645962dc56b51df2e41669b98b633c95bcd5dde37c2b50baf197ccea52 [INFO] running `Command { std: "docker" "start" "-a" "aac253645962dc56b51df2e41669b98b633c95bcd5dde37c2b50baf197ccea52", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `OptionExt` and `ResultExt` [INFO] [stderr] --> core/src/protocol/parser.rs:4:24 [INFO] [stderr] | [INFO] [stderr] 4 | use snafu::{Backtrace, ResultExt, Snafu, OptionExt}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Bytes` [INFO] [stderr] --> core/src/protocol/protocol.rs:3:23 [INFO] [stderr] | [INFO] [stderr] 3 | use bytes::{BytesMut, Bytes}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Backtrace`, `OptionExt`, and `ResultExt` [INFO] [stderr] --> core/src/protocol/protocol.rs:4:13 [INFO] [stderr] | [INFO] [stderr] 4 | use snafu::{Backtrace, ResultExt, Snafu, OptionExt}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `core` (lib) generated 3 warnings (run `cargo fix --lib -p core` to apply 3 suggestions) [INFO] [stderr] warning: unused import: `parse_response` [INFO] [stderr] --> core/src/protocol/parser.rs:172:35 [INFO] [stderr] | [INFO] [stderr] 172 | use crate::protocol::parser::{parse_response, escape_string, interpret_escaped_string}; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `a` [INFO] [stderr] --> core/src/protocol/parser.rs:182:13 [INFO] [stderr] | [INFO] [stderr] 182 | let a = 123; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `core` (lib test) generated 5 warnings (3 duplicates) (run `cargo fix --lib -p core --tests` to apply 1 suggestion) [INFO] [stderr] warning: unused import: `ListView` [INFO] [stderr] --> client/src/main.rs:1:40 [INFO] [stderr] | [INFO] [stderr] 1 | use cursive::views::{Dialog, TextView, ListView, SelectView, TextArea}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ReadHalf` and `WriteHalf` [INFO] [stderr] --> client/src/main.rs:7:23 [INFO] [stderr] | [INFO] [stderr] 7 | use tokio::net::tcp::{WriteHalf, ReadHalf, OwnedReadHalf, OwnedWriteHalf}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Mutex` [INFO] [stderr] --> client/src/main.rs:11:17 [INFO] [stderr] | [INFO] [stderr] 11 | use std::sync::{Mutex, Arc}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> client/src/main.rs:75:17 [INFO] [stderr] | [INFO] [stderr] 75 | / cb.send(Box::new(move |v| [INFO] [stderr] 76 | | v.add_layer( [INFO] [stderr] 77 | | Dialog::around(TextArea::new().content(content)) [INFO] [stderr] 78 | | .title(f.clone()) [INFO] [stderr] ... | [INFO] [stderr] 83 | | )); [INFO] [stderr] | |__________________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 75 | let _ = cb.send(Box::new(move |v| [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `client` (bin "client" test) generated 4 warnings (run `cargo fix --bin "client" --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/client-7f9ef8e146504fe3) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/core-45a00d519e9c25c9) [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test protocol::parser::tests::test_escape ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/server-18b8171338ed2056) [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] [stderr] Doc-tests core [INFO] [stderr] error[E0433]: failed to resolve: could not find `convert` in `core` [INFO] [stderr] --> core/src/protocol/parser.rs:12:17 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(Debug, Snafu)] [INFO] [stderr] | ^^^^^ could not find `convert` in `core` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the derive macro `Snafu` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: consider importing this module [INFO] [stderr] | [INFO] [stderr] 1 + use std::convert; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `result` in `core` [INFO] [stderr] --> core/src/protocol/parser.rs:12:17 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(Debug, Snafu)] [INFO] [stderr] | ^^^^^ could not find `result` in `core` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the derive macro `Snafu` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: consider importing this module [INFO] [stderr] | [INFO] [stderr] 1 + use std::result; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `fmt` in `core` [INFO] [stderr] --> core/src/protocol/parser.rs:12:17 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(Debug, Snafu)] [INFO] [stderr] | ^^^^^ could not find `fmt` in `core` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the derive macro `Snafu` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: consider importing this module [INFO] [stderr] | [INFO] [stderr] 1 + use std::fmt; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `option` in `core` [INFO] [stderr] --> core/src/protocol/parser.rs:12:17 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(Debug, Snafu)] [INFO] [stderr] | ^^^^^ could not find `option` in `core` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the derive macro `Snafu` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: consider importing this module [INFO] [stderr] | [INFO] [stderr] 1 + use std::option; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `result` in `core` [INFO] [stderr] --> core/src/protocol/parser.rs:98:17 [INFO] [stderr] | [INFO] [stderr] 98 | #[derive(Debug, Snafu)] [INFO] [stderr] | ^^^^^ could not find `result` in `core` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the derive macro `Snafu` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: consider importing this module [INFO] [stderr] | [INFO] [stderr] 1 + use std::result; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `convert` in `core` [INFO] [stderr] --> core/src/protocol/parser.rs:98:17 [INFO] [stderr] | [INFO] [stderr] 98 | #[derive(Debug, Snafu)] [INFO] [stderr] | ^^^^^ could not find `convert` in `core` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the derive macro `Snafu` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: consider importing this module [INFO] [stderr] | [INFO] [stderr] 1 + use std::convert; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `fmt` in `core` [INFO] [stderr] --> core/src/protocol/parser.rs:98:17 [INFO] [stderr] | [INFO] [stderr] 98 | #[derive(Debug, Snafu)] [INFO] [stderr] | ^^^^^ could not find `fmt` in `core` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the derive macro `Snafu` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: consider importing this module [INFO] [stderr] | [INFO] [stderr] 1 + use std::fmt; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `option` in `core` [INFO] [stderr] --> core/src/protocol/parser.rs:98:17 [INFO] [stderr] | [INFO] [stderr] 98 | #[derive(Debug, Snafu)] [INFO] [stderr] | ^^^^^ could not find `option` in `core` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the derive macro `Snafu` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: consider importing this module [INFO] [stderr] | [INFO] [stderr] 1 + use std::option; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `convert` in `core` [INFO] [stderr] --> core/src/protocol/protocol.rs:10:17 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Debug, Snafu)] [INFO] [stderr] | ^^^^^ could not find `convert` in `core` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the derive macro `Snafu` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: consider importing this module [INFO] [stderr] | [INFO] [stderr] 1 + use std::convert; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `fmt` in `core` [INFO] [stderr] --> core/src/protocol/protocol.rs:10:17 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Debug, Snafu)] [INFO] [stderr] | ^^^^^ could not find `fmt` in `core` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the derive macro `Snafu` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: consider importing this module [INFO] [stderr] | [INFO] [stderr] 1 + use std::fmt; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `option` in `core` [INFO] [stderr] --> core/src/protocol/protocol.rs:10:17 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Debug, Snafu)] [INFO] [stderr] | ^^^^^ could not find `option` in `core` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the derive macro `Snafu` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: consider importing this module [INFO] [stderr] | [INFO] [stderr] 1 + use std::option; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: aborting due to 11 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0433`. [INFO] [stderr] error: doctest failed, to rerun pass `-p core --doc` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/bin/rustdoc --edition=2018 --crate-type lib --color auto --crate-name core --test core/src/lib.rs --test-run-directory /opt/rustwide/workdir/core -L dependency=/opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps -L native=/usr/lib/x86_64-linux-gnu --extern bytes=/opt/rustwide/target/debug/deps/libbytes-8210432e63828fd8.rlib --extern core=/opt/rustwide/target/debug/deps/libcore-ed1353586da36c4c.rlib --extern log=/opt/rustwide/target/debug/deps/liblog-a23af042a32b6f7e.rlib --extern pest=/opt/rustwide/target/debug/deps/libpest-a0db8bb73f1096ce.rlib --extern pest_derive=/opt/rustwide/target/debug/deps/libpest_derive-fce34e2636211778.so --extern snafu=/opt/rustwide/target/debug/deps/libsnafu-5aea1ca73dd9ec4d.rlib --extern tokio_util=/opt/rustwide/target/debug/deps/libtokio_util-5865fb0871d82117.rlib -C embed-bitcode=no --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' --cap-lints=forbid --error-format human` (exit status: 1) [INFO] [stderr] note: test exited abnormally; to see the full output pass --nocapture to the harness. [INFO] running `Command { std: "docker" "inspect" "aac253645962dc56b51df2e41669b98b633c95bcd5dde37c2b50baf197ccea52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aac253645962dc56b51df2e41669b98b633c95bcd5dde37c2b50baf197ccea52", kill_on_drop: false }` [INFO] [stdout] aac253645962dc56b51df2e41669b98b633c95bcd5dde37c2b50baf197ccea52