[INFO] fetching crate psn_api_rs 0.3.0... [INFO] testing psn_api_rs-0.3.0 against master#b03b3a7ec92682be2917540b679478d41c95a30c for pr-137122-1 [INFO] extracting crate psn_api_rs 0.3.0 into /workspace/builds/worker-1-tc1/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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate psn_api_rs 0.3.0 on toolchain b03b3a7ec92682be2917540b679478d41c95a30c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "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" "+b03b3a7ec92682be2917540b679478d41c95a30c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 183 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.1) [INFO] [stderr] Adding reqwest v0.10.10 (available: v0.12.20) [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.45.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tang-rs v0.1.0 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 45ea156c05a03591c21f21153c9c8f6528a1b983edfba233ead8b97cf7897711 [INFO] running `Command { std: "docker" "start" "-a" "45ea156c05a03591c21f21153c9c8f6528a1b983edfba233ead8b97cf7897711", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "45ea156c05a03591c21f21153c9c8f6528a1b983edfba233ead8b97cf7897711", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45ea156c05a03591c21f21153c9c8f6528a1b983edfba233ead8b97cf7897711", kill_on_drop: false }` [INFO] [stdout] 45ea156c05a03591c21f21153c9c8f6528a1b983edfba233ead8b97cf7897711 [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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5c1f24c53525ae9e279d594d519f2f1d4578c0c1b8ed7f0ad15bbcacb7c9b364 [INFO] running `Command { std: "docker" "start" "-a" "5c1f24c53525ae9e279d594d519f2f1d4578c0c1b8ed7f0ad15bbcacb7c9b364", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling ipnet v2.11.0 [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 socket2 v0.3.19 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling derive_more v0.14.1 [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 pin-project-internal v1.1.10 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tang-rs v0.1.0 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling hyper v0.13.10 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/traits.rs:106:10 [INFO] [stdout] | [INFO] [stdout] 106 | &'a self, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 107 | client: &'a Self::Client, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 108 | offset: u32, [INFO] [stdout] 109 | ) -> PSNFuture> { [INFO] [stdout] | --------------------------------- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 109 | ) -> PSNFuture<'a, Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/traits.rs:243:24 [INFO] [stdout] | [INFO] [stdout] 243 | fn read_path(path: &str) -> PSNFuture, Self::Error>>; [INFO] [stdout] | ^^^^ --------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 243 | fn read_path(path: &str) -> PSNFuture<'_, Result, Self::Error>>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/types.rs:295:24 [INFO] [stdout] | [INFO] [stdout] 295 | fn read_path(path: &str) -> PSNFuture, Self::Error>> { [INFO] [stdout] | ^^^^ --------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 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 39.82s [INFO] running `Command { std: "docker" "inspect" "5c1f24c53525ae9e279d594d519f2f1d4578c0c1b8ed7f0ad15bbcacb7c9b364", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c1f24c53525ae9e279d594d519f2f1d4578c0c1b8ed7f0ad15bbcacb7c9b364", kill_on_drop: false }` [INFO] [stdout] 5c1f24c53525ae9e279d594d519f2f1d4578c0c1b8ed7f0ad15bbcacb7c9b364 [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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5ae4dcda72c68ff9b9f5c8f1776f34246392f396e0fe42536fa072be4cc06ad2 [INFO] running `Command { std: "docker" "start" "-a" "5ae4dcda72c68ff9b9f5c8f1776f34246392f396e0fe42536fa072be4cc06ad2", kill_on_drop: false }` [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/traits.rs:106:10 [INFO] [stdout] | [INFO] [stdout] 106 | &'a self, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 107 | client: &'a Self::Client, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 108 | offset: u32, [INFO] [stdout] 109 | ) -> PSNFuture> { [INFO] [stdout] | --------------------------------- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 109 | ) -> PSNFuture<'a, Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/traits.rs:243:24 [INFO] [stdout] | [INFO] [stdout] 243 | fn read_path(path: &str) -> PSNFuture, Self::Error>>; [INFO] [stdout] | ^^^^ --------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 243 | fn read_path(path: &str) -> PSNFuture<'_, Result, Self::Error>>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/types.rs:295:24 [INFO] [stdout] | [INFO] [stdout] 295 | fn read_path(path: &str) -> PSNFuture, Self::Error>> { [INFO] [stdout] | ^^^^ --------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 295 | fn read_path(path: &str) -> PSNFuture<'_, Result, Self::Error>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/traits.rs:106:10 [INFO] [stdout] | [INFO] [stdout] 106 | &'a self, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 107 | client: &'a Self::Client, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 108 | offset: u32, [INFO] [stdout] 109 | ) -> PSNFuture> { [INFO] [stdout] | --------------------------------- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 109 | ) -> PSNFuture<'a, Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/traits.rs:243:24 [INFO] [stdout] | [INFO] [stdout] 243 | fn read_path(path: &str) -> PSNFuture, Self::Error>>; [INFO] [stdout] | ^^^^ --------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 243 | fn read_path(path: &str) -> PSNFuture<'_, Result, Self::Error>>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/types.rs:295:24 [INFO] [stdout] | [INFO] [stdout] 295 | fn read_path(path: &str) -> PSNFuture, Self::Error>> { [INFO] [stdout] | ^^^^ --------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 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.16s [INFO] running `Command { std: "docker" "inspect" "5ae4dcda72c68ff9b9f5c8f1776f34246392f396e0fe42536fa072be4cc06ad2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ae4dcda72c68ff9b9f5c8f1776f34246392f396e0fe42536fa072be4cc06ad2", kill_on_drop: false }` [INFO] [stdout] 5ae4dcda72c68ff9b9f5c8f1776f34246392f396e0fe42536fa072be4cc06ad2 [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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9f3ea7955b170f35656177105c339ffcc9a7ce357b61a75568cb5c15da8a7cc9 [INFO] running `Command { std: "docker" "start" "-a" "9f3ea7955b170f35656177105c339ffcc9a7ce357b61a75568cb5c15da8a7cc9", 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)]` on by default [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/traits.rs:106:10 [INFO] [stderr] | [INFO] [stderr] 106 | &'a self, [INFO] [stderr] | ^^ these lifetimes flow to the output [INFO] [stderr] 107 | client: &'a Self::Client, [INFO] [stderr] | ^^ these lifetimes flow to the output [INFO] [stderr] 108 | offset: u32, [INFO] [stderr] 109 | ) -> PSNFuture> { [INFO] [stderr] | --------------------------------- the lifetime gets resolved as `'a` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 109 | ) -> PSNFuture<'a, Result> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/traits.rs:243:24 [INFO] [stderr] | [INFO] [stderr] 243 | fn read_path(path: &str) -> PSNFuture, Self::Error>>; [INFO] [stderr] | ^^^^ --------------------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 243 | fn read_path(path: &str) -> PSNFuture<'_, Result, Self::Error>>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/types.rs:295:24 [INFO] [stderr] | [INFO] [stderr] 295 | fn read_path(path: &str) -> PSNFuture, Self::Error>> { [INFO] [stderr] | ^^^^ --------------------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 295 | fn read_path(path: &str) -> PSNFuture<'_, Result, Self::Error>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `psn_api_rs` (lib) generated 4 warnings [INFO] [stderr] warning: `psn_api_rs` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/psn_api_rs-b928284b2f2820ae) [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 psn_api_rs [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/traits.rs - traits::EncodeUrl (line 259) ... ignored [INFO] [stdout] test src/lib.rs - psn::PSN::init_proxy (line 256) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 15) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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] 6 | #[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] 14 | .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] 14 | .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] 7 | 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 - (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] 6 | #[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] 22 | .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] 22 | .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] 7 | 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.08s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "9f3ea7955b170f35656177105c339ffcc9a7ce357b61a75568cb5c15da8a7cc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f3ea7955b170f35656177105c339ffcc9a7ce357b61a75568cb5c15da8a7cc9", kill_on_drop: false }` [INFO] [stdout] 9f3ea7955b170f35656177105c339ffcc9a7ce357b61a75568cb5c15da8a7cc9