[INFO] cloning repository https://github.com/paxromana96/java-ripgrep
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/paxromana96/java-ripgrep" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaxromana96%2Fjava-ripgrep", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaxromana96%2Fjava-ripgrep'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] cc4e1a4ed371540d977c28ca8ade6823c6d3a6be
[INFO] checking paxromana96/java-ripgrep against 0cefa27fe3deee26fc98ee44249406358d9f0d26 for pr-164789
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaxromana96%2Fjava-ripgrep" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/paxromana96/java-ripgrep
[INFO] finished tweaking git repo https://github.com/paxromana96/java-ripgrep
[INFO] tweaked toml for git repo https://github.com/paxromana96/java-ripgrep written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/paxromana96/java-ripgrep on toolchain 0cefa27fe3deee26fc98ee44249406358d9f0d26
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0cefa27fe3deee26fc98ee44249406358d9f0d26" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/paxromana96/java-ripgrep 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" "+0cefa27fe3deee26fc98ee44249406358d9f0d26" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded bytecount v0.5.1
[INFO] [stderr]   Downloaded grep v0.2.4
[INFO] [stderr]   Downloaded grep-searcher v0.1.6
[INFO] [stderr]   Downloaded encoding_rs_io v0.1.6
[INFO] [stderr]   Downloaded grep-matcher v0.1.3
[INFO] [stderr]   Downloaded grep-regex v0.1.5
[INFO] [stderr]   Downloaded termcolor v1.1.0
[INFO] [stderr]   Downloaded grep-printer v0.1.3
[INFO] [stderr]   Downloaded grep-cli v0.1.3
[INFO] [stderr]   Downloaded globset v0.4.4
[INFO] [stderr]   Downloaded regex-automata v0.1.8
[INFO] [stderr]   Downloaded bstr v0.2.11
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:c0af3998e971868164375a7dfb646c9933ddd1a3bdb00fa2041266763dc1eeab" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 555c8110fc64c7dafff1cf1ba44cda95a372d6b121159c9d24c2e96ba03f38c4
[INFO] running `Command { std: "docker" "start" "555c8110fc64c7dafff1cf1ba44cda95a372d6b121159c9d24c2e96ba03f38c4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "555c8110fc64c7dafff1cf1ba44cda95a372d6b121159c9d24c2e96ba03f38c4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "555c8110fc64c7dafff1cf1ba44cda95a372d6b121159c9d24c2e96ba03f38c4" "/opt/rustwide/cargo-home/bin/cargo" "+0cefa27fe3deee26fc98ee44249406358d9f0d26" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "555c8110fc64c7dafff1cf1ba44cda95a372d6b121159c9d24c2e96ba03f38c4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "555c8110fc64c7dafff1cf1ba44cda95a372d6b121159c9d24c2e96ba03f38c4" "/opt/rustwide/cargo-home/bin/cargo" "+0cefa27fe3deee26fc98ee44249406358d9f0d26" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling memchr v2.3.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.8
[INFO] [stderr]    Compiling encoding_rs v0.8.22
[INFO] [stderr]    Compiling syn v1.0.14
[INFO] [stderr]     Checking regex-syntax v0.6.14
[INFO] [stderr]     Checking itoa v0.4.5
[INFO] [stderr]     Checking thread_local v1.0.1
[INFO] [stderr]    Compiling ryu v1.0.2
[INFO] [stderr]     Checking termcolor v1.1.0
[INFO] [stderr]     Checking bytecount v0.5.1
[INFO] [stderr]     Checking thread_local v0.3.6
[INFO] [stderr]     Checking regex-automata v0.1.8
[INFO] [stderr]     Checking memmap v0.7.0
[INFO] [stderr]     Checking serde_json v1.0.46
[INFO] [stderr]     Checking aho-corasick v0.7.8
[INFO] [stderr]     Checking bstr v0.2.11
[INFO] [stderr]     Checking grep-matcher v0.1.3
[INFO] [stderr]    Compiling quote v1.0.2
[INFO] [stderr]     Checking encoding_rs_io v0.1.6
[INFO] [stderr]     Checking regex v1.3.4
[INFO] [stderr]     Checking grep-searcher v0.1.6
[INFO] [stderr]    Compiling serde_derive v1.0.104
[INFO] [stderr]     Checking globset v0.4.4
[INFO] [stderr]     Checking grep-regex v0.1.5
[INFO] [stderr]     Checking grep-cli v0.1.3
[INFO] [stderr]     Checking grep-printer v0.1.3
[INFO] [stderr]     Checking grep v0.2.4
[INFO] [stderr]     Checking ripgrep_ffi v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: the `no_mangle` attribute cannot be used on structs
[INFO] [stdout]   --> src/main/rust/types.rs:12:3
[INFO] [stdout]    |
[INFO] [stdout] 12 | #[no_mangle] // or else JNA can't determine what fields the struct has
[INFO] [stdout]    |   ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: the `no_mangle` attribute can be applied to functions and statics
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `error_message` is never read
[INFO] [stdout]   --> src/main/rust/types.rs:47:5
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub struct CallbackError {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] 47 |     error_message: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ffi::search_dir`: please use `search_path` instead
[INFO] [stdout]   --> src/main/rust/tests/search_dir.rs:19:23
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let result_code = search_dir(filename.as_ptr(), search_pattern.as_ptr(), Some(callback));
[INFO] [stdout]    |                       ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ffi::search_dir`: please use `search_path` instead
[INFO] [stdout]   --> src/main/rust/tests/search_dir.rs:31:23
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let result_code = search_dir(filename.as_ptr(), search_pattern.as_ptr(), Some(callback));
[INFO] [stdout]    |                       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ffi::search_dir`: please use `search_path` instead
[INFO] [stdout]   --> src/main/rust/tests/search_dir.rs:43:23
[INFO] [stdout]    |
[INFO] [stdout] 43 |     let result_code = search_dir(filename.as_ptr(), search_pattern.as_ptr(), Some(callback));
[INFO] [stdout]    |                       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ffi::search_dir`: please use `search_path` instead
[INFO] [stdout]   --> src/main/rust/tests/search_dir.rs:54:23
[INFO] [stdout]    |
[INFO] [stdout] 54 |     let result_code = search_dir(ptr::null(), search_pattern.as_ptr(), Some(callback));
[INFO] [stdout]    |                       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ffi::search_dir`: please use `search_path` instead
[INFO] [stdout]   --> src/main/rust/tests/search_dir.rs:69:23
[INFO] [stdout]    |
[INFO] [stdout] 69 |     let result_code = search_dir(filename.as_ptr(), ptr::null(), Some(callback));
[INFO] [stdout]    |                       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ffi::search_dir`: please use `search_path` instead
[INFO] [stdout]   --> src/main/rust/tests/search_dir.rs:84:23
[INFO] [stdout]    |
[INFO] [stdout] 84 |     let result_code = search_dir(filename.as_ptr(), search_pattern.as_ptr(), None);
[INFO] [stdout]    |                       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ffi::search_dir`: please use `search_path` instead
[INFO] [stdout]    --> src/main/rust/tests/search_dir.rs:102:23
[INFO] [stdout]     |
[INFO] [stdout] 102 |     let result_code = search_dir(filename.as_ptr(), search_text.as_ptr(), Some(callback));
[INFO] [stdout]     |                       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ffi::search_file`: please use `search_path` instead
[INFO] [stdout]   --> src/main/rust/tests/search_file.rs:20:23
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let result_code = search_file(filename.as_ptr(), search_pattern.as_ptr(), Some(callback));
[INFO] [stdout]    |                       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ffi::search_file`: please use `search_path` instead
[INFO] [stdout]   --> src/main/rust/tests/search_file.rs:33:23
[INFO] [stdout]    |
[INFO] [stdout] 33 |     let result_code = search_file(filename.as_ptr(), search_pattern.as_ptr(), Some(callback));
[INFO] [stdout]    |                       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ffi::search_file`: please use `search_path` instead
[INFO] [stdout]   --> src/main/rust/tests/search_file.rs:47:23
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let result_code = search_file(filename.as_ptr(), search_pattern.as_ptr(), Some(callback));
[INFO] [stdout]    |                       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ffi::search_file`: please use `search_path` instead
[INFO] [stdout]   --> src/main/rust/tests/search_file.rs:59:23
[INFO] [stdout]    |
[INFO] [stdout] 59 |     let result_code = search_file(ptr::null(), search_pattern.as_ptr(), Some(callback));
[INFO] [stdout]    |                       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ffi::search_file`: please use `search_path` instead
[INFO] [stdout]   --> src/main/rust/tests/search_file.rs:74:23
[INFO] [stdout]    |
[INFO] [stdout] 74 |     let result_code = search_file(filename.as_ptr(), ptr::null(), Some(callback));
[INFO] [stdout]    |                       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ffi::search_file`: please use `search_path` instead
[INFO] [stdout]   --> src/main/rust/tests/search_file.rs:90:23
[INFO] [stdout]    |
[INFO] [stdout] 90 |     let result_code = search_file(filename.as_ptr(), search_pattern.as_ptr(), None);
[INFO] [stdout]    |                       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ffi::search_file`: please use `search_path` instead
[INFO] [stdout]    --> src/main/rust/tests/search_file.rs:108:23
[INFO] [stdout]     |
[INFO] [stdout] 108 |     let result_code = search_file(filename.as_ptr(), search_text.as_ptr(), Some(callback));
[INFO] [stdout]     |                       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the `no_mangle` attribute cannot be used on structs
[INFO] [stdout]   --> src/main/rust/types.rs:12:3
[INFO] [stdout]    |
[INFO] [stdout] 12 | #[no_mangle] // or else JNA can't determine what fields the struct has
[INFO] [stdout]    |   ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: the `no_mangle` attribute can be applied to functions and statics
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `error_message` is never read
[INFO] [stdout]   --> src/main/rust/types.rs:47:5
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub struct CallbackError {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] 47 |     error_message: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.24s
[INFO] running `Command { std: "docker" "inspect" "555c8110fc64c7dafff1cf1ba44cda95a372d6b121159c9d24c2e96ba03f38c4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "555c8110fc64c7dafff1cf1ba44cda95a372d6b121159c9d24c2e96ba03f38c4", kill_on_drop: false }`
[INFO] [stdout] 555c8110fc64c7dafff1cf1ba44cda95a372d6b121159c9d24c2e96ba03f38c4
