[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#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcundd%2Fhackscanner" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cundd/hackscanner on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "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-1/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1e201a416c8442491eec92fb98eba1855a05bdc27dcacf2ab03d56f209c264f7 [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" "1e201a416c8442491eec92fb98eba1855a05bdc27dcacf2ab03d56f209c264f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1e201a416c8442491eec92fb98eba1855a05bdc27dcacf2ab03d56f209c264f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e201a416c8442491eec92fb98eba1855a05bdc27dcacf2ab03d56f209c264f7", kill_on_drop: false }` [INFO] [stdout] 1e201a416c8442491eec92fb98eba1855a05bdc27dcacf2ab03d56f209c264f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 04ff0a2b59cdf63702a13f172d88cc8a43245f85f1e3a09ab1b3b88000740333 [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" "04ff0a2b59cdf63702a13f172d88cc8a43245f85f1e3a09ab1b3b88000740333", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling cc v1.0.52 [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking linked-hash-map v0.5.2 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking regex-syntax v0.6.17 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling error-chain v0.12.2 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Checking yaml-rust v0.4.3 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking term v0.6.1 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Compiling backtrace-sys v0.1.37 [INFO] [stderr] Checking term v0.5.2 [INFO] [stderr] Compiling quote v1.0.4 [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] Checking serde_yaml v0.8.11 [INFO] [stderr] Checking serde_json v1.0.52 [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` due to 3 previous errors [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[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] 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] 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: 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" "04ff0a2b59cdf63702a13f172d88cc8a43245f85f1e3a09ab1b3b88000740333", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04ff0a2b59cdf63702a13f172d88cc8a43245f85f1e3a09ab1b3b88000740333", kill_on_drop: false }` [INFO] [stdout] 04ff0a2b59cdf63702a13f172d88cc8a43245f85f1e3a09ab1b3b88000740333