[INFO] fetching crate file-sniffer 3.0.1... [INFO] checking file-sniffer-3.0.1 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate file-sniffer 3.0.1 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate file-sniffer 3.0.1 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2/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-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-2/source/src/main.rs [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bb74dd9a1d65316db46ce6c03ab0f7cc11aab5d9e2849e8f80998c4457151dcb [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" "bb74dd9a1d65316db46ce6c03ab0f7cc11aab5d9e2849e8f80998c4457151dcb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bb74dd9a1d65316db46ce6c03ab0f7cc11aab5d9e2849e8f80998c4457151dcb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb74dd9a1d65316db46ce6c03ab0f7cc11aab5d9e2849e8f80998c4457151dcb", kill_on_drop: false }` [INFO] [stdout] bb74dd9a1d65316db46ce6c03ab0f7cc11aab5d9e2849e8f80998c4457151dcb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 129d5054bfaf250cf9a556cf0c3f38dc1c601be0a5d35a66894111bcfea12c69 [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" "129d5054bfaf250cf9a556cf0c3f38dc1c601be0a5d35a66894111bcfea12c69", 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 log v0.4.14 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling yaml-rust v0.3.5 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking same-file v0.1.3 [INFO] [stderr] Checking crossbeam v0.2.12 [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking nom v3.2.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Checking pad v0.1.6 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Checking walkdir v1.0.7 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking log v0.3.9 [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] 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] warning: 4 warnings emitted [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] [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" "129d5054bfaf250cf9a556cf0c3f38dc1c601be0a5d35a66894111bcfea12c69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "129d5054bfaf250cf9a556cf0c3f38dc1c601be0a5d35a66894111bcfea12c69", kill_on_drop: false }` [INFO] [stdout] 129d5054bfaf250cf9a556cf0c3f38dc1c601be0a5d35a66894111bcfea12c69