[INFO] fetching crate duvet 0.4.1... [INFO] checking duvet-0.4.1 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate duvet 0.4.1 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate duvet 0.4.1 [INFO] finished tweaking crates.io crate duvet 0.4.1 [INFO] tweaked toml for crates.io crate duvet 0.4.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate duvet 0.4.1 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate duvet 0.4.1 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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aa0498d8525380b891ad0559ca108dc55e9dc2a5a630e505a92fbe885e58ed2d [INFO] running `Command { std: "docker" "start" "-a" "aa0498d8525380b891ad0559ca108dc55e9dc2a5a630e505a92fbe885e58ed2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aa0498d8525380b891ad0559ca108dc55e9dc2a5a630e505a92fbe885e58ed2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa0498d8525380b891ad0559ca108dc55e9dc2a5a630e505a92fbe885e58ed2d", kill_on_drop: false }` [INFO] [stdout] aa0498d8525380b891ad0559ca108dc55e9dc2a5a630e505a92fbe885e58ed2d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 30eaef7d0ad0a2a42441197b37b9caef401507c53fd05f841e4ff20c06417128 [INFO] running `Command { std: "docker" "start" "-a" "30eaef7d0ad0a2a42441197b37b9caef401507c53fd05f841e4ff20c06417128", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking bytes v1.9.0 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Checking bitflags v2.8.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking litemap v0.7.4 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking writeable v0.5.5 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Compiling cc v1.2.9 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking log v0.4.25 [INFO] [stderr] Checking icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Checking icu_properties_data v1.5.0 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking miniz_oxide v0.8.3 [INFO] [stderr] Checking utf16_iter v1.0.5 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Checking indexmap v2.7.0 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking icu_normalizer_data v1.5.0 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking http v1.2.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling rustix v0.38.43 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Compiling owo-colors v4.1.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling serde_json v1.0.135 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking unicode-width v0.2.0 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking unicode-linebreak v0.1.5 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking is_ci v1.2.0 [INFO] [stderr] Checking rustls-pki-types v1.10.1 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking supports-color v3.0.2 [INFO] [stderr] Checking console v0.15.10 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking rustls-pemfile v2.2.0 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Checking bstr v1.11.3 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Compiling v_jsonescape v0.7.8 [INFO] [stderr] Checking winnow v0.6.24 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Compiling pulldown-cmark v0.12.2 [INFO] [stderr] Checking similar v2.6.0 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking terminal_size v0.4.1 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking constant_time_eq v0.3.1 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Checking supports-unicode v3.0.0 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling blake3 v1.5.5 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling libmimalloc-sys v0.1.39 [INFO] [stderr] Checking supports-hyperlinks v3.1.0 [INFO] [stderr] Checking ipnet v2.10.1 [INFO] [stderr] Checking rand_xoshiro v0.6.0 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking deunicode v1.6.0 [INFO] [stderr] Checking unicase v2.8.1 [INFO] [stderr] Checking glob v0.3.2 [INFO] [stderr] Compiling schemars v0.8.21 [INFO] [stderr] Checking slug v0.1.6 [INFO] [stderr] Checking triple_accel v0.4.0 [INFO] [stderr] Checking pretty-hex v0.4.1 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling toml_edit v0.20.7 [INFO] [stderr] Checking mimalloc v0.1.43 [INFO] [stderr] Checking addr2line v0.24.2 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking globset v0.4.15 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Checking backtrace v0.3.74 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Checking backtrace-ext v0.2.1 [INFO] [stderr] Compiling miette-derive v7.4.0 [INFO] [stderr] Compiling clap_derive v4.5.24 [INFO] [stderr] Checking tokio v1.43.0 [INFO] [stderr] Compiling schemars_derive v0.8.21 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling proc-macro-crate v2.0.0 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking miette v7.4.0 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking clap v4.5.26 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling bolero-generator-derive v0.12.0 [INFO] [stderr] Checking zerofrom v0.1.5 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Checking bolero-generator v0.12.0 [INFO] [stderr] Compiling duvet-macros v0.4.1 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking tokio-util v0.7.13 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking insta v1.42.0 [INFO] [stderr] Checking h2 v0.4.7 [INFO] [stderr] Checking toml_edit v0.22.22 [INFO] [stderr] Checking bolero-engine v0.12.0 [INFO] [stderr] Checking bolero v0.12.0 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking hyper v1.5.2 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking hyper-util v0.1.10 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.12 [INFO] [stderr] Checking duvet-core v0.4.1 [INFO] [stderr] Checking duvet v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] error: couldn't read `/opt/rustwide/workdir/../specs/rfc9000.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/extract/tests.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | let contents = include_str!(concat!( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 14 | | env!("CARGO_MANIFEST_DIR"), [INFO] [stdout] 15 | | "/../specs/", [INFO] [stdout] 16 | | stringify!($name), [INFO] [stdout] 17 | | $ext, [INFO] [stdout] 18 | | )); [INFO] [stdout] | |______________^ [INFO] [stdout] ... [INFO] [stdout] 38 | snapshot_test!(rfc9000); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `snapshot_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `/opt/rustwide/workdir/../specs/rfc9001.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/extract/tests.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | let contents = include_str!(concat!( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 14 | | env!("CARGO_MANIFEST_DIR"), [INFO] [stdout] 15 | | "/../specs/", [INFO] [stdout] 16 | | stringify!($name), [INFO] [stdout] 17 | | $ext, [INFO] [stdout] 18 | | )); [INFO] [stdout] | |______________^ [INFO] [stdout] ... [INFO] [stdout] 39 | snapshot_test!(rfc9001); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `snapshot_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `/opt/rustwide/workdir/../specs/rfc9114.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/extract/tests.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | let contents = include_str!(concat!( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 14 | | env!("CARGO_MANIFEST_DIR"), [INFO] [stdout] 15 | | "/../specs/", [INFO] [stdout] 16 | | stringify!($name), [INFO] [stdout] 17 | | $ext, [INFO] [stdout] 18 | | )); [INFO] [stdout] | |______________^ [INFO] [stdout] ... [INFO] [stdout] 40 | snapshot_test!(rfc9114); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `snapshot_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `/opt/rustwide/workdir/../specs/esdk_client.md`: No such file or directory (os error 2) [INFO] [stdout] --> src/extract/tests.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | let contents = include_str!(concat!( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 14 | | env!("CARGO_MANIFEST_DIR"), [INFO] [stdout] 15 | | "/../specs/", [INFO] [stdout] 16 | | stringify!($name), [INFO] [stdout] 17 | | $ext, [INFO] [stdout] 18 | | )); [INFO] [stdout] | |______________^ [INFO] [stdout] ... [INFO] [stdout] 41 | snapshot_test!(esdk_client, ".md"); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `snapshot_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `/opt/rustwide/workdir/../specs/esdk_decrypt.md`: No such file or directory (os error 2) [INFO] [stdout] --> src/extract/tests.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | let contents = include_str!(concat!( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 14 | | env!("CARGO_MANIFEST_DIR"), [INFO] [stdout] 15 | | "/../specs/", [INFO] [stdout] 16 | | stringify!($name), [INFO] [stdout] 17 | | $ext, [INFO] [stdout] 18 | | )); [INFO] [stdout] | |______________^ [INFO] [stdout] ... [INFO] [stdout] 42 | snapshot_test!(esdk_decrypt, ".md"); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `snapshot_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `/opt/rustwide/workdir/../specs/esdk_encrypt.md`: No such file or directory (os error 2) [INFO] [stdout] --> src/extract/tests.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | let contents = include_str!(concat!( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 14 | | env!("CARGO_MANIFEST_DIR"), [INFO] [stdout] 15 | | "/../specs/", [INFO] [stdout] 16 | | stringify!($name), [INFO] [stdout] 17 | | $ext, [INFO] [stdout] 18 | | )); [INFO] [stdout] | |______________^ [INFO] [stdout] ... [INFO] [stdout] 43 | snapshot_test!(esdk_encrypt, ".md"); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `snapshot_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `/opt/rustwide/workdir/../specs/esdk_streaming.md`: No such file or directory (os error 2) [INFO] [stdout] --> src/extract/tests.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | let contents = include_str!(concat!( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 14 | | env!("CARGO_MANIFEST_DIR"), [INFO] [stdout] 15 | | "/../specs/", [INFO] [stdout] 16 | | stringify!($name), [INFO] [stdout] 17 | | $ext, [INFO] [stdout] 18 | | )); [INFO] [stdout] | |______________^ [INFO] [stdout] ... [INFO] [stdout] 44 | snapshot_test!(esdk_streaming, ".md"); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `snapshot_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/extract.rs:175:27 [INFO] [stdout] | [INFO] [stdout] 175 | fn extract_sections(spec: &Specification) -> Vec<(&Section, Vec)> { [INFO] [stdout] | ^^^^^^^^^^^^^^ -------- ------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 175 | fn extract_sections(spec: &Specification) -> Vec<(&Section, Vec>)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/extract.rs:183:29 [INFO] [stdout] | [INFO] [stdout] 183 | fn extract_section(section: &Section) -> (&Section, Vec) { [INFO] [stdout] | ^^^^^^^^ -------- ------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 183 | fn extract_section(section: &Section) -> (&Section, Vec>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/report.rs:188:38 [INFO] [stdout] | [INFO] [stdout] 188 | let is_snapshot_ci = snapshot::report_ci as ReportFn == *report_fn; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 188 - let is_snapshot_ci = snapshot::report_ci as ReportFn == *report_fn; [INFO] [stdout] 188 + let is_snapshot_ci = std::ptr::fn_addr_eq(snapshot::report_ci as ReportFn, *report_fn); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/target.rs:177:27 [INFO] [stdout] | [INFO] [stdout] 177 | fn canonical_url(url: &str) -> Cow { [INFO] [stdout] | ^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 177 | fn canonical_url(url: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/text/view.rs:62:19 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn ranges(&self, src: Range) -> StrRangeIter { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 62 | pub fn ranges(&self, src: Range) -> StrRangeIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `duvet` (lib test) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "30eaef7d0ad0a2a42441197b37b9caef401507c53fd05f841e4ff20c06417128", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30eaef7d0ad0a2a42441197b37b9caef401507c53fd05f841e4ff20c06417128", kill_on_drop: false }` [INFO] [stdout] 30eaef7d0ad0a2a42441197b37b9caef401507c53fd05f841e4ff20c06417128