[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#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwilsoniya%2Ffilterless" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wilsoniya/filterless 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/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-0-tc1/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: 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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded redox_syscall v0.1.31 [INFO] [stderr] Downloaded atty v0.2.3 [INFO] [stderr] Downloaded lazy_static v0.2.9 [INFO] [stderr] Downloaded pkg-config v0.3.9 [INFO] [stderr] Downloaded ncurses v5.86.0 [INFO] [stderr] Downloaded gcc v0.3.54 [INFO] [stderr] Downloaded regex v0.2.2 [INFO] [stderr] Downloaded libc v0.2.33 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 80ca69de1cd697f85540e421bfaf364ff8a953966c4f2b81d895e7ee77b6d3d6 [INFO] running `Command { std: "docker" "start" "-a" "80ca69de1cd697f85540e421bfaf364ff8a953966c4f2b81d895e7ee77b6d3d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "80ca69de1cd697f85540e421bfaf364ff8a953966c4f2b81d895e7ee77b6d3d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80ca69de1cd697f85540e421bfaf364ff8a953966c4f2b81d895e7ee77b6d3d6", kill_on_drop: false }` [INFO] [stdout] 80ca69de1cd697f85540e421bfaf364ff8a953966c4f2b81d895e7ee77b6d3d6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 5a85607864e24c44157a06d6481887a1542d0fc5417120253773d57dae77c3fe [INFO] running `Command { std: "docker" "start" "-a" "5a85607864e24c44157a06d6481887a1542d0fc5417120253773d57dae77c3fe", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.33 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling gcc v0.3.54 [INFO] [stderr] Compiling pkg-config v0.3.9 [INFO] [stderr] Checking lazy_static v0.2.9 [INFO] [stderr] Checking unicode-width v0.1.4 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking regex-syntax v0.4.1 [INFO] [stderr] Checking textwrap v0.9.0 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking ansi_term v0.9.0 [INFO] [stderr] Checking thread_local v0.3.4 [INFO] [stderr] Checking vec_map v0.8.0 [INFO] [stderr] Checking bitflags v0.9.1 [INFO] [stderr] Checking strsim v0.6.0 [INFO] [stderr] Checking memchr v1.0.2 [INFO] [stderr] Checking atty v0.2.3 [INFO] [stderr] Checking clap v2.27.1 [INFO] [stderr] Checking aho-corasick v0.6.3 [INFO] [stderr] Compiling ncurses v5.86.0 [INFO] [stderr] Checking regex v0.2.2 [INFO] [stderr] Checking filterless v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `Iterator` is imported redundantly [INFO] [stdout] --> src/iter/context_buffer.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use std::iter::{Iterator, repeat}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Iterator` is imported redundantly [INFO] [stdout] --> src/iter/context_buffer.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use std::iter::{Iterator, repeat}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ContextLine`, `NumberedLine` [INFO] [stdout] --> src/iter/mod.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | pub use self::iter::{ContextLine, FilteredLine, FilterPredicate, NumberedLine}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ContextLine`, `NumberedLine` [INFO] [stdout] --> src/iter/mod.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | pub use self::iter::{ContextLine, FilteredLine, FilterPredicate, NumberedLine}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ncurses` is imported redundantly [INFO] [stdout] --> src/pager.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ncurses; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate ncurses; [INFO] [stdout] | --------------------- the item `ncurses` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ncurses` is imported redundantly [INFO] [stdout] --> src/pager.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ncurses; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate ncurses; [INFO] [stdout] | --------------------- the item `ncurses` is already imported here [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: 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] = 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 69 | fn get_input<'a>(_stdin: &'a std::io::Stdin) -> Box { [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] = 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: variant `BACKWARD` is never constructed [INFO] [stdout] --> src/iter/line_buffer.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum IterDirection { [INFO] [stdout] | ------------- variant in this enum [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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `width` is never read [INFO] [stdout] --> src/iter/window_buffer.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct WindowBuffer> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | width: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `width` is never read [INFO] [stdout] --> src/pager.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Pager> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | 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: 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] = note: `#[warn(non_fmt_panics)]` on by default [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: 11 warnings emitted [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 `width` is never read [INFO] [stdout] --> src/iter/window_buffer.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct WindowBuffer> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | width: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `width` is never read [INFO] [stdout] --> src/pager.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Pager> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | 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: 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] = note: `#[warn(non_fmt_panics)]` on by default [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: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.13s [INFO] running `Command { std: "docker" "inspect" "5a85607864e24c44157a06d6481887a1542d0fc5417120253773d57dae77c3fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a85607864e24c44157a06d6481887a1542d0fc5417120253773d57dae77c3fe", kill_on_drop: false }` [INFO] [stdout] 5a85607864e24c44157a06d6481887a1542d0fc5417120253773d57dae77c3fe [INFO] checking wilsoniya/filterless against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwilsoniya%2Ffilterless" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wilsoniya/filterless 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/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-0-tc2/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: 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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 8cf47a9437d44c5a51b31434bd649f4628330602c93f24fbd5c91cf6408f85fc [INFO] running `Command { std: "docker" "start" "-a" "8cf47a9437d44c5a51b31434bd649f4628330602c93f24fbd5c91cf6408f85fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8cf47a9437d44c5a51b31434bd649f4628330602c93f24fbd5c91cf6408f85fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8cf47a9437d44c5a51b31434bd649f4628330602c93f24fbd5c91cf6408f85fc", kill_on_drop: false }` [INFO] [stdout] 8cf47a9437d44c5a51b31434bd649f4628330602c93f24fbd5c91cf6408f85fc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] bab8aa6f7b0f339f8fa42bdedfa8be484f879e2783a40d9481fa780a14baf852 [INFO] running `Command { std: "docker" "start" "-a" "bab8aa6f7b0f339f8fa42bdedfa8be484f879e2783a40d9481fa780a14baf852", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.33 [INFO] [stderr] Compiling gcc v0.3.54 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling pkg-config v0.3.9 [INFO] [stderr] Checking unicode-width v0.1.4 [INFO] [stderr] Checking lazy_static v0.2.9 [INFO] [stderr] Checking ansi_term v0.9.0 [INFO] [stderr] Checking bitflags v0.9.1 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking strsim v0.6.0 [INFO] [stderr] Checking textwrap v0.9.0 [INFO] [stderr] Checking regex-syntax v0.4.1 [INFO] [stderr] Checking thread_local v0.3.4 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking vec_map v0.8.0 [INFO] [stderr] Checking memchr v1.0.2 [INFO] [stderr] Checking atty v0.2.3 [INFO] [stderr] Checking aho-corasick v0.6.3 [INFO] [stderr] Checking clap v2.27.1 [INFO] [stderr] Compiling ncurses v5.86.0 [INFO] [stderr] Checking regex v0.2.2 [INFO] [stderr] Checking filterless v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `Iterator` is imported redundantly [INFO] [stdout] --> src/iter/context_buffer.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use std::iter::{Iterator, repeat}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ContextLine`, `NumberedLine` [INFO] [stdout] --> src/iter/mod.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | pub use self::iter::{ContextLine, FilteredLine, FilterPredicate, NumberedLine}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ncurses` is imported redundantly [INFO] [stdout] --> src/pager.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ncurses; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate ncurses; [INFO] [stdout] | --------------------- the item `ncurses` is already imported here [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] = 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 69 | fn get_input<'a>(_stdin: &'a std::io::Stdin) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Iterator` is imported redundantly [INFO] [stdout] --> src/iter/context_buffer.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use std::iter::{Iterator, repeat}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ContextLine`, `NumberedLine` [INFO] [stdout] --> src/iter/mod.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | pub use self::iter::{ContextLine, FilteredLine, FilterPredicate, NumberedLine}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ncurses` is imported redundantly [INFO] [stdout] --> src/pager.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ncurses; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate ncurses; [INFO] [stdout] | --------------------- the item `ncurses` is already imported here [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: variant `BACKWARD` is never constructed [INFO] [stdout] --> src/iter/line_buffer.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum IterDirection { [INFO] [stdout] | ------------- variant in this enum [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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `width` is never read [INFO] [stdout] --> src/iter/window_buffer.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct WindowBuffer> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | width: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `width` is never read [INFO] [stdout] --> src/pager.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Pager> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | 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: 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] = note: `#[warn(non_fmt_panics)]` on by default [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: 11 warnings emitted [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] = 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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 `width` is never read [INFO] [stdout] --> src/iter/window_buffer.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct WindowBuffer> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | width: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `width` is never read [INFO] [stdout] --> src/pager.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Pager> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | 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: 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] = note: `#[warn(non_fmt_panics)]` on by default [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: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.11s [INFO] running `Command { std: "docker" "inspect" "bab8aa6f7b0f339f8fa42bdedfa8be484f879e2783a40d9481fa780a14baf852", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bab8aa6f7b0f339f8fa42bdedfa8be484f879e2783a40d9481fa780a14baf852", kill_on_drop: false }` [INFO] [stdout] bab8aa6f7b0f339f8fa42bdedfa8be484f879e2783a40d9481fa780a14baf852