[INFO] fetching crate ilex 0.6.0... [INFO] linting ilex-0.6.0 against nightly for clippy-nonminimal_bool-denied [INFO] extracting crate ilex 0.6.0 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate ilex 0.6.0 [INFO] finished tweaking crates.io crate ilex 0.6.0 [INFO] tweaked toml for crates.io crate ilex 0.6.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ilex 0.6.0 on toolchain nightly [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 47 packages to latest compatible versions [INFO] [stderr] Adding annotate-snippets v0.10.2 (available: v0.12.13) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded buf-trait v0.4.1 [INFO] [stderr] Downloaded camino v1.2.2 [INFO] [stderr] Downloaded ilex-attr v0.5.0 [INFO] [stderr] Downloaded similar-asserts v1.7.0 [INFO] [stderr] Downloaded boxy v0.1.0 [INFO] [stderr] Downloaded rustc_apfloat v0.2.3+llvm-462a31f5a5ab [INFO] [stderr] Downloaded annotate-snippets v0.10.2 [INFO] [stderr] Downloaded similar v2.7.0 [INFO] [stderr] Downloaded byteyarn v0.5.1 [INFO] [stderr] Downloaded twie v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5c689a029a33e3fb0f82d4ce1322b77419123252e226235bab6bb7e9cdb32e2d [INFO] running `Command { std: "docker" "start" "-a" "5c689a029a33e3fb0f82d4ce1322b77419123252e226235bab6bb7e9cdb32e2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5c689a029a33e3fb0f82d4ce1322b77419123252e226235bab6bb7e9cdb32e2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c689a029a33e3fb0f82d4ce1322b77419123252e226235bab6bb7e9cdb32e2d", kill_on_drop: false }` [INFO] [stdout] 5c689a029a33e3fb0f82d4ce1322b77419123252e226235bab6bb7e9cdb32e2d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "clippy" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f4b53f7f62aa5db99ed93dd19d864798c00cc5e283f77ff6eb65520a381d66b7 [INFO] running `Command { std: "docker" "start" "-a" "f4b53f7f62aa5db99ed93dd19d864798c00cc5e283f77ff6eb65520a381d66b7", kill_on_drop: false }` [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling camino v1.2.2 [INFO] [stderr] Compiling rustc_apfloat v0.2.3+llvm-462a31f5a5ab [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking boxy v0.1.0 [INFO] [stderr] Checking bitflags v2.11.0 [INFO] [stderr] Checking unicode-xid v0.2.6 [INFO] [stderr] Compiling ilex-attr v0.5.0 [INFO] [stderr] Checking similar v2.7.0 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Checking annotate-snippets v0.10.2 [INFO] [stderr] Checking console v0.15.11 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking similar-asserts v1.7.0 [INFO] [stderr] Checking buf-trait v0.4.1 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Checking byteyarn v0.5.1 [INFO] [stderr] Checking twie v0.5.0 [INFO] [stderr] Checking ilex v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/ice.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | use std::panic::PanicInfo; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/ice.rs:151:27 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn generate(panic: &PanicInfo, options: Options) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/ice.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | use std::panic::PanicInfo; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/ice.rs:151:27 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn generate(panic: &PanicInfo, options: Options) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: initializer for `thread_local` value can be made `const` [INFO] [stdout] --> src/file/mod.rs:396:57 [INFO] [stdout] | [INFO] [stdout] 396 | static CTX_FOR_SPAN_DEBUG: RefCell> = RefCell::new(None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace with: `const { RefCell::new(None) }` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_const_for_thread_local [INFO] [stdout] = note: `#[warn(clippy::missing_const_for_thread_local)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `let...else` may be rewritten with the `?` operator [INFO] [stdout] --> src/rt/dfa.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | / let Some((last_match, state)) = last_match else { [INFO] [stdout] 99 | | return None; [INFO] [stdout] 100 | | }; [INFO] [stdout] | |______^ help: replace it with: `let (last_match, state) = last_match?;` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#question_mark [INFO] [stdout] = note: `#[warn(clippy::question_mark)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: initializer for `thread_local` value can be made `const` [INFO] [stdout] --> src/file/mod.rs:396:57 [INFO] [stdout] | [INFO] [stdout] 396 | static CTX_FOR_SPAN_DEBUG: RefCell> = RefCell::new(None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace with: `const { RefCell::new(None) }` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_const_for_thread_local [INFO] [stdout] = note: `#[warn(clippy::missing_const_for_thread_local)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> src/report/render.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | io::Error::new(io::ErrorKind::Other, "formatter error") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] = note: `#[warn(clippy::io_other_error)]` on by default [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 93 - io::Error::new(io::ErrorKind::Other, "formatter error") [INFO] [stdout] 93 + io::Error::other("formatter error") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `let...else` may be rewritten with the `?` operator [INFO] [stdout] --> src/rt/dfa.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | / let Some((last_match, state)) = last_match else { [INFO] [stdout] 99 | | return None; [INFO] [stdout] 100 | | }; [INFO] [stdout] | |______^ help: replace it with: `let (last_match, state) = last_match?;` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#question_mark [INFO] [stdout] = note: `#[warn(clippy::question_mark)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/testing/mod.rs:336:5 [INFO] [stdout] | [INFO] [stdout] 336 | / !self [INFO] [stdout] 337 | | .text [INFO] [stdout] 338 | | .as_ref() [INFO] [stdout] 339 | | .is_some_and(|text| text != span.text(ctx)) [INFO] [stdout] | |_________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 336 ~ self [INFO] [stdout] 337 + .text [INFO] [stdout] 338 + .as_ref().is_none_or(|text| text == span.text(ctx)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/token/mod.rs:820:1 [INFO] [stdout] | [INFO] [stdout] 820 | / impl Default for Sign { [INFO] [stdout] 821 | | fn default() -> Self { [INFO] [stdout] 822 | | Self::Pos [INFO] [stdout] 823 | | } [INFO] [stdout] 824 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] = note: `#[warn(clippy::derivable_impls)]` on by default [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 813 + #[derive(Default)] [INFO] [stdout] 814 | pub enum Sign { [INFO] [stdout] 815 | /// Positive. [INFO] [stdout] 816 ~ #[default] [INFO] [stdout] 817 ~ Pos, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> src/report/render.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | io::Error::new(io::ErrorKind::Other, "formatter error") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] = note: `#[warn(clippy::io_other_error)]` on by default [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 93 - io::Error::new(io::ErrorKind::Other, "formatter error") [INFO] [stdout] 93 + io::Error::other("formatter error") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/file/mod.rs:179:26 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn file(self, ctx: &Context) -> File { [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] 179 | pub fn file(self, ctx: &Context) -> File<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/file/mod.rs:209:30 [INFO] [stdout] | [INFO] [stdout] 209 | pub fn comments(self, ctx: &Context) -> Comments { [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] 209 | pub fn comments(self, ctx: &Context) -> Comments<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/file/context.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 91 | ) -> File { [INFO] [stdout] | ^^^^ the same lifetime is hidden 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] 91 | ) -> File<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/file/context.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 112 | ) -> Result { [INFO] [stdout] | ^^^^ the same lifetime is hidden 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] 112 | ) -> Result, Fatal> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/file/context.rs:132:15 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn file(&self, idx: usize) -> Option { [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] 132 | pub fn file(&self, idx: usize) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/file/context.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 156 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 159 | ) -> (RwLockReadGuard, *const [SpanId]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 159 | ) -> (RwLockReadGuard<'_, State>, *const [SpanId]) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rt/lexer.rs:87:19 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn builtins(&self) -> Builtins { [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] 87 | pub fn builtins(&self) -> Builtins<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/spec.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 100 | lexeme: Lexeme, [INFO] [stdout] 101 | ) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^ the same lifetime is hidden 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] 101 | ) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/spec.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 111 | ) -> Expected { [INFO] [stdout] | ^^^^^^^^ the same lifetime is hidden 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] 111 | ) -> Expected<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/spec.rs:234:37 [INFO] [stdout] | [INFO] [stdout] 234 | pub(crate) fn to_yarn(self, spec: &Spec) -> YarnBox { [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] 234 | pub(crate) fn to_yarn(self, spec: &Spec) -> YarnBox<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/report/mod.rs:73:52 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn builtins<'a>(&'a self, spec: &'a Spec) -> Builtins { [INFO] [stdout] | -- -- ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named 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] 73 | pub fn builtins<'a>(&'a self, spec: &'a Spec) -> Builtins<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/token/stream.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn cursor(&self) -> Cursor { [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] 30 | pub fn cursor(&self) -> Cursor<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/token/stream.rs:192:60 [INFO] [stdout] | [INFO] [stdout] 189 | &'a mut self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 192 | ) -> impl Iterator>)> + '_ { [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] 192 - ) -> impl Iterator>)> + '_ { [INFO] [stdout] 192 + ) -> impl Iterator>)> + 'a { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/testing/mod.rs:336:5 [INFO] [stdout] | [INFO] [stdout] 336 | / !self [INFO] [stdout] 337 | | .text [INFO] [stdout] 338 | | .as_ref() [INFO] [stdout] 339 | | .is_some_and(|text| text != span.text(ctx)) [INFO] [stdout] | |_________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 336 ~ self [INFO] [stdout] 337 + .text [INFO] [stdout] 338 + .as_ref().is_none_or(|text| text == span.text(ctx)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/token/mod.rs:820:1 [INFO] [stdout] | [INFO] [stdout] 820 | / impl Default for Sign { [INFO] [stdout] 821 | | fn default() -> Self { [INFO] [stdout] 822 | | Self::Pos [INFO] [stdout] 823 | | } [INFO] [stdout] 824 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] = note: `#[warn(clippy::derivable_impls)]` on by default [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 813 + #[derive(Default)] [INFO] [stdout] 814 | pub enum Sign { [INFO] [stdout] 815 | /// Positive. [INFO] [stdout] 816 ~ #[default] [INFO] [stdout] 817 ~ Pos, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> tests/json.rs:319:18 [INFO] [stdout] | [INFO] [stdout] 319 | .map(|q| quote2str(q)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `"e2str` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] = note: `#[warn(clippy::redundant_closure)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/file/mod.rs:179:26 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn file(self, ctx: &Context) -> File { [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] 179 | pub fn file(self, ctx: &Context) -> File<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/file/mod.rs:209:30 [INFO] [stdout] | [INFO] [stdout] 209 | pub fn comments(self, ctx: &Context) -> Comments { [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] 209 | pub fn comments(self, ctx: &Context) -> Comments<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/file/context.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 91 | ) -> File { [INFO] [stdout] | ^^^^ the same lifetime is hidden 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] 91 | ) -> File<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/file/context.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 112 | ) -> Result { [INFO] [stdout] | ^^^^ the same lifetime is hidden 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] 112 | ) -> Result, Fatal> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/file/context.rs:132:15 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn file(&self, idx: usize) -> Option { [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] 132 | pub fn file(&self, idx: usize) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/file/context.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 156 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 159 | ) -> (RwLockReadGuard, *const [SpanId]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 159 | ) -> (RwLockReadGuard<'_, State>, *const [SpanId]) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rt/lexer.rs:87:19 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn builtins(&self) -> Builtins { [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] 87 | pub fn builtins(&self) -> Builtins<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/spec.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 100 | lexeme: Lexeme, [INFO] [stdout] 101 | ) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^ the same lifetime is hidden 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] 101 | ) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/spec.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 111 | ) -> Expected { [INFO] [stdout] | ^^^^^^^^ the same lifetime is hidden 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] 111 | ) -> Expected<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/spec.rs:234:37 [INFO] [stdout] | [INFO] [stdout] 234 | pub(crate) fn to_yarn(self, spec: &Spec) -> YarnBox { [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] 234 | pub(crate) fn to_yarn(self, spec: &Spec) -> YarnBox<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/report/mod.rs:73:52 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn builtins<'a>(&'a self, spec: &'a Spec) -> Builtins { [INFO] [stdout] | -- -- ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named 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] 73 | pub fn builtins<'a>(&'a self, spec: &'a Spec) -> Builtins<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/token/stream.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn cursor(&self) -> Cursor { [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] 30 | pub fn cursor(&self) -> Cursor<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/token/stream.rs:192:60 [INFO] [stdout] | [INFO] [stdout] 189 | &'a mut self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 192 | ) -> impl Iterator>)> + '_ { [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] 192 - ) -> impl Iterator>)> + '_ { [INFO] [stdout] 192 + ) -> impl Iterator>)> + 'a { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.20s [INFO] running `Command { std: "docker" "inspect" "f4b53f7f62aa5db99ed93dd19d864798c00cc5e283f77ff6eb65520a381d66b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4b53f7f62aa5db99ed93dd19d864798c00cc5e283f77ff6eb65520a381d66b7", kill_on_drop: false }` [INFO] [stdout] f4b53f7f62aa5db99ed93dd19d864798c00cc5e283f77ff6eb65520a381d66b7