[INFO] fetching crate rsbind 0.6.0... [INFO] testing rsbind-0.6.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate rsbind 0.6.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate rsbind 0.6.0 [INFO] finished tweaking crates.io crate rsbind 0.6.0 [INFO] tweaked toml for crates.io crate rsbind 0.6.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rsbind 0.6.0 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 rsbind 0.6.0 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] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `syn` dependency) [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num_threads v0.1.6 [INFO] [stderr] Downloaded digest v0.10.5 [INFO] [stderr] Downloaded zip v0.6.3 [INFO] [stderr] Downloaded termcolor v1.1.3 [INFO] [stderr] Downloaded thiserror v1.0.30 [INFO] [stderr] Downloaded indexmap v1.8.0 [INFO] [stderr] Downloaded redox_syscall v0.2.10 [INFO] [stderr] Downloaded os_str_bytes v6.4.0 [INFO] [stderr] Downloaded rstgen v0.1.4 [INFO] [stderr] Downloaded flate2 v1.0.24 [INFO] [stderr] Downloaded quick-xml v0.23.1 [INFO] [stderr] Downloaded clap v3.2.23 [INFO] [stderr] Downloaded quick-xml v0.20.0 [INFO] [stderr] Downloaded cbindgen v0.24.3 [INFO] [stderr] Downloaded hashbrown v0.11.2 [INFO] [stderr] Downloaded backtrace v0.3.63 [INFO] [stderr] Downloaded libc v0.2.115 [INFO] [stderr] Downloaded serde_json v1.0.78 [INFO] [stderr] Downloaded serde v1.0.136 [INFO] [stderr] Downloaded object v0.27.1 [INFO] [stderr] Downloaded syn v1.0.94 [INFO] [stderr] Downloaded zstd-sys v2.0.1+zstd.1.5.2 [INFO] [stderr] Downloaded ryu v1.0.9 [INFO] [stderr] Downloaded ndk-build v0.8.0 [INFO] [stderr] Downloaded ndk-build v0.4.3 [INFO] [stderr] Downloaded gimli v0.26.1 [INFO] [stderr] Downloaded proc-macro2 v1.0.36 [INFO] [stderr] Downloaded crossbeam-utils v0.8.12 [INFO] [stderr] Downloaded typenum v1.15.0 [INFO] [stderr] Downloaded fastrand v1.7.0 [INFO] [stderr] Downloaded heck v0.4.0 [INFO] [stderr] Downloaded addr2line v0.17.0 [INFO] [stderr] Downloaded miniz_oxide v0.4.4 [INFO] [stderr] Downloaded rustc-demangle v0.1.21 [INFO] [stderr] Downloaded error-chain v0.12.4 [INFO] [stderr] Downloaded getrandom v0.2.4 [INFO] [stderr] Downloaded pkg-config v0.3.24 [INFO] [stderr] Downloaded bzip2 v0.4.3 [INFO] [stderr] Downloaded redox_users v0.4.0 [INFO] [stderr] Downloaded dirs-sys v0.3.6 [INFO] [stderr] Downloaded dirs v3.0.2 [INFO] [stderr] Downloaded dunce v1.0.2 [INFO] [stderr] Downloaded thiserror-impl v1.0.30 [INFO] [stderr] Downloaded serde_derive v1.0.136 [INFO] [stderr] Downloaded toml v0.5.8 [INFO] [stderr] Downloaded miniz_oxide v0.5.4 [INFO] [stderr] Downloaded fs_extra v1.2.0 [INFO] [stderr] Downloaded which v4.2.4 [INFO] [stderr] Downloaded ndk-tool v0.1.0 [INFO] [stderr] Downloaded quote v1.0.15 [INFO] [stderr] Downloaded time v0.3.15 [INFO] [stderr] Downloaded cc v1.0.72 [INFO] [stderr] Downloaded itoa v1.0.1 [INFO] [stderr] Downloaded time-macros v0.2.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] b007d6530c9075e906b4a4b7e6f32c79c3d77af756f599547dc4d0b2550e40a0 [INFO] running `Command { std: "docker" "start" "-a" "b007d6530c9075e906b4a4b7e6f32c79c3d77af756f599547dc4d0b2550e40a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b007d6530c9075e906b4a4b7e6f32c79c3d77af756f599547dc4d0b2550e40a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b007d6530c9075e906b4a4b7e6f32c79c3d77af756f599547dc4d0b2550e40a0", kill_on_drop: false }` [INFO] [stdout] b007d6530c9075e906b4a4b7e6f32c79c3d77af756f599547dc4d0b2550e40a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] cf9394e794829b7d6e7b1b00e813d842b06388754cc5582acd34f6e8c8a1d414 [INFO] running `Command { std: "docker" "start" "-a" "cf9394e794829b7d6e7b1b00e813d842b06388754cc5582acd34f6e8c8a1d414", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `syn` dependency) [INFO] [stderr] Compiling libc v0.2.115 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.94 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling cpufeatures v0.2.5 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling dunce v1.0.2 [INFO] [stderr] Compiling base64ct v1.5.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling serde_json v1.0.78 [INFO] [stderr] Compiling os_str_bytes v6.4.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling password-hash v0.4.2 [INFO] [stderr] Compiling miniz_oxide v0.5.4 [INFO] [stderr] Compiling object v0.27.1 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling which v4.2.4 [INFO] [stderr] Compiling jobserver v0.1.25 [INFO] [stderr] Compiling dirs v3.0.2 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Compiling cbindgen v0.24.3 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling textwrap v0.16.0 [INFO] [stderr] Compiling flate2 v1.0.24 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling clap v3.2.23 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling rstgen v0.1.4 [INFO] [stderr] Compiling fs_extra v1.2.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.3 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling digest v0.10.5 [INFO] [stderr] Compiling aes v0.7.5 [INFO] [stderr] Compiling zstd-sys v2.0.1+zstd.1.5.2 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling backtrace v0.3.63 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.6 [INFO] [stderr] Compiling sha1 v0.10.5 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling time v0.3.15 [INFO] [stderr] Compiling bzip2 v0.4.3 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling quick-xml v0.20.0 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling quick-xml v0.23.1 [INFO] [stderr] Compiling ndk-build v0.4.3 [INFO] [stderr] Compiling ndk-build v0.8.0 [INFO] [stderr] Compiling ndk-tool v0.1.0 [INFO] [stderr] Compiling zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Compiling zip v0.6.3 [INFO] [stderr] Compiling rsbind v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::ast::types::AstType` [INFO] [stdout] --> src/base/bridge.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::ast::types::AstType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `has_error_description_deprecated` [INFO] [stdout] --> src/errors.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / error_chain! { [INFO] [stdout] 2 | | errors { [INFO] [stdout] 3 | | FileError(msg: String) { [INFO] [stdout] 4 | | description("file error"), [INFO] [stdout] ... | [INFO] [stdout] 35 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LangImp` and `ModContext` [INFO] [stdout] --> src/java/mod.rs:2:34 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::base::lang::{LangGen, LangImp, ModContext}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LangImp` and `ModContext` [INFO] [stdout] --> src/swift/mod.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::base::lang::{LangGen, LangImp, ModContext}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ServiceContext` [INFO] [stdout] --> src/swift/bridge.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | ServiceContext, StructContext, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/java/bridge.rs:529:17 [INFO] [stdout] | [INFO] [stdout] 529 | let mut return_convert = if let AstType::Void = method.return_type.clone() { [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ndk_stand_alone` is never read [INFO] [stdout] --> src/android/config.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Android { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 16 | pub ndk_stand_alone: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Android` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mod_name` is never read [INFO] [stdout] --> src/ast/imp/desc.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct ImpDesc { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 5 | pub mod_name: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ImpDesc` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `quote_common_in_bridge`, `quote_common_in_native`, and `quote_in_common_rs` are never used [INFO] [stdout] --> src/base/lang.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub(crate) trait Convertible { [INFO] [stdout] | ----------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 44 | fn quote_common_in_bridge(&self) -> TokenStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 45 | /// Quote code in native artifact bridge file. [INFO] [stdout] 46 | fn quote_common_in_native(&self) -> Tokens<'static, T>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 47 | /// Quote code in common.rs. [INFO] [stdout] 48 | fn quote_in_common_rs(&self) -> TokenStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mod_name` is never read [INFO] [stdout] --> src/base/lang.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 82 | pub(crate) struct ModContext<'a, Lang, Extra> { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 86 | pub mod_name: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `unpack` is never used [INFO] [stdout] --> src/base/process.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) trait BuildProcess { [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] 4 | fn unpack(&self) -> Result<()>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ndk_stand_alone` is never read [INFO] [stdout] --> src/jar/config.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Jar { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 9 | pub ndk_stand_alone: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Jar` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `origin_prj_path` is never read [INFO] [stdout] --> src/mac/process.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) struct MacProcess<'a> { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 21 | origin_prj_path: &'a Path, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/java/interface.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 30 | fn fill_method_sig(&self, method: &MethodDesc) -> Result { [INFO] [stdout] | ^^^^^ ------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [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] 30 | fn fill_method_sig(&self, method: &MethodDesc) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/java/internal.rs:66:24 [INFO] [stdout] | [INFO] [stdout] 66 | fn fill_method_sig(&self, method: &MethodDesc) -> Result { [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] 66 | fn fill_method_sig(&self, method: &MethodDesc) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/java/wrapper.rs:42:24 [INFO] [stdout] | [INFO] [stdout] 42 | fn fill_method_sig(&self, method: &MethodDesc) -> Result { [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] 42 | fn fill_method_sig(&self, method: &MethodDesc) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/swift/internal.rs:55:24 [INFO] [stdout] | [INFO] [stdout] 55 | fn fill_method_sig(&self, method: &MethodDesc) -> Result { [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] 55 | fn fill_method_sig(&self, method: &MethodDesc) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/swift/protocol.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | fn fill_method_sig(&self, method: &MethodDesc) -> Result { [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] 35 | fn fill_method_sig(&self, method: &MethodDesc) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/swift/struct_.rs:41:29 [INFO] [stdout] | [INFO] [stdout] 41 | fn create_into_proxy_fn(&self) -> Method { [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] 41 | fn create_into_proxy_fn(&self) -> Method<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/swift/struct_.rs:61:33 [INFO] [stdout] | [INFO] [stdout] 61 | fn create_proxy_constructor(&self) -> Constructor { [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] 61 | fn create_proxy_constructor(&self) -> Constructor<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/swift/wrapper.rs:42:24 [INFO] [stdout] | [INFO] [stdout] 42 | fn fill_method_sig(&self, method: &MethodDesc) -> Result { [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] 42 | fn fill_method_sig(&self, method: &MethodDesc) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 42.95s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: fs_extra v1.2.0, quick-xml v0.20.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "cf9394e794829b7d6e7b1b00e813d842b06388754cc5582acd34f6e8c8a1d414", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf9394e794829b7d6e7b1b00e813d842b06388754cc5582acd34f6e8c8a1d414", kill_on_drop: false }` [INFO] [stdout] cf9394e794829b7d6e7b1b00e813d842b06388754cc5582acd34f6e8c8a1d414 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 26adcc7bf10052074dc2454fde03f465b79dd2c0dc651e76d6fa28d5e7544abc [INFO] running `Command { std: "docker" "start" "-a" "26adcc7bf10052074dc2454fde03f465b79dd2c0dc651e76d6fa28d5e7544abc", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `syn` dependency) [INFO] [stdout] warning: unused import: `crate::ast::types::AstType` [INFO] [stdout] --> src/base/bridge.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::ast::types::AstType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `has_error_description_deprecated` [INFO] [stdout] --> src/errors.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / error_chain! { [INFO] [stdout] 2 | | errors { [INFO] [stdout] 3 | | FileError(msg: String) { [INFO] [stdout] 4 | | description("file error"), [INFO] [stdout] ... | [INFO] [stdout] 35 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LangImp` and `ModContext` [INFO] [stdout] --> src/java/mod.rs:2:34 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::base::lang::{LangGen, LangImp, ModContext}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LangImp` and `ModContext` [INFO] [stdout] --> src/swift/mod.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::base::lang::{LangGen, LangImp, ModContext}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ServiceContext` [INFO] [stdout] --> src/swift/bridge.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | ServiceContext, StructContext, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/java/bridge.rs:529:17 [INFO] [stdout] | [INFO] [stdout] 529 | let mut return_convert = if let AstType::Void = method.return_type.clone() { [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ndk_stand_alone` is never read [INFO] [stdout] --> src/android/config.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Android { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 16 | pub ndk_stand_alone: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Android` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mod_name` is never read [INFO] [stdout] --> src/ast/imp/desc.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct ImpDesc { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 5 | pub mod_name: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ImpDesc` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `quote_common_in_bridge`, `quote_common_in_native`, and `quote_in_common_rs` are never used [INFO] [stdout] --> src/base/lang.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub(crate) trait Convertible { [INFO] [stdout] | ----------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 44 | fn quote_common_in_bridge(&self) -> TokenStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 45 | /// Quote code in native artifact bridge file. [INFO] [stdout] 46 | fn quote_common_in_native(&self) -> Tokens<'static, T>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 47 | /// Quote code in common.rs. [INFO] [stdout] 48 | fn quote_in_common_rs(&self) -> TokenStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mod_name` is never read [INFO] [stdout] --> src/base/lang.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 82 | pub(crate) struct ModContext<'a, Lang, Extra> { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 86 | pub mod_name: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `unpack` is never used [INFO] [stdout] --> src/base/process.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) trait BuildProcess { [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] 4 | fn unpack(&self) -> Result<()>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ndk_stand_alone` is never read [INFO] [stdout] --> src/jar/config.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Jar { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 9 | pub ndk_stand_alone: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Jar` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `origin_prj_path` is never read [INFO] [stdout] --> src/mac/process.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) struct MacProcess<'a> { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 21 | origin_prj_path: &'a Path, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/java/interface.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 30 | fn fill_method_sig(&self, method: &MethodDesc) -> Result { [INFO] [stdout] | ^^^^^ ------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [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] 30 | fn fill_method_sig(&self, method: &MethodDesc) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/java/internal.rs:66:24 [INFO] [stdout] | [INFO] [stdout] 66 | fn fill_method_sig(&self, method: &MethodDesc) -> Result { [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] 66 | fn fill_method_sig(&self, method: &MethodDesc) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/java/wrapper.rs:42:24 [INFO] [stdout] | [INFO] [stdout] 42 | fn fill_method_sig(&self, method: &MethodDesc) -> Result { [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] 42 | fn fill_method_sig(&self, method: &MethodDesc) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/swift/internal.rs:55:24 [INFO] [stdout] | [INFO] [stdout] 55 | fn fill_method_sig(&self, method: &MethodDesc) -> Result { [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] 55 | fn fill_method_sig(&self, method: &MethodDesc) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/swift/protocol.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | fn fill_method_sig(&self, method: &MethodDesc) -> Result { [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] 35 | fn fill_method_sig(&self, method: &MethodDesc) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/swift/struct_.rs:41:29 [INFO] [stdout] | [INFO] [stdout] 41 | fn create_into_proxy_fn(&self) -> Method { [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] 41 | fn create_into_proxy_fn(&self) -> Method<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rsbind v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/swift/struct_.rs:61:33 [INFO] [stdout] | [INFO] [stdout] 61 | fn create_proxy_constructor(&self) -> Constructor { [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] 61 | fn create_proxy_constructor(&self) -> Constructor<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/swift/wrapper.rs:42:24 [INFO] [stdout] | [INFO] [stdout] 42 | fn fill_method_sig(&self, method: &MethodDesc) -> Result { [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] 42 | fn fill_method_sig(&self, method: &MethodDesc) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ast::types::AstType` [INFO] [stdout] --> src/base/bridge.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::ast::types::AstType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `has_error_description_deprecated` [INFO] [stdout] --> src/errors.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / error_chain! { [INFO] [stdout] 2 | | errors { [INFO] [stdout] 3 | | FileError(msg: String) { [INFO] [stdout] 4 | | description("file error"), [INFO] [stdout] ... | [INFO] [stdout] 35 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LangImp` and `ModContext` [INFO] [stdout] --> src/java/mod.rs:2:34 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::base::lang::{LangGen, LangImp, ModContext}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LangImp` and `ModContext` [INFO] [stdout] --> src/swift/mod.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::base::lang::{LangGen, LangImp, ModContext}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ServiceContext` [INFO] [stdout] --> src/swift/bridge.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | ServiceContext, StructContext, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/java/bridge.rs:529:17 [INFO] [stdout] | [INFO] [stdout] 529 | let mut return_convert = if let AstType::Void = method.return_type.clone() { [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ndk_stand_alone` is never read [INFO] [stdout] --> src/android/config.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Android { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 16 | pub ndk_stand_alone: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Android` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mod_name` is never read [INFO] [stdout] --> src/ast/imp/desc.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct ImpDesc { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 5 | pub mod_name: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ImpDesc` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `quote_common_in_bridge`, `quote_common_in_native`, and `quote_in_common_rs` are never used [INFO] [stdout] --> src/base/lang.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub(crate) trait Convertible { [INFO] [stdout] | ----------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 44 | fn quote_common_in_bridge(&self) -> TokenStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 45 | /// Quote code in native artifact bridge file. [INFO] [stdout] 46 | fn quote_common_in_native(&self) -> Tokens<'static, T>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 47 | /// Quote code in common.rs. [INFO] [stdout] 48 | fn quote_in_common_rs(&self) -> TokenStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mod_name` is never read [INFO] [stdout] --> src/base/lang.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 82 | pub(crate) struct ModContext<'a, Lang, Extra> { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 86 | pub mod_name: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `unpack` is never used [INFO] [stdout] --> src/base/process.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) trait BuildProcess { [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] 4 | fn unpack(&self) -> Result<()>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ndk_stand_alone` is never read [INFO] [stdout] --> src/jar/config.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Jar { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 9 | pub ndk_stand_alone: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Jar` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `origin_prj_path` is never read [INFO] [stdout] --> src/mac/process.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) struct MacProcess<'a> { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 21 | origin_prj_path: &'a Path, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/java/interface.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 30 | fn fill_method_sig(&self, method: &MethodDesc) -> Result { [INFO] [stdout] | ^^^^^ ------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [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] 30 | fn fill_method_sig(&self, method: &MethodDesc) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/java/internal.rs:66:24 [INFO] [stdout] | [INFO] [stdout] 66 | fn fill_method_sig(&self, method: &MethodDesc) -> Result { [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] 66 | fn fill_method_sig(&self, method: &MethodDesc) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/java/wrapper.rs:42:24 [INFO] [stdout] | [INFO] [stdout] 42 | fn fill_method_sig(&self, method: &MethodDesc) -> Result { [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] 42 | fn fill_method_sig(&self, method: &MethodDesc) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/swift/internal.rs:55:24 [INFO] [stdout] | [INFO] [stdout] 55 | fn fill_method_sig(&self, method: &MethodDesc) -> Result { [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] 55 | fn fill_method_sig(&self, method: &MethodDesc) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/swift/protocol.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | fn fill_method_sig(&self, method: &MethodDesc) -> Result { [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] 35 | fn fill_method_sig(&self, method: &MethodDesc) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/swift/struct_.rs:41:29 [INFO] [stdout] | [INFO] [stdout] 41 | fn create_into_proxy_fn(&self) -> Method { [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] 41 | fn create_into_proxy_fn(&self) -> Method<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/swift/struct_.rs:61:33 [INFO] [stdout] | [INFO] [stdout] 61 | fn create_proxy_constructor(&self) -> Constructor { [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] 61 | fn create_proxy_constructor(&self) -> Constructor<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/swift/wrapper.rs:42:24 [INFO] [stdout] | [INFO] [stdout] 42 | fn fill_method_sig(&self, method: &MethodDesc) -> Result { [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] 42 | fn fill_method_sig(&self, method: &MethodDesc) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.16s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: fs_extra v1.2.0, quick-xml v0.20.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "26adcc7bf10052074dc2454fde03f465b79dd2c0dc651e76d6fa28d5e7544abc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26adcc7bf10052074dc2454fde03f465b79dd2c0dc651e76d6fa28d5e7544abc", kill_on_drop: false }` [INFO] [stdout] 26adcc7bf10052074dc2454fde03f465b79dd2c0dc651e76d6fa28d5e7544abc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] e591ef94ae8d9103e6dc4eca8e57c4543fc9a3ca96587c6a5ee86cbd2d40c173 [INFO] running `Command { std: "docker" "start" "-a" "e591ef94ae8d9103e6dc4eca8e57c4543fc9a3ca96587c6a5ee86cbd2d40c173", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `syn` dependency) [INFO] [stderr] warning: unused import: `crate::ast::types::AstType` [INFO] [stderr] --> src/base/bridge.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::ast::types::AstType; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `has_error_description_deprecated` [INFO] [stderr] --> src/errors.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / error_chain! { [INFO] [stderr] 2 | | errors { [INFO] [stderr] 3 | | FileError(msg: String) { [INFO] [stderr] 4 | | description("file error"), [INFO] [stderr] ... | [INFO] [stderr] 35 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused imports: `LangImp` and `ModContext` [INFO] [stderr] --> src/java/mod.rs:2:34 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::base::lang::{LangGen, LangImp, ModContext}; [INFO] [stderr] | ^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `LangImp` and `ModContext` [INFO] [stderr] --> src/swift/mod.rs:3:34 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::base::lang::{LangGen, LangImp, ModContext}; [INFO] [stderr] | ^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `ServiceContext` [INFO] [stderr] --> src/swift/bridge.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | ServiceContext, StructContext, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/java/bridge.rs:529:17 [INFO] [stderr] | [INFO] [stderr] 529 | let mut return_convert = if let AstType::Void = method.return_type.clone() { [INFO] [stderr] | ----^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `ndk_stand_alone` is never read [INFO] [stderr] --> src/android/config.rs:16:9 [INFO] [stderr] | [INFO] [stderr] 15 | pub struct Android { [INFO] [stderr] | ------- field in this struct [INFO] [stderr] 16 | pub ndk_stand_alone: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Android` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `mod_name` is never read [INFO] [stderr] --> src/ast/imp/desc.rs:5:9 [INFO] [stderr] | [INFO] [stderr] 2 | pub struct ImpDesc { [INFO] [stderr] | ------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 5 | pub mod_name: String, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ImpDesc` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: methods `quote_common_in_bridge`, `quote_common_in_native`, and `quote_in_common_rs` are never used [INFO] [stderr] --> src/base/lang.rs:44:8 [INFO] [stderr] | [INFO] [stderr] 27 | pub(crate) trait Convertible { [INFO] [stderr] | ----------- methods in this trait [INFO] [stderr] ... [INFO] [stderr] 44 | fn quote_common_in_bridge(&self) -> TokenStream; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 45 | /// Quote code in native artifact bridge file. [INFO] [stderr] 46 | fn quote_common_in_native(&self) -> Tokens<'static, T>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 47 | /// Quote code in common.rs. [INFO] [stderr] 48 | fn quote_in_common_rs(&self) -> TokenStream; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `mod_name` is never read [INFO] [stderr] --> src/base/lang.rs:86:9 [INFO] [stderr] | [INFO] [stderr] 82 | pub(crate) struct ModContext<'a, Lang, Extra> { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 86 | pub mod_name: String, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `unpack` is never used [INFO] [stderr] --> src/base/process.rs:4:8 [INFO] [stderr] | [INFO] [stderr] 3 | pub(crate) trait BuildProcess { [INFO] [stderr] | ------------ method in this trait [INFO] [stderr] 4 | fn unpack(&self) -> Result<()>; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `ndk_stand_alone` is never read [INFO] [stderr] --> src/jar/config.rs:9:9 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct Jar { [INFO] [stderr] | --- field in this struct [INFO] [stderr] 9 | pub ndk_stand_alone: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Jar` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `origin_prj_path` is never read [INFO] [stderr] --> src/mac/process.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 20 | pub(crate) struct MacProcess<'a> { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] 21 | origin_prj_path: &'a Path, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/java/interface.rs:30:24 [INFO] [stderr] | [INFO] [stderr] 30 | fn fill_method_sig(&self, method: &MethodDesc) -> Result { [INFO] [stderr] | ^^^^^ ------ the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [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] 30 | fn fill_method_sig(&self, method: &MethodDesc) -> Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/java/internal.rs:66:24 [INFO] [stderr] | [INFO] [stderr] 66 | fn fill_method_sig(&self, method: &MethodDesc) -> Result { [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] 66 | fn fill_method_sig(&self, method: &MethodDesc) -> Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/java/wrapper.rs:42:24 [INFO] [stderr] | [INFO] [stderr] 42 | fn fill_method_sig(&self, method: &MethodDesc) -> Result { [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] 42 | fn fill_method_sig(&self, method: &MethodDesc) -> Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/swift/internal.rs:55:24 [INFO] [stderr] | [INFO] [stderr] 55 | fn fill_method_sig(&self, method: &MethodDesc) -> Result { [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] 55 | fn fill_method_sig(&self, method: &MethodDesc) -> Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/swift/protocol.rs:35:24 [INFO] [stderr] | [INFO] [stderr] 35 | fn fill_method_sig(&self, method: &MethodDesc) -> Result { [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] 35 | fn fill_method_sig(&self, method: &MethodDesc) -> Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/swift/struct_.rs:41:29 [INFO] [stderr] | [INFO] [stderr] 41 | fn create_into_proxy_fn(&self) -> Method { [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] 41 | fn create_into_proxy_fn(&self) -> Method<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/swift/struct_.rs:61:33 [INFO] [stderr] | [INFO] [stderr] 61 | fn create_proxy_constructor(&self) -> Constructor { [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] 61 | fn create_proxy_constructor(&self) -> Constructor<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/swift/wrapper.rs:42:24 [INFO] [stderr] | [INFO] [stderr] 42 | fn fill_method_sig(&self, method: &MethodDesc) -> Result { [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] 42 | fn fill_method_sig(&self, method: &MethodDesc) -> Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `rsbind` (lib) generated 21 warnings (run `cargo fix --lib -p rsbind` to apply 13 suggestions) [INFO] [stderr] warning: `rsbind` (lib test) generated 21 warnings (21 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: fs_extra v1.2.0, quick-xml v0.20.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/rsbind_core-cd23f56d1bb9fcdf) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test test::tests::gen_jni_works ... ok [INFO] [stdout] test ast::contract::test::tests::parse_contract_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/rsbind-33d1bf469324c08a) [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" "e591ef94ae8d9103e6dc4eca8e57c4543fc9a3ca96587c6a5ee86cbd2d40c173", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e591ef94ae8d9103e6dc4eca8e57c4543fc9a3ca96587c6a5ee86cbd2d40c173", kill_on_drop: false }` [INFO] [stdout] e591ef94ae8d9103e6dc4eca8e57c4543fc9a3ca96587c6a5ee86cbd2d40c173