[INFO] fetching crate file-sniffer 3.0.1... [INFO] testing file-sniffer-3.0.1 against master#62efba8a050c64249dab942951bb28f710208bc8 for pr-90799 [INFO] extracting crate file-sniffer 3.0.1 into /workspace/builds/worker-24/source [INFO] validating manifest of crates.io crate file-sniffer 3.0.1 on toolchain 62efba8a050c64249dab942951bb28f710208bc8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-24/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-24/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: file found to be present in multiple build targets: /workspace/builds/worker-24/source/src/main.rs [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 38eacf849fb80592c13d90f7da8a5832bc9a4ddc110889f65e46b8f6a6cfa65b [INFO] running `Command { std: "docker" "start" "-a" "38eacf849fb80592c13d90f7da8a5832bc9a4ddc110889f65e46b8f6a6cfa65b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "38eacf849fb80592c13d90f7da8a5832bc9a4ddc110889f65e46b8f6a6cfa65b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38eacf849fb80592c13d90f7da8a5832bc9a4ddc110889f65e46b8f6a6cfa65b", kill_on_drop: false }` [INFO] [stdout] 38eacf849fb80592c13d90f7da8a5832bc9a4ddc110889f65e46b8f6a6cfa65b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 98d14858154a3019ef32a2b4341ee8f6d35fbc2e209e71ffe54b98bc11e99202 [INFO] running `Command { std: "docker" "start" "-a" "98d14858154a3019ef32a2b4341ee8f6d35fbc2e209e71ffe54b98bc11e99202", kill_on_drop: false }` [INFO] [stderr] warning: file found to be present in multiple build targets: /opt/rustwide/workdir/src/main.rs [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling ucd-util v0.1.8 [INFO] [stderr] Compiling yaml-rust v0.3.5 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling same-file v0.1.3 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling crossbeam v0.2.12 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling pad v0.1.6 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling walkdir v1.0.7 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling colored v1.9.3 [INFO] [stderr] Compiling nom v3.2.1 [INFO] [stderr] Compiling globset v0.2.1 [INFO] [stderr] Compiling 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: 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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.82s [INFO] running `Command { std: "docker" "inspect" "98d14858154a3019ef32a2b4341ee8f6d35fbc2e209e71ffe54b98bc11e99202", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98d14858154a3019ef32a2b4341ee8f6d35fbc2e209e71ffe54b98bc11e99202", kill_on_drop: false }` [INFO] [stdout] 98d14858154a3019ef32a2b4341ee8f6d35fbc2e209e71ffe54b98bc11e99202 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9c22aabf41df169e09d3747f8724b3cfedfa6809332cdf48d6b4eca6c2626846 [INFO] running `Command { std: "docker" "start" "-a" "9c22aabf41df169e09d3747f8724b3cfedfa6809332cdf48d6b4eca6c2626846", 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 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: 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: 4 warnings emitted [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] 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] 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" "9c22aabf41df169e09d3747f8724b3cfedfa6809332cdf48d6b4eca6c2626846", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c22aabf41df169e09d3747f8724b3cfedfa6809332cdf48d6b4eca6c2626846", kill_on_drop: false }` [INFO] [stdout] 9c22aabf41df169e09d3747f8724b3cfedfa6809332cdf48d6b4eca6c2626846