[INFO] fetching crate file-sniffer 3.0.1... [INFO] checking file-sniffer-3.0.1 against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] extracting crate file-sniffer 3.0.1 into /workspace/builds/worker-108/source [INFO] validating manifest of crates.io crate file-sniffer 3.0.1 on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-108/source/.cargo/config [INFO] started tweaking crates.io crate file-sniffer 3.0.1 [INFO] finished tweaking crates.io crate file-sniffer 3.0.1 [INFO] tweaked toml for crates.io crate file-sniffer 3.0.1 written to /workspace/builds/worker-108/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: file found to be present in multiple build targets: /workspace/builds/worker-108/source/src/main.rs [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7da2808314dbc92fd7fa20363e5d0b8aec5c2be386e16682cafe5c7618c9ec80 [INFO] running `Command { std: "docker" "start" "-a" "7da2808314dbc92fd7fa20363e5d0b8aec5c2be386e16682cafe5c7618c9ec80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7da2808314dbc92fd7fa20363e5d0b8aec5c2be386e16682cafe5c7618c9ec80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7da2808314dbc92fd7fa20363e5d0b8aec5c2be386e16682cafe5c7618c9ec80", kill_on_drop: false }` [INFO] [stdout] 7da2808314dbc92fd7fa20363e5d0b8aec5c2be386e16682cafe5c7618c9ec80 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 206459e67148f62accce82a8d46c263093fe51b3b1cec7b1379e7614774cb504 [INFO] running `Command { std: "docker" "start" "-a" "206459e67148f62accce82a8d46c263093fe51b3b1cec7b1379e7614774cb504", kill_on_drop: false }` [INFO] [stderr] warning: file found to be present in multiple build targets: /opt/rustwide/workdir/src/main.rs [INFO] [stderr] Compiling libc v0.2.100 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking ucd-util v0.1.8 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Checking utf8-ranges v1.0.4 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling yaml-rust v0.3.5 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Checking same-file v0.1.3 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking crossbeam v0.2.12 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking pad v0.1.6 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Checking walkdir v1.0.7 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking memchr v1.0.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Checking nom v3.2.1 [INFO] [stderr] Checking globset v0.2.1 [INFO] [stderr] Checking ignore v0.2.2 [INFO] [stderr] Compiling file-sniffer v3.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unknown lint: `match_ref_pats` [INFO] [stdout] --> src/lib.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #![allow(match_ref_pats)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `too_many_arguments` [INFO] [stdout] --> src/lib.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #![allow(too_many_arguments)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `match_ref_pats` [INFO] [stdout] --> src/lib.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #![allow(match_ref_pats)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `too_many_arguments` [INFO] [stdout] --> src/lib.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #![allow(too_many_arguments)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | / ... lazy_static! { [INFO] [stdout] 86 | | ... static ref REGEX: Regex = [INFO] [stdout] 87 | | ... Regex::new(r".*?\.(a|la|lo|o|ll|keter|bc|dyn_o|out|d|rlib|crate|min\.js|hi|dyn_hi|S|jsexe|webapp|js\.externs|ibc|toc|aux|fd... [INFO] [stdout] 88 | | ... .unwrap(); [INFO] [stdout] 89 | | ... } [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | / lazy_static! { [INFO] [stdout] 91 | | static ref REGEX_GITIGNORE: Regex = [INFO] [stdout] 92 | | Regex::new(r".*?\.(stats|conf|h|cache.*|dat|pc|info)$") [INFO] [stdout] 93 | | .unwrap(); [INFO] [stdout] 94 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | / ... lazy_static! { [INFO] [stdout] 86 | | ... static ref REGEX: Regex = [INFO] [stdout] 87 | | ... Regex::new(r".*?\.(a|la|lo|o|ll|keter|bc|dyn_o|out|d|rlib|crate|min\.js|hi|dyn_hi|S|jsexe|webapp|js\.externs|ibc|toc|aux|fd... [INFO] [stdout] 88 | | ... .unwrap(); [INFO] [stdout] 89 | | ... } [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | / lazy_static! { [INFO] [stdout] 91 | | static ref REGEX_GITIGNORE: Regex = [INFO] [stdout] 92 | | Regex::new(r".*?\.(stats|conf|h|cache.*|dat|pc|info)$") [INFO] [stdout] 93 | | .unwrap(); [INFO] [stdout] 94 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 7 arguments but 6 arguments were supplied [INFO] [stdout] --> src/test.rs:79:15 [INFO] [stdout] | [INFO] [stdout] 79 | b.iter(|| read_parallel(&p, None, None, true, false, false)) [INFO] [stdout] | ^^^^^^^^^^^^^ -- ---- ---- ---- ----- ----- supplied 6 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/lib.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn read_parallel(in_paths: &Path, [INFO] [stdout] | ^^^^^^^^^^^^^ --------------- [INFO] [stdout] 133 | max_depth: Option, // optionally include a max depth to which to recurse [INFO] [stdout] | ------------------------ [INFO] [stdout] 134 | _: Option<&Regex>, [INFO] [stdout] | ----------------- [INFO] [stdout] 135 | show_hidden: bool, [INFO] [stdout] | ----------------- [INFO] [stdout] 136 | nproc: usize, [INFO] [stdout] | ------------ [INFO] [stdout] 137 | artifacts_only: bool, [INFO] [stdout] | -------------------- [INFO] [stdout] 138 | follow_symlinks: bool) -> FileSize { [INFO] [stdout] | --------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 7 arguments but 6 arguments were supplied [INFO] [stdout] --> src/test.rs:91:15 [INFO] [stdout] | [INFO] [stdout] 91 | b.iter(|| read_parallel(&p, None, None, true, false, false)) [INFO] [stdout] | ^^^^^^^^^^^^^ -- ---- ---- ---- ----- ----- supplied 6 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/lib.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn read_parallel(in_paths: &Path, [INFO] [stdout] | ^^^^^^^^^^^^^ --------------- [INFO] [stdout] 133 | max_depth: Option, // optionally include a max depth to which to recurse [INFO] [stdout] | ------------------------ [INFO] [stdout] 134 | _: Option<&Regex>, [INFO] [stdout] | ----------------- [INFO] [stdout] 135 | show_hidden: bool, [INFO] [stdout] | ----------------- [INFO] [stdout] 136 | nproc: usize, [INFO] [stdout] | ------------ [INFO] [stdout] 137 | artifacts_only: bool, [INFO] [stdout] | -------------------- [INFO] [stdout] 138 | follow_symlinks: bool) -> FileSize { [INFO] [stdout] | --------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/test.rs:97:56 [INFO] [stdout] | [INFO] [stdout] 97 | b.iter(|| read_all(&p, false, 4, None, None, None, true, &None, false, false)) [INFO] [stdout] | ^^^^ expected `usize`, found `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/test.rs:103:56 [INFO] [stdout] | [INFO] [stdout] 103 | b.iter(|| read_all(&p, false, 4, None, None, None, true, &None, true, true)) [INFO] [stdout] | ^^^^ expected `usize`, found `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/test.rs:108:66 [INFO] [stdout] | [INFO] [stdout] 108 | b.iter(|| { let v = read_all(&p, false, 4, None, None, None, true, &None, false, true); v.sort(None, 2, None, false) }) [INFO] [stdout] | ^^^^ expected `usize`, found `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/test.rs:115:56 [INFO] [stdout] | [INFO] [stdout] 115 | b.iter(|| read_all(&p, false, 4, None, None, None, true, &None, false, true)) [INFO] [stdout] | ^^^^ expected `usize`, found `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `file-sniffer` due to 7 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "206459e67148f62accce82a8d46c263093fe51b3b1cec7b1379e7614774cb504", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "206459e67148f62accce82a8d46c263093fe51b3b1cec7b1379e7614774cb504", kill_on_drop: false }` [INFO] [stdout] 206459e67148f62accce82a8d46c263093fe51b3b1cec7b1379e7614774cb504