[INFO] crate file-sniffer 3.0.1 is already in cache [INFO] checking file-sniffer-3.0.1 against master#1557fb031b272b4c5bfcc7de5df7eddc7b36a584 for pr-73166 [INFO] extracting crate file-sniffer 3.0.1 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate file-sniffer 3.0.1 on toolchain 1557fb031b272b4c5bfcc7de5df7eddc7b36a584 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-3/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-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "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-3/source/src/main.rs [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 68b57ce37d195b0a59bc382a453ad44495e2d02c2114d5ebf299113a5bd82fc3 [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" "68b57ce37d195b0a59bc382a453ad44495e2d02c2114d5ebf299113a5bd82fc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "68b57ce37d195b0a59bc382a453ad44495e2d02c2114d5ebf299113a5bd82fc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68b57ce37d195b0a59bc382a453ad44495e2d02c2114d5ebf299113a5bd82fc3", kill_on_drop: false }` [INFO] [stdout] 68b57ce37d195b0a59bc382a453ad44495e2d02c2114d5ebf299113a5bd82fc3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ca13b68b0223f0e299f15ceb768887caf01d1bfcb2b9d63c3e47fa18194d63f [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" "8ca13b68b0223f0e299f15ceb768887caf01d1bfcb2b9d63c3e47fa18194d63f", 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.73 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling ansi_term v0.11.0 [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 fnv v1.0.7 [INFO] [stderr] Checking same-file v0.1.3 [INFO] [stderr] Checking crossbeam v0.2.12 [INFO] [stderr] Checking pad v0.1.6 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking regex v0.2.11 [INFO] [stderr] Checking walkdir v1.0.7 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.1 [INFO] [stderr] Checking memchr v1.0.2 [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: `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: `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 item '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|fdb_latexmk|fls|egg-info|whl|js_a|js_hi|jld|ji|js_o|so.*|dump-.*|vmb|crx|orig|elmo|elmi|pyc|mod|p_hi|p_o|prof|tix)$") // TODO reorder regex [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 item '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 item '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|fdb_latexmk|fls|egg-info|whl|js_a|js_hi|jld|ji|js_o|so.*|dump-.*|vmb|crx|orig|elmo|elmi|pyc|mod|p_hi|p_o|prof|tix)$") // TODO reorder regex [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 item '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] ... | [INFO] [stdout] 187 | | [INFO] [stdout] 188 | | } [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] ... | [INFO] [stdout] 187 | | [INFO] [stdout] 188 | | } [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] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "8ca13b68b0223f0e299f15ceb768887caf01d1bfcb2b9d63c3e47fa18194d63f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ca13b68b0223f0e299f15ceb768887caf01d1bfcb2b9d63c3e47fa18194d63f", kill_on_drop: false }` [INFO] [stdout] 8ca13b68b0223f0e299f15ceb768887caf01d1bfcb2b9d63c3e47fa18194d63f