[INFO] cloning repository https://github.com/wilsoniya/filterless [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wilsoniya/filterless" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwilsoniya%2Ffilterless", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwilsoniya%2Ffilterless'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 297ecca998690d103a3c7e20260af868f7c649d0 [INFO] checking wilsoniya/filterless against master#df20355fa9fa5e9fb89be4e4bfee8a643bb7a23e for pr-95474 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwilsoniya%2Ffilterless" "/workspace/builds/worker-110/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-110/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wilsoniya/filterless on toolchain df20355fa9fa5e9fb89be4e4bfee8a643bb7a23e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+df20355fa9fa5e9fb89be4e4bfee8a643bb7a23e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wilsoniya/filterless [INFO] finished tweaking git repo https://github.com/wilsoniya/filterless [INFO] tweaked toml for git repo https://github.com/wilsoniya/filterless written to /workspace/builds/worker-110/source/Cargo.toml [INFO] crate git repo https://github.com/wilsoniya/filterless already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+df20355fa9fa5e9fb89be4e4bfee8a643bb7a23e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ncurses v5.86.0 [INFO] [stderr] Downloaded libc v0.2.33 [INFO] [stderr] Downloaded clap v2.27.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+df20355fa9fa5e9fb89be4e4bfee8a643bb7a23e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e74bed7e335de0677f58908266aefce45781552e6ecf9631569616d73220e554 [INFO] running `Command { std: "docker" "start" "-a" "e74bed7e335de0677f58908266aefce45781552e6ecf9631569616d73220e554", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e74bed7e335de0677f58908266aefce45781552e6ecf9631569616d73220e554", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e74bed7e335de0677f58908266aefce45781552e6ecf9631569616d73220e554", kill_on_drop: false }` [INFO] [stdout] e74bed7e335de0677f58908266aefce45781552e6ecf9631569616d73220e554 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+df20355fa9fa5e9fb89be4e4bfee8a643bb7a23e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0d57d6dda97f3c7798c9f4bc4cefacdb4933c43d308ac20b64b7d81408e89ec2 [INFO] running `Command { std: "docker" "start" "-a" "0d57d6dda97f3c7798c9f4bc4cefacdb4933c43d308ac20b64b7d81408e89ec2", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.33 [INFO] [stderr] Compiling gcc v0.3.54 [INFO] [stderr] Compiling pkg-config v0.3.9 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking unicode-width v0.1.4 [INFO] [stderr] Checking lazy_static v0.2.9 [INFO] [stderr] Checking regex-syntax v0.4.1 [INFO] [stderr] Checking strsim v0.6.0 [INFO] [stderr] Checking ansi_term v0.9.0 [INFO] [stderr] Checking vec_map v0.8.0 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking bitflags v0.9.1 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking textwrap v0.9.0 [INFO] [stderr] Checking memchr v1.0.2 [INFO] [stderr] Checking atty v0.2.3 [INFO] [stderr] Checking thread_local v0.3.4 [INFO] [stderr] Compiling ncurses v5.86.0 [INFO] [stderr] Checking aho-corasick v0.6.3 [INFO] [stderr] Checking clap v2.27.1 [INFO] [stderr] Checking regex v0.2.2 [INFO] [stderr] Checking filterless v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `collections_bound` has been stable since 1.17.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(collections_bound)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `btree_range` has been stable since 1.17.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(btree_range)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:69:53 [INFO] [stdout] | [INFO] [stdout] 69 | fn get_input<'a>(_stdin: &'a std::io::Stdin) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 69 - fn get_input<'a>(_stdin: &'a std::io::Stdin) -> Box { [INFO] [stdout] 69 + fn get_input<'a>(_stdin: &'a std::io::Stdin) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `collections_bound` has been stable since 1.17.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(collections_bound)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `btree_range` has been stable since 1.17.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(btree_range)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:69:53 [INFO] [stdout] | [INFO] [stdout] 69 | fn get_input<'a>(_stdin: &'a std::io::Stdin) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 69 - fn get_input<'a>(_stdin: &'a std::io::Stdin) -> Box { [INFO] [stdout] 69 + fn get_input<'a>(_stdin: &'a std::io::Stdin) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/main.rs:98:38 [INFO] [stdout] | [INFO] [stdout] 98 | fn _filter>(width: i32, height: i32, pager: &mut Pager) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `width` [INFO] [stdout] --> src/pager.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | width: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BACKWARD` [INFO] [stdout] --> src/iter/line_buffer.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | BACKWARD, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IterDirection` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/iter/line_buffer.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `width` [INFO] [stdout] --> src/iter/window_buffer.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | width: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/iter/window_buffer.rs:132:29 [INFO] [stdout] | [INFO] [stdout] 132 | assert!(start >= 1, format!("first line number must be at least 1; got {}", start)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 132 - assert!(start >= 1, format!("first line number must be at least 1; got {}", start)); [INFO] [stdout] 132 + assert!(start >= 1, "first line number must be at least 1; got {}", start); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/main.rs:98:38 [INFO] [stdout] | [INFO] [stdout] 98 | fn _filter>(width: i32, height: i32, pager: &mut Pager) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `width` [INFO] [stdout] --> src/pager.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | width: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `width` [INFO] [stdout] --> src/iter/window_buffer.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | width: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/iter/window_buffer.rs:132:29 [INFO] [stdout] | [INFO] [stdout] 132 | assert!(start >= 1, format!("first line number must be at least 1; got {}", start)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 132 - assert!(start >= 1, format!("first line number must be at least 1; got {}", start)); [INFO] [stdout] 132 + assert!(start >= 1, "first line number must be at least 1; got {}", start); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 26.80s [INFO] running `Command { std: "docker" "inspect" "0d57d6dda97f3c7798c9f4bc4cefacdb4933c43d308ac20b64b7d81408e89ec2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d57d6dda97f3c7798c9f4bc4cefacdb4933c43d308ac20b64b7d81408e89ec2", kill_on_drop: false }` [INFO] [stdout] 0d57d6dda97f3c7798c9f4bc4cefacdb4933c43d308ac20b64b7d81408e89ec2