[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 try#2440211fe03bc45c89b6dc1a3df18382ce91e32b 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-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jbiason/FoamParser on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8916e80fa385ff69ed639ec452666c7c570d1d96ba183a9490747cd834e407f1 [INFO] running `Command { std: "docker" "start" "-a" "8916e80fa385ff69ed639ec452666c7c570d1d96ba183a9490747cd834e407f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8916e80fa385ff69ed639ec452666c7c570d1d96ba183a9490747cd834e407f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8916e80fa385ff69ed639ec452666c7c570d1d96ba183a9490747cd834e407f1", kill_on_drop: false }` [INFO] [stdout] 8916e80fa385ff69ed639ec452666c7c570d1d96ba183a9490747cd834e407f1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be5c2a9d3ddf199872e9c866ec416e86a4974985b6896f8df75255519cfc2854 [INFO] running `Command { std: "docker" "start" "-a" "be5c2a9d3ddf199872e9c866ec416e86a4974985b6896f8df75255519cfc2854", 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 log v0.4.22 [INFO] [stderr] Compiling thiserror v1.0.62 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [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 tracing v0.1.40 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling logos v0.14.0 [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 13.63s [INFO] running `Command { std: "docker" "inspect" "be5c2a9d3ddf199872e9c866ec416e86a4974985b6896f8df75255519cfc2854", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be5c2a9d3ddf199872e9c866ec416e86a4974985b6896f8df75255519cfc2854", kill_on_drop: false }` [INFO] [stdout] be5c2a9d3ddf199872e9c866ec416e86a4974985b6896f8df75255519cfc2854 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4daf124ef62e78bd87b31ba715d49afdaf5e007fad3338effd4982232cc4df0a [INFO] running `Command { std: "docker" "start" "-a" "4daf124ef62e78bd87b31ba715d49afdaf5e007fad3338effd4982232cc4df0a", 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] [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] [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: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.00s [INFO] running `Command { std: "docker" "inspect" "4daf124ef62e78bd87b31ba715d49afdaf5e007fad3338effd4982232cc4df0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4daf124ef62e78bd87b31ba715d49afdaf5e007fad3338effd4982232cc4df0a", kill_on_drop: false }` [INFO] [stdout] 4daf124ef62e78bd87b31ba715d49afdaf5e007fad3338effd4982232cc4df0a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fbb0ea7af19d66bb06b623d48c06b0d562bdc720f9fe24d09c0389b8d2426700 [INFO] running `Command { std: "docker" "start" "-a" "fbb0ea7af19d66bb06b623d48c06b0d562bdc720f9fe24d09c0389b8d2426700", 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.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/foamparser-48aa949f72b829f5) [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test output::test::a_list ... ok [INFO] [stdout] test output::test::simple ... ok [INFO] [stdout] test parser::test::dict_with_lists ... ok [INFO] [stdout] test parser::test::dict_with_multiple_values ... ok [INFO] [stdout] test parser::test::all_types ... ok [INFO] [stdout] test parser::test::multiple_variables ... ok [INFO] [stdout] test parser::test::lists_with_lists ... ok [INFO] [stdout] test parser::test::simple_dict ... ok [INFO] [stdout] test parser::test::simple_list ... ok [INFO] [stdout] test parser::test::single_attribution ... ok [INFO] [stdout] test parser::test::mutiple_attributions ... ok [INFO] [stdout] test parser::test::var_dict_list ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests foamparser [INFO] [stdout] [INFO] [stdout] running 15 tests [INFO] [stdout] test src/access.rs - access::Foam<'a>::get_first_value (line 80) ... ok [INFO] [stdout] test src/access.rs - access::Foam<'a>::as_value (line 242) ... 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_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_first_dict (line 178) ... 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_list (line 116) ... 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 (line 59) ... 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_value (line 90) ... 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 204) ... ok [INFO] [stdout] test src/access.rs - access::Foam<'a>::get (line 24) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 15 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.78s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "fbb0ea7af19d66bb06b623d48c06b0d562bdc720f9fe24d09c0389b8d2426700", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbb0ea7af19d66bb06b623d48c06b0d562bdc720f9fe24d09c0389b8d2426700", kill_on_drop: false }` [INFO] [stdout] fbb0ea7af19d66bb06b623d48c06b0d562bdc720f9fe24d09c0389b8d2426700