[INFO] cloning repository https://github.com/cundd/hackscanner [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cundd/hackscanner" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcundd%2Fhackscanner", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcundd%2Fhackscanner'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 03abee7edfa50d4508c11f5eef4b5803522cb1f9 [INFO] checking cundd/hackscanner against master#3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 for pr-65819 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcundd%2Fhackscanner" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cundd/hackscanner on toolchain 3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/cundd/hackscanner [INFO] finished tweaking git repo https://github.com/cundd/hackscanner [INFO] tweaked toml for git repo https://github.com/cundd/hackscanner written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/cundd/hackscanner already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f90197dd6b1eae0b6726a44954e932fd22da7ac95dddcc380dc137a5cd2a311e [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" "f90197dd6b1eae0b6726a44954e932fd22da7ac95dddcc380dc137a5cd2a311e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f90197dd6b1eae0b6726a44954e932fd22da7ac95dddcc380dc137a5cd2a311e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f90197dd6b1eae0b6726a44954e932fd22da7ac95dddcc380dc137a5cd2a311e", kill_on_drop: false }` [INFO] [stdout] f90197dd6b1eae0b6726a44954e932fd22da7ac95dddcc380dc137a5cd2a311e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 35eff18a9e7bd561821d56900f4c3066ba3718d5a3bdd255e229523b60113d59 [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" "35eff18a9e7bd561821d56900f4c3066ba3718d5a3bdd255e229523b60113d59", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.52 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking regex-syntax v0.6.17 [INFO] [stderr] Checking dtoa v0.4.5 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling error-chain v0.12.2 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Checking serde_json v1.0.52 [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking term v0.5.2 [INFO] [stderr] Checking serde_yaml v0.8.11 [INFO] [stderr] Checking term v0.6.1 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Compiling quote v1.0.4 [INFO] [stderr] Compiling backtrace-sys v0.1.37 [INFO] [stderr] Checking num-integer v0.1.42 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking backtrace v0.3.46 [INFO] [stderr] Checking simplelog v0.6.0 [INFO] [stderr] Checking regex v1.3.7 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Checking hackscanner v0.4.0-dev (/opt/rustwide/workdir) [INFO] [stdout] error[E0061]: this function takes 4 arguments but 5 arguments were supplied [INFO] [stdout] --> benches/bench_helper.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 19 | let rules = vec![Rule::new( [INFO] [stdout] | ^^^^^^^^^ expected 4 arguments [INFO] [stdout] 20 | "2", [INFO] [stdout] | --- [INFO] [stdout] 21 | Severity::NOTICE, [INFO] [stdout] | ---------------- [INFO] [stdout] 22 | "\\.tx_mocfilemanager", [INFO] [stdout] | ---------------------- [INFO] [stdout] 23 | true, [INFO] [stdout] | ---- [INFO] [stdout] 24 | None, [INFO] [stdout] | ---- supplied 5 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/rule/pattern_rule.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn new>( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 5 arguments were supplied [INFO] [stdout] --> benches/bench_helper.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 19 | let rules = vec![Rule::new( [INFO] [stdout] | ^^^^^^^^^ expected 4 arguments [INFO] [stdout] 20 | "2", [INFO] [stdout] | --- [INFO] [stdout] 21 | Severity::NOTICE, [INFO] [stdout] | ---------------- [INFO] [stdout] 22 | "\\.tx_mocfilemanager", [INFO] [stdout] | ---------------------- [INFO] [stdout] 23 | true, [INFO] [stdout] | ---- [INFO] [stdout] 24 | None, [INFO] [stdout] | ---- supplied 5 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/rule/pattern_rule.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn new>( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 5 arguments were supplied [INFO] [stdout] --> benches/bench_helper.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 19 | let rules = vec![Rule::new( [INFO] [stdout] | ^^^^^^^^^ expected 4 arguments [INFO] [stdout] 20 | "2", [INFO] [stdout] | --- [INFO] [stdout] 21 | Severity::NOTICE, [INFO] [stdout] | ---------------- [INFO] [stdout] 22 | "\\.tx_mocfilemanager", [INFO] [stdout] | ---------------------- [INFO] [stdout] 23 | true, [INFO] [stdout] | ---- [INFO] [stdout] 24 | None, [INFO] [stdout] | ---- supplied 5 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/rule/pattern_rule.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn new>( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 5 arguments were supplied [INFO] [stdout] --> benches/bench_helper.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 19 | let rules = vec![Rule::new( [INFO] [stdout] | ^^^^^^^^^ expected 4 arguments [INFO] [stdout] 20 | "2", [INFO] [stdout] | --- [INFO] [stdout] 21 | Severity::NOTICE, [INFO] [stdout] | ---------------- [INFO] [stdout] 22 | "\\.tx_mocfilemanager", [INFO] [stdout] | ---------------------- [INFO] [stdout] 23 | true, [INFO] [stdout] | ---- [INFO] [stdout] 24 | None, [INFO] [stdout] | ---- supplied 5 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/rule/pattern_rule.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn new>( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/bench_helper.rs:26:39 [INFO] [stdout] | [INFO] [stdout] 26 | b.iter(|| ff.find(get_test_dir(), &rules)); [INFO] [stdout] | ^^^^^^ expected struct `hackscanner_lib::Rule`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Vec` [INFO] [stdout] found reference `&Vec>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [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 `hackscanner` [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] error[E0308]: mismatched types [INFO] [stdout] --> benches/bench_helper.rs:26:39 [INFO] [stdout] | [INFO] [stdout] 26 | b.iter(|| ff.find(get_test_dir(), &rules)); [INFO] [stdout] | ^^^^^^ expected struct `hackscanner_lib::Rule`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Vec` [INFO] [stdout] found reference `&Vec>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [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] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/bench_helper.rs:26:39 [INFO] [stdout] | [INFO] [stdout] 26 | b.iter(|| ff.find(get_test_dir(), &rules)); [INFO] [stdout] | ^^^^^^ expected struct `hackscanner_lib::Rule`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Vec` [INFO] [stdout] found reference `&Vec>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/bench_helper.rs:26:39 [INFO] [stdout] | [INFO] [stdout] 26 | b.iter(|| ff.find(get_test_dir(), &rules)); [INFO] [stdout] | ^^^^^^ expected struct `hackscanner_lib::Rule`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Vec` [INFO] [stdout] found reference `&Vec>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [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] [stdout] error: aborting due to 2 previous errors [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: build failed [INFO] running `Command { std: "docker" "inspect" "35eff18a9e7bd561821d56900f4c3066ba3718d5a3bdd255e229523b60113d59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35eff18a9e7bd561821d56900f4c3066ba3718d5a3bdd255e229523b60113d59", kill_on_drop: false }` [INFO] [stdout] 35eff18a9e7bd561821d56900f4c3066ba3718d5a3bdd255e229523b60113d59