[INFO] fetching crate pagefind_microjson 0.1.4... [INFO] checking pagefind_microjson-0.1.4 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate pagefind_microjson 0.1.4 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate pagefind_microjson 0.1.4 [INFO] finished tweaking crates.io crate pagefind_microjson 0.1.4 [INFO] tweaked toml for crates.io crate pagefind_microjson 0.1.4 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pagefind_microjson 0.1.4 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 71 packages to latest compatible versions [INFO] [stderr] Adding criterion v0.3.6 (available: v0.6.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 30005173e27f9184cdb966159e8505db1c90f0d0acb2cb3c9fb76a0d51a5a0a1 [INFO] running `Command { std: "docker" "start" "-a" "30005173e27f9184cdb966159e8505db1c90f0d0acb2cb3c9fb76a0d51a5a0a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "30005173e27f9184cdb966159e8505db1c90f0d0acb2cb3c9fb76a0d51a5a0a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30005173e27f9184cdb966159e8505db1c90f0d0acb2cb3c9fb76a0d51a5a0a1", kill_on_drop: false }` [INFO] [stdout] 30005173e27f9184cdb966159e8505db1c90f0d0acb2cb3c9fb76a0d51a5a0a1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 989ded029f17e2dc739dfca8f25bcd4fa3a3cebef89f93c0278b4204f7076049 [INFO] running `Command { std: "docker" "start" "-a" "989ded029f17e2dc739dfca8f25bcd4fa3a3cebef89f93c0278b4204f7076049", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking csv-core v0.1.12 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking half v1.8.3 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Checking pagefind_microjson v0.1.4 (/opt/rustwide/workdir) [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:111:29 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn parse(contents: &'a str) -> Result { [INFO] [stdout] | ^^ --------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 111 | pub fn parse(contents: &'a str) -> Result, JSONParsingError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:158:40 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn parse_and_verify(contents: &'a str) -> Result { [INFO] [stdout] | ^^ --------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 158 | pub fn parse_and_verify(contents: &'a str) -> Result, JSONParsingError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:164:34 [INFO] [stdout] | [INFO] [stdout] 164 | fn parse_with_len(contents: &'a str) -> Result<(JSONValue, usize), JSONParsingError> { [INFO] [stdout] | ^^ --------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 164 | fn parse_with_len(contents: &'a str) -> Result<(JSONValue<'a>, usize), JSONParsingError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:406:26 [INFO] [stdout] | [INFO] [stdout] 406 | pub fn get_key_value(&self, key: &str) -> Result { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 406 | pub fn get_key_value(&self, key: &str) -> Result, JSONParsingError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking criterion-plot v0.4.5 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking csv v1.3.1 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking criterion v0.3.6 [INFO] [stdout] error[E0432]: unresolved import `microjson` [INFO] [stdout] --> tests/large_input.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use microjson::*; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `microjson` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `microjson`, use `cargo add microjson` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `microjson` [INFO] [stdout] --> benches/criterion_bench.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use microjson::*; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `microjson` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `microjson`, use `cargo add microjson` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pagefind_microjson` (test "large_input") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pagefind_microjson` (bench "criterion_bench") due to 1 previous error [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:111:29 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn parse(contents: &'a str) -> Result { [INFO] [stdout] | ^^ --------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 111 | pub fn parse(contents: &'a str) -> Result, JSONParsingError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:158:40 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn parse_and_verify(contents: &'a str) -> Result { [INFO] [stdout] | ^^ --------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 158 | pub fn parse_and_verify(contents: &'a str) -> Result, JSONParsingError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:164:34 [INFO] [stdout] | [INFO] [stdout] 164 | fn parse_with_len(contents: &'a str) -> Result<(JSONValue, usize), JSONParsingError> { [INFO] [stdout] | ^^ --------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 164 | fn parse_with_len(contents: &'a str) -> Result<(JSONValue<'a>, usize), JSONParsingError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:406:26 [INFO] [stdout] | [INFO] [stdout] 406 | pub fn get_key_value(&self, key: &str) -> Result { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 406 | pub fn get_key_value(&self, key: &str) -> Result, JSONParsingError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "989ded029f17e2dc739dfca8f25bcd4fa3a3cebef89f93c0278b4204f7076049", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "989ded029f17e2dc739dfca8f25bcd4fa3a3cebef89f93c0278b4204f7076049", kill_on_drop: false }` [INFO] [stdout] 989ded029f17e2dc739dfca8f25bcd4fa3a3cebef89f93c0278b4204f7076049