[INFO] cloning repository https://github.com/rikaaa0928/uog [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rikaaa0928/uog" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frikaaa0928%2Fuog", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frikaaa0928%2Fuog'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 42187b89e9ee47532cba9fe4c99d87b76c919357 [INFO] building rikaaa0928/uog against master#44f415c1d617ebc7b931a243b7b321ef8a6ca47c for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frikaaa0928%2Fuog" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rikaaa0928/uog on toolchain 44f415c1d617ebc7b931a243b7b321ef8a6ca47c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rikaaa0928/uog [INFO] finished tweaking git repo https://github.com/rikaaa0928/uog [INFO] tweaked toml for git repo https://github.com/rikaaa0928/uog written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/rikaaa0928/uog 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" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded uniffi_udl v0.28.2 [INFO] [stderr] Downloaded uniffi_checksum_derive v0.28.2 [INFO] [stderr] Downloaded weedle2 v5.0.0 [INFO] [stderr] Downloaded uniffi_meta v0.28.2 [INFO] [stderr] Downloaded uniffi v0.28.2 [INFO] [stderr] Downloaded rustls-native-certs v0.8.0 [INFO] [stderr] Downloaded uniffi_bindgen v0.28.2 [INFO] [stderr] Downloaded aws-lc-rs v1.11.1 [INFO] [stderr] Downloaded aws-lc-sys v0.23.1 [INFO] [stderr] Downloaded uniffi_build v0.28.2 [INFO] [stderr] Downloaded uniffi_testing v0.28.2 [INFO] [stderr] Downloaded uniffi_core v0.28.2 [INFO] [stderr] Downloaded uniffi_macros v0.28.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 93dc1ae294a4b6271debcc257bb13cb084bc97662aa599b7b24b8b72cb5fb9fa [INFO] running `Command { std: "docker" "start" "-a" "93dc1ae294a4b6271debcc257bb13cb084bc97662aa599b7b24b8b72cb5fb9fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "93dc1ae294a4b6271debcc257bb13cb084bc97662aa599b7b24b8b72cb5fb9fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93dc1ae294a4b6271debcc257bb13cb084bc97662aa599b7b24b8b72cb5fb9fa", kill_on_drop: false }` [INFO] [stdout] 93dc1ae294a4b6271debcc257bb13cb084bc97662aa599b7b24b8b72cb5fb9fa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 907273c7ade4719f420d7908eda6ad70c2a2257899ecef09d61e07bb83442176 [INFO] running `Command { std: "docker" "start" "-a" "907273c7ade4719f420d7908eda6ad70c2a2257899ecef09d61e07bb83442176", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.87 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling prettyplease v0.2.22 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling camino v1.1.9 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling bindgen v0.69.5 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling cc v1.1.22 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling fs-err v2.11.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling hashbrown v0.15.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling smawk v0.3.2 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling textwrap v0.16.1 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling aws-lc-rs v1.11.1 [INFO] [stderr] Compiling rustls-pki-types v1.7.0 [INFO] [stderr] Compiling plain v0.2.3 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling askama_escape v0.10.3 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling cmake v0.1.51 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling rustls v0.23.11 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling rustls-pemfile v2.1.2 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling multimap v0.10.0 [INFO] [stderr] Compiling uniffi_core v0.28.2 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling clap_builder v4.5.20 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling tempfile v3.13.0 [INFO] [stderr] Compiling jni v0.19.0 [INFO] [stderr] Compiling rustls-native-certs v0.8.0 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling askama_parser v0.2.1 [INFO] [stderr] Compiling weedle2 v5.0.0 [INFO] [stderr] Compiling rustls-native-certs v0.7.3 [INFO] [stderr] Compiling combine v4.6.7 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling tower v0.5.1 [INFO] [stderr] Compiling jni-sys v0.3.0 [INFO] [stderr] Compiling cesu8 v1.1.0 [INFO] [stderr] Compiling regex v1.11.0 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling uniffi_checksum_derive v0.28.2 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling scroll_derive v0.12.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling prost-derive v0.13.3 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling uniffi_meta v0.28.2 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling scroll v0.12.0 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling pin-project-internal v1.1.6 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling goblin v0.8.2 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling prost v0.13.3 [INFO] [stderr] Compiling pin-project v1.1.6 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling prost-types v0.13.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling clap v4.5.20 [INFO] [stderr] Compiling prost-build v0.13.3 [INFO] [stderr] Compiling tonic-build v0.12.3 [INFO] [stderr] Compiling aws-lc-sys v0.23.1 [INFO] [stderr] Compiling cargo-platform v0.1.8 [INFO] [stderr] Compiling basic-toml v0.1.9 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling axum v0.7.7 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling tokio-stream v0.1.16 [INFO] [stderr] Compiling cargo_metadata v0.15.4 [INFO] [stderr] Compiling askama_derive v0.12.5 [INFO] [stderr] Compiling h2 v0.4.6 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling uniffi_macros v0.28.2 [INFO] [stderr] Compiling uniffi_testing v0.28.2 [INFO] [stderr] Compiling uniffi_udl v0.28.2 [INFO] [stderr] Compiling askama v0.12.1 [INFO] [stderr] Compiling uniffi_bindgen v0.28.2 [INFO] [stderr] Compiling hyper v1.4.1 [INFO] [stderr] Compiling hyper-util v0.1.9 [INFO] [stderr] Compiling hyper-timeout v0.5.1 [INFO] [stderr] Compiling uniffi v0.28.2 [INFO] [stderr] Compiling uniffi_build v0.28.2 [INFO] [stderr] Compiling uog v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling rustls-webpki v0.102.5 [INFO] [stderr] Compiling tokio-rustls v0.26.0 [INFO] [stderr] Compiling tonic v0.12.3 [INFO] [stderr] Compiling hyper-rustls v0.27.3 [INFO] [stderr] Compiling rustls-platform-verifier v0.3.4 [INFO] [stdout] warning: unused import: `hyper_util::client::legacy::Client` [INFO] [stdout] --> src/client.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use hyper_util::client::legacy::Client; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CryptoProvider` and `WebPkiSupportedAlgorithms` [INFO] [stdout] --> src/client.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | use rustls::crypto::{CryptoProvider, WebPkiSupportedAlgorithms}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/client.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tonic::client::GrpcService` [INFO] [stdout] --> src/client.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use tonic::client::GrpcService; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated type `startStreamStream` should have an upper camel case name [INFO] [stdout] --> /opt/rustwide/target/debug/build/uog-03a8c4172d9f84e7/out/dad.xiaomi.uog.rs:145:14 [INFO] [stdout] | [INFO] [stdout] 145 | type startStreamStream: tonic::codegen::tokio_stream::Stream< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `StartStreamStream` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `JClass` and `JObject` [INFO] [stdout] --> src/lib.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use jni::objects::{JClass, JObject}; [INFO] [stdout] | ^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `jni::JNIEnv` [INFO] [stdout] --> src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use jni::JNIEnv; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::future::Future` [INFO] [stdout] --> src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hyper_util::client::legacy::Client` [INFO] [stdout] --> src/client.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use hyper_util::client::legacy::Client; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CryptoProvider` and `WebPkiSupportedAlgorithms` [INFO] [stdout] --> src/client.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | use rustls::crypto::{CryptoProvider, WebPkiSupportedAlgorithms}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/client.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tonic::client::GrpcService` [INFO] [stdout] --> src/client.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use tonic::client::GrpcService; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated type `startStreamStream` should have an upper camel case name [INFO] [stdout] --> /opt/rustwide/target/debug/build/uog-03a8c4172d9f84e7/out/dad.xiaomi.uog.rs:145:14 [INFO] [stdout] | [INFO] [stdout] 145 | type startStreamStream: tonic::codegen::tokio_stream::Stream< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `StartStreamStream` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/server.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sleep` [INFO] [stdout] --> src/server.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | use tokio::time::{sleep, timeout}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/client.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | let mut rx = Request::new(rx); [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: variable does not need to be mutable [INFO] [stdout] --> src/client.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | let mut rx = Request::new(rx); [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: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:52:28 [INFO] [stdout] | [INFO] [stdout] 52 | + x.clone().to_string().as_str() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `anyhow::Error` does not implement `Clone`, so calling `clone` on `&anyhow::Error` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 52 - + x.clone().to_string().as_str() [INFO] [stdout] 52 + + x.to_string().as_str() [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `anyhow::Error`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.89/src/lib.rs:389:1 [INFO] [stdout] | [INFO] [stdout] 389+ #[derive(Clone)] [INFO] [stdout] 390| pub struct Error { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 22s [INFO] running `Command { std: "docker" "inspect" "907273c7ade4719f420d7908eda6ad70c2a2257899ecef09d61e07bb83442176", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "907273c7ade4719f420d7908eda6ad70c2a2257899ecef09d61e07bb83442176", kill_on_drop: false }` [INFO] [stdout] 907273c7ade4719f420d7908eda6ad70c2a2257899ecef09d61e07bb83442176 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bb90c5cde6fe08fd8f924e7b9df90cfc5f6676792e5db7f57806c7ed0550c521 [INFO] running `Command { std: "docker" "start" "-a" "bb90c5cde6fe08fd8f924e7b9df90cfc5f6676792e5db7f57806c7ed0550c521", kill_on_drop: false }` [INFO] [stderr] Compiling uog v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `hyper_util::client::legacy::Client` [INFO] [stdout] --> src/client.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use hyper_util::client::legacy::Client; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CryptoProvider` and `WebPkiSupportedAlgorithms` [INFO] [stdout] --> src/client.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | use rustls::crypto::{CryptoProvider, WebPkiSupportedAlgorithms}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tonic::client::GrpcService` [INFO] [stdout] --> src/client.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use tonic::client::GrpcService; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated type `startStreamStream` should have an upper camel case name [INFO] [stdout] --> /opt/rustwide/target/debug/build/uog-03a8c4172d9f84e7/out/dad.xiaomi.uog.rs:145:14 [INFO] [stdout] | [INFO] [stdout] 145 | type startStreamStream: tonic::codegen::tokio_stream::Stream< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `StartStreamStream` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `JClass` and `JObject` [INFO] [stdout] --> src/lib.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use jni::objects::{JClass, JObject}; [INFO] [stdout] | ^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `jni::JNIEnv` [INFO] [stdout] --> src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use jni::JNIEnv; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::future::Future` [INFO] [stdout] --> src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hyper_util::client::legacy::Client` [INFO] [stdout] --> src/client.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use hyper_util::client::legacy::Client; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CryptoProvider` and `WebPkiSupportedAlgorithms` [INFO] [stdout] --> src/client.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | use rustls::crypto::{CryptoProvider, WebPkiSupportedAlgorithms}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tonic::client::GrpcService` [INFO] [stdout] --> src/client.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use tonic::client::GrpcService; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated type `startStreamStream` should have an upper camel case name [INFO] [stdout] --> /opt/rustwide/target/debug/build/uog-03a8c4172d9f84e7/out/dad.xiaomi.uog.rs:145:14 [INFO] [stdout] | [INFO] [stdout] 145 | type startStreamStream: tonic::codegen::tokio_stream::Stream< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `StartStreamStream` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sleep` [INFO] [stdout] --> src/server.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | use tokio::time::{sleep, timeout}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/client.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | let mut rx = Request::new(rx); [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: variable does not need to be mutable [INFO] [stdout] --> src/client.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | let mut rx = Request::new(rx); [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: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:52:28 [INFO] [stdout] | [INFO] [stdout] 52 | + x.clone().to_string().as_str() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `anyhow::Error` does not implement `Clone`, so calling `clone` on `&anyhow::Error` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 52 - + x.clone().to_string().as_str() [INFO] [stdout] 52 + + x.to_string().as_str() [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `anyhow::Error`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.89/src/lib.rs:389:1 [INFO] [stdout] | [INFO] [stdout] 389+ #[derive(Clone)] [INFO] [stdout] 390| pub struct Error { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 16.33s [INFO] running `Command { std: "docker" "inspect" "bb90c5cde6fe08fd8f924e7b9df90cfc5f6676792e5db7f57806c7ed0550c521", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb90c5cde6fe08fd8f924e7b9df90cfc5f6676792e5db7f57806c7ed0550c521", kill_on_drop: false }` [INFO] [stdout] bb90c5cde6fe08fd8f924e7b9df90cfc5f6676792e5db7f57806c7ed0550c521