[INFO] fetching crate file-sniffer 3.0.1... [INFO] checking file-sniffer-3.0.1 against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] extracting crate file-sniffer 3.0.1 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate file-sniffer 3.0.1 on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-12/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-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: file found to be present in multiple build targets: /workspace/builds/worker-12/source/src/main.rs [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ignore v0.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6327c056cd7d1dd01ca863fac3f9a7c1bae563c68030adf3dde2c61719dfb5e5 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6327c056cd7d1dd01ca863fac3f9a7c1bae563c68030adf3dde2c61719dfb5e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6327c056cd7d1dd01ca863fac3f9a7c1bae563c68030adf3dde2c61719dfb5e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6327c056cd7d1dd01ca863fac3f9a7c1bae563c68030adf3dde2c61719dfb5e5", kill_on_drop: false }` [INFO] [stdout] 6327c056cd7d1dd01ca863fac3f9a7c1bae563c68030adf3dde2c61719dfb5e5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 5cbed65f377f64c07185b73eb2858d92b83a42ed3958bcb37da614026f888aa9 [INFO] running `Command { std: "docker" "start" "-a" "5cbed65f377f64c07185b73eb2858d92b83a42ed3958bcb37da614026f888aa9", 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 unicode-width v0.1.8 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling yaml-rust v0.3.5 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Checking pad v0.1.6 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Checking nom v3.2.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking regex v0.2.11 [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 a macro (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 a macro (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 a macro (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 a macro (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] ::: src/lib.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 132 | / pub fn read_parallel(in_paths: &Path, [INFO] [stdout] 133 | | max_depth: Option, // optionally include a max depth to which to recurse [INFO] [stdout] 134 | | _: Option<&Regex>, [INFO] [stdout] 135 | | show_hidden: bool, [INFO] [stdout] 136 | | nproc: usize, [INFO] [stdout] 137 | | artifacts_only: bool, [INFO] [stdout] 138 | | follow_symlinks: bool) -> FileSize { [INFO] [stdout] | |___________________________________________________________- defined here [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] ::: src/lib.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 132 | / pub fn read_parallel(in_paths: &Path, [INFO] [stdout] 133 | | max_depth: Option, // optionally include a max depth to which to recurse [INFO] [stdout] 134 | | _: Option<&Regex>, [INFO] [stdout] 135 | | show_hidden: bool, [INFO] [stdout] 136 | | nproc: usize, [INFO] [stdout] 137 | | artifacts_only: bool, [INFO] [stdout] 138 | | follow_symlinks: bool) -> FileSize { [INFO] [stdout] | |___________________________________________________________- defined here [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` [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "5cbed65f377f64c07185b73eb2858d92b83a42ed3958bcb37da614026f888aa9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5cbed65f377f64c07185b73eb2858d92b83a42ed3958bcb37da614026f888aa9", kill_on_drop: false }` [INFO] [stdout] 5cbed65f377f64c07185b73eb2858d92b83a42ed3958bcb37da614026f888aa9