[INFO] cloning repository https://github.com/emarcotte/fwatch [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/emarcotte/fwatch" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femarcotte%2Ffwatch", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femarcotte%2Ffwatch'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a090fb4ae8d1c62f804564101e116b46b446ec10 [INFO] checking emarcotte/fwatch against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femarcotte%2Ffwatch" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/emarcotte/fwatch on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/emarcotte/fwatch [INFO] finished tweaking git repo https://github.com/emarcotte/fwatch [INFO] tweaked toml for git repo https://github.com/emarcotte/fwatch written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/emarcotte/fwatch 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded walkdir v2.2.8 [INFO] [stderr] Downloaded os_pipe v0.8.1 [INFO] [stderr] Downloaded shared_child v0.3.3 [INFO] [stderr] Downloaded bstr v0.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 45ef1e83ff5df856808419b863473dc6c59e50c7e0a80398799d013750380270 [INFO] running `Command { std: "docker" "start" "-a" "45ef1e83ff5df856808419b863473dc6c59e50c7e0a80398799d013750380270", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "45ef1e83ff5df856808419b863473dc6c59e50c7e0a80398799d013750380270", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45ef1e83ff5df856808419b863473dc6c59e50c7e0a80398799d013750380270", kill_on_drop: false }` [INFO] [stdout] 45ef1e83ff5df856808419b863473dc6c59e50c7e0a80398799d013750380270 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1fe1336af0424c7c9c4cc7cf5e548639cab4d545fe25f8737dab556dd9892183 [INFO] running `Command { std: "docker" "start" "-a" "1fe1336af0424c7c9c4cc7cf5e548639cab4d545fe25f8737dab556dd9892183", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.58 [INFO] [stderr] Checking spin v0.5.0 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Compiling autocfg v0.1.4 [INFO] [stderr] Checking rand_core v0.4.0 [INFO] [stderr] Checking futures v0.1.28 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking smallvec v0.6.10 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Checking ucd-util v0.1.3 [INFO] [stderr] Checking owning_ref v0.4.0 [INFO] [stderr] Checking crossbeam-utils v0.6.5 [INFO] [stderr] Compiling regex v1.1.7 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Compiling winapi v0.3.7 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Compiling semver v0.9.0 [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] Checking regex-syntax v0.6.7 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Checking utf8-ranges v1.0.3 [INFO] [stderr] Compiling nix v0.13.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling rand_chacha v0.2.0 [INFO] [stderr] Checking ppv-lite86 v0.2.5 [INFO] [stderr] Checking same-file v1.0.4 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Checking aho-corasick v0.7.3 [INFO] [stderr] Checking bstr v0.2.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking num_cpus v1.10.1 [INFO] [stderr] Checking getrandom v0.1.6 [INFO] [stderr] Checking crossbeam-epoch v0.7.1 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking inotify-sys v0.1.3 [INFO] [stderr] Checking walkdir v2.2.8 [INFO] [stderr] Checking c2-chacha v0.2.2 [INFO] [stderr] Checking crossbeam-channel v0.3.8 [INFO] [stderr] Checking mio v0.6.19 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking rand_core v0.5.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking crossbeam-deque v0.7.1 [INFO] [stderr] Checking shared_child v0.3.3 [INFO] [stderr] Checking remove_dir_all v0.5.2 [INFO] [stderr] Checking termion v1.5.3 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking rand v0.7.0 [INFO] [stderr] Checking tokio-executor v0.1.8 [INFO] [stderr] Checking tokio-io v0.1.12 [INFO] [stderr] Checking tokio-sync v0.1.6 [INFO] [stderr] Checking tokio-current-thread v0.1.6 [INFO] [stderr] Checking tokio-timer v0.2.11 [INFO] [stderr] Checking tokio-threadpool v0.1.15 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking tokio-codec v0.1.1 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Checking tokio-reactor v0.1.9 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking tokio-fs v0.1.6 [INFO] [stderr] Checking tokio-udp v0.1.3 [INFO] [stderr] Checking tokio-tcp v0.1.3 [INFO] [stderr] Checking tokio-uds v0.2.5 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking inotify v0.7.0 [INFO] [stderr] Checking globset v0.4.4 [INFO] [stderr] Checking os_pipe v0.8.1 [INFO] [stderr] Checking ignore v0.4.7 [INFO] [stderr] Checking fwatch v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/pl.rs:42:29 [INFO] [stdout] | [INFO] [stdout] 42 | fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 | fn main() -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Stream` is imported redundantly [INFO] [stdout] --> src/fwatch.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::prelude::*; [INFO] [stdout] | ------------------- the item `Stream` is already imported here [INFO] [stdout] 5 | use futures::stream::Stream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/pl.rs:42:29 [INFO] [stdout] | [INFO] [stdout] 42 | fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 | fn main() -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Stream` is imported redundantly [INFO] [stdout] --> src/fwatch.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::prelude::*; [INFO] [stdout] | ------------------- the item `Stream` is already imported here [INFO] [stdout] 5 | use futures::stream::Stream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:14:29 [INFO] [stdout] | [INFO] [stdout] 14 | fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | fn main() -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fwatch.rs:61:80 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn use_pager(&mut self, should_page: bool) -> Result<&mut Runtime, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 61 | pub fn use_pager(&mut self, should_page: bool) -> Result<&mut Runtime, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:14:29 [INFO] [stdout] | [INFO] [stdout] 14 | fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | fn main() -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fwatch.rs:138:44 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn run(mut self) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 138 | pub fn run(mut self) -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fwatch.rs:61:80 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn use_pager(&mut self, should_page: bool) -> Result<&mut Runtime, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 61 | pub fn use_pager(&mut self, should_page: bool) -> Result<&mut Runtime, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fwatch.rs:138:44 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn run(mut self) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 138 | pub fn run(mut self) -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fwatch.rs:235:48 [INFO] [stdout] | [INFO] [stdout] 235 | pub fn watch_directories(&mut self, path: &AsRef) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 235 | pub fn watch_directories(&mut self, path: &dyn AsRef) -> Result<(), String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fwatch.rs:274:38 [INFO] [stdout] | [INFO] [stdout] 274 | fn get_command(&mut self, next: &AsRef, output: Option) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 274 | fn get_command(&mut self, next: &dyn AsRef, output: Option) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fwatch.rs:290:32 [INFO] [stdout] | [INFO] [stdout] 290 | fn start(&mut self, next: &AsRef, output: Option) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 290 | fn start(&mut self, next: &dyn AsRef, output: Option) -> Result, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fwatch.rs:235:48 [INFO] [stdout] | [INFO] [stdout] 235 | pub fn watch_directories(&mut self, path: &AsRef) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 235 | pub fn watch_directories(&mut self, path: &dyn AsRef) -> Result<(), String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fwatch.rs:274:38 [INFO] [stdout] | [INFO] [stdout] 274 | fn get_command(&mut self, next: &AsRef, output: Option) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 274 | fn get_command(&mut self, next: &dyn AsRef, output: Option) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fwatch.rs:290:32 [INFO] [stdout] | [INFO] [stdout] 290 | fn start(&mut self, next: &AsRef, output: Option) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 290 | fn start(&mut self, next: &dyn AsRef, output: Option) -> Result, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pager2.rs:30:40 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new() -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new() -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fwatch.rs:323:45 [INFO] [stdout] | [INFO] [stdout] 323 | fn command_spawning() -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 323 | fn command_spawning() -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fwatch.rs:335:46 [INFO] [stdout] | [INFO] [stdout] 335 | fn watch_directories() -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 335 | fn watch_directories() -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pager2.rs:30:40 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new() -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new() -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/fwatch.rs:19:36 [INFO] [stdout] | [INFO] [stdout] 19 | use std::io::{ BufRead, BufReader, Read }; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pager_event` [INFO] [stdout] --> src/fwatch.rs:166:36 [INFO] [stdout] | [INFO] [stdout] 166 | Ok(Either::B(((pager_event, _pager_stream), _))) => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pager_event` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/fwatch.rs:19:36 [INFO] [stdout] | [INFO] [stdout] 19 | use std::io::{ BufRead, BufReader, Read }; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pager_event` [INFO] [stdout] --> src/fwatch.rs:166:36 [INFO] [stdout] | [INFO] [stdout] 166 | Ok(Either::B(((pager_event, _pager_stream), _))) => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pager_event` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `thread_pool` is never read [INFO] [stdout] --> src/fwatch.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Runtime { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 37 | thread_pool: ThreadPool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pager` is never constructed [INFO] [stdout] --> src/pager.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Pager { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `start`, and `stop` are never used [INFO] [stdout] --> src/pager.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Pager { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 11 | pub fn new() -> Pager { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn start(&mut self) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn stop(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `SearchPrompt` and `CommandPrompt` are never constructed [INFO] [stdout] --> src/pager2.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | enum InputState { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 9 | SearchPrompt(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 10 | CommandPrompt(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | runtime.use_pager(matches.is_present("pager")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 87 | let _ = runtime.use_pager(matches.is_present("pager")); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `thread_pool` is never read [INFO] [stdout] --> src/fwatch.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Runtime { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 37 | thread_pool: ThreadPool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pager` is never constructed [INFO] [stdout] --> src/pager.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Pager { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `start`, and `stop` are never used [INFO] [stdout] --> src/pager.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Pager { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 11 | pub fn new() -> Pager { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn start(&mut self) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn stop(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `SearchPrompt` and `CommandPrompt` are never constructed [INFO] [stdout] --> src/pager2.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | enum InputState { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 9 | SearchPrompt(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 10 | CommandPrompt(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | runtime.use_pager(matches.is_present("pager")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 87 | let _ = runtime.use_pager(matches.is_present("pager")); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.87s [INFO] running `Command { std: "docker" "inspect" "1fe1336af0424c7c9c4cc7cf5e548639cab4d545fe25f8737dab556dd9892183", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fe1336af0424c7c9c4cc7cf5e548639cab4d545fe25f8737dab556dd9892183", kill_on_drop: false }` [INFO] [stdout] 1fe1336af0424c7c9c4cc7cf5e548639cab4d545fe25f8737dab556dd9892183 [INFO] checking emarcotte/fwatch against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femarcotte%2Ffwatch" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/emarcotte/fwatch on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/emarcotte/fwatch [INFO] finished tweaking git repo https://github.com/emarcotte/fwatch [INFO] tweaked toml for git repo https://github.com/emarcotte/fwatch written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/emarcotte/fwatch 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c4a5b64e41fb999254748819648abc2e50802aabdef71ead296bec4ae53237ab [INFO] running `Command { std: "docker" "start" "-a" "c4a5b64e41fb999254748819648abc2e50802aabdef71ead296bec4ae53237ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c4a5b64e41fb999254748819648abc2e50802aabdef71ead296bec4ae53237ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4a5b64e41fb999254748819648abc2e50802aabdef71ead296bec4ae53237ab", kill_on_drop: false }` [INFO] [stdout] c4a5b64e41fb999254748819648abc2e50802aabdef71ead296bec4ae53237ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 28107828ee5fec77d8070577dc5f4cc2301e4541546ef5a8decd3e27e0fa9cb2 [INFO] running `Command { std: "docker" "start" "-a" "28107828ee5fec77d8070577dc5f4cc2301e4541546ef5a8decd3e27e0fa9cb2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.58 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Checking spin v0.5.0 [INFO] [stderr] Compiling autocfg v0.1.4 [INFO] [stderr] Checking rand_core v0.4.0 [INFO] [stderr] Checking futures v0.1.28 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking smallvec v0.6.10 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Checking owning_ref v0.4.0 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Compiling regex v1.1.7 [INFO] [stderr] Checking ucd-util v0.1.3 [INFO] [stderr] Compiling nix v0.13.1 [INFO] [stderr] Checking crossbeam-utils v0.6.5 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Checking regex-syntax v0.6.7 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Compiling winapi v0.3.7 [INFO] [stderr] Checking utf8-ranges v1.0.3 [INFO] [stderr] Checking ppv-lite86 v0.2.5 [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 rustc_version v0.2.3 [INFO] [stderr] Compiling rand_chacha v0.2.0 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking same-file v1.0.4 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking crossbeam-channel v0.3.8 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking walkdir v2.2.8 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking remove_dir_all v0.5.2 [INFO] [stderr] Checking crossbeam-epoch v0.7.1 [INFO] [stderr] Checking aho-corasick v0.7.3 [INFO] [stderr] Checking bstr v0.2.1 [INFO] [stderr] Checking c2-chacha v0.2.2 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking num_cpus v1.10.1 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking getrandom v0.1.6 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking inotify-sys v0.1.3 [INFO] [stderr] Checking shared_child v0.3.3 [INFO] [stderr] Checking crossbeam-deque v0.7.1 [INFO] [stderr] Checking termion v1.5.3 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking rand_core v0.5.0 [INFO] [stderr] Checking tokio-executor v0.1.8 [INFO] [stderr] Checking tokio-sync v0.1.6 [INFO] [stderr] Checking mio v0.6.19 [INFO] [stderr] Checking tokio-current-thread v0.1.6 [INFO] [stderr] Checking tokio-timer v0.2.11 [INFO] [stderr] Checking rand v0.7.0 [INFO] [stderr] Checking tokio-io v0.1.12 [INFO] [stderr] Checking tokio-codec v0.1.1 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking tokio-threadpool v0.1.15 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Checking tokio-reactor v0.1.9 [INFO] [stderr] Checking tokio-fs v0.1.6 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking tokio-uds v0.2.5 [INFO] [stderr] Checking tokio-udp v0.1.3 [INFO] [stderr] Checking tokio-tcp v0.1.3 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking globset v0.4.4 [INFO] [stderr] Checking inotify v0.7.0 [INFO] [stderr] Checking ignore v0.4.7 [INFO] [stderr] Checking os_pipe v0.8.1 [INFO] [stderr] Checking fwatch v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/pl.rs:42:29 [INFO] [stdout] | [INFO] [stdout] 42 | fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 | fn main() -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/pl.rs:42:29 [INFO] [stdout] | [INFO] [stdout] 42 | fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 | fn main() -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Stream` is imported redundantly [INFO] [stdout] --> src/fwatch.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::prelude::*; [INFO] [stdout] | ------------------- the item `Stream` is already imported here [INFO] [stdout] 5 | use futures::stream::Stream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:14:29 [INFO] [stdout] | [INFO] [stdout] 14 | fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | fn main() -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fwatch.rs:61:80 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn use_pager(&mut self, should_page: bool) -> Result<&mut Runtime, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 61 | pub fn use_pager(&mut self, should_page: bool) -> Result<&mut Runtime, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fwatch.rs:138:44 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn run(mut self) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 138 | pub fn run(mut self) -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fwatch.rs:235:48 [INFO] [stdout] | [INFO] [stdout] 235 | pub fn watch_directories(&mut self, path: &AsRef) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 235 | pub fn watch_directories(&mut self, path: &dyn AsRef) -> Result<(), String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fwatch.rs:274:38 [INFO] [stdout] | [INFO] [stdout] 274 | fn get_command(&mut self, next: &AsRef, output: Option) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 274 | fn get_command(&mut self, next: &dyn AsRef, output: Option) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fwatch.rs:290:32 [INFO] [stdout] | [INFO] [stdout] 290 | fn start(&mut self, next: &AsRef, output: Option) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 290 | fn start(&mut self, next: &dyn AsRef, output: Option) -> Result, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pager2.rs:30:40 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new() -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new() -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Stream` is imported redundantly [INFO] [stdout] --> src/fwatch.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::prelude::*; [INFO] [stdout] | ------------------- the item `Stream` is already imported here [INFO] [stdout] 5 | use futures::stream::Stream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:14:29 [INFO] [stdout] | [INFO] [stdout] 14 | fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | fn main() -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fwatch.rs:61:80 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn use_pager(&mut self, should_page: bool) -> Result<&mut Runtime, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 61 | pub fn use_pager(&mut self, should_page: bool) -> Result<&mut Runtime, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fwatch.rs:138:44 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn run(mut self) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 138 | pub fn run(mut self) -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fwatch.rs:235:48 [INFO] [stdout] | [INFO] [stdout] 235 | pub fn watch_directories(&mut self, path: &AsRef) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 235 | pub fn watch_directories(&mut self, path: &dyn AsRef) -> Result<(), String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fwatch.rs:274:38 [INFO] [stdout] | [INFO] [stdout] 274 | fn get_command(&mut self, next: &AsRef, output: Option) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 274 | fn get_command(&mut self, next: &dyn AsRef, output: Option) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fwatch.rs:290:32 [INFO] [stdout] | [INFO] [stdout] 290 | fn start(&mut self, next: &AsRef, output: Option) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 290 | fn start(&mut self, next: &dyn AsRef, output: Option) -> Result, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fwatch.rs:323:45 [INFO] [stdout] | [INFO] [stdout] 323 | fn command_spawning() -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 323 | fn command_spawning() -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fwatch.rs:335:46 [INFO] [stdout] | [INFO] [stdout] 335 | fn watch_directories() -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 335 | fn watch_directories() -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pager2.rs:30:40 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new() -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new() -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/fwatch.rs:19:36 [INFO] [stdout] | [INFO] [stdout] 19 | use std::io::{ BufRead, BufReader, Read }; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pager_event` [INFO] [stdout] --> src/fwatch.rs:166:36 [INFO] [stdout] | [INFO] [stdout] 166 | Ok(Either::B(((pager_event, _pager_stream), _))) => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pager_event` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/fwatch.rs:19:36 [INFO] [stdout] | [INFO] [stdout] 19 | use std::io::{ BufRead, BufReader, Read }; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pager_event` [INFO] [stdout] --> src/fwatch.rs:166:36 [INFO] [stdout] | [INFO] [stdout] 166 | Ok(Either::B(((pager_event, _pager_stream), _))) => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pager_event` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `thread_pool` is never read [INFO] [stdout] --> src/fwatch.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Runtime { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 37 | thread_pool: ThreadPool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pager` is never constructed [INFO] [stdout] --> src/pager.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Pager { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `start`, and `stop` are never used [INFO] [stdout] --> src/pager.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Pager { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 11 | pub fn new() -> Pager { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn start(&mut self) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn stop(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `SearchPrompt` and `CommandPrompt` are never constructed [INFO] [stdout] --> src/pager2.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | enum InputState { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 9 | SearchPrompt(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 10 | CommandPrompt(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | runtime.use_pager(matches.is_present("pager")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 87 | let _ = runtime.use_pager(matches.is_present("pager")); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `thread_pool` is never read [INFO] [stdout] --> src/fwatch.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Runtime { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 37 | thread_pool: ThreadPool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pager` is never constructed [INFO] [stdout] --> src/pager.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Pager { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `start`, and `stop` are never used [INFO] [stdout] --> src/pager.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Pager { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 11 | pub fn new() -> Pager { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn start(&mut self) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn stop(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `SearchPrompt` and `CommandPrompt` are never constructed [INFO] [stdout] --> src/pager2.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | enum InputState { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 9 | SearchPrompt(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 10 | CommandPrompt(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | runtime.use_pager(matches.is_present("pager")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 87 | let _ = runtime.use_pager(matches.is_present("pager")); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.46s [INFO] running `Command { std: "docker" "inspect" "28107828ee5fec77d8070577dc5f4cc2301e4541546ef5a8decd3e27e0fa9cb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28107828ee5fec77d8070577dc5f4cc2301e4541546ef5a8decd3e27e0fa9cb2", kill_on_drop: false }` [INFO] [stdout] 28107828ee5fec77d8070577dc5f4cc2301e4541546ef5a8decd3e27e0fa9cb2