[INFO] cloning repository https://github.com/hairui19/rust-search [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hairui19/rust-search" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhairui19%2Frust-search", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhairui19%2Frust-search'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 44e99cc967889be297927de043bb96129796e9a5 [INFO] checking hairui19/rust-search against master#69fd5e4059f8840f09f60269bcda23dcdcb77151 for pr-135733 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhairui19%2Frust-search" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hairui19/rust-search on toolchain 69fd5e4059f8840f09f60269bcda23dcdcb77151 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+69fd5e4059f8840f09f60269bcda23dcdcb77151" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hairui19/rust-search [INFO] finished tweaking git repo https://github.com/hairui19/rust-search [INFO] tweaked toml for git repo https://github.com/hairui19/rust-search written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/hairui19/rust-search already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+69fd5e4059f8840f09f60269bcda23dcdcb77151" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+69fd5e4059f8840f09f60269bcda23dcdcb77151" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 97897726da739ab404d8ddad81a0768a367f7c2bc8f9dd4cb4bdbde7c2fe6304 [INFO] running `Command { std: "docker" "start" "-a" "97897726da739ab404d8ddad81a0768a367f7c2bc8f9dd4cb4bdbde7c2fe6304", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "97897726da739ab404d8ddad81a0768a367f7c2bc8f9dd4cb4bdbde7c2fe6304", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97897726da739ab404d8ddad81a0768a367f7c2bc8f9dd4cb4bdbde7c2fe6304", kill_on_drop: false }` [INFO] [stdout] 97897726da739ab404d8ddad81a0768a367f7c2bc8f9dd4cb4bdbde7c2fe6304 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "RUSTDOCFLAGS=--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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+69fd5e4059f8840f09f60269bcda23dcdcb77151" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 55491cb3d0ed3ed6dcfb80e4715cf35e6157539f61433c6fb68d329b08274075 [INFO] running `Command { std: "docker" "start" "-a" "55491cb3d0ed3ed6dcfb80e4715cf35e6157539f61433c6fb68d329b08274075", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.159 [INFO] [stderr] Compiling serde_json v1.0.95 [INFO] [stderr] Checking itoa v1.0.6 [INFO] [stderr] Checking ryu v1.0.13 [INFO] [stderr] Checking xml-rs v0.8.4 [INFO] [stderr] Checking rust-search v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `DIR_PATH` is never used [INFO] [stdout] --> src/main.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const DIR_PATH: &str = "/Users/hairuilin/Documents/docs.gl"; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_files` is never used [INFO] [stdout] --> src/dir.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn extract_files(dir_path: P, predicate: F) -> std::io::Result> [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_xml_file` is never used [INFO] [stdout] --> src/dir.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn parse_xml_file>(file_path: P) -> std::io::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_xhtml_files_in_json` is never used [INFO] [stdout] --> src/dir.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn write_xhtml_files_in_json(target_file_path: P, from_dir_path: Q) -> std::io::Result<()> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/lexer.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl<'a> Lexer<'a> { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 7 | pub fn new(content: &'a [char]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DIR_PATH` is never used [INFO] [stdout] --> src/main.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const DIR_PATH: &str = "/Users/hairuilin/Documents/docs.gl"; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_files` is never used [INFO] [stdout] --> src/dir.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn extract_files(dir_path: P, predicate: F) -> std::io::Result> [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_xml_file` is never used [INFO] [stdout] --> src/dir.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn parse_xml_file>(file_path: P) -> std::io::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_xhtml_files_in_json` is never used [INFO] [stdout] --> src/dir.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn write_xhtml_files_in_json(target_file_path: P, from_dir_path: Q) -> std::io::Result<()> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/lexer.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl<'a> Lexer<'a> { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 7 | pub fn new(content: &'a [char]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.60s [INFO] running `Command { std: "docker" "inspect" "55491cb3d0ed3ed6dcfb80e4715cf35e6157539f61433c6fb68d329b08274075", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55491cb3d0ed3ed6dcfb80e4715cf35e6157539f61433c6fb68d329b08274075", kill_on_drop: false }` [INFO] [stdout] 55491cb3d0ed3ed6dcfb80e4715cf35e6157539f61433c6fb68d329b08274075