[INFO] cloning repository https://github.com/jbiason/FoamParser [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jbiason/FoamParser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjbiason%2FFoamParser", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjbiason%2FFoamParser'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6c7ae355a7694dd3ad50db4b8dd6726dcb3c975b [INFO] testing jbiason/FoamParser against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjbiason%2FFoamParser" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jbiason/FoamParser [INFO] finished tweaking git repo https://github.com/jbiason/FoamParser [INFO] tweaked toml for git repo https://github.com/jbiason/FoamParser written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jbiason/FoamParser on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jbiason/FoamParser 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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded beef v0.5.2 [INFO] [stderr] Downloaded thiserror-impl v1.0.62 [INFO] [stderr] Downloaded logos-derive v0.14.0 [INFO] [stderr] Downloaded logos-codegen v0.14.0 [INFO] [stderr] Downloaded thiserror v1.0.62 [INFO] [stderr] Downloaded tracing-subscriber v0.3.18 [INFO] [stderr] Downloaded syn v2.0.71 [INFO] [stderr] Downloaded logos v0.14.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3060c992e1c0d02c4733bd9e144d00c31cc080b8138bca7b794ae78d03a2fa18 [INFO] running `Command { std: "docker" "start" "-a" "3060c992e1c0d02c4733bd9e144d00c31cc080b8138bca7b794ae78d03a2fa18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3060c992e1c0d02c4733bd9e144d00c31cc080b8138bca7b794ae78d03a2fa18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3060c992e1c0d02c4733bd9e144d00c31cc080b8138bca7b794ae78d03a2fa18", kill_on_drop: false }` [INFO] [stdout] 3060c992e1c0d02c4733bd9e144d00c31cc080b8138bca7b794ae78d03a2fa18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c16db00c273c74150dab4f4df1471cc18c4f9e1d572d15bfd6d5feaa6bf13ff6 [INFO] running `Command { std: "docker" "start" "-a" "c16db00c273c74150dab4f4df1471cc18c4f9e1d572d15bfd6d5feaa6bf13ff6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.6 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling thiserror v1.0.62 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.71 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling logos-codegen v0.14.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.62 [INFO] [stderr] Compiling logos-derive v0.14.0 [INFO] [stderr] Compiling logos v0.14.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling foamparser v0.2.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/access.rs:44:16 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn get(&self, key: &str) -> Result<&[Foam<'a>], FoamError> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 44 | pub fn get(&self, key: &str) -> Result<&[Foam<'a>], FoamError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/access.rs:70:22 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn get_first(&self, key: &str) -> Result<&Foam<'a>, FoamError> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 70 | pub fn get_first(&self, key: &str) -> Result<&Foam<'a>, FoamError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/access.rs:97:28 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn get_first_value(&self, key: &str) -> Result<&str, FoamError> { [INFO] [stdout] | ^^^^^ ^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 97 | pub fn get_first_value(&self, key: &str) -> Result<&str, FoamError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/access.rs:135:27 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn get_first_list(&self, key: &str) -> Result<&[Foam<'a>], FoamError> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 135 | pub fn get_first_list(&self, key: &str) -> Result<&[Foam<'a>], FoamError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/access.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 186 | key: &str, [INFO] [stdout] 187 | ) -> Result<&HashMap<&str, Vec>>, FoamError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 187 | ) -> Result<&HashMap<&str, Vec>>, FoamError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/access.rs:233:20 [INFO] [stdout] | [INFO] [stdout] 233 | pub fn as_dict(&self) -> Result<&HashMap<&str, Vec>>, FoamError> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 233 | pub fn as_dict(&self) -> Result<&HashMap<&str, Vec>>, FoamError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/access.rs:261:21 [INFO] [stdout] | [INFO] [stdout] 261 | pub fn as_value(&self) -> Result<&'a str, FoamError> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 261 | pub fn as_value(&self) -> Result<&'a str, FoamError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.67s [INFO] running `Command { std: "docker" "inspect" "c16db00c273c74150dab4f4df1471cc18c4f9e1d572d15bfd6d5feaa6bf13ff6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c16db00c273c74150dab4f4df1471cc18c4f9e1d572d15bfd6d5feaa6bf13ff6", kill_on_drop: false }` [INFO] [stdout] c16db00c273c74150dab4f4df1471cc18c4f9e1d572d15bfd6d5feaa6bf13ff6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fae4779916cd8ff233eeabf6252c913e8e68428388a58213ac1c803a7acd2ad6 [INFO] running `Command { std: "docker" "start" "-a" "fae4779916cd8ff233eeabf6252c913e8e68428388a58213ac1c803a7acd2ad6", kill_on_drop: false }` [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/access.rs:44:16 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn get(&self, key: &str) -> Result<&[Foam<'a>], FoamError> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 44 | pub fn get(&self, key: &str) -> Result<&[Foam<'a>], FoamError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/access.rs:70:22 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn get_first(&self, key: &str) -> Result<&Foam<'a>, FoamError> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 70 | pub fn get_first(&self, key: &str) -> Result<&Foam<'a>, FoamError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling foamparser v0.2.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/access.rs:97:28 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn get_first_value(&self, key: &str) -> Result<&str, FoamError> { [INFO] [stdout] | ^^^^^ ^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 97 | pub fn get_first_value(&self, key: &str) -> Result<&str, FoamError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/access.rs:135:27 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn get_first_list(&self, key: &str) -> Result<&[Foam<'a>], FoamError> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 135 | pub fn get_first_list(&self, key: &str) -> Result<&[Foam<'a>], FoamError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/access.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 186 | key: &str, [INFO] [stdout] 187 | ) -> Result<&HashMap<&str, Vec>>, FoamError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 187 | ) -> Result<&HashMap<&str, Vec>>, FoamError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/access.rs:233:20 [INFO] [stdout] | [INFO] [stdout] 233 | pub fn as_dict(&self) -> Result<&HashMap<&str, Vec>>, FoamError> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 233 | pub fn as_dict(&self) -> Result<&HashMap<&str, Vec>>, FoamError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/access.rs:261:21 [INFO] [stdout] | [INFO] [stdout] 261 | pub fn as_value(&self) -> Result<&'a str, FoamError> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 261 | pub fn as_value(&self) -> Result<&'a str, FoamError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/access.rs:44:16 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn get(&self, key: &str) -> Result<&[Foam<'a>], FoamError> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 44 | pub fn get(&self, key: &str) -> Result<&[Foam<'a>], FoamError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/access.rs:70:22 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn get_first(&self, key: &str) -> Result<&Foam<'a>, FoamError> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 70 | pub fn get_first(&self, key: &str) -> Result<&Foam<'a>, FoamError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/access.rs:97:28 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn get_first_value(&self, key: &str) -> Result<&str, FoamError> { [INFO] [stdout] | ^^^^^ ^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 97 | pub fn get_first_value(&self, key: &str) -> Result<&str, FoamError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/access.rs:135:27 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn get_first_list(&self, key: &str) -> Result<&[Foam<'a>], FoamError> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 135 | pub fn get_first_list(&self, key: &str) -> Result<&[Foam<'a>], FoamError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/access.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 186 | key: &str, [INFO] [stdout] 187 | ) -> Result<&HashMap<&str, Vec>>, FoamError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 187 | ) -> Result<&HashMap<&str, Vec>>, FoamError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/access.rs:233:20 [INFO] [stdout] | [INFO] [stdout] 233 | pub fn as_dict(&self) -> Result<&HashMap<&str, Vec>>, FoamError> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 233 | pub fn as_dict(&self) -> Result<&HashMap<&str, Vec>>, FoamError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/access.rs:261:21 [INFO] [stdout] | [INFO] [stdout] 261 | pub fn as_value(&self) -> Result<&'a str, FoamError> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 261 | pub fn as_value(&self) -> Result<&'a str, FoamError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.06s [INFO] running `Command { std: "docker" "inspect" "fae4779916cd8ff233eeabf6252c913e8e68428388a58213ac1c803a7acd2ad6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fae4779916cd8ff233eeabf6252c913e8e68428388a58213ac1c803a7acd2ad6", kill_on_drop: false }` [INFO] [stdout] fae4779916cd8ff233eeabf6252c913e8e68428388a58213ac1c803a7acd2ad6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8d27e54c442d5ae88f4d82c5630f1e7f2c3e7277c3a1c63542d7596e784cdbef [INFO] running `Command { std: "docker" "start" "-a" "8d27e54c442d5ae88f4d82c5630f1e7f2c3e7277c3a1c63542d7596e784cdbef", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/access.rs:44:16 [INFO] [stderr] | [INFO] [stderr] 44 | pub fn get(&self, key: &str) -> Result<&[Foam<'a>], FoamError> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 44 | pub fn get(&self, key: &str) -> Result<&[Foam<'a>], FoamError<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/access.rs:70:22 [INFO] [stderr] | [INFO] [stderr] 70 | pub fn get_first(&self, key: &str) -> Result<&Foam<'a>, FoamError> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 70 | pub fn get_first(&self, key: &str) -> Result<&Foam<'a>, FoamError<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/access.rs:97:28 [INFO] [stderr] | [INFO] [stderr] 97 | pub fn get_first_value(&self, key: &str) -> Result<&str, FoamError> { [INFO] [stderr] | ^^^^^ ^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 97 | pub fn get_first_value(&self, key: &str) -> Result<&str, FoamError<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/access.rs:135:27 [INFO] [stderr] | [INFO] [stderr] 135 | pub fn get_first_list(&self, key: &str) -> Result<&[Foam<'a>], FoamError> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 135 | pub fn get_first_list(&self, key: &str) -> Result<&[Foam<'a>], FoamError<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/access.rs:185:9 [INFO] [stderr] | [INFO] [stderr] 185 | &self, [INFO] [stderr] | ^^^^^ the lifetime is elided here [INFO] [stderr] 186 | key: &str, [INFO] [stderr] 187 | ) -> Result<&HashMap<&str, Vec>>, FoamError> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the same lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 187 | ) -> Result<&HashMap<&str, Vec>>, FoamError<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/access.rs:233:20 [INFO] [stderr] | [INFO] [stderr] 233 | pub fn as_dict(&self) -> Result<&HashMap<&str, Vec>>, FoamError> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | | [INFO] [stderr] | | | the same lifetime is elided here [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 233 | pub fn as_dict(&self) -> Result<&HashMap<&str, Vec>>, FoamError<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/access.rs:261:21 [INFO] [stderr] | [INFO] [stderr] 261 | pub fn as_value(&self) -> Result<&'a str, FoamError> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 261 | pub fn as_value(&self) -> Result<&'a str, FoamError<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `foamparser` (lib) generated 7 warnings (run `cargo fix --lib -p foamparser` to apply 7 suggestions) [INFO] [stderr] warning: `foamparser` (lib test) generated 7 warnings (7 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/foamparser-48aa949f72b829f5) [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test parser::test::lists_with_lists ... ok [INFO] [stdout] test parser::test::dict_with_multiple_values ... ok [INFO] [stdout] test parser::test::multiple_variables ... ok [INFO] [stdout] test parser::test::all_types ... ok [INFO] [stdout] test output::test::a_list ... ok [INFO] [stdout] test parser::test::dict_with_lists ... ok [INFO] [stdout] test output::test::simple ... ok [INFO] [stdout] test parser::test::simple_list ... ok [INFO] [stdout] test parser::test::single_attribution ... ok [INFO] [stdout] test parser::test::var_dict_list ... ok [INFO] [stdout] test parser::test::mutiple_attributions ... ok [INFO] [stdout] test parser::test::simple_dict ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Doc-tests foamparser [INFO] [stdout] [INFO] [stdout] running 15 tests [INFO] [stdout] test src/access.rs - access::Foam<'a>::as_value (line 242) ... ok [INFO] [stdout] test src/access.rs - access::Foam<'a>::get_first_value (line 90) ... ok [INFO] [stdout] test src/access.rs - access::Foam<'a>::get_first (line 59) ... ok [INFO] [stdout] test src/access.rs - access::Foam<'a>::get (line 36) ... ok [INFO] [stdout] test src/access.rs - access::Foam<'a>::as_dict (line 224) ... ok [INFO] [stdout] test src/access.rs - access::Foam<'a>::get (line 24) ... ok [INFO] [stdout] test src/access.rs - access::Foam<'a>::as_dict (line 204) ... ok [INFO] [stdout] test src/access.rs - access::Foam<'a>::as_value (line 253) ... ok [INFO] [stdout] test src/access.rs - access::Foam<'a>::get_first_list (line 128) ... ok [INFO] [stdout] test src/access.rs - access::Foam<'a>::get_first_dict (line 167) ... ok [INFO] [stdout] test src/access.rs - access::Foam<'a>::get (line 14) ... ok [INFO] [stdout] test src/access.rs - access::Foam<'a>::get_first_dict (line 178) ... ok [INFO] [stdout] test src/access.rs - access::Foam<'a>::get_first_value (line 80) ... ok [INFO] [stdout] test src/access.rs - access::Foam<'a>::get_first_dict (line 153) ... ok [INFO] [stdout] test src/access.rs - access::Foam<'a>::get_first_list (line 116) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 15 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.51s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8d27e54c442d5ae88f4d82c5630f1e7f2c3e7277c3a1c63542d7596e784cdbef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d27e54c442d5ae88f4d82c5630f1e7f2c3e7277c3a1c63542d7596e784cdbef", kill_on_drop: false }` [INFO] [stdout] 8d27e54c442d5ae88f4d82c5630f1e7f2c3e7277c3a1c63542d7596e784cdbef