[INFO] fetching crate rocketchat 0.4.1... [INFO] testing rocketchat-0.4.1 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate rocketchat 0.4.1 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate rocketchat 0.4.1 [INFO] finished tweaking crates.io crate rocketchat 0.4.1 [INFO] tweaked toml for crates.io crate rocketchat 0.4.1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rocketchat 0.4.1 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 155 packages to latest compatible versions [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.24) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 926fd4f81c52a3182b868c13571b16c3f5cb4126ddd21b5b56b5a04df1d10178 [INFO] running `Command { std: "docker" "start" "-a" "926fd4f81c52a3182b868c13571b16c3f5cb4126ddd21b5b56b5a04df1d10178", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "926fd4f81c52a3182b868c13571b16c3f5cb4126ddd21b5b56b5a04df1d10178", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "926fd4f81c52a3182b868c13571b16c3f5cb4126ddd21b5b56b5a04df1d10178", kill_on_drop: false }` [INFO] [stdout] 926fd4f81c52a3182b868c13571b16c3f5cb4126ddd21b5b56b5a04df1d10178 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 04c5cae2dbecae73788b9426a7fb84201752843aa314a1dc2b93459c26ef6801 [INFO] running `Command { std: "docker" "start" "-a" "04c5cae2dbecae73788b9426a7fb84201752843aa314a1dc2b93459c26ef6801", kill_on_drop: false }` [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling icu_properties_data v2.1.1 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.1 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling rocketchat v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `AuthData` is more private than the item `APIMethod::request` [INFO] [stdout] --> src/api/methods/base.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^ method `APIMethod::request` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `AuthData` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/api/methods/base.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | struct AuthData { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `AuthData` is more private than the item `APIMethod::login` [INFO] [stdout] --> src/api/methods/base.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^ method `APIMethod::login` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `AuthData` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/api/methods/base.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | struct AuthData { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/api/methods/base.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | fn json_payload(&self) -> HashMap; [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 54 | fn json_payload(&self) -> HashMap>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/api/methods/base.rs:104:93 [INFO] [stdout] | [INFO] [stdout] 104 | fn login_payload<'a>(&'a self, username: &'a str, password: &'a str) -> HashMap { [INFO] [stdout] | -- -- -- ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetime is named here [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 104 | fn login_payload<'a>(&'a self, username: &'a str, password: &'a str) -> HashMap> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/api/methods/channels.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | fn json_payload(&self) -> HashMap { [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] 43 | fn json_payload(&self) -> HashMap> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/api/methods/chat.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | fn json_payload(&self) -> HashMap { [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] 50 | fn json_payload(&self) -> HashMap> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.89s [INFO] running `Command { std: "docker" "inspect" "04c5cae2dbecae73788b9426a7fb84201752843aa314a1dc2b93459c26ef6801", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04c5cae2dbecae73788b9426a7fb84201752843aa314a1dc2b93459c26ef6801", kill_on_drop: false }` [INFO] [stdout] 04c5cae2dbecae73788b9426a7fb84201752843aa314a1dc2b93459c26ef6801 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b3aaa0dda28afe317e2bf07ffff14bed9444b5f3236ae73c5a2ed50424f54791 [INFO] running `Command { std: "docker" "start" "-a" "b3aaa0dda28afe317e2bf07ffff14bed9444b5f3236ae73c5a2ed50424f54791", kill_on_drop: false }` [INFO] [stdout] warning: type `AuthData` is more private than the item `APIMethod::request` [INFO] [stdout] --> src/api/methods/base.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^ method `APIMethod::request` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `AuthData` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/api/methods/base.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | struct AuthData { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `AuthData` is more private than the item `APIMethod::login` [INFO] [stdout] --> src/api/methods/base.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^ method `APIMethod::login` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `AuthData` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/api/methods/base.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | struct AuthData { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/api/methods/base.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | fn json_payload(&self) -> HashMap; [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 54 | fn json_payload(&self) -> HashMap>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/api/methods/base.rs:104:93 [INFO] [stdout] | [INFO] [stdout] 104 | fn login_payload<'a>(&'a self, username: &'a str, password: &'a str) -> HashMap { [INFO] [stdout] | -- -- -- ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetime is named here [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 104 | fn login_payload<'a>(&'a self, username: &'a str, password: &'a str) -> HashMap> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/api/methods/channels.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | fn json_payload(&self) -> HashMap { [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] 43 | fn json_payload(&self) -> HashMap> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rocketchat v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/api/methods/chat.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | fn json_payload(&self) -> HashMap { [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] 50 | fn json_payload(&self) -> HashMap> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `AuthData` is more private than the item `APIMethod::request` [INFO] [stdout] --> src/api/methods/base.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^ method `APIMethod::request` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `AuthData` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/api/methods/base.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | struct AuthData { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `AuthData` is more private than the item `APIMethod::login` [INFO] [stdout] --> src/api/methods/base.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^ method `APIMethod::login` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `AuthData` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/api/methods/base.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | struct AuthData { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/api/methods/base.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | fn json_payload(&self) -> HashMap; [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 54 | fn json_payload(&self) -> HashMap>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/api/methods/base.rs:104:93 [INFO] [stdout] | [INFO] [stdout] 104 | fn login_payload<'a>(&'a self, username: &'a str, password: &'a str) -> HashMap { [INFO] [stdout] | -- -- -- ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetime is named here [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 104 | fn login_payload<'a>(&'a self, username: &'a str, password: &'a str) -> HashMap> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/api/methods/channels.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | fn json_payload(&self) -> HashMap { [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] 43 | fn json_payload(&self) -> HashMap> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/api/methods/chat.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | fn json_payload(&self) -> HashMap { [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] 50 | fn json_payload(&self) -> HashMap> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.11s [INFO] running `Command { std: "docker" "inspect" "b3aaa0dda28afe317e2bf07ffff14bed9444b5f3236ae73c5a2ed50424f54791", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3aaa0dda28afe317e2bf07ffff14bed9444b5f3236ae73c5a2ed50424f54791", kill_on_drop: false }` [INFO] [stdout] b3aaa0dda28afe317e2bf07ffff14bed9444b5f3236ae73c5a2ed50424f54791 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3e633dec64f87e7a1fcf2235d4c928610594dfc15448f718bf7d9790917e4de3 [INFO] running `Command { std: "docker" "start" "-a" "3e633dec64f87e7a1fcf2235d4c928610594dfc15448f718bf7d9790917e4de3", kill_on_drop: false }` [INFO] [stderr] warning: type `AuthData` is more private than the item `APIMethod::request` [INFO] [stderr] --> src/api/methods/base.rs:49:1 [INFO] [stderr] | [INFO] [stderr] 49 | #[async_trait] [INFO] [stderr] | ^^^^^^^^^^^^^^ method `APIMethod::request` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `AuthData` is only usable at visibility `pub(self)` [INFO] [stderr] --> src/api/methods/base.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | struct AuthData { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(private_interfaces)]` on by default [INFO] [stderr] [INFO] [stderr] warning: type `AuthData` is more private than the item `APIMethod::login` [INFO] [stderr] --> src/api/methods/base.rs:49:1 [INFO] [stderr] | [INFO] [stderr] 49 | #[async_trait] [INFO] [stderr] | ^^^^^^^^^^^^^^ method `APIMethod::login` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `AuthData` is only usable at visibility `pub(self)` [INFO] [stderr] --> src/api/methods/base.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | struct AuthData { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/api/methods/base.rs:54:21 [INFO] [stderr] | [INFO] [stderr] 54 | fn json_payload(&self) -> HashMap; [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 54 | fn json_payload(&self) -> HashMap>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/api/methods/base.rs:104:93 [INFO] [stderr] | [INFO] [stderr] 104 | fn login_payload<'a>(&'a self, username: &'a str, password: &'a str) -> HashMap { [INFO] [stderr] | -- -- -- ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | | [INFO] [stderr] | | | the lifetime is named here [INFO] [stderr] | | the lifetime is named here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 104 | fn login_payload<'a>(&'a self, username: &'a str, password: &'a str) -> HashMap> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/api/methods/channels.rs:43:21 [INFO] [stderr] | [INFO] [stderr] 43 | fn json_payload(&self) -> HashMap { [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] 43 | fn json_payload(&self) -> HashMap> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/api/methods/chat.rs:50:21 [INFO] [stderr] | [INFO] [stderr] 50 | fn json_payload(&self) -> HashMap { [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] 50 | fn json_payload(&self) -> HashMap> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `rocketchat` (lib) generated 6 warnings (run `cargo fix --lib -p rocketchat` to apply 4 suggestions) [INFO] [stderr] warning: `rocketchat` (lib test) generated 6 warnings (6 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rocketchat-1e2eb22cfffd7cbb) [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 rocketchat [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" "3e633dec64f87e7a1fcf2235d4c928610594dfc15448f718bf7d9790917e4de3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e633dec64f87e7a1fcf2235d4c928610594dfc15448f718bf7d9790917e4de3", kill_on_drop: false }` [INFO] [stdout] 3e633dec64f87e7a1fcf2235d4c928610594dfc15448f718bf7d9790917e4de3