[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 master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcundd%2Fhackscanner" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cundd/hackscanner on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", 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-9/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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] 3b7c533afbb5b0a27393f40016dd3b86062d29ca65c6a876272ce6c160a7b7dd [INFO] running `Command { std: "docker" "start" "-a" "3b7c533afbb5b0a27393f40016dd3b86062d29ca65c6a876272ce6c160a7b7dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3b7c533afbb5b0a27393f40016dd3b86062d29ca65c6a876272ce6c160a7b7dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b7c533afbb5b0a27393f40016dd3b86062d29ca65c6a876272ce6c160a7b7dd", kill_on_drop: false }` [INFO] [stdout] 3b7c533afbb5b0a27393f40016dd3b86062d29ca65c6a876272ce6c160a7b7dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", 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] 1b728c2c6c6d7436235ac60174f1b50ff63f698811c0e47cff0901093ff1768b [INFO] running `Command { std: "docker" "start" "-a" "1b728c2c6c6d7436235ac60174f1b50ff63f698811c0e47cff0901093ff1768b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling cc v1.0.52 [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking linked-hash-map v0.5.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [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] Compiling error-chain v0.12.2 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking yaml-rust v0.4.3 [INFO] [stderr] Checking serde_json v1.0.52 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Checking serde_yaml v0.8.11 [INFO] [stderr] Compiling backtrace-sys v0.1.37 [INFO] [stderr] Compiling quote v1.0.4 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking term v0.5.2 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking term v0.6.1 [INFO] [stderr] Checking regex v1.3.7 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking backtrace v0.3.46 [INFO] [stderr] Checking simplelog v0.6.0 [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] 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] [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] [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] [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] [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] 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 `std::result::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 `std::result::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 `std::result::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 `std::result::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" "1b728c2c6c6d7436235ac60174f1b50ff63f698811c0e47cff0901093ff1768b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b728c2c6c6d7436235ac60174f1b50ff63f698811c0e47cff0901093ff1768b", kill_on_drop: false }` [INFO] [stdout] 1b728c2c6c6d7436235ac60174f1b50ff63f698811c0e47cff0901093ff1768b