[INFO] fetching crate diplomat-tool 0.12.1...
[INFO] testing diplomat-tool-0.12.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1
[INFO] extracting crate diplomat-tool 0.12.1 into /workspace/builds/worker-7-tc2/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-7-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate diplomat-tool 0.12.1 on toolchain b83b707f97d809763b7861afa7638871f3339a33
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e7f5dab7a7f25be101881a878726726405b1d46d7078994c084c563d24da8539
[INFO] running `Command { std: "docker" "start" "-a" "e7f5dab7a7f25be101881a878726726405b1d46d7078994c084c563d24da8539", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e7f5dab7a7f25be101881a878726726405b1d46d7078994c084c563d24da8539", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e7f5dab7a7f25be101881a878726726405b1d46d7078994c084c563d24da8539", kill_on_drop: false }`
[INFO] [stdout] e7f5dab7a7f25be101881a878726726405b1d46d7078994c084c563d24da8539
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cde8fc30a59b71ee691a098b2ffd925a862e3d71f25d4fc3238478ca87e1d1c5
[INFO] running `Command { std: "docker" "start" "-a" "cde8fc30a59b71ee691a098b2ffd925a862e3d71f25d4fc3238478ca87e1d1c5", kill_on_drop: false }`
[INFO] [stderr] Compiling unicode-ident v1.0.12
[INFO] [stderr] Compiling serde v1.0.197
[INFO] [stderr] Compiling proc-macro2 v1.0.94
[INFO] [stderr] Compiling pulldown-cmark v0.13.0
[INFO] [stderr] Compiling unicase v2.7.0
[INFO] [stderr] Compiling indexmap v2.8.0
[INFO] [stderr] Compiling either v1.10.0
[INFO] [stderr] Compiling pulldown-cmark-escape v0.11.0
[INFO] [stderr] Compiling getopts v0.2.21
[INFO] [stderr] Compiling percent-encoding v2.3.1
[INFO] [stderr] Compiling bitflags v2.5.0
[INFO] [stderr] Compiling indenter v0.3.3
[INFO] [stderr] Compiling colored v3.0.0
[INFO] [stderr] Compiling heck v0.5.0
[INFO] [stderr] Compiling clap_builder v4.4.18
[INFO] [stderr] Compiling strck v1.0.0
[INFO] [stderr] Compiling itertools v0.14.0
[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 clap v4.4.18
[INFO] [stderr] Compiling syn-inline-mod v0.6.0
[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 askama v0.13.0
[INFO] [stderr] Compiling toml v0.8.20
[INFO] [stderr] Compiling diplomat-tool v0.12.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: struct `PythonConfig` is never constructed
[INFO] [stdout] --> src/nanobind/mod.rs:57:8
[INFO] [stdout] |
[INFO] [stdout] 57 | struct PythonConfig {
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/js/gen.rs:234:9
[INFO] [stdout] |
[INFO] [stdout] 234 | &self,
[INFO] [stdout] | ^^^^^ the lifetime is elided here
[INFO] [stdout] 235 | struct_def: &'tcx hir::StructDef
,
[INFO] [stdout] 236 | ) -> (Vec>, bool, Layout) {
[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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout] |
[INFO] [stdout] 236 | ) -> (Vec>, bool, Layout) {
[INFO] [stdout] | +++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/js/gen.rs:500:9
[INFO] [stdout] |
[INFO] [stdout] 500 | &self,
[INFO] [stdout] | ^^^^^ the lifetime is elided here
[INFO] [stdout] ...
[INFO] [stdout] 503 | ) -> 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] 503 | ) -> Option> {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/js/gen.rs:701:9
[INFO] [stdout] |
[INFO] [stdout] 701 | &self,
[INFO] [stdout] | ^^^^^ the lifetime is elided here
[INFO] [stdout] 702 | special_method_presence: &SpecialMethodPresence,
[INFO] [stdout] 703 | ) -> SpecialMethodInfo {
[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] 703 | ) -> SpecialMethodInfo<'_> {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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] | ^^^^^ the lifetime is elided here ^^^^^^^^ 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] 222 | pub fn fmt_unsized_conversion(&self, prim: PrimitiveType, optional: bool) -> Cow<'_, str> {
[INFO] [stdout] | +++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 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] 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 40.43s
[INFO] running `Command { std: "docker" "inspect" "cde8fc30a59b71ee691a098b2ffd925a862e3d71f25d4fc3238478ca87e1d1c5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cde8fc30a59b71ee691a098b2ffd925a862e3d71f25d4fc3238478ca87e1d1c5", kill_on_drop: false }`
[INFO] [stdout] cde8fc30a59b71ee691a098b2ffd925a862e3d71f25d4fc3238478ca87e1d1c5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b554bef9d0d6c0b3dc9a2e1a8505eaf382591e749e996ba5ba7109bd66781c97
[INFO] running `Command { std: "docker" "start" "-a" "b554bef9d0d6c0b3dc9a2e1a8505eaf382591e749e996ba5ba7109bd66781c97", kill_on_drop: false }`
[INFO] [stderr] Compiling similar v2.4.0
[INFO] [stderr] Compiling console v0.15.8
[INFO] [stdout] warning: struct `PythonConfig` is never constructed
[INFO] [stdout] --> src/nanobind/mod.rs:57:8
[INFO] [stdout] |
[INFO] [stdout] 57 | struct PythonConfig {
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/js/gen.rs:234:9
[INFO] [stdout] |
[INFO] [stdout] 234 | &self,
[INFO] [stdout] | ^^^^^ the lifetime is elided here
[INFO] [stdout] 235 | struct_def: &'tcx hir::StructDef,
[INFO] [stdout] 236 | ) -> (Vec>, bool, Layout) {
[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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout] |
[INFO] [stdout] 236 | ) -> (Vec>, bool, Layout) {
[INFO] [stdout] | +++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/js/gen.rs:500:9
[INFO] [stdout] |
[INFO] [stdout] 500 | &self,
[INFO] [stdout] | ^^^^^ the lifetime is elided here
[INFO] [stdout] ...
[INFO] [stdout] 503 | ) -> 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] 503 | ) -> Option> {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/js/gen.rs:701:9
[INFO] [stdout] |
[INFO] [stdout] 701 | &self,
[INFO] [stdout] | ^^^^^ the lifetime is elided here
[INFO] [stdout] 702 | special_method_presence: &SpecialMethodPresence,
[INFO] [stdout] 703 | ) -> SpecialMethodInfo {
[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] 703 | ) -> SpecialMethodInfo<'_> {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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] | ^^^^^ the lifetime is elided here ^^^^^^^^ 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] 222 | pub fn fmt_unsized_conversion(&self, prim: PrimitiveType, optional: bool) -> Cow<'_, str> {
[INFO] [stdout] | +++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 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] 241 | pub fn fmt_primitive_error_type(&self, prim: PrimitiveType) -> Cow<'_, str> {
[INFO] [stdout] | +++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Compiling insta v1.36.1
[INFO] [stderr] Compiling diplomat-tool v0.12.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: struct `PythonConfig` is never constructed
[INFO] [stdout] --> src/nanobind/mod.rs:57:8
[INFO] [stdout] |
[INFO] [stdout] 57 | struct PythonConfig {
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/js/gen.rs:234:9
[INFO] [stdout] |
[INFO] [stdout] 234 | &self,
[INFO] [stdout] | ^^^^^ the lifetime is elided here
[INFO] [stdout] 235 | struct_def: &'tcx hir::StructDef,
[INFO] [stdout] 236 | ) -> (Vec>, bool, Layout) {
[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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout] |
[INFO] [stdout] 236 | ) -> (Vec>, bool, Layout) {
[INFO] [stdout] | +++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/js/gen.rs:500:9
[INFO] [stdout] |
[INFO] [stdout] 500 | &self,
[INFO] [stdout] | ^^^^^ the lifetime is elided here
[INFO] [stdout] ...
[INFO] [stdout] 503 | ) -> 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] 503 | ) -> Option> {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/js/gen.rs:701:9
[INFO] [stdout] |
[INFO] [stdout] 701 | &self,
[INFO] [stdout] | ^^^^^ the lifetime is elided here
[INFO] [stdout] 702 | special_method_presence: &SpecialMethodPresence,
[INFO] [stdout] 703 | ) -> SpecialMethodInfo {
[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] 703 | ) -> SpecialMethodInfo<'_> {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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] | ^^^^^ the lifetime is elided here ^^^^^^^^ 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] 222 | pub fn fmt_unsized_conversion(&self, prim: PrimitiveType, optional: bool) -> Cow<'_, str> {
[INFO] [stdout] | +++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 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] 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 11.98s
[INFO] running `Command { std: "docker" "inspect" "b554bef9d0d6c0b3dc9a2e1a8505eaf382591e749e996ba5ba7109bd66781c97", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b554bef9d0d6c0b3dc9a2e1a8505eaf382591e749e996ba5ba7109bd66781c97", kill_on_drop: false }`
[INFO] [stdout] b554bef9d0d6c0b3dc9a2e1a8505eaf382591e749e996ba5ba7109bd66781c97
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 054217d4f3361aefe3f4f64c66622523a4093f43a11ddc5de75b048b5d348af7
[INFO] running `Command { std: "docker" "start" "-a" "054217d4f3361aefe3f4f64c66622523a4093f43a11ddc5de75b048b5d348af7", kill_on_drop: false }`
[INFO] [stderr] warning: struct `PythonConfig` is never constructed
[INFO] [stderr] --> src/nanobind/mod.rs:57:8
[INFO] [stderr] |
[INFO] [stderr] 57 | struct PythonConfig {
[INFO] [stderr] | ^^^^^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr]
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr] --> src/js/gen.rs:234:9
[INFO] [stderr] |
[INFO] [stderr] 234 | &self,
[INFO] [stderr] | ^^^^^ the lifetime is elided here
[INFO] [stderr] 235 | struct_def: &'tcx hir::StructDef,
[INFO] [stderr] 236 | ) -> (Vec>, bool, Layout) {
[INFO] [stderr] | ^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr] |
[INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr] |
[INFO] [stderr] 236 | ) -> (Vec>, bool, Layout) {
[INFO] [stderr] | +++
[INFO] [stderr]
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr] --> src/js/gen.rs:500:9
[INFO] [stderr] |
[INFO] [stderr] 500 | &self,
[INFO] [stderr] | ^^^^^ the lifetime is elided here
[INFO] [stderr] ...
[INFO] [stderr] 503 | ) -> Option {
[INFO] [stderr] | ^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr] |
[INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr] |
[INFO] [stderr] 503 | ) -> Option> {
[INFO] [stderr] | ++++
[INFO] [stderr]
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr] --> src/js/gen.rs:701:9
[INFO] [stderr] |
[INFO] [stderr] 701 | &self,
[INFO] [stderr] | ^^^^^ the lifetime is elided here
[INFO] [stderr] 702 | special_method_presence: &SpecialMethodPresence,
[INFO] [stderr] 703 | ) -> SpecialMethodInfo {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr] |
[INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr] |
[INFO] [stderr] 703 | ) -> SpecialMethodInfo<'_> {
[INFO] [stderr] | ++++
[INFO] [stderr]
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is 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] | ^^^^^ the lifetime is elided here ^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr] |
[INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr] |
[INFO] [stderr] 222 | pub fn fmt_unsized_conversion(&self, prim: PrimitiveType, optional: bool) -> Cow<'_, str> {
[INFO] [stderr] | +++
[INFO] [stderr]
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here
[INFO] [stderr] | |
[INFO] [stderr] | the lifetime is elided here
[INFO] [stderr] |
[INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr] |
[INFO] [stderr] 241 | pub fn fmt_primitive_error_type(&self, prim: PrimitiveType) -> Cow<'_, str> {
[INFO] [stderr] | +++
[INFO] [stderr]
[INFO] [stderr] warning: `diplomat-tool` (lib) generated 6 warnings (run `cargo fix --lib -p diplomat-tool` to apply 5 suggestions)
[INFO] [stderr] warning: `diplomat-tool` (lib test) generated 6 warnings (6 duplicates)
[INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s
[INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/diplomat_tool-e4c68ff7a3641969)
[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 kotlin::test::test_opaque_gen_multiple_ref_args ... ok
[INFO] [stdout] test kotlin::test::test_opaque_gen_with_finalizers ... ok
[INFO] [stdout] test kotlin::test::test_opaque_gen_with_mocking_interface ... ok
[INFO] [stdout] test cpp::test::test_rename_param ... ok
[INFO] [stdout] test nanobind::test::test_opaque_gen ... ok
[INFO] [stdout] test nanobind::test::test_struct_gen ... ok
[INFO] [stdout] test kotlin::test::test_opaque_gen ... ok
[INFO] [stdout] test nanobind::test::test_enum_gen ... ok
[INFO] [stdout] test kotlin::test::test_enum ... ok
[INFO] [stdout] test kotlin::test::test_trait_gen ... ok
[INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/diplomat_tool-af7cba3be9077c1c)
[INFO] [stdout] test kotlin::test::test_struct ... ok
[INFO] [stdout]
[INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s
[INFO] [stdout]
[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] [stderr] Doc-tests diplomat_tool
[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" "054217d4f3361aefe3f4f64c66622523a4093f43a11ddc5de75b048b5d348af7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "054217d4f3361aefe3f4f64c66622523a4093f43a11ddc5de75b048b5d348af7", kill_on_drop: false }`
[INFO] [stdout] 054217d4f3361aefe3f4f64c66622523a4093f43a11ddc5de75b048b5d348af7