[INFO] fetching crate diplomat-tool 0.12.1...
[INFO] testing diplomat-tool-0.12.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_getrandom_patch_0
[INFO] extracting crate diplomat-tool 0.12.1 into /workspace/builds/worker-0-tc1/source
[INFO] started tweaking crates.io crate diplomat-tool 0.12.1
[INFO] finished tweaking crates.io crate diplomat-tool 0.12.1
[INFO] tweaked toml for crates.io crate diplomat-tool 0.12.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate diplomat-tool 0.12.1 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate diplomat-tool 0.12.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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] Updating crates.io index
[INFO] [stderr] Downloading crates ...
[INFO] [stderr] Downloaded pulldown-cmark-escape v0.11.0
[INFO] [stderr] Downloaded strck v1.0.0
[INFO] [stderr] Downloaded askama v0.13.0
[INFO] [stderr] Downloaded askama_derive v0.13.0
[INFO] [stderr] Downloaded askama_parser v0.13.0
[INFO] [stderr] Downloaded similar v2.4.0
[INFO] [stderr] Downloaded syn-inline-mod v0.6.0
[INFO] [stderr] Downloaded pulldown-cmark v0.13.0
[INFO] [stderr] Downloaded diplomat_core v0.12.1
[INFO] [stderr] Downloaded insta v1.36.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 449464e4b89719030c79df3b41878f0d1af7ba7133749641c74fdf3a1355bad5
[INFO] running `Command { std: "docker" "start" "-a" "449464e4b89719030c79df3b41878f0d1af7ba7133749641c74fdf3a1355bad5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "449464e4b89719030c79df3b41878f0d1af7ba7133749641c74fdf3a1355bad5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "449464e4b89719030c79df3b41878f0d1af7ba7133749641c74fdf3a1355bad5", kill_on_drop: false }`
[INFO] [stdout] 449464e4b89719030c79df3b41878f0d1af7ba7133749641c74fdf3a1355bad5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }`
[INFO] [stdout] 8976c448b76c18b864039a80d07fe711e57aa0ca91c7f252f3790bcda8cffa46
[INFO] running `Command { std: "docker" "start" "-a" "8976c448b76c18b864039a80d07fe711e57aa0ca91c7f252f3790bcda8cffa46", kill_on_drop: false }`
[INFO] [stderr] Compiling proc-macro2 v1.0.94
[INFO] [stderr] Compiling serde v1.0.197
[INFO] [stderr] Compiling unicode-ident v1.0.12
[INFO] [stderr] Compiling utf8parse v0.2.1
[INFO] [stderr] Compiling memchr v2.7.1
[INFO] [stderr] Compiling colorchoice v1.0.0
[INFO] [stderr] Compiling equivalent v1.0.2
[INFO] [stderr] Compiling anstyle-query v1.0.2
[INFO] [stderr] Compiling anstyle v1.0.6
[INFO] [stderr] Compiling winnow v0.7.4
[INFO] [stderr] Compiling unicase v2.7.0
[INFO] [stderr] Compiling pulldown-cmark v0.13.0
[INFO] [stderr] Compiling unicode-width v0.1.11
[INFO] [stderr] Compiling indexmap v2.8.0
[INFO] [stderr] Compiling clap_lex v0.6.0
[INFO] [stderr] Compiling anstyle-parse v0.2.3
[INFO] [stderr] Compiling either v1.10.0
[INFO] [stderr] Compiling getopts v0.2.21
[INFO] [stderr] Compiling strck v1.0.0
[INFO] [stderr] Compiling itoa v1.0.11
[INFO] [stderr] Compiling percent-encoding v2.3.1
[INFO] [stderr] Compiling anstream v0.6.13
[INFO] [stderr] Compiling pulldown-cmark-escape v0.11.0
[INFO] [stderr] Compiling smallvec v1.13.2
[INFO] [stderr] Compiling bitflags v2.5.0
[INFO] [stderr] Compiling heck v0.5.0
[INFO] [stderr] Compiling indenter v0.3.3
[INFO] [stderr] Compiling itertools v0.14.0
[INFO] [stderr] Compiling colored v3.0.0
[INFO] [stderr] Compiling clap_builder v4.4.18
[INFO] [stderr] Compiling quote v1.0.35
[INFO] [stderr] Compiling syn v2.0.99
[INFO] [stderr] Compiling basic-toml v0.1.9
[INFO] [stderr] Compiling serde_derive v1.0.197
[INFO] [stderr] Compiling displaydoc v0.2.4
[INFO] [stderr] Compiling clap_derive v4.4.7
[INFO] [stderr] Compiling syn-inline-mod v0.6.0
[INFO] [stderr] Compiling clap v4.4.18
[INFO] [stderr] Compiling askama_parser v0.13.0
[INFO] [stderr] Compiling askama_derive v0.13.0
[INFO] [stderr] Compiling toml_datetime v0.6.8
[INFO] [stderr] Compiling serde_spanned v0.6.8
[INFO] [stderr] Compiling diplomat_core v0.12.1
[INFO] [stderr] Compiling toml_edit v0.22.24
[INFO] [stderr] Compiling toml v0.8.20
[INFO] [stderr] Compiling askama v0.13.0
[INFO] [stderr] Compiling diplomat-tool v0.12.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout] --> src/js/gen.rs:234:9
[INFO] [stdout] |
[INFO] [stdout] 234 | &self,
[INFO] [stdout] | ^^^^^ this lifetime flows to the output
[INFO] [stdout] 235 | struct_def: &'tcx hir::StructDef
,
[INFO] [stdout] 236 | ) -> (Vec>, bool, Layout) {
[INFO] [stdout] | ------------ the lifetime gets resolved as `'_`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout] |
[INFO] [stdout] 236 | ) -> (Vec>, bool, Layout) {
[INFO] [stdout] | +++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout] --> src/js/gen.rs:500:9
[INFO] [stdout] |
[INFO] [stdout] 500 | &self,
[INFO] [stdout] | ^^^^^ this lifetime flows to the output
[INFO] [stdout] ...
[INFO] [stdout] 503 | ) -> Option {
[INFO] [stdout] | ---------- the lifetime gets resolved as `'_`
[INFO] [stdout] |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout] |
[INFO] [stdout] 503 | ) -> Option> {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout] --> src/js/gen.rs:701:9
[INFO] [stdout] |
[INFO] [stdout] 701 | &self,
[INFO] [stdout] | ^^^^^ this lifetime flows to the output
[INFO] [stdout] 702 | special_method_presence: &SpecialMethodPresence,
[INFO] [stdout] 703 | ) -> SpecialMethodInfo {
[INFO] [stdout] | ----------------- the lifetime gets resolved as `'_`
[INFO] [stdout] |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout] |
[INFO] [stdout] 703 | ) -> SpecialMethodInfo<'_> {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout] --> src/kotlin/formatter.rs:222:35
[INFO] [stdout] |
[INFO] [stdout] 222 | pub fn fmt_unsized_conversion(&self, prim: PrimitiveType, optional: bool) -> Cow {
[INFO] [stdout] | ^^^^^ this lifetime flows to the output -------- the lifetime gets resolved as `'_`
[INFO] [stdout] |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout] |
[INFO] [stdout] 222 | pub fn fmt_unsized_conversion(&self, prim: PrimitiveType, optional: bool) -> 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/kotlin/formatter.rs:241:37
[INFO] [stdout] |
[INFO] [stdout] 241 | pub fn fmt_primitive_error_type(&self, prim: PrimitiveType) -> 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] 241 | pub fn fmt_primitive_error_type(&self, prim: PrimitiveType) -> Cow<'_, str> {
[INFO] [stdout] | +++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 42.16s
[INFO] running `Command { std: "docker" "inspect" "8976c448b76c18b864039a80d07fe711e57aa0ca91c7f252f3790bcda8cffa46", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8976c448b76c18b864039a80d07fe711e57aa0ca91c7f252f3790bcda8cffa46", kill_on_drop: false }`
[INFO] [stdout] 8976c448b76c18b864039a80d07fe711e57aa0ca91c7f252f3790bcda8cffa46
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }`
[INFO] [stdout] b8a9b860335e4dd31287f3fefb4ebc081af7be35ac63b2416126ffb8bf1e3d7c
[INFO] running `Command { std: "docker" "start" "-a" "b8a9b860335e4dd31287f3fefb4ebc081af7be35ac63b2416126ffb8bf1e3d7c", kill_on_drop: false }`
[INFO] [stderr] Compiling libc v0.2.153
[INFO] [stderr] Compiling linked-hash-map v0.5.6
[INFO] [stderr] Compiling lazy_static v1.5.0
[INFO] [stderr] Compiling similar v2.4.0
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout] --> src/js/gen.rs:234:9
[INFO] [stdout] |
[INFO] [stdout] 234 | &self,
[INFO] [stdout] | ^^^^^ this lifetime flows to the output
[INFO] [stdout] 235 | struct_def: &'tcx hir::StructDef,
[INFO] [stdout] 236 | ) -> (Vec>, bool, Layout) {
[INFO] [stdout] | ------------ the lifetime gets resolved as `'_`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout] |
[INFO] [stdout] 236 | ) -> (Vec>, bool, Layout) {
[INFO] [stdout] | +++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout] --> src/js/gen.rs:500:9
[INFO] [stdout] |
[INFO] [stdout] 500 | &self,
[INFO] [stdout] | ^^^^^ this lifetime flows to the output
[INFO] [stdout] ...
[INFO] [stdout] 503 | ) -> Option {
[INFO] [stdout] | ---------- the lifetime gets resolved as `'_`
[INFO] [stdout] |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout] |
[INFO] [stdout] 503 | ) -> Option> {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout] --> src/js/gen.rs:701:9
[INFO] [stdout] |
[INFO] [stdout] 701 | &self,
[INFO] [stdout] | ^^^^^ this lifetime flows to the output
[INFO] [stdout] 702 | special_method_presence: &SpecialMethodPresence,
[INFO] [stdout] 703 | ) -> SpecialMethodInfo {
[INFO] [stdout] | ----------------- the lifetime gets resolved as `'_`
[INFO] [stdout] |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout] |
[INFO] [stdout] 703 | ) -> SpecialMethodInfo<'_> {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout] --> src/kotlin/formatter.rs:222:35
[INFO] [stdout] |
[INFO] [stdout] 222 | pub fn fmt_unsized_conversion(&self, prim: PrimitiveType, optional: bool) -> Cow {
[INFO] [stdout] | ^^^^^ this lifetime flows to the output -------- the lifetime gets resolved as `'_`
[INFO] [stdout] |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout] |
[INFO] [stdout] 222 | pub fn fmt_unsized_conversion(&self, prim: PrimitiveType, optional: bool) -> 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/kotlin/formatter.rs:241:37
[INFO] [stdout] |
[INFO] [stdout] 241 | pub fn fmt_primitive_error_type(&self, prim: PrimitiveType) -> 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] 241 | pub fn fmt_primitive_error_type(&self, prim: PrimitiveType) -> Cow<'_, str> {
[INFO] [stdout] | +++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Compiling yaml-rust v0.4.5
[INFO] [stderr] Compiling console v0.15.8
[INFO] [stderr] Compiling insta v1.36.1
[INFO] [stderr] Compiling diplomat-tool v0.12.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout] --> src/js/gen.rs:234:9
[INFO] [stdout] |
[INFO] [stdout] 234 | &self,
[INFO] [stdout] | ^^^^^ this lifetime flows to the output
[INFO] [stdout] 235 | struct_def: &'tcx hir::StructDef,
[INFO] [stdout] 236 | ) -> (Vec>, bool, Layout) {
[INFO] [stdout] | ------------ the lifetime gets resolved as `'_`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout] |
[INFO] [stdout] 236 | ) -> (Vec>, bool, Layout) {
[INFO] [stdout] | +++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout] --> src/js/gen.rs:500:9
[INFO] [stdout] |
[INFO] [stdout] 500 | &self,
[INFO] [stdout] | ^^^^^ this lifetime flows to the output
[INFO] [stdout] ...
[INFO] [stdout] 503 | ) -> Option {
[INFO] [stdout] | ---------- the lifetime gets resolved as `'_`
[INFO] [stdout] |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout] |
[INFO] [stdout] 503 | ) -> Option> {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout] --> src/js/gen.rs:701:9
[INFO] [stdout] |
[INFO] [stdout] 701 | &self,
[INFO] [stdout] | ^^^^^ this lifetime flows to the output
[INFO] [stdout] 702 | special_method_presence: &SpecialMethodPresence,
[INFO] [stdout] 703 | ) -> SpecialMethodInfo {
[INFO] [stdout] | ----------------- the lifetime gets resolved as `'_`
[INFO] [stdout] |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout] |
[INFO] [stdout] 703 | ) -> SpecialMethodInfo<'_> {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout] --> src/kotlin/formatter.rs:222:35
[INFO] [stdout] |
[INFO] [stdout] 222 | pub fn fmt_unsized_conversion(&self, prim: PrimitiveType, optional: bool) -> Cow {
[INFO] [stdout] | ^^^^^ this lifetime flows to the output -------- the lifetime gets resolved as `'_`
[INFO] [stdout] |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout] |
[INFO] [stdout] 222 | pub fn fmt_unsized_conversion(&self, prim: PrimitiveType, optional: bool) -> 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/kotlin/formatter.rs:241:37
[INFO] [stdout] |
[INFO] [stdout] 241 | pub fn fmt_primitive_error_type(&self, prim: PrimitiveType) -> 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] 241 | pub fn fmt_primitive_error_type(&self, prim: PrimitiveType) -> Cow<'_, str> {
[INFO] [stdout] | +++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 13.47s
[INFO] running `Command { std: "docker" "inspect" "b8a9b860335e4dd31287f3fefb4ebc081af7be35ac63b2416126ffb8bf1e3d7c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b8a9b860335e4dd31287f3fefb4ebc081af7be35ac63b2416126ffb8bf1e3d7c", kill_on_drop: false }`
[INFO] [stdout] b8a9b860335e4dd31287f3fefb4ebc081af7be35ac63b2416126ffb8bf1e3d7c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }`
[INFO] [stdout] 73b5154155e754370227dd3f46e049966ea33b168dcae62d28c7b9056752d46b
[INFO] running `Command { std: "docker" "start" "-a" "73b5154155e754370227dd3f46e049966ea33b168dcae62d28c7b9056752d46b", kill_on_drop: false }`
[INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stderr] --> src/js/gen.rs:234:9
[INFO] [stderr] |
[INFO] [stderr] 234 | &self,
[INFO] [stderr] | ^^^^^ this lifetime flows to the output
[INFO] [stderr] 235 | struct_def: &'tcx hir::StructDef,
[INFO] [stderr] 236 | ) -> (Vec>, bool, Layout) {
[INFO] [stderr] | ------------ the lifetime gets resolved as `'_`
[INFO] [stderr] |
[INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stderr] |
[INFO] [stderr] 236 | ) -> (Vec>, bool, Layout) {
[INFO] [stderr] | +++
[INFO] [stderr]
[INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stderr] --> src/js/gen.rs:500:9
[INFO] [stderr] |
[INFO] [stderr] 500 | &self,
[INFO] [stderr] | ^^^^^ this lifetime flows to the output
[INFO] [stderr] ...
[INFO] [stderr] 503 | ) -> Option {
[INFO] [stderr] | ---------- the lifetime gets resolved as `'_`
[INFO] [stderr] |
[INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stderr] |
[INFO] [stderr] 503 | ) -> Option> {
[INFO] [stderr] | ++++
[INFO] [stderr]
[INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stderr] --> src/js/gen.rs:701:9
[INFO] [stderr] |
[INFO] [stderr] 701 | &self,
[INFO] [stderr] | ^^^^^ this lifetime flows to the output
[INFO] [stderr] 702 | special_method_presence: &SpecialMethodPresence,
[INFO] [stderr] 703 | ) -> SpecialMethodInfo {
[INFO] [stderr] | ----------------- the lifetime gets resolved as `'_`
[INFO] [stderr] |
[INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stderr] |
[INFO] [stderr] 703 | ) -> SpecialMethodInfo<'_> {
[INFO] [stderr] | ++++
[INFO] [stderr]
[INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stderr] --> src/kotlin/formatter.rs:222:35
[INFO] [stderr] |
[INFO] [stderr] 222 | pub fn fmt_unsized_conversion(&self, prim: PrimitiveType, optional: bool) -> Cow {
[INFO] [stderr] | ^^^^^ this lifetime flows to the output -------- the lifetime gets resolved as `'_`
[INFO] [stderr] |
[INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stderr] |
[INFO] [stderr] 222 | pub fn fmt_unsized_conversion(&self, prim: PrimitiveType, optional: bool) -> Cow<'_, str> {
[INFO] [stderr] | +++
[INFO] [stderr]
[INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stderr] --> src/kotlin/formatter.rs:241:37
[INFO] [stderr] |
[INFO] [stderr] 241 | pub fn fmt_primitive_error_type(&self, prim: PrimitiveType) -> Cow {
[INFO] [stderr] | ^^^^^ -------- the lifetime gets resolved as `'_`
[INFO] [stderr] | |
[INFO] [stderr] | this lifetime flows to the output
[INFO] [stderr] |
[INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stderr] |
[INFO] [stderr] 241 | pub fn fmt_primitive_error_type(&self, prim: PrimitiveType) -> Cow<'_, str> {
[INFO] [stderr] | +++
[INFO] [stderr]
[INFO] [stderr] warning: `diplomat-tool` (lib) generated 5 warnings (run `cargo fix --lib -p diplomat-tool` to apply 5 suggestions)
[INFO] [stderr] warning: `diplomat-tool` (lib test) generated 5 warnings (5 duplicates)
[INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s
[INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/diplomat_tool-bc17ef339a54089d)
[INFO] [stdout]
[INFO] [stdout] running 13 tests
[INFO] [stdout] test cpp::header::test_path_diff ... ok
[INFO] [stdout] test kotlin::formatter::test::test_type_name ... ok
[INFO] [stdout] test nanobind::test::test_enum_gen ... ok
[INFO] [stdout] test cpp::test::test_rename_param ... ok
[INFO] [stdout] test kotlin::test::test_opaque_gen_with_mocking_interface ... ok
[INFO] [stdout] test nanobind::test::test_struct_gen ... ok
[INFO] [stdout] test nanobind::test::test_opaque_gen ... ok
[INFO] [stdout] test kotlin::test::test_opaque_gen_with_finalizers ... ok
[INFO] [stdout] test kotlin::test::test_enum ... ok
[INFO] [stdout] test kotlin::test::test_opaque_gen_multiple_ref_args ... ok
[INFO] [stdout] test kotlin::test::test_struct ... ok
[INFO] [stdout] test kotlin::test::test_opaque_gen ... ok
[INFO] [stdout] test kotlin::test::test_trait_gen ... ok
[INFO] [stdout]
[INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s
[INFO] [stdout]
[INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/diplomat_tool-afc23db0b6dd1f72)
[INFO] [stdout]
[INFO] [stdout] running 0 tests
[INFO] [stdout]
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout]
[INFO] running `Command { std: "docker" "inspect" "73b5154155e754370227dd3f46e049966ea33b168dcae62d28c7b9056752d46b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "73b5154155e754370227dd3f46e049966ea33b168dcae62d28c7b9056752d46b", kill_on_drop: false }`
[INFO] [stdout] 73b5154155e754370227dd3f46e049966ea33b168dcae62d28c7b9056752d46b