[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] 9686c9cd187d6450d2b22f11abe8d2e25d46424f [INFO] checking cundd/hackscanner against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcundd%2Fhackscanner" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cundd/hackscanner 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] 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-5/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ryu v1.0.4 [INFO] [stderr] Downloaded serde_json v1.0.52 [INFO] [stderr] Downloaded backtrace-sys v0.1.37 [INFO] [stderr] Downloaded simplelog v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8ab993fab63b823f9f58bfdbc2ec3ac05d3af48247a6f5b4b31124938f04a4e4 [INFO] running `Command { std: "docker" "start" "-a" "8ab993fab63b823f9f58bfdbc2ec3ac05d3af48247a6f5b4b31124938f04a4e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8ab993fab63b823f9f58bfdbc2ec3ac05d3af48247a6f5b4b31124938f04a4e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ab993fab63b823f9f58bfdbc2ec3ac05d3af48247a6f5b4b31124938f04a4e4", kill_on_drop: false }` [INFO] [stdout] 8ab993fab63b823f9f58bfdbc2ec3ac05d3af48247a6f5b4b31124938f04a4e4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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] c7e69200281e4210ed47a70f6ddc68955f97e718a93863819fcef266881259a3 [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" "c7e69200281e4210ed47a70f6ddc68955f97e718a93863819fcef266881259a3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Compiling cc v1.0.52 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking linked-hash-map v0.5.2 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking dtoa v0.4.5 [INFO] [stderr] Checking regex-syntax v0.6.17 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking yaml-rust v0.4.3 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Compiling error-chain v0.12.2 [INFO] [stderr] Compiling quote v1.0.4 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking term v0.5.2 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking term v0.6.1 [INFO] [stderr] Compiling backtrace-sys v0.1.37 [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] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/file_finder/ftw/mod.rs:131:41 [INFO] [stdout] | [INFO] [stdout] 131 | ftw(CString::new(root).unwrap().as_ptr(), ftw_collector, 20); [INFO] [stdout] | --------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/file_finder/ftw/mod.rs:141:41 [INFO] [stdout] | [INFO] [stdout] 141 | CString::new(root).unwrap().as_ptr(), [INFO] [stdout] | --------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/file_finder/ftw/mod.rs:131:41 [INFO] [stdout] | [INFO] [stdout] 131 | ftw(CString::new(root).unwrap().as_ptr(), ftw_collector, 20); [INFO] [stdout] | --------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/file_finder/ftw/mod.rs:141:41 [INFO] [stdout] | [INFO] [stdout] 141 | CString::new(root).unwrap().as_ptr(), [INFO] [stdout] | --------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [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] warning: 2 warnings emitted [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: 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: 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" "c7e69200281e4210ed47a70f6ddc68955f97e718a93863819fcef266881259a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7e69200281e4210ed47a70f6ddc68955f97e718a93863819fcef266881259a3", kill_on_drop: false }` [INFO] [stdout] c7e69200281e4210ed47a70f6ddc68955f97e718a93863819fcef266881259a3