[INFO] fetching crate sgmlish 0.2.0... [INFO] testing sgmlish-0.2.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate sgmlish 0.2.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate sgmlish 0.2.0 [INFO] finished tweaking crates.io crate sgmlish 0.2.0 [INFO] tweaked toml for crates.io crate sgmlish 0.2.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate sgmlish 0.2.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate sgmlish 0.2.0 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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a354780f51b37d0aad361bf967312f63506b068caf91c7b68110505e9d87f124 [INFO] running `Command { std: "docker" "start" "-a" "a354780f51b37d0aad361bf967312f63506b068caf91c7b68110505e9d87f124", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a354780f51b37d0aad361bf967312f63506b068caf91c7b68110505e9d87f124", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a354780f51b37d0aad361bf967312f63506b068caf91c7b68110505e9d87f124", kill_on_drop: false }` [INFO] [stdout] a354780f51b37d0aad361bf967312f63506b068caf91c7b68110505e9d87f124 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a224e06d92acc9151d1ae9db97cfef821cdb0256b77fa37d04520caae287fcc0 [INFO] running `Command { std: "docker" "start" "-a" "a224e06d92acc9151d1ae9db97cfef821cdb0256b77fa37d04520caae287fcc0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling minimal-lexical v0.1.3 [INFO] [stderr] Compiling nom v7.0.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling thiserror-impl v1.0.29 [INFO] [stderr] Compiling thiserror v1.0.29 [INFO] [stderr] Compiling sgmlish v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/entities.rs:42:42 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn expand_character_references(text: &str) -> Result> { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 42 | pub fn expand_character_references(text: &str) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/entities.rs:66:36 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn expand_entities(text: &str, f: F) -> Result> [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] 66 | pub fn expand_entities(text: &str, f: F) -> Result> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/entities.rs:92:46 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn expand_parameter_entities(text: &str, f: F) -> Result> [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] 92 | pub fn expand_parameter_entities(text: &str, f: F) -> Result> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/entities.rs:151:30 [INFO] [stdout] | [INFO] [stdout] 151 | fn entity_or_char_ref(input: &str) -> IResult<&str, EntityRef> { [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] 151 | fn entity_or_char_ref(input: &str) -> IResult<&str, EntityRef<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/entities.rs:155:20 [INFO] [stdout] | [INFO] [stdout] 155 | fn char_ref(input: &str) -> IResult<&str, EntityRef> { [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] 155 | fn char_ref(input: &str) -> IResult<&str, EntityRef<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/entities.rs:178:18 [INFO] [stdout] | [INFO] [stdout] 178 | fn entity(input: &str) -> IResult<&str, EntityRef> { [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] 178 | fn entity(input: &str) -> IResult<&str, EntityRef<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fragment.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn iter(&self) -> std::slice::Iter> { [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] 36 | pub fn iter(&self) -> std::slice::Iter<'_, SgmlEvent<'a>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fragment.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn iter_mut(&mut self) -> std::slice::IterMut> { [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] 41 | pub fn iter_mut(&mut self) -> std::slice::IterMut<'_, SgmlEvent<'a>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/mod.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn parse(input: &str) -> crate::Result { [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] 23 | pub fn parse(input: &str) -> crate::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/mod.rs:380:31 [INFO] [stdout] | [INFO] [stdout] 380 | pub fn parse(self, input: &str) -> crate::Result { [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] 380 | pub fn parse(self, input: &str) -> crate::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser/util.rs:42:51 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn spaces<'a, E: ParseError<&'a str>>(input: &'a str) -> IResult<&str, &str, E> { [INFO] [stdout] | ^^ ---- ---- the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 42 | pub fn spaces<'a, E: ParseError<&'a str>>(input: &'a str) -> IResult<&'a str, &'a str, E> { [INFO] [stdout] | ++ ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser/util.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | input: &'a str, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 49 | ) -> IResult<&str, &str, E> { [INFO] [stdout] | ---- ---- the same lifetime is elided here [INFO] [stdout] | | [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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 49 | ) -> IResult<&'a str, &'a str, E> { [INFO] [stdout] | ++ ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/text.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn escape(text: &str) -> Escape { [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] 50 | pub fn escape(text: &str) -> Escape<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.71s [INFO] running `Command { std: "docker" "inspect" "a224e06d92acc9151d1ae9db97cfef821cdb0256b77fa37d04520caae287fcc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a224e06d92acc9151d1ae9db97cfef821cdb0256b77fa37d04520caae287fcc0", kill_on_drop: false }` [INFO] [stdout] a224e06d92acc9151d1ae9db97cfef821cdb0256b77fa37d04520caae287fcc0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7f26e3647ef4773371b6db82817910647056ac4acc22df76bbb3d5a6fd12888c [INFO] running `Command { std: "docker" "start" "-a" "7f26e3647ef4773371b6db82817910647056ac4acc22df76bbb3d5a6fd12888c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.102 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/entities.rs:42:42 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn expand_character_references(text: &str) -> Result> { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 42 | pub fn expand_character_references(text: &str) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/entities.rs:66:36 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn expand_entities(text: &str, f: F) -> Result> [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] 66 | pub fn expand_entities(text: &str, f: F) -> Result> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/entities.rs:92:46 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn expand_parameter_entities(text: &str, f: F) -> Result> [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] 92 | pub fn expand_parameter_entities(text: &str, f: F) -> Result> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/entities.rs:151:30 [INFO] [stdout] | [INFO] [stdout] 151 | fn entity_or_char_ref(input: &str) -> IResult<&str, EntityRef> { [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] 151 | fn entity_or_char_ref(input: &str) -> IResult<&str, EntityRef<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/entities.rs:155:20 [INFO] [stdout] | [INFO] [stdout] 155 | fn char_ref(input: &str) -> IResult<&str, EntityRef> { [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] 155 | fn char_ref(input: &str) -> IResult<&str, EntityRef<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/entities.rs:178:18 [INFO] [stdout] | [INFO] [stdout] 178 | fn entity(input: &str) -> IResult<&str, EntityRef> { [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] 178 | fn entity(input: &str) -> IResult<&str, EntityRef<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fragment.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn iter(&self) -> std::slice::Iter> { [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] 36 | pub fn iter(&self) -> std::slice::Iter<'_, SgmlEvent<'a>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fragment.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn iter_mut(&mut self) -> std::slice::IterMut> { [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] 41 | pub fn iter_mut(&mut self) -> std::slice::IterMut<'_, SgmlEvent<'a>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/mod.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn parse(input: &str) -> crate::Result { [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] 23 | pub fn parse(input: &str) -> crate::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/mod.rs:380:31 [INFO] [stdout] | [INFO] [stdout] 380 | pub fn parse(self, input: &str) -> crate::Result { [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] 380 | pub fn parse(self, input: &str) -> crate::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser/util.rs:42:51 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn spaces<'a, E: ParseError<&'a str>>(input: &'a str) -> IResult<&str, &str, E> { [INFO] [stdout] | ^^ ---- ---- the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 42 | pub fn spaces<'a, E: ParseError<&'a str>>(input: &'a str) -> IResult<&'a str, &'a str, E> { [INFO] [stdout] | ++ ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser/util.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | input: &'a str, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 49 | ) -> IResult<&str, &str, E> { [INFO] [stdout] | ---- ---- the same lifetime is elided here [INFO] [stdout] | | [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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 49 | ) -> IResult<&'a str, &'a str, E> { [INFO] [stdout] | ++ ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/text.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn escape(text: &str) -> Escape { [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] 50 | pub fn escape(text: &str) -> Escape<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling colored v1.9.3 [INFO] [stderr] Compiling rust_decimal v1.16.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling simple_logger v1.13.0 [INFO] [stderr] Compiling sgmlish v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Item` is never constructed [INFO] [stdout] --> tests/deserialize.rs:383:12 [INFO] [stdout] | [INFO] [stdout] 383 | struct Item(i32, i32); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> tests/deserialize.rs:410:9 [INFO] [stdout] | [INFO] [stdout] 409 | struct Test { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 410 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Test` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> tests/deserialize.rs:460:9 [INFO] [stdout] | [INFO] [stdout] 459 | struct Test { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 460 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Test` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/entities.rs:42:42 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn expand_character_references(text: &str) -> Result> { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 42 | pub fn expand_character_references(text: &str) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/entities.rs:66:36 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn expand_entities(text: &str, f: F) -> Result> [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] 66 | pub fn expand_entities(text: &str, f: F) -> Result> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/entities.rs:92:46 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn expand_parameter_entities(text: &str, f: F) -> Result> [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] 92 | pub fn expand_parameter_entities(text: &str, f: F) -> Result> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/entities.rs:151:30 [INFO] [stdout] | [INFO] [stdout] 151 | fn entity_or_char_ref(input: &str) -> IResult<&str, EntityRef> { [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] 151 | fn entity_or_char_ref(input: &str) -> IResult<&str, EntityRef<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/entities.rs:155:20 [INFO] [stdout] | [INFO] [stdout] 155 | fn char_ref(input: &str) -> IResult<&str, EntityRef> { [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] 155 | fn char_ref(input: &str) -> IResult<&str, EntityRef<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/entities.rs:178:18 [INFO] [stdout] | [INFO] [stdout] 178 | fn entity(input: &str) -> IResult<&str, EntityRef> { [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] 178 | fn entity(input: &str) -> IResult<&str, EntityRef<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fragment.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn iter(&self) -> std::slice::Iter> { [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] 36 | pub fn iter(&self) -> std::slice::Iter<'_, SgmlEvent<'a>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fragment.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn iter_mut(&mut self) -> std::slice::IterMut> { [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] 41 | pub fn iter_mut(&mut self) -> std::slice::IterMut<'_, SgmlEvent<'a>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/mod.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn parse(input: &str) -> crate::Result { [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] 23 | pub fn parse(input: &str) -> crate::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/mod.rs:380:31 [INFO] [stdout] | [INFO] [stdout] 380 | pub fn parse(self, input: &str) -> crate::Result { [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] 380 | pub fn parse(self, input: &str) -> crate::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser/util.rs:42:51 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn spaces<'a, E: ParseError<&'a str>>(input: &'a str) -> IResult<&str, &str, E> { [INFO] [stdout] | ^^ ---- ---- the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 42 | pub fn spaces<'a, E: ParseError<&'a str>>(input: &'a str) -> IResult<&'a str, &'a str, E> { [INFO] [stdout] | ++ ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser/util.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | input: &'a str, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 49 | ) -> IResult<&str, &str, E> { [INFO] [stdout] | ---- ---- the same lifetime is elided here [INFO] [stdout] | | [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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 49 | ) -> IResult<&'a str, &'a str, E> { [INFO] [stdout] | ++ ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/text.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn escape(text: &str) -> Escape { [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] 50 | pub fn escape(text: &str) -> Escape<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 10.16s [INFO] running `Command { std: "docker" "inspect" "7f26e3647ef4773371b6db82817910647056ac4acc22df76bbb3d5a6fd12888c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f26e3647ef4773371b6db82817910647056ac4acc22df76bbb3d5a6fd12888c", kill_on_drop: false }` [INFO] [stdout] 7f26e3647ef4773371b6db82817910647056ac4acc22df76bbb3d5a6fd12888c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 51081ad754b483760d02af1f3a951f0bda6c760409f0bfb673de953229789124 [INFO] running `Command { std: "docker" "start" "-a" "51081ad754b483760d02af1f3a951f0bda6c760409f0bfb673de953229789124", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/entities.rs:42:42 [INFO] [stderr] | [INFO] [stderr] 42 | pub fn expand_character_references(text: &str) -> Result> { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 42 | pub fn expand_character_references(text: &str) -> Result> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/entities.rs:66:36 [INFO] [stderr] | [INFO] [stderr] 66 | pub fn expand_entities(text: &str, f: F) -> Result> [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] 66 | pub fn expand_entities(text: &str, f: F) -> Result> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/entities.rs:92:46 [INFO] [stderr] | [INFO] [stderr] 92 | pub fn expand_parameter_entities(text: &str, f: F) -> Result> [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] 92 | pub fn expand_parameter_entities(text: &str, f: F) -> Result> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/entities.rs:151:30 [INFO] [stderr] | [INFO] [stderr] 151 | fn entity_or_char_ref(input: &str) -> IResult<&str, EntityRef> { [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] 151 | fn entity_or_char_ref(input: &str) -> IResult<&str, EntityRef<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/entities.rs:155:20 [INFO] [stderr] | [INFO] [stderr] 155 | fn char_ref(input: &str) -> IResult<&str, EntityRef> { [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] 155 | fn char_ref(input: &str) -> IResult<&str, EntityRef<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/entities.rs:178:18 [INFO] [stderr] | [INFO] [stderr] 178 | fn entity(input: &str) -> IResult<&str, EntityRef> { [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] 178 | fn entity(input: &str) -> IResult<&str, EntityRef<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/fragment.rs:36:17 [INFO] [stderr] | [INFO] [stderr] 36 | pub fn iter(&self) -> std::slice::Iter> { [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] 36 | pub fn iter(&self) -> std::slice::Iter<'_, SgmlEvent<'a>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/fragment.rs:41:21 [INFO] [stderr] | [INFO] [stderr] 41 | pub fn iter_mut(&mut self) -> std::slice::IterMut> { [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] 41 | pub fn iter_mut(&mut self) -> std::slice::IterMut<'_, SgmlEvent<'a>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parser/mod.rs:23:21 [INFO] [stderr] | [INFO] [stderr] 23 | pub fn parse(input: &str) -> crate::Result { [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] 23 | pub fn parse(input: &str) -> crate::Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parser/mod.rs:380:31 [INFO] [stderr] | [INFO] [stderr] 380 | pub fn parse(self, input: &str) -> crate::Result { [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] 380 | pub fn parse(self, input: &str) -> crate::Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/parser/util.rs:42:51 [INFO] [stderr] | [INFO] [stderr] 42 | pub fn spaces<'a, E: ParseError<&'a str>>(input: &'a str) -> IResult<&str, &str, E> { [INFO] [stderr] | ^^ ---- ---- the same lifetime is elided here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 42 | pub fn spaces<'a, E: ParseError<&'a str>>(input: &'a str) -> IResult<&'a str, &'a str, E> { [INFO] [stderr] | ++ ++ [INFO] [stderr] [INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/parser/util.rs:48:13 [INFO] [stderr] | [INFO] [stderr] 48 | input: &'a str, [INFO] [stderr] | ^^ the lifetime is named here [INFO] [stderr] 49 | ) -> IResult<&str, &str, E> { [INFO] [stderr] | ---- ---- the same lifetime is elided here [INFO] [stderr] | | [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: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 49 | ) -> IResult<&'a str, &'a str, E> { [INFO] [stderr] | ++ ++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/text.rs:50:21 [INFO] [stderr] | [INFO] [stderr] 50 | pub fn escape(text: &str) -> Escape { [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] 50 | pub fn escape(text: &str) -> Escape<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `sgmlish` (lib) generated 13 warnings (run `cargo fix --lib -p sgmlish` to apply 13 suggestions) [INFO] [stderr] warning: struct `Item` is never constructed [INFO] [stderr] --> tests/deserialize.rs:383:12 [INFO] [stderr] | [INFO] [stderr] 383 | struct Item(i32, i32); [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `name` is never read [INFO] [stderr] --> tests/deserialize.rs:410:9 [INFO] [stderr] | [INFO] [stderr] 409 | struct Test { [INFO] [stderr] | ---- field in this struct [INFO] [stderr] 410 | name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Test` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `name` is never read [INFO] [stderr] --> tests/deserialize.rs:460:9 [INFO] [stderr] | [INFO] [stderr] 459 | struct Test { [INFO] [stderr] | ---- field in this struct [INFO] [stderr] 460 | name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Test` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `sgmlish` (test "deserialize") generated 3 warnings [INFO] [stderr] warning: `sgmlish` (lib test) generated 13 warnings (13 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/sgmlish-0c09658d9ffa315b) [INFO] [stdout] [INFO] [stdout] running 71 tests [INFO] [stdout] test entities::tests::test_expand_character_references_hex ... ok [INFO] [stdout] test entities::tests::test_expand_character_references_missing_semicolon ... ok [INFO] [stdout] test entities::tests::test_expand_entities_delegates_invalid_char_refs_to_closure ... ok [INFO] [stdout] test entities::tests::test_expand_entities_invalid_entity ... ok [INFO] [stdout] test entities::tests::test_expand_entities_noop ... ok [INFO] [stdout] test entities::tests::test_expand_parameter_entities ... ok [INFO] [stdout] test entities::tests::test_expand_parameter_entities_ignores_general_entities ... ok [INFO] [stdout] test entities::tests::test_expand_entities_lookup ... ok [INFO] [stdout] test entities::tests::test_expand_entities_invalid_function ... ok [INFO] [stdout] test entities::tests::test_invalid_refs ... ok [INFO] [stdout] test entities::tests::test_invalid_character_ref ... ok [INFO] [stdout] test marked_sections::tests::test_marked_section_status_from_str ... ok [INFO] [stdout] test marked_sections::tests::test_marked_section_status_priority ... ok [INFO] [stdout] test parser::error::tests::test_display_long_suffix ... ok [INFO] [stdout] test parser::error::tests::test_display_long_prefix_suffix ... ok [INFO] [stdout] test de::buffer::tests::test_cow_buffer ... ok [INFO] [stdout] test marked_sections::tests::test_marked_section_status_from_keywords ... ok [INFO] [stdout] test entities::tests::test_expand_character_references ... ok [INFO] [stdout] test entities::tests::test_expand_parameter_entities_does_not_work_on_character_references ... ok [INFO] [stdout] test parser::error::tests::test_display_long_prefix ... ok [INFO] [stdout] test parser::error::tests::test_locate ... ok [INFO] [stdout] test parser::error::tests::test_located_line_display_short ... ok [INFO] [stdout] test parser::events::tests::test_attribute_unquoted_is_literal ... ok [INFO] [stdout] test parser::events::tests::test_event_iter_complete ... ok [INFO] [stdout] test parser::events::tests::test_markup_declaration ... ok [INFO] [stdout] test parser::events::tests::test_end_tag ... ok [INFO] [stdout] test parser::events::tests::test_event_iter_single_item ... ok [INFO] [stdout] test parser::events::tests::test_document_entity_default_config ... ok [INFO] [stdout] test parser::events::tests::test_start_tag_normalize_lowercase ... ok [INFO] [stdout] test parser::events::tests::test_start_tag_normalize_uppercase ... ok [INFO] [stdout] test parser::events::tests::test_document_entity_ignore_markup_declarations_retain_whitespace ... ok [INFO] [stdout] test parser::events::tests::test_start_tag_trim_whitespace_does_not_affect_attributes ... ok [INFO] [stdout] test parser::events::tests::test_processing_instruction ... ok [INFO] [stdout] test parser::raw::tests::test_end_tag ... ok [INFO] [stdout] test parser::events::tests::test_start_tag_xml_no_content ... ok [INFO] [stdout] test parser::raw::tests::test_attribute ... ok [INFO] [stdout] test parser::raw::tests::test_comment_declaration ... ok [INFO] [stdout] test parser::events::tests::test_start_tag_empty ... ok [INFO] [stdout] test parser::raw::tests::test_marked_section_body_character ... ok [INFO] [stdout] test parser::raw::tests::test_marked_section_body_ignore ... ok [INFO] [stdout] test parser::raw::tests::test_marked_section_start ... ok [INFO] [stdout] test parser::events::tests::test_start_tag ... ok [INFO] [stdout] test parser::raw::tests::test_plain_text ... ok [INFO] [stdout] test parser::raw::tests::test_markup_declaration ... ok [INFO] [stdout] test parser::raw::tests::test_processing_instruction ... ok [INFO] [stdout] test parser::tests::test_name_normalization_to_uppercase ... ok [INFO] [stdout] test parser::util::tests::test_strip_comments_after ... ok [INFO] [stdout] test parser::tests::test_name_normalization_unchanged ... ok [INFO] [stdout] test parser::raw::tests::test_start_tag_empty ... ok [INFO] [stdout] test parser::raw::tests::test_text ... ok [INFO] [stdout] test parser::tests::test_config_parse_rcdata ... ok [INFO] [stdout] test parser::tests::test_config_trim ... ok [INFO] [stdout] test parser::util::tests::test_strip_space_after ... ok [INFO] [stdout] test parser::tests::test_name_normalization_to_lowercase ... ok [INFO] [stdout] test text::tests::test_escape_iter ... ok [INFO] [stdout] test text::tests::test_escape_sequences ... ok [INFO] [stdout] test text::tests::test_is_blank ... ok [INFO] [stdout] test text::tests::test_escape_size_hint_bounds ... ok [INFO] [stdout] test text::tests::test_is_sgml_whitespace ... ok [INFO] [stdout] test tests::test_event_display ... ok [INFO] [stdout] test text::tests::test_escape_disable_ampersand ... ok [INFO] [stdout] test transforms::normalize_end_tags::tests::test_normalize_end_tags_unpaired_end ... ok [INFO] [stdout] test transforms::normalize_end_tags::tests::test_normalize_end_tags_simple ... ok [INFO] [stdout] test transforms::transform::tests::test_insert_multiple_times_same_index ... ok [INFO] [stdout] test transforms::normalize_end_tags::tests::test_normalize_end_tags_insert_before_whitespace ... ok [INFO] [stdout] test transforms::transform::tests::test_remove_multiple_times_same_index ... ok [INFO] [stdout] test transforms::transform::tests::test_insert_remove_at_same_index ... ok [INFO] [stdout] test transforms::normalize_end_tags::tests::test_normalize_end_tags_noop ... ok [INFO] [stdout] test transforms::normalize_end_tags::tests::test_normalize_end_tags_xml_empty ... ok [INFO] [stdout] test tests::test_display_attribute ... ok [INFO] [stderr] Running tests/deserialize.rs (/opt/rustwide/target/debug/deps/deserialize-5e6cdb1459b6329d) [INFO] [stdout] test text::tests::test_escape_noop ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 71 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test test_ignore_markup_declarations ... ok [INFO] [stdout] test test_reject_markup_declarations ... ok [INFO] [stdout] test test_complex_enum_no_containing_element ... ok [INFO] [stdout] test test_auto_expansion ... ok [INFO] [stdout] test test_complex_enum ... ok [INFO] [stdout] test test_reject_processing_instructions ... ok [INFO] [stdout] test test_html_style_boolean ... ok [INFO] [stdout] test test_sequence_of_tuples ... ok [INFO] [stdout] test test_element_data ... ok [INFO] [stderr] Running tests/parse_marked_sections.rs (/opt/rustwide/target/debug/deps/parse_marked_sections-33cb87e818b1147b) [INFO] [stdout] test test_struct_dollarvalue ... ok [INFO] [stdout] test test_ofx ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test test_include_trim_whitespace ... ok [INFO] [stdout] test test_include_keep_whitespace ... ok [INFO] [stdout] test test_cdata_trim_whitespace ... ok [INFO] [stdout] test test_keep_unmodified_ignore_trim_whitespace ... ok [INFO] [stdout] test test_keep_unmodified_include_trim_whitespace ... ok [INFO] [stdout] test test_ignore_trim_whitespace ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests sgmlish [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test src/entities.rs - entities::expand_character_references (line 37) ... ok [INFO] [stdout] test src/text.rs - text::escape (line 39) ... ok [INFO] [stdout] test src/text.rs - text::escape (line 46) ... ok [INFO] [stdout] test src/text.rs - text::is_sgml_whitespace (line 17) ... ok [INFO] [stdout] test src/de/mod.rs - de::from_fragment (line 24) ... ok [INFO] [stdout] test src/entities.rs - entities::expand_entities (line 57) ... ok [INFO] [stdout] test src/parser/mod.rs - parser::ParserBuilder::expand_entities (line 299) ... ok [INFO] [stdout] test src/entities.rs - entities::expand_parameter_entities (line 83) ... ok [INFO] [stdout] test src/transforms/transform.rs - transforms::transform::Transform<'a>::remove_at (line 30) ... ok [INFO] [stdout] test src/transforms/normalize_end_tags.rs - transforms::normalize_end_tags::normalize_end_tags (line 29) ... ok [INFO] [stdout] test src/transforms/transform.rs - transforms::transform::Transform<'a>::insert_at (line 73) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.66s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "51081ad754b483760d02af1f3a951f0bda6c760409f0bfb673de953229789124", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51081ad754b483760d02af1f3a951f0bda6c760409f0bfb673de953229789124", kill_on_drop: false }` [INFO] [stdout] 51081ad754b483760d02af1f3a951f0bda6c760409f0bfb673de953229789124