[INFO] fetching crate ilex_xml 0.4.2... [INFO] checking ilex_xml-0.4.2 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate ilex_xml 0.4.2 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate ilex_xml 0.4.2 [INFO] finished tweaking crates.io crate ilex_xml 0.4.2 [INFO] tweaked toml for crates.io crate ilex_xml 0.4.2 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ilex_xml 0.4.2 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] crate crates.io crate ilex_xml 0.4.2 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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] aa2dad70c94491d46d3cafe9b68a64942ea1c7113954d66c6f99c7a68426ad64 [INFO] running `Command { std: "docker" "start" "-a" "aa2dad70c94491d46d3cafe9b68a64942ea1c7113954d66c6f99c7a68426ad64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aa2dad70c94491d46d3cafe9b68a64942ea1c7113954d66c6f99c7a68426ad64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa2dad70c94491d46d3cafe9b68a64942ea1c7113954d66c6f99c7a68426ad64", kill_on_drop: false }` [INFO] [stdout] aa2dad70c94491d46d3cafe9b68a64942ea1c7113954d66c6f99c7a68426ad64 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 395442da0a4dc542d3e974441972d398a5ee6454ad8a791a9d1e61ab0cb32e82 [INFO] running `Command { std: "docker" "start" "-a" "395442da0a4dc542d3e974441972d398a5ee6454ad8a791a9d1e61ab0cb32e82", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking quick-xml v0.36.2 [INFO] [stderr] Checking ilex_xml v0.4.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/element.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 55 | predicate: &'a impl Fn(&Item) -> bool, [INFO] [stdout] 56 | ) -> Box + '_> { [INFO] [stdout] | ----- -- the lifetimes get resolved as `'_` [INFO] [stdout] | || [INFO] [stdout] | |the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 56 | ) -> Box> + '_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/element.rs:78:27 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn find_children(&'a self, name: &'a str) -> impl Iterator { [INFO] [stdout] | ^^ ^^ -------- [INFO] [stdout] | | | || [INFO] [stdout] | | | |the lifetimes get resolved as `'a` [INFO] [stdout] | | | the lifetimes get resolved as `'a` [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 78 | pub fn find_children(&'a self, name: &'a str) -> impl Iterator> { [INFO] [stdout] | ++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/element.rs:92:31 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn find_children_mut(&'a mut self, name: &'a str) -> impl Iterator { [INFO] [stdout] | ^^ ^^ ------------ [INFO] [stdout] | | | | | [INFO] [stdout] | | | | the lifetimes get resolved as `'a` [INFO] [stdout] | | | the lifetimes get resolved as `'a` [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 92 | pub fn find_children_mut(&'a mut self, name: &'a str) -> impl Iterator> { [INFO] [stdout] | ++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/element.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 118 | depth: NonZero, [INFO] [stdout] 119 | ) -> Box + '_> { [INFO] [stdout] | ----- -- the lifetimes get resolved as `'_` [INFO] [stdout] | || [INFO] [stdout] | |the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get resolved as `'_` [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] 119 | ) -> Box> + '_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/element.rs:154:10 [INFO] [stdout] | [INFO] [stdout] 154 | &'a mut self, [INFO] [stdout] | ^^ this lifetime flows to the output [INFO] [stdout] 155 | depth: usize, [INFO] [stdout] 156 | ) -> Box + '_> { [INFO] [stdout] | --------- -- the lifetimes get resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'a` [INFO] [stdout] | the lifetimes get resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 156 | ) -> Box> + '_> { [INFO] [stdout] | ++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/element.rs:313:23 [INFO] [stdout] | [INFO] [stdout] 313 | fn get_all_events(&self) -> Box + '_> { [INFO] [stdout] | ^^^^^ ----- -- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [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] 313 | fn get_all_events(&self) -> Box> + '_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/item.rs:92:23 [INFO] [stdout] | [INFO] [stdout] 92 | fn get_all_events(&self) -> Box + '_> { [INFO] [stdout] | ^^^^^ ----- -- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [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] 92 | fn get_all_events(&self) -> Box> + '_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/other.rs:80:18 [INFO] [stdout] | [INFO] [stdout] 80 | fn get_event(&self) -> Event { [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] 80 | fn get_event(&self) -> Event<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/other.rs:118:23 [INFO] [stdout] | [INFO] [stdout] 118 | fn get_all_events(&self) -> Box + '_> { [INFO] [stdout] | ^^^^^ ----- -- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [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] 118 | fn get_all_events(&self) -> Box> + '_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parsing.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn parse_trimmed(xml: &str) -> Result, Error> { [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] 5 | pub fn parse_trimmed(xml: &str) -> Result>, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parsing.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn parse(xml: &str) -> Result, Error> { [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] 11 | pub fn parse(xml: &str) -> Result>, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parsing.rs:84:24 [INFO] [stdout] | [INFO] [stdout] 84 | fn get_all_events(xml: &str, trim: bool) -> Result, Error> { [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] 84 | fn get_all_events(xml: &str, trim: bool) -> Result>, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/util.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | fn get_all_events(&self) -> Box + '_>; [INFO] [stdout] | ^^^^^ ----- -- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [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] 14 | fn get_all_events(&self) -> Box> + '_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/element.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 55 | predicate: &'a impl Fn(&Item) -> bool, [INFO] [stdout] 56 | ) -> Box + '_> { [INFO] [stdout] | ----- -- the lifetimes get resolved as `'_` [INFO] [stdout] | || [INFO] [stdout] | |the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 56 | ) -> Box> + '_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/element.rs:78:27 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn find_children(&'a self, name: &'a str) -> impl Iterator { [INFO] [stdout] | ^^ ^^ -------- [INFO] [stdout] | | | || [INFO] [stdout] | | | |the lifetimes get resolved as `'a` [INFO] [stdout] | | | the lifetimes get resolved as `'a` [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 78 | pub fn find_children(&'a self, name: &'a str) -> impl Iterator> { [INFO] [stdout] | ++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/element.rs:92:31 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn find_children_mut(&'a mut self, name: &'a str) -> impl Iterator { [INFO] [stdout] | ^^ ^^ ------------ [INFO] [stdout] | | | | | [INFO] [stdout] | | | | the lifetimes get resolved as `'a` [INFO] [stdout] | | | the lifetimes get resolved as `'a` [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 92 | pub fn find_children_mut(&'a mut self, name: &'a str) -> impl Iterator> { [INFO] [stdout] | ++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/element.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 118 | depth: NonZero, [INFO] [stdout] 119 | ) -> Box + '_> { [INFO] [stdout] | ----- -- the lifetimes get resolved as `'_` [INFO] [stdout] | || [INFO] [stdout] | |the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get resolved as `'_` [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] 119 | ) -> Box> + '_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/element.rs:154:10 [INFO] [stdout] | [INFO] [stdout] 154 | &'a mut self, [INFO] [stdout] | ^^ this lifetime flows to the output [INFO] [stdout] 155 | depth: usize, [INFO] [stdout] 156 | ) -> Box + '_> { [INFO] [stdout] | --------- -- the lifetimes get resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'a` [INFO] [stdout] | the lifetimes get resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 156 | ) -> Box> + '_> { [INFO] [stdout] | ++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/element.rs:313:23 [INFO] [stdout] | [INFO] [stdout] 313 | fn get_all_events(&self) -> Box + '_> { [INFO] [stdout] | ^^^^^ ----- -- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [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] 313 | fn get_all_events(&self) -> Box> + '_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/item.rs:92:23 [INFO] [stdout] | [INFO] [stdout] 92 | fn get_all_events(&self) -> Box + '_> { [INFO] [stdout] | ^^^^^ ----- -- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [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] 92 | fn get_all_events(&self) -> Box> + '_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/other.rs:80:18 [INFO] [stdout] | [INFO] [stdout] 80 | fn get_event(&self) -> Event { [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] 80 | fn get_event(&self) -> Event<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/other.rs:118:23 [INFO] [stdout] | [INFO] [stdout] 118 | fn get_all_events(&self) -> Box + '_> { [INFO] [stdout] | ^^^^^ ----- -- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [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] 118 | fn get_all_events(&self) -> Box> + '_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parsing.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn parse_trimmed(xml: &str) -> Result, Error> { [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] 5 | pub fn parse_trimmed(xml: &str) -> Result>, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parsing.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn parse(xml: &str) -> Result, Error> { [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] 11 | pub fn parse(xml: &str) -> Result>, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parsing.rs:84:24 [INFO] [stdout] | [INFO] [stdout] 84 | fn get_all_events(xml: &str, trim: bool) -> Result, Error> { [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] 84 | fn get_all_events(xml: &str, trim: bool) -> Result>, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/util.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | fn get_all_events(&self) -> Box + '_>; [INFO] [stdout] | ^^^^^ ----- -- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [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] 14 | fn get_all_events(&self) -> Box> + '_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.37s [INFO] running `Command { std: "docker" "inspect" "395442da0a4dc542d3e974441972d398a5ee6454ad8a791a9d1e61ab0cb32e82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "395442da0a4dc542d3e974441972d398a5ee6454ad8a791a9d1e61ab0cb32e82", kill_on_drop: false }` [INFO] [stdout] 395442da0a4dc542d3e974441972d398a5ee6454ad8a791a9d1e61ab0cb32e82