[INFO] fetching crate rocketchat 0.4.1... [INFO] testing rocketchat-0.4.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate rocketchat 0.4.1 into /workspace/builds/worker-2-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rocketchat 0.4.1 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 162 packages to latest compatible versions [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.23) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 40c9d0c209ec4cfa80d1f380bfbbabd035d62158a3e31a6fd3e949265ea5ecc0 [INFO] running `Command { std: "docker" "start" "-a" "40c9d0c209ec4cfa80d1f380bfbbabd035d62158a3e31a6fd3e949265ea5ecc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "40c9d0c209ec4cfa80d1f380bfbbabd035d62158a3e31a6fd3e949265ea5ecc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40c9d0c209ec4cfa80d1f380bfbbabd035d62158a3e31a6fd3e949265ea5ecc0", kill_on_drop: false }` [INFO] [stdout] 40c9d0c209ec4cfa80d1f380bfbbabd035d62158a3e31a6fd3e949265ea5ecc0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ee632a7c887805da6e169b369a7cbaf4b8ea41175863a52e8297e033ede014d0 [INFO] running `Command { std: "docker" "start" "-a" "ee632a7c887805da6e169b369a7cbaf4b8ea41175863a52e8297e033ede014d0", kill_on_drop: false }` [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [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 hyper v0.14.32 [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 20.08s [INFO] running `Command { std: "docker" "inspect" "ee632a7c887805da6e169b369a7cbaf4b8ea41175863a52e8297e033ede014d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee632a7c887805da6e169b369a7cbaf4b8ea41175863a52e8297e033ede014d0", kill_on_drop: false }` [INFO] [stdout] ee632a7c887805da6e169b369a7cbaf4b8ea41175863a52e8297e033ede014d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4c8940c5380d0ffd6734608236eb14f45e35d6bce78db1b0ef8c3e52f662a3be [INFO] running `Command { std: "docker" "start" "-a" "4c8940c5380d0ffd6734608236eb14f45e35d6bce78db1b0ef8c3e52f662a3be", 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] [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/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] [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 0.87s [INFO] running `Command { std: "docker" "inspect" "4c8940c5380d0ffd6734608236eb14f45e35d6bce78db1b0ef8c3e52f662a3be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c8940c5380d0ffd6734608236eb14f45e35d6bce78db1b0ef8c3e52f662a3be", kill_on_drop: false }` [INFO] [stdout] 4c8940c5380d0ffd6734608236eb14f45e35d6bce78db1b0ef8c3e52f662a3be [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3ea3056e8fd298f152fb03e48e5545fa6a07dbcec9dd02bb6d52465de10caa51 [INFO] running `Command { std: "docker" "start" "-a" "3ea3056e8fd298f152fb03e48e5545fa6a07dbcec9dd02bb6d52465de10caa51", 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.15s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rocketchat-90bc93812ab4fb9e) [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" "3ea3056e8fd298f152fb03e48e5545fa6a07dbcec9dd02bb6d52465de10caa51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ea3056e8fd298f152fb03e48e5545fa6a07dbcec9dd02bb6d52465de10caa51", kill_on_drop: false }` [INFO] [stdout] 3ea3056e8fd298f152fb03e48e5545fa6a07dbcec9dd02bb6d52465de10caa51