[INFO] cloning repository https://github.com/Unaimend/rusty-man [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Unaimend/rusty-man" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FUnaimend%2Frusty-man", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FUnaimend%2Frusty-man'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 60e8de7fdc0435642d04b22ee07a1b88cdfe25b6 [INFO] checking Unaimend/rusty-man against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FUnaimend%2Frusty-man" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Unaimend/rusty-man [INFO] finished tweaking git repo https://github.com/Unaimend/rusty-man [INFO] tweaked toml for git repo https://github.com/Unaimend/rusty-man written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Unaimend/rusty-man on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Unaimend/rusty-man 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fef07effe70708070d55e7e81bd85ef37bb6efbd254d93c08e97a9dd278071b5 [INFO] running `Command { std: "docker" "start" "-a" "fef07effe70708070d55e7e81bd85ef37bb6efbd254d93c08e97a9dd278071b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fef07effe70708070d55e7e81bd85ef37bb6efbd254d93c08e97a9dd278071b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fef07effe70708070d55e7e81bd85ef37bb6efbd254d93c08e97a9dd278071b5", kill_on_drop: false }` [INFO] [stdout] fef07effe70708070d55e7e81bd85ef37bb6efbd254d93c08e97a9dd278071b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0843eed10745e69ac15270c29d9051c6bda3b0ee2789c5ebe1dc2ac66c0c950b [INFO] running `Command { std: "docker" "start" "-a" "0843eed10745e69ac15270c29d9051c6bda3b0ee2789c5ebe1dc2ac66c0c950b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling siphasher v0.3.5 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Checking futf v0.1.4 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking unicode-xid v0.2.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling ahash v0.6.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking phf_shared v0.8.0 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Checking tendril v0.4.2 [INFO] [stderr] Checking array-macro v1.0.5 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking owning_ref v0.4.1 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking unicode-segmentation v1.7.1 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking num-rational v0.3.2 [INFO] [stderr] Compiling signal-hook v0.3.9 [INFO] [stderr] Checking tinyvec v1.2.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking line-wrap v0.1.1 [INFO] [stderr] Checking dtoa-short v0.3.3 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking unicode-bidi v0.3.5 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking num v0.3.1 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking servo_arc v0.1.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking termion v1.5.6 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking predicates-core v1.0.2 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking thin-slice v0.1.1 [INFO] [stderr] Compiling semver v1.0.3 [INFO] [stderr] Compiling onig_sys v69.7.0 [INFO] [stderr] Compiling anyhow v1.0.41 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Checking flate2 v1.0.20 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking errno v0.2.7 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Checking treeline v0.1.0 [INFO] [stderr] Checking console v0.14.1 [INFO] [stderr] Checking pager v0.16.0 [INFO] [stderr] Checking predicates v1.0.8 [INFO] [stderr] Checking bstr v0.2.16 [INFO] [stderr] Checking predicates-tree v1.0.2 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking webbrowser v0.5.5 [INFO] [stderr] Checking similar v1.3.0 [INFO] [stderr] Checking rustc_version v0.4.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Checking assert_cmd v1.0.5 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.1 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Compiling selectors v0.22.0 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Compiling markup5ever v0.10.1 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Checking onig v6.2.0 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Compiling enum-map-derive v0.4.6 [INFO] [stderr] Compiling html5ever v0.25.1 [INFO] [stderr] Compiling cssparser v0.27.2 [INFO] [stderr] Compiling cssparser-macros v0.6.0 [INFO] [stderr] Compiling derive_more v0.99.14 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Compiling merge_derive v0.1.0 [INFO] [stderr] Compiling serde_tuple_macros v0.5.0 [INFO] [stderr] Checking merge v0.1.0 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Checking enum-map v0.6.4 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling wasmer_enumset_derive v0.5.0 [INFO] [stderr] Checking structopt v0.3.21 [INFO] [stderr] Checking wasmer_enumset v1.0.1 [INFO] [stderr] Checking cursive_core v0.2.2 [INFO] [stderr] Checking cursive v0.16.3 [INFO] [stderr] Checking cursive_buffered_backend v0.5.0 [INFO] [stderr] Checking string_cache v0.8.1 [INFO] [stderr] Checking plist v1.1.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking serde_tuple v0.5.0 [INFO] [stderr] Checking serde_yaml v0.8.17 [INFO] [stderr] Checking syntect v4.5.0 [INFO] [stderr] Checking insta v1.7.1 [INFO] [stderr] Checking xml5ever v0.16.1 [INFO] [stderr] Checking text-style v0.3.0 [INFO] [stderr] Checking markup5ever_rcdom v0.1.0 [INFO] [stderr] Checking kuchiki v0.8.1 [INFO] [stderr] Checking html2text v0.2.1 [INFO] [stderr] Checking cursive-markup v0.2.0 [INFO] [stderr] Checking rusty-man v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> tests/../src/test_utils.rs:53:14 [INFO] [stdout] | [INFO] [stdout] 53 | unsafe { VERSIONS.as_ref().unwrap() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/args.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | / /// The keyword to open the documentation for, e. g. `rand_core::RngCore` [INFO] [stdout] 30 | | #[merge(skip)] [INFO] [stdout] 31 | | #[serde(skip)] [INFO] [stdout] 32 | | pub keyword: doc::Name, [INFO] [stdout] | |__________________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/args.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | / /// The sources to check for documentation generated by rustdoc [INFO] [stdout] 35 | | /// [INFO] [stdout] 36 | | /// Typically, this is the path of a directory containing the documentation for one or more [INFO] [stdout] 37 | | /// crates in subdirectories. [INFO] [stdout] 38 | | #[merge(strategy = merge::vec::prepend)] [INFO] [stdout] 39 | | #[structopt(name = "source", short, long, number_of_values = 1)] [INFO] [stdout] 40 | | pub source_paths: Vec, [INFO] [stdout] | |_________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/args.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | / /// The path to the configuration file to read [INFO] [stdout] 72 | | /// [INFO] [stdout] 73 | | /// Per default, rusty-man tries to read defaults for the command-line arguments from the [INFO] [stdout] 74 | | /// config.toml file in the user configuration directory according to the XDG Base Directory [INFO] [stdout] ... | [INFO] [stdout] 82 | | #[serde(skip)] [INFO] [stdout] 83 | | pub config_file: Option, [INFO] [stdout] | |___________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/args.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | / /// The color theme for syntax highlighting [INFO] [stdout] 102 | | /// [INFO] [stdout] 103 | | /// rusty-man includes these color themes: base16-ocean.dark, base16-eighties.dark, [INFO] [stdout] 104 | | /// base16-mocha.dark, base16-ocean.light, InspiredGitHub, Solarized (dark), Solarized (light). [INFO] [stdout] 105 | | /// Default value: base16-eighties.dark. [INFO] [stdout] 106 | | #[structopt(long)] [INFO] [stdout] 107 | | pub theme: Option, [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/args.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | / /// The pager to use for the plain and rich viewers. [INFO] [stdout] 125 | | /// [INFO] [stdout] 126 | | /// Per default, rusty-man uses the pager set in the PAGER environment variable, or less if [INFO] [stdout] 127 | | /// this environment variable is not set. [INFO] [stdout] 128 | | #[structopt(long)] [INFO] [stdout] 129 | | pub pager: Option, [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/doc.rs:175:53 [INFO] [stdout] | [INFO] [stdout] 175 | fn from_str(s: &str) -> Result { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 176 | | Ok(s.to_owned().into()) [INFO] [stdout] 177 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/doc.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | Ok(s.to_owned().into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/viewer/tui/mod.rs:91:28 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn create_renderer(&self, doc: &doc::Doc) -> TuiManRenderer { [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] 91 | pub fn create_renderer(&self, doc: &doc::Doc) -> TuiManRenderer<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rusty-man` (bin "rusty-man") due to 7 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/args.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | / /// The keyword to open the documentation for, e. g. `rand_core::RngCore` [INFO] [stdout] 30 | | #[merge(skip)] [INFO] [stdout] 31 | | #[serde(skip)] [INFO] [stdout] 32 | | pub keyword: doc::Name, [INFO] [stdout] | |__________________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/args.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | / /// The sources to check for documentation generated by rustdoc [INFO] [stdout] 35 | | /// [INFO] [stdout] 36 | | /// Typically, this is the path of a directory containing the documentation for one or more [INFO] [stdout] 37 | | /// crates in subdirectories. [INFO] [stdout] 38 | | #[merge(strategy = merge::vec::prepend)] [INFO] [stdout] 39 | | #[structopt(name = "source", short, long, number_of_values = 1)] [INFO] [stdout] 40 | | pub source_paths: Vec, [INFO] [stdout] | |_________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/args.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | / /// The path to the configuration file to read [INFO] [stdout] 72 | | /// [INFO] [stdout] 73 | | /// Per default, rusty-man tries to read defaults for the command-line arguments from the [INFO] [stdout] 74 | | /// config.toml file in the user configuration directory according to the XDG Base Directory [INFO] [stdout] ... | [INFO] [stdout] 82 | | #[serde(skip)] [INFO] [stdout] 83 | | pub config_file: Option, [INFO] [stdout] | |___________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/args.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | / /// The color theme for syntax highlighting [INFO] [stdout] 102 | | /// [INFO] [stdout] 103 | | /// rusty-man includes these color themes: base16-ocean.dark, base16-eighties.dark, [INFO] [stdout] 104 | | /// base16-mocha.dark, base16-ocean.light, InspiredGitHub, Solarized (dark), Solarized (light). [INFO] [stdout] 105 | | /// Default value: base16-eighties.dark. [INFO] [stdout] 106 | | #[structopt(long)] [INFO] [stdout] 107 | | pub theme: Option, [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/args.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | / /// The pager to use for the plain and rich viewers. [INFO] [stdout] 125 | | /// [INFO] [stdout] 126 | | /// Per default, rusty-man uses the pager set in the PAGER environment variable, or less if [INFO] [stdout] 127 | | /// this environment variable is not set. [INFO] [stdout] 128 | | #[structopt(long)] [INFO] [stdout] 129 | | pub pager: Option, [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/doc.rs:175:53 [INFO] [stdout] | [INFO] [stdout] 175 | fn from_str(s: &str) -> Result { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 176 | | Ok(s.to_owned().into()) [INFO] [stdout] 177 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/doc.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | Ok(s.to_owned().into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/test_utils.rs:53:14 [INFO] [stdout] | [INFO] [stdout] 53 | unsafe { VERSIONS.as_ref().unwrap() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/viewer/tui/mod.rs:91:28 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn create_renderer(&self, doc: &doc::Doc) -> TuiManRenderer { [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] 91 | pub fn create_renderer(&self, doc: &doc::Doc) -> TuiManRenderer<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rusty-man` (bin "rusty-man" test) due to 7 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0843eed10745e69ac15270c29d9051c6bda3b0ee2789c5ebe1dc2ac66c0c950b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0843eed10745e69ac15270c29d9051c6bda3b0ee2789c5ebe1dc2ac66c0c950b", kill_on_drop: false }` [INFO] [stdout] 0843eed10745e69ac15270c29d9051c6bda3b0ee2789c5ebe1dc2ac66c0c950b