[INFO] fetching crate psn_api_rs 0.3.0... [INFO] testing psn_api_rs-0.3.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate psn_api_rs 0.3.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate psn_api_rs 0.3.0 [INFO] finished tweaking crates.io crate psn_api_rs 0.3.0 [INFO] tweaked toml for crates.io crate psn_api_rs 0.3.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate psn_api_rs 0.3.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 166 packages to latest compatible versions [INFO] [stderr] Adding crossbeam-queue v0.2.3 (available: v0.3.12) [INFO] [stderr] Adding derive_more v0.14.1 (available: v2.0.1) [INFO] [stderr] Adding rand v0.7.3 (available: v0.9.2) [INFO] [stderr] Adding reqwest v0.10.10 (available: v0.12.24) [INFO] [stderr] Adding serde_urlencoded v0.6.1 (available: v0.7.1) [INFO] [stderr] Adding tang-rs v0.1.0 (available: v0.2.0) [INFO] [stderr] Adding tokio v0.2.25 (available: v1.48.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4a7c6fc9a3372c1b198ab515ae7c496850bc937af814ec5ca4c7a78f0514f6bb [INFO] running `Command { std: "docker" "start" "-a" "4a7c6fc9a3372c1b198ab515ae7c496850bc937af814ec5ca4c7a78f0514f6bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4a7c6fc9a3372c1b198ab515ae7c496850bc937af814ec5ca4c7a78f0514f6bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a7c6fc9a3372c1b198ab515ae7c496850bc937af814ec5ca4c7a78f0514f6bb", kill_on_drop: false }` [INFO] [stdout] 4a7c6fc9a3372c1b198ab515ae7c496850bc937af814ec5ca4c7a78f0514f6bb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 649ca8eeffb47ae6994b653d5d9f7cb3215e0931ae0e90eb0675b3cc8ae7af4f [INFO] running `Command { std: "docker" "start" "-a" "649ca8eeffb47ae6994b653d5d9f7cb3215e0931ae0e90eb0675b3cc8ae7af4f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [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 pin-project v1.1.10 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling icu_properties v2.1.1 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling derive_more v0.14.1 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tang-rs v0.1.0 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling hyper v0.13.10 [INFO] [stderr] Compiling hyper-tls v0.4.3 [INFO] [stderr] Compiling reqwest v0.10.10 [INFO] [stderr] Compiling psn_api_rs v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `code` is never read [INFO] [stdout] --> src/private_model.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 18 | pub(crate) struct PSNResponseErrorInner { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 19 | pub(crate) code: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PSNResponseErrorInner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/traits.rs:109:10 [INFO] [stdout] | [INFO] [stdout] 106 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 107 | client: &'a Self::Client, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 108 | offset: u32, [INFO] [stdout] 109 | ) -> PSNFuture> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 109 | ) -> PSNFuture<'a, Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/traits.rs:243:24 [INFO] [stdout] | [INFO] [stdout] 243 | fn read_path(path: &str) -> PSNFuture, Self::Error>>; [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] 243 | fn read_path(path: &str) -> PSNFuture<'_, Result, Self::Error>>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types.rs:295:24 [INFO] [stdout] | [INFO] [stdout] 295 | fn read_path(path: &str) -> PSNFuture, Self::Error>> { [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] 295 | fn read_path(path: &str) -> PSNFuture<'_, Result, Self::Error>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 57.29s [INFO] running `Command { std: "docker" "inspect" "649ca8eeffb47ae6994b653d5d9f7cb3215e0931ae0e90eb0675b3cc8ae7af4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "649ca8eeffb47ae6994b653d5d9f7cb3215e0931ae0e90eb0675b3cc8ae7af4f", kill_on_drop: false }` [INFO] [stdout] 649ca8eeffb47ae6994b653d5d9f7cb3215e0931ae0e90eb0675b3cc8ae7af4f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a157f2ac23711034fcd5d2bf0fed206202b72ee4d8c63d2de1fcc2f535ef880f [INFO] running `Command { std: "docker" "start" "-a" "a157f2ac23711034fcd5d2bf0fed206202b72ee4d8c63d2de1fcc2f535ef880f", kill_on_drop: false }` [INFO] [stdout] warning: field `code` is never read [INFO] [stdout] --> src/private_model.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 18 | pub(crate) struct PSNResponseErrorInner { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 19 | pub(crate) code: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PSNResponseErrorInner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/traits.rs:109:10 [INFO] [stdout] | [INFO] [stdout] 106 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 107 | client: &'a Self::Client, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 108 | offset: u32, [INFO] [stdout] 109 | ) -> PSNFuture> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 109 | ) -> PSNFuture<'a, Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/traits.rs:243:24 [INFO] [stdout] | [INFO] [stdout] 243 | fn read_path(path: &str) -> PSNFuture, Self::Error>>; [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] 243 | fn read_path(path: &str) -> PSNFuture<'_, Result, Self::Error>>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types.rs:295:24 [INFO] [stdout] | [INFO] [stdout] 295 | fn read_path(path: &str) -> PSNFuture, Self::Error>> { [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] 295 | fn read_path(path: &str) -> PSNFuture<'_, Result, Self::Error>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling psn_api_rs v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `code` is never read [INFO] [stdout] --> src/private_model.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 18 | pub(crate) struct PSNResponseErrorInner { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 19 | pub(crate) code: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PSNResponseErrorInner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/traits.rs:109:10 [INFO] [stdout] | [INFO] [stdout] 106 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 107 | client: &'a Self::Client, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 108 | offset: u32, [INFO] [stdout] 109 | ) -> PSNFuture> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 109 | ) -> PSNFuture<'a, Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/traits.rs:243:24 [INFO] [stdout] | [INFO] [stdout] 243 | fn read_path(path: &str) -> PSNFuture, Self::Error>>; [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] 243 | fn read_path(path: &str) -> PSNFuture<'_, Result, Self::Error>>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types.rs:295:24 [INFO] [stdout] | [INFO] [stdout] 295 | fn read_path(path: &str) -> PSNFuture, Self::Error>> { [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] 295 | fn read_path(path: &str) -> PSNFuture<'_, Result, Self::Error>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.62s [INFO] running `Command { std: "docker" "inspect" "a157f2ac23711034fcd5d2bf0fed206202b72ee4d8c63d2de1fcc2f535ef880f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a157f2ac23711034fcd5d2bf0fed206202b72ee4d8c63d2de1fcc2f535ef880f", kill_on_drop: false }` [INFO] [stdout] a157f2ac23711034fcd5d2bf0fed206202b72ee4d8c63d2de1fcc2f535ef880f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cd2d9adc7e09a3002626562ae6a6c9d34d7bed1d6d339ab0978afe4a4337f777 [INFO] running `Command { std: "docker" "start" "-a" "cd2d9adc7e09a3002626562ae6a6c9d34d7bed1d6d339ab0978afe4a4337f777", kill_on_drop: false }` [INFO] [stderr] warning: field `code` is never read [INFO] [stderr] --> src/private_model.rs:19:16 [INFO] [stderr] | [INFO] [stderr] 18 | pub(crate) struct PSNResponseErrorInner { [INFO] [stderr] | --------------------- field in this struct [INFO] [stderr] 19 | pub(crate) code: u32, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PSNResponseErrorInner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/traits.rs:109:10 [INFO] [stderr] | [INFO] [stderr] 106 | &'a self, [INFO] [stderr] | -- the lifetime is named here [INFO] [stderr] 107 | client: &'a Self::Client, [INFO] [stderr] | -- the lifetime is named here [INFO] [stderr] 108 | offset: u32, [INFO] [stderr] 109 | ) -> PSNFuture> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 109 | ) -> PSNFuture<'a, Result> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/traits.rs:243:24 [INFO] [stderr] | [INFO] [stderr] 243 | fn read_path(path: &str) -> PSNFuture, Self::Error>>; [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] 243 | fn read_path(path: &str) -> PSNFuture<'_, Result, Self::Error>>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/types.rs:295:24 [INFO] [stderr] | [INFO] [stderr] 295 | fn read_path(path: &str) -> PSNFuture, Self::Error>> { [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] 295 | fn read_path(path: &str) -> PSNFuture<'_, Result, Self::Error>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `psn_api_rs` (lib) generated 4 warnings (run `cargo fix --lib -p psn_api_rs` to apply 3 suggestions) [INFO] [stderr] warning: `psn_api_rs` (lib test) generated 4 warnings (4 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/psn_api_rs-540851d01a2c7a06) [INFO] [stdout] [INFO] [stderr] Doc-tests psn_api_rs [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] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/traits.rs - traits::EncodeUrl (line 259) ... ignored [INFO] [stdout] test src/lib.rs - (line 15) - compile ... FAILED [INFO] [stdout] test src/lib.rs - psn::PSN::init_proxy (line 256) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 15) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> src/lib.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[tokio::main] [INFO] [stdout] | ^^^^ could not find `main` in `tokio` [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/lib.rs:35:14 [INFO] [stdout] | [INFO] [stdout] 35 | .auth() [INFO] [stdout] | ^^^^-- argument #1 of type `reqwest::async_impl::client::Client` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/traits.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | fn auth( [INFO] [stdout] | ^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 35 | .auth(/* reqwest::async_impl::client::Client */) [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/lib.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | async fn main() -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - psn::PSN::init_proxy (line 256) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> src/lib.rs:260:10 [INFO] [stdout] | [INFO] [stdout] 260 | #[tokio::main] [INFO] [stdout] | ^^^^ could not find `main` in `tokio` [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/lib.rs:268:14 [INFO] [stdout] | [INFO] [stdout] 268 | .auth() [INFO] [stdout] | ^^^^-- argument #1 of type `reqwest::async_impl::client::Client` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/traits.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | fn auth( [INFO] [stdout] | ^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 268 | .auth(/* reqwest::async_impl::client::Client */) [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/lib.rs:261:1 [INFO] [stdout] | [INFO] [stdout] 261 | async fn main() -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 15) [INFO] [stdout] src/lib.rs - psn::PSN::init_proxy (line 256) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.28s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "cd2d9adc7e09a3002626562ae6a6c9d34d7bed1d6d339ab0978afe4a4337f777", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd2d9adc7e09a3002626562ae6a6c9d34d7bed1d6d339ab0978afe4a4337f777", kill_on_drop: false }` [INFO] [stdout] cd2d9adc7e09a3002626562ae6a6c9d34d7bed1d6d339ab0978afe4a4337f777