[INFO] cloning repository https://github.com/ChugunovRoman/finder [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ChugunovRoman/finder" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChugunovRoman%2Ffinder", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChugunovRoman%2Ffinder'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 986cb1c14f7c7d53d469858b4916d971ac153ae9 [INFO] checking ChugunovRoman/finder/986cb1c14f7c7d53d469858b4916d971ac153ae9 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChugunovRoman%2Ffinder" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ChugunovRoman/finder on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ChugunovRoman/finder [INFO] finished tweaking git repo https://github.com/ChugunovRoman/finder [INFO] tweaked toml for git repo https://github.com/ChugunovRoman/finder written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ChugunovRoman/finder 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded remove_dir_all v0.5.2 [INFO] [stderr] Downloaded rand v0.7.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cdf70eb008b2db3366205c0744e7bf83ed094740030f9a5b57712274cd3977d8 [INFO] running `Command { std: "docker" "start" "-a" "cdf70eb008b2db3366205c0744e7bf83ed094740030f9a5b57712274cd3977d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cdf70eb008b2db3366205c0744e7bf83ed094740030f9a5b57712274cd3977d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cdf70eb008b2db3366205c0744e7bf83ed094740030f9a5b57712274cd3977d8", kill_on_drop: false }` [INFO] [stdout] cdf70eb008b2db3366205c0744e7bf83ed094740030f9a5b57712274cd3977d8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f845bf27370deb2ac781e044a2eedc3972a8cf7cd57798aaeeaf992152ac935d [INFO] running `Command { std: "docker" "start" "-a" "f845bf27370deb2ac781e044a2eedc3972a8cf7cd57798aaeeaf992152ac935d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Compiling getrandom v0.1.12 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking ppv-lite86 v0.2.5 [INFO] [stderr] Checking remove_dir_all v0.5.2 [INFO] [stderr] Checking finder v0.1.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:73:20 [INFO] [stdout] | [INFO] [stdout] 73 | filter: &'static Fn(&DirEntry) -> bool, [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] 73 | filter: &'static dyn Fn(&DirEntry) -> bool, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:89:44 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn filter(mut self, filter: &'static Fn(&DirEntry) -> bool) -> Self { [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] 89 | pub fn filter(mut self, filter: &'static dyn Fn(&DirEntry) -> bool) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking c2-chacha v0.2.2 [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | if (name.ends_with(".ttf") || name.ends_with(".ttc")) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 11 - if (name.ends_with(".ttf") || name.ends_with(".ttc")) { [INFO] [stdout] 11 + if name.ends_with(".ttf") || name.ends_with(".ttc") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand v0.7.1 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | if (name.ends_with(".ttf") || name.ends_with(".ttc")) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 11 - if (name.ends_with(".ttf") || name.ends_with(".ttc")) { [INFO] [stdout] 11 + if name.ends_with(".ttf") || name.ends_with(".ttc") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:73:20 [INFO] [stdout] | [INFO] [stdout] 73 | filter: &'static Fn(&DirEntry) -> bool, [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] 73 | filter: &'static dyn Fn(&DirEntry) -> bool, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:89:44 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn filter(mut self, filter: &'static Fn(&DirEntry) -> bool) -> Self { [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] 89 | pub fn filter(mut self, filter: &'static dyn Fn(&DirEntry) -> bool) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/tests/mod.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 19 | let collection = DataSet::new(&tmp.path()).gen(); [INFO] [stdout] | ^^^^^^^^^^^^------------- argument #2 of type `Box<(dyn Fn(String) -> bool + 'static)>` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/tests/utils.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new>(path: P, filter: Box bool>) -> Self { [INFO] [stdout] | ^^^ ------- ----------------------------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 19 | let collection = DataSet::new(&tmp.path(), /* Box<(dyn Fn(String) -> bool + 'static)> */).gen(); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `finder` (lib test) due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f845bf27370deb2ac781e044a2eedc3972a8cf7cd57798aaeeaf992152ac935d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f845bf27370deb2ac781e044a2eedc3972a8cf7cd57798aaeeaf992152ac935d", kill_on_drop: false }` [INFO] [stdout] f845bf27370deb2ac781e044a2eedc3972a8cf7cd57798aaeeaf992152ac935d